Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93840 - cjk-latex: problem with ttf2tfm
Summary: cjk-latex: problem with ttf2tfm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 12:31 UTC by Rafał Mużyło
Modified: 2008-10-03 07:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cjk-latex-4.6.0.ebuild (cjk-latex-4.6.0.ebuild,3.57 KB, text/plain)
2005-09-16 18:28 UTC, Jie Luo
Details
patch to freetype1-contrib-current.tar.gz (freetype-1.3.1-xheight.patch,733 bytes, patch)
2005-10-09 13:09 UTC, nefercheprure
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2005-05-24 12:31:58 UTC
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.
Comment 1 Rafał Mużyło 2005-05-24 13:25:57 UTC
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"
Comment 2 nefercheprure 2005-08-01 14:16:13 UTC
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.
Comment 3 Jie Luo 2005-09-16 18:28:49 UTC
Created attachment 68628 [details]
cjk-latex-4.6.0.ebuild
Comment 4 Jie Luo 2005-09-16 18:35:46 UTC
Comment on attachment 68628 [details]
cjk-latex-4.6.0.ebuild

I up load this by mistake. Sorry!
Comment 5 nefercheprure 2005-10-09 13:09:33 UTC
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.
Comment 6 Martin Ehmsen (RETIRED) gentoo-dev 2006-02-15 06:51:17 UTC
This is a freetype problem, so reassigning.
Comment 7 Rafał Mużyło 2006-02-15 09:55:59 UTC
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).
Comment 8 foser (RETIRED) gentoo-dev 2006-06-20 05:47:16 UTC
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.
Comment 9 Alexis Ballier gentoo-dev 2008-10-03 07:45:53 UTC
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