Dear Experts,

The docs for bitmap_left say:

    This is the bitmap's left bearing expressed in integer
    pixels. Of course, this is only valid if the format is
    FT_GLYPH_FORMAT_BITMAP.

I'm rendering individual glyphs from a TrueType font using
FT_Load_Glyph() followed by FT_Render_Glyph().  Having done
that I had been struggling to work out the metrics for the
result.  Then I discovered that bitmap_left and bitmap_top
seem to tell me exactly what I need to know - but I had
been avoiding them because this not a bitmap font and the
description quoted above.

Is it OK to use bitmap_left/top after FT_Render_Glyph()?
Is this a documentation issue?


Thanks,  Phil.





_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to