freetype-devel
[Top][All Lists]
Advanced

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

Re: permissiveness in FreeType for CFF fonts


From: Alexei Podtelezhnikov
Subject: Re: permissiveness in FreeType for CFF fonts
Date: Thu, 23 Mar 2023 10:41:22 -0400

>> We encountered a few (potentially not fully compliant with the
>> specification) CFF fonts (i.e. CIDFontType0) that have enough
>> information to be rendered, but FreeType throws an exception due to
>> not having both the `head` and the `cmap` tables.
> 
> Could you provide such a font for testing purposes?
> 
>> I was wondering if the second `goto Exit;` in the following code
>> could be changed to just logging a warning?
> 
> Probably yes.  I guess we didn't have a font that needs it otherwise.

I just wonder about scaling in this scenario. Do we ever rely on unitsPerEm 
from head for CFF? Do we need anything else there?

Alexei




reply via email to

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