Werner LEMBERG wrote:
However for empty glyphs like ' ' it seems that the CBox (bbox) is
all zeros, and the bitmap->left and bitmap->top are also some
unrelated value that ignores the transform I set. For ' ' I was sort
of expecting a bbox with height 0 but with a real width and
position.
Even if these characters don't need to be drawn anyway, I need to
determine if they are inside the clip_region. How do I do that?
Empty spacing glyphs have non-zero horizontal metrics, so you have to
check those values.
Werner
Thank you for your help.
Is there a real reason for me to use Get_CBox, then?
I'd like (if it's possible) to treat "real" glyphs and "empty" glyphs in
a uniform manner.
Should I not simply switch my "engine" to never use CBox, and instead go
with glyph metris (bearing, advance, width, height) and pen position?
Do empty characters still have an actual width and bearing? Or do I have
to rely on glyph advance in such special cases?
Mickey
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype