freetype
[Top][All Lists]
Advanced

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

Re: [ft] Enabling Subpixel Rendering On freetype-2.7.1


From: Gordon Dickens
Subject: Re: [ft] Enabling Subpixel Rendering On freetype-2.7.1
Date: Sun, 26 Mar 2017 08:03:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 03/25/2017 02:17 PM, Werner LEMBERG wrote:
Hmm.  While having subpixel rendering without subpixel hinting is
possible, be aware that some old fonts might `explode' in this mode.

If you look at the source code for freetype-2.6.3, you will see that this is the way that it is setup by default in version 2.6.3 (and prior versions of freetype2). That is, TT_CONFIG_OPTION_SUBPIXEL_HINTING is not defined in ftoptions.h for 2.6.3 by default and which was the primary difference between the rendering from freetype-2.6.3 versus freetype-2.7.1 since it is defined by default in 2.7.1. So, by removing the definition of TT_CONFIG_OPTION_SUBPIXEL_HINTING, I now have freetype-2.7.1 configured the same as the default version of 2.6.3 and prior versions of freetype2 in order to get the same results with subpixel rendering enabled by defining FT_CONFIG_OPTION_SUBPIXEL_RENDERING

Thanks again!

Gordon




reply via email to

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