[cp-patches] FYI: GlyphVector reimplementation

Sven de Marothy sven at physto.se
Wed Jun 7 23:44:27 UTC 2006


On Thu, 2006-06-08 at 00:43 +0200, Sven de Marothy wrote:
> Okay, okay! :) I reimplemented GlyphVector properly, now it actually
> does the layouting that GV is supposed to do, and works with FreeType
> directly (albeit getting the FT data structures through Pango, as of
> yet).
> 
> Previously the implementation worked by letting pango lay the stuff out
> and then getting the glyphs and their respective positions from there. 
> 
> So, now that we have a proper and seemingly functional GlyphVector we
> can implement TextLayout on top of that, the way it's supposed to be.
> 
> So the next step in the grand plan is to kill the
> ClasspathTextLayoutPeer and related stuff, stub the TextLayout impl and
> implement it properly.

And then Graphics.drawString should be implemented either on TextLayout
or GlyphVector, too. So we'll have Graphics2D that does not depend on
anything other than Freetype+Cairo.

/Sven




More information about the Classpath-patches mailing list