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 width
W 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 no
more than W pixels horizionally on the screen, and H pixels vertically
on 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 statement
would be true, but that isn't always the case.




_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to