|
From: | Patrick Rutkowski |
Subject: | Re: [ft] Pixel Size Guarantee? |
Date: | Thu, 8 May 2008 17:40:03 -0400 |
Ah, I see. Thanks for the response. I have to read up more on these EM things then. I just found this, which looks like an excellent resource: http://freetype.sourceforge.net/freetype2/docs/glyphs/It's not that this page is particularly hard to find; it's just that I wish
that it had been made more obvious. Perhaps the end of http://freetype.sourceforge.net/freetype2/docs/tutorial/step2.html might do good by pointing users there. On May 8, 2008, at 4:51 PM, George Williams wrote:
On Thu, 2008-05-08 at 13:29, Patrick Rutkowski wrote:Is it correct to say that calling FT_Set_Pixel_Sizes() with some widthW and some height H will have the result that any face->glyph->bitmap generated by FT_Load_Char(face, ch, FT_LOAD_RENDER) will take up nomore than W pixels horizionally on the screen, and H pixels verticallyon the screen, _after_ the X and Y bearings are taken into account?No. These specify pixel per em values, not maximum sizes.If you know that all your glyphs fit in an em-square then your statementwould be true, but that isn't always the case.
[Prev in Thread] | Current Thread | [Next in Thread] |