freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] t1info struct is empty for Postscript font


From: İsmail Dönmez
Subject: Re: [ft-devel] t1info struct is empty for Postscript font
Date: Tue, 3 Mar 2015 09:36:11 +0200

Hi,

On Tue, Mar 3, 2015 at 7:48 AM, Werner LEMBERG <address@hidden> wrote:
>
>> While debugging a mkfontscale crash I found that t1info is not
>> correctly populated for some postscript fonts.  Attached is the test
>> case and a postscript font usually found in ghostscript.
>>
>> [~/ft]> ./ft hrgrr.pfa
>> Family (face): Hershey-Gothic-German
>> Family (t1info): (null)
>>
>> So apparently face->family_name is correct but t1info.family_name is
>> null.
>
> Well, this font doesn't have a /FamilyName entry!  So why should
> FreeType lie to you?  It does synthesize a family name for the
> top-level structure, but if you explicitly retrieve data from the PS
> font dictionary, I think it's best if you get correct values.

Thanks, its safe to assume that this is a regression on mkfontscale side.

> I've slightly improved the documentation of `FT_Get_PS_Font_Info' to
> mention this.

Cheers.

ismail



reply via email to

[Prev in Thread] Current Thread [Next in Thread]