freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [freetype2] master ce36777: [sfnt, truetype] Minor adjust


From: Behdad Esfahbod
Subject: Re: [ft-devel] [freetype2] master ce36777: [sfnt, truetype] Minor adjustments for OpenType 1.8.2.
Date: Tue, 1 Aug 2017 10:14:32 +0100

On Tue, Aug 1, 2017 at 7:41 AM, Werner LEMBERG <address@hidden> wrote:

>> +    if ( face->header.Units_Per_EM <    16 ||
>> +         face->header.Units_Per_EM > 16384 )
>>
>
> Humm.  I'm pretty sure those limits have been there for many
> years... I've had them in HarfBuzz since 2010.

Well, such limits are sensible, but they were not documented.

What I'm saying is that they were part of the text of the spec since at least 2010.  As you wish :).

 
>> -    else if ( loader->n_contours == -1 )
>> +    else if ( loader->n_contours < 0 )
>
> Ouch.  Not sure if this was intentional... I was hoping we can use
> other numbers for future extensions of components.

Interesting.  What do you have in mind?

Interpolated components...  But looks like the spec was ambiguous regarding this number, so we have to find another way. 

    Werner



--

reply via email to

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