[OpenJDK 2D-Dev] Howto know a glyph is lcd or grayscale?

Clemens Eisserer linuxhippy at gmail.com
Tue Apr 28 12:16:10 UTC 2009


Existing pipelines seem to use a rowBytes==width check to decide
wether a glyph is lcd or grayscale.
I ran into problems with that approach when image==NULL, like for the
space-glyph - putting it into the wrong cache.

Is there any other way to determine if a glyph is lcd, or a GlyphList
contains lcd or grayscale glyphs?

Thanks, Clemens

More information about the 2d-dev mailing list