Re: [JAVA2D] AttributedString and Outline (the return of the glyph invaders!)

2006-11-17 Thread Michele Puccini
Phil, so, correct me if I'm wrong, the TextLayout.draw() rasterizes every single glyph (and its TextAttributes) to separate images before drawing them to the Graphics ? I can understand the complexity behind glyphs, fonts, graphics and text, but .. is there a specific reason why we need to

Re: [JAVA2D] AttributedString and Outline (the return of the glyph invaders!)

2006-11-17 Thread Phil Race
Michele Puccini wrote: Phil, so, correct me if I'm wrong, the TextLayout.draw() rasterizes every single glyph (and its TextAttributes) to separate images before drawing them to the Graphics ? Yes. That's the way almost all font rendering systems work. The separate images are a 'glyph cache'

Re: [JAVA2D] AttributedString and Outline (the return of the glyph invaders!)

2006-11-17 Thread David Eisner
Michele Puccini wrote: I can understand the complexity behind glyphs, fonts, graphics and text, but .. is there a specific reason why we need to align to the pixel grid ? Maybe we would get the same features of the Texlayout by rasterizing outlines and effects straight to the Graphics and