freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] FIX? [was: Non-integer bbox for T1 font?]


From: Werner LEMBERG
Subject: Re: [Devel] FIX? [was: Non-integer bbox for T1 font?]
Date: Tue, 06 Mar 2001 22:33:50 +0100 (CET)

> Attached is patch fro t1load.c that places 16.16 fixed numbers (16
> bits of integer, 16 bits of fraction) into the font bbox array.  To
> get the integer part in your code, just shift right 16 bits.  There
> will be some rounding errors (rounding up/down when it should be
> vice versa), but i imagine you can get around that...
> 
> Let me know if that fixes your problem.  I would appreciate comments
> from others as well.

You say that non-integer bboxes are valid, so I think it would be a
good idea to have that in FreeType also...  Feel free to fix that :-)


    Werner



reply via email to

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