Hi Phil,

Just wondering if anyone has any comments/bugs/patches etc on the freetype replacement
for the encumbered font rasteriser that we finally put out last week?

I've poked around this code a bit over the last couple of days, and it's quite nice - thanks for releasing this! Creating the new FontScaler interface has really cleaned things up from the Java end, too.

I haven't had a chance to go over it in much detail (I've been busy with other non-openjdk work), but the only bug I've found so far is in positioning rotated text. The jfig editor (http://tams-www.informatik.uni-hamburg.de/applets/jfig/) is a good test; with the new font code, glyphs are spaced too tightly and the baseline is uneven when a rotation is set.

I'm also curious as to why getGlyphOutline retrieves a Freetype outline and iterates though it "manually", rather than defining simple callback functions and letting Freetype do the work via FT_Outline_Decompose - but functionally it should be the same.

Otherwise, the Freetype work here is quite similar to what we've done in IcedTea to get font support, which is a good sign - we're much more likely to both be right than both be wrong ;-)

I'll hopefully have some time to look over this in more detail and give some more specific comments soon, but it's been really exciting to see this drop - thanks!

Regards,
Francis

Reply via email to