[Nix-dev] fonts: subpixel rendering

Eelco Dolstra e.dolstra at tudelft.nl
Tue Jan 17 22:36:46 CET 2012


Hi,

On 01/17/2012 10:14 PM, Sergey Mironov wrote:

> So.. may I kindly ask to enable this option in nix and disable hinting
> in the global fonts.conf by default?

We can't really do that because subpixel rendering is covered by 
patents.  From the FreeType source code:

   Note that this feature is covered by several Microsoft
   patents and should not be activated in any default
   build of the library.

You could build FreeType with subpixel rendering and then include it in 
$LD_LIBRARY_PATH so that applications built against the stock FreeType 
library in Nixpkgs use it at runtime.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list