FreeType 2.3.0 is out, with significant improvements to bytecode and auto hinting, font-specific optimizations making the lives of CJK users easier, notable speed improvements and many bug and memleak fixes. Details: https://sourceforge.net/project/shownotes.php?release_id=479191&group_id=3157 It's unclear whether this depends on 2.2.1 going stable first (see http://bugs.gentoo.org/show_bug.cgi?id=123683). Reproducible: Always
BTW, this one: "LCD-optimized rendering is now *disabled* in all default builds of the library, mainly due to patent issues. For more information see: http://lists.gnu.org/archive/html/freetype/2006-09/msg00064.html A new configuration macro FT_CONFIG_OPTION_SUBPIXEL_RENDERING has been introduced in `ftoption.h'; manually define it in this file if you want to re-enable the feature." ... might call for a new USE flag, or at least some discussion.
Attaching an ebuild for freetype-2.3.0 that I've been running for a few days on x86 with no problems. This enables all features, unless USE=bindist in which case features with potential patent issues in the United States are disabled: freetype-2.3.0.ebuild freetype-2.3.0-bytecode.patch freetype-2.3.0-nocompat.patch freetype-2.3.0-nounpatentedhinting.patch freetype-2.3.0-subpixel.patch Also attaching some additional fontconfig .conf files (these go in /etc/fonts/conf.avail) that allow easy hinting mode selections: 10-autohint-full.conf (autohinter, "full" hintstyle) 10-autohint-medium.conf (autohinter, "medium" hintstyle) 10-autohint-none.conf (autohinter, "none" hintstyle) 10-autohint-slight.conf (autohinter, "slight" hintstyle) 10-hint.conf (hinting, but no autohinter, ie. BCI) /etc/fonts/conf.d suggestions: - Do not use 50-user.conf (ignores ~/.fonts.conf which frequently gets spammed with lame settings by various programs eg. KControl) - Choose one of 10-autohint-*.conf (autohinter) or 10-hint.conf (BCI) - Choose one of 10-sub-pixel-*.conf (subpixel antialiasing, choose the one appropriate for your monitor, usually rgb) or 10-no-sub-pixel.conf (no subpixel antialiasing) - Do not use any of the 10-*.conf's other than as above Personally, I use english and japanese, and get nice results for both with 10-autohint-medium + 10-no-sub-pixel. The BCI seems to give good results if you have _well-hinted_ truetype fonts. Ron
Created attachment 108574 [details] freetype-2.3.0.ebuild
Created attachment 108576 [details, diff] freetype-2.3.0-bytecode.patch
Created attachment 108578 [details, diff] freetype-2.3.0-nocompat.patch
Created attachment 108580 [details, diff] freetype-2.3.0-nounpatentedhinting.patch
Created attachment 108581 [details, diff] freetype-2.3.0-subpixel.patch
Created attachment 108583 [details] 10-autohint-full.conf
Created attachment 108585 [details] 10-autohint-medium.conf
Created attachment 108587 [details] 10-autohint-none.conf
Created attachment 108588 [details] 10-autohint-slight.conf
Created attachment 108589 [details] 10-hint.conf
freetype 2.3.1 released: https://sourceforge.net/project/shownotes.php?release_id=482772&group_id=3157 I'm posting here because it's a bugfix release
Updated description, I hope somebody not busy could give a try...
Eike, you reached your aim, now I have to take care of this myself :P Ron, thanks for your work on this, I'll see to take care of adding this to portage today or in the next few days, compatibly with the time I have at the moment.
I've committed version 2.3.1 with a different way to enable/disable options, using sed instead of patches to avoid filling the tree with extra files. Ron, where would you put the conf.d files? I think they'd be more suitable on fontconfig rather than freetype, sincerely, so please open a new bug for them, and then it will be handled wherever it's needed.