freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Glyph bitmap size question


From: Mark Jackson
Subject: [ft-devel] Glyph bitmap size question
Date: Thu, 15 Nov 2007 20:25:06 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

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 ?

Attachment: mpfj.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]