On Mon, Sep 18, 2017 at 6:52 PM, Nicolas Jinchereau
<[email protected]> 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

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

Reply via email to