So how come (in my case) it's *more* than the point size ?
I understand that with a descender, the bitmap rows may be bigger than
the point size, but I thought the point size was the height of a normal
capital letter (or am I completely wrong !?!).
Does the DPI setting make a difference ? Should I use 72 or 96dpi
instead of 100 ?
Mark
Graham Asher wrote:
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 ?
begin:vcard
fn:Mark Jackson
n:Jackson;Mark
org:Mercury IMC Ltd
adr:Derwent Road;;George House;Malton;North Yorkshire;YO17 6YB;UK
email;internet:[EMAIL PROTECTED]
tel;work:01653 697 200
tel;fax:08700 667 325
tel;cell:07834 456 394
x-mozilla-html:TRUE
url:www.mimc.co.uk
version:2.1
end:vcard
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel