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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Jackson Sent: 15 November 2007 20:25 To: [email protected] 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 ? _______________________________________________ Freetype-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype-devel
