I've gotten to a point where i have no problems rendering text on a
chosen baseline. I think i have a good understanding of how
freetype2 works. I can't seem to get my head around how i could
render text centered in a bounding box.
The standard formula to get the vertical distance y of the
This helps a bit. But how do i get all of these values. It seems like
these values are not always defined.
AC
On 2-Jul-06, at 3:17 AM, Werner LEMBERG wrote:
I've gotten to a point where i have no problems rendering text on a
chosen baseline. I think i have a good understanding of how
Rendering the space character in mono mode fails with error code 6
with FreeType 2.2.1 (binary package from Debian testing). This didn't
happen with older FreeType versions and it still works fine with other
characters or with FT_RENDER_MODE_NORMAL. Test program attached.
Christian
#include
On Sun, 02 Jul 2006 07:47:14 +0200 (CEST), Werner LEMBERG wrote:
In struct FT_FaceRec_, the glyph slot and other useful dimensional
information is after:
/*# the following are only relevant to scalable outlines */