Freetype 2.1.5 has been out for a while now. As 2.1.4 has issues with some postscript fonts I would like to test this version. Just copying over the ebuild does not work though.
i know, i have had a local ebuild for some time, only seriously lacked time past couple of days. will see what i can do today.
Attaching ebuild for 2.1.5 based on 2.1.4-r1 What I changed: - remove the reference to the docs package as it looks like its not available for 2.1.5 yet - removed the 2.1.3 slighthint patch. I don't know where it comes from so I couldn't check if there is a newer version available. - added cjk autohinting patch from http://www.kde.gr.jp/~akito which fixes problems with autohitingting for cjk glyphs
Created attachment 20553 [details] ebuild
Created attachment 20554 [details, diff] patch for cjk auto hinting
If I'm not mistaken slighthint is a redhat invention. Probably looking at their packages should give the right patch. Without slighthinting it works too (the bytecode interpreter is better anyway (but has patent issues)), but be aware that in that case fontconfig must also be build without slighthint support
ok i finally added this, without much precautions actually. Let's see if we get build breakage. Not added the cjk patch yet. Ken can you give some more info on what it does ? My japanese (?) isn't that great. Does it make a difference in our default setup (autohinter is off by default) ? Does it influence rendering of non-cjk fonts ? etc,
Hi, sorry, i was away for a bit. Looks like there is an updated patch here: http://www.kde.gr.jp/~akito/patch/freetype2/2.1.5/ As far as I can tell (from the description) it affects only CJK glyphs, and has the following effects: - improves autohinting for cjk characters. (says something about preventing the over-thinning of lines that make character strokes look unnatural) - fixes the 'width' of certain fixed with fonts, especially the half width glyphs. I think this applies to dual-width fonts. - For the Dynafont font series, it allows a user to turn the autohinter option on and still see characters that are legible. (doing this w/o the patch kills the output). Note: this is WITH the bytecode interpreter enabled It also looks like he has 2.1.7 versions as well, just rename the part in the URL to 2.1.7.
It's quite awful, I switched back to 2.1.4-r1. I don't know what has changed it's not beautiful.
I have a problem with underscores using freetype
file another bug and be _way more_ verbose than 'it looks ugly' or 'i have a problem with underscores'.
http://bugs.gentoo.org/show_bug.cgi?id=35584
Added the cjk patch to freetype-2.1.5-r1. Sorry for the delay, got caught up in other stuff.