freetype-devel
[Top][All Lists]
Advanced

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

Type 2 16.16 fixed numbers


From: Tom Kacvinsky
Subject: Type 2 16.16 fixed numbers
Date: Wed, 5 Jul 2000 16:35:27 -0400 (EDT)

Just an update on the 16.16 fixed number stuff in t2gload.

If I am not mistaken, the reason why Adobe hijacked the 5 byte
encoding to get a 16.16 fixed number is that now one can get a
fractional number without having to resort to div (as one has to do
within a Type 1 font).

So, shifting right 16 in add_point is probably a bad thing to do, as
it clobbers the fractional part (David's argument about .05%
difference not withstanding).  Then again, not shifting is also
probably a bad thing to do, because of the format the rasterizer
expects the numbers to be in.

Oh well...

Tom




reply via email to

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