05 декабря 2010

Bad fonts after update

Several days ago there was huge update in the Slackware-current.
After that my fonts became rather ugly. After some investigation I've found that the reason was in freetype package. The freetype site wrotes:

Since May 2010, all patents related to bytecode hinting have expired worldwide. It it thus no longer necessary to disable the bytecode interpreter, and starting with FreeType version 2.4, it is enabled by default.
The affected patents are
Patent #1: US5155805: Method and apparatus for moving control points in displaying digital typeface on raster output devices
Patent #2: US5159668: Method and apparatus for manipulating outlines in improving digital typeface on raster output devices
Patent #3: US5325479: Method and apparatus for moving control points in displaying digital typeface on raster output devices


How can this be turned off? Seeking the web I've found the answer at the Alien Pastures blog.
A nice way to restore old behaviour of freetype.
cd /etc/fonts/conf.d ; ln -sf ../conf.avail/10-autohint.conf .

Thank you, Eric!

Комментариев нет: