[Bug 918466] mkfontscale segfault on factory update
http://bugzilla.suse.com/show_bug.cgi?id=918466 --- Comment #24 from Werner Lemberg <wl@gnu.org> --- 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: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com