Comment # 24 on bug 918466 from
As mentioned on the FreeType mailing list, there is no bug or regression on the
FreeType side: The Hershey font in question doesn't have a `/FamilyName` entry
in the `/FontInfo` dictionary, so the corresponding `family_name` field in
`PS_FontInfoRec` is NULL.  On the other hand, FreeType's Type 1 module
synthesizes a proper `family_name` entry for the top-level `FT_FaceRec`
structure.

Solution 1: Rely on the synthesized entry from `FT_Face` in case `PS_FontInfo`
holds a NULL pointer.

Solution 2: Use `FT_Get_PS_Font_Value(..., PS_DICT_FONT_NAME, ...)` to manually
extract the value of `/FontName` in case `/FamilyName` is empty.


You are receiving this mail because: