pdf font is deprecated and replaced by the font extension