[ft-devel] rounding bug in MS TT rasterizer

2006-03-31 Thread Werner LEMBERG
Sergej, Paul, from time to time we from the FreeType team get reports that our engine doesn't rasterize certain TrueType glyphs correctly. The most noticeable and disturbing case is glyph `W' in the font `arialuni.ttf' (see attached image). Careful inspection has shown that the very problem

[ft-devel] OpenType Layout code revisited

2006-03-31 Thread Behdad Esfahbod
Hi, Last night I restructured and cleaned up the OpenType Layout code (from FreeType1) that has been in Pango and import it into a new repository under the name HarfBuzz on fd.o. You can browse the code or join the mailing list here: http://freedesktop.org/wiki/Software/harfbuzz It contains

[ft-devel] Fw: [OpenType] Re: rounding bug in MS TT rasterizer

2006-03-31 Thread Werner LEMBERG
I got this interesting answer from MS. Werner ---BeginMessage--- OpenType list address: [EMAIL PROTECTED] Hi Werner, This sort of thing happens all the time in the TrueType rasterizer, and it relates to precision and the order of operations. In the particular example below, the x value

[ft-devel] Re: [OpenType] Re: rounding bug in MS TT rasterizer

2006-03-31 Thread Werner LEMBERG
Greg, thanks a lot for your answer! In the particular example below, the x value of point 25 is 9.5 (608), OK. and the interpolate instruction wants us to add 4.4978769 to it. Hmm. I get the value 4.4914966. The locations of the involved points right before the IP instruction are