freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1)


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1)
Date: Mon, 18 Sep 2017 23:14:32 -0400

On Mon, Sep 18, 2017 at 6:52 PM, Nicolas Jinchereau
<address@hidden> wrote:
> When using FT_LOAD_TARGET_LCD, the size of the rendered bitmap doesn't seem
> to match the size in the metrics. It's usually off by 1~2 units - is this
> normal?

Yes, this is normal because LCD rendering requires padding to deal
with color fringes. This used to be the case only with
FT_CONFIG_OPTION_SUBPIXEL_RENDERING defined. Otherwise the LCD target
was actually grayscale without padding.  Since 2.8.1, the LCD target
is always optimized for LCD and, therefore, padded.

Best,
Alexei



reply via email to

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