Freetype 1.3.1 (latest availble) installs ttf2tfm version 1.4, however all cjk-latex guides about utf8 talk about using -w option, which (after some googling) was introduced in Freetype 1.4 ttf2tfm v. 1.5. The problem is this version doesn't seem to exist anymore. Correction: (after a lot more googling) I was able to find this version here ftp://core.ring.gr.jp/pub/graphics/freetype/devel/freetype1-contrib-current.tar.gz That would be all for now, I will try to get this version to work. Reproducible: Always Steps to Reproduce: 1. 2. 3.
OK, you should always first try, then post to bugzilla. Tough luck, this version of ttf2tfm relies on structure modifications introduced to freetype headers post-1.3.1. This means the proper title for this bug should be like "Add post-1.3.1 freetype1 development version to portage tree for ttf2tfm ver. 1.5"
The absence of a post-1.3.1 freetype1 ebuild is also related to non-cjk, general use of the ttf2tfm utility. The defects of ttf2tfm block the use of the free Gentium font (media-fonts/ttf-gentium) in TeX. Running: ttf2tfm /usr/share/fonts/ttf-gentium/Gentium.ttf results in ttf2tfm receiving SIGSEGV.
Created attachment 68628 [details] cjk-latex-4.6.0.ebuild
Comment on attachment 68628 [details] cjk-latex-4.6.0.ebuild I up load this by mistake. Sorry!
Created attachment 70250 [details, diff] patch to freetype1-contrib-current.tar.gz The patch makes the freetype1-contrib-current.tar.gz from the location of the first comment to this bug compile cleanly.
This is a freetype problem, so reassigning.
Since at least cjk-latex 4.6.0 (which is still missing in portage) the bug is sort of invalid. Although most webpages speak only about ttf2tfm, there is a fontforge script included now (in cjk-latex) that does that job now (as mentioned in comment 3 to bug 103309).
We only deal with released versions afaic. If cjk-latex has an updated version of this, then I think we should go with that. Freetype 1 is too old and unsupported to build upon.
freetype 1.4_pre20080316-r1 seems to be good wrt ttf2tfm, cjk-latex 4.7.0 is stable, 4.8.1 ~arch -> should be fixed now