You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... instead of having to go through ft2font in createType1Descriptor
just to extract the font bbox, ascender and descender.
FontBBox is gauranteed to exist in the type1 font definition by the
standard; its parsing as a size-4 array matches freetype's behavior (see
ps_parser_load_field); and using bbox entries as ascender and descender
also matches freetype's behavior (T1_Face_Init directly assigns
`root->ascender = (FT_Short)(root->bbox.yMax)` and likewise for the
descender; see also the docs for ascender and descender in FT_FaceRec).
0 commit comments