freetype-devel
[Top][All Lists]
Advanced

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

Re: Apply #57432 fix to Ins_CALL too? And round mode 3


From: Alexei Podtelezhnikov
Subject: Re: Apply #57432 fix to Ins_CALL too? And round mode 3
Date: Wed, 21 Oct 2020 12:40:21 -0400

Hi Hin-Tak,

> - Alex used a lot of round mode value 3 in "Refactor compensation color" and 
> changed them from round mode 0. I think this is formally wrong: the spec only 
> mentions round mode 0, 1, 2. I believe that round mode 3 is just an off-spec 
> value sometimes seen in fonts, and in the past it was determined that if such 
> value happens, the MS engine / apple engine treats as it like round mode 0. 
> Basically we should not use it ourselves since it is an off-spec / 
> undocumented value. (FontVal warns if value 3 happens in a font - so there 
> was collisions during rebase)

The third color is documented as reserved. I just reserved "zero"
rather than "same as gray", which is also zero. I never changed the
mode actually, I just referenced the third color instead of passing
zero explicitly in some cases. Where do you see a problem with that?

Alexei



reply via email to

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