Yes - the number of rows is the height of the glyph bitmap in pixels, which
is usually less than the point size and need never equal it.
Graham
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Mark Jackson
Sent: 15 November 2007 20:25
To: address@hidden
Subject: [ft-devel] Glyph bitmap size question
When I render the letter 'R' (or any other capital letter with no
descenders) into a glyph using ...
FT_Set_Char_Size(ftFace, 24 * 64, 0, 100, 0); // set 24 point size @
100dpi
ftSlot = ftFace->glyph;
FT_Load_Char(ftFace, text[n], FT_LOAD_RENDER);
nRows = ftSlot->bitmaps.rows;
should I expect nRows to equal the point size, i.e. 24 ?
If not, why not ? Am I missing some crucial way in which the fonts are
rendered ?