[Top][All Lists]

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

Re: [ft] Pixel Size Guarantee?

From: George Williams
Subject: Re: [ft] Pixel Size Guarantee?
Date: 08 May 2008 13:51:42 -0700

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?
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.

reply via email to

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