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: Hin-Tak Leung
Subject: Re: Apply #57432 fix to Ins_CALL too? And round mode 3
Date: Thu, 22 Oct 2020 13:33:01 +0000 (UTC)



On Thursday, 22 October 2020, 20:43:46 GMT+8, Alexei Podtelezhnikov <apodtele@gmail.com> wrote:

> Yes. There is bytecode-instructed rounding with 3 compensations and
> there are all other kinds of rounding (Ingenuity, etc). I thought it
> would be cleaner to reserve hard-zero for that. The out-of-spec
> instructions would use zero as well, while Gray can be patched in
> arbitrarily.

That's where we disagree... Value 3 is a reserved / illegal value according (?) to the truetype spec, but nonetheless occasionally seen and used in real (buggy) fonts. Through consulting MS staff or actually just writing tests to run on windows, it was discovered that the MS rasterizer treata case 3 as case 0. You can't / shouldn't re-purpose value 3 for another meaning.

reply via email to

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