Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67730 - kochi-substitute-20030809-r3 moved fonts, but ghostview is not told
Summary: kochi-substitute-20030809-r3 moved fonts, but ghostview is not told
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 16:00 UTC by Mark Purtill
Modified: 2004-10-16 13:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Purtill 2004-10-15 16:00:21 UTC
After emerging kochi-substitute-20030809-r3, I found that ghostscript (and associated programs like gv) were no longer able to display Japanese, because they couldn't find Kochi-Mincho and Kochi-Gothic fonts any more.  The resons is that the new ebuild moved those fonts and ghostscript was looking in the old place.  This is in turn because the file /usr/share/ghostscript/7.07/lib/CIDFnmap.Koc has the old path hard-wired:

/Kochi-Mincho	(/usr/X11R6/lib/X11/fonts/truetype/kochi-mincho.ttf)	;
/Kochi-Gothic	(/usr/X11R6/lib/X11/fonts/truetype/kochi-gothic.ttf)	;

Those lines should be:

/Kochi-Mincho	(/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf)	;
/Kochi-Gothic	(/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf)	;


Re-emerging ghostscript didn't help.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-15 21:01:57 UTC
This problem was fixed on 11 Oct. Please make sure you
remerged ghostscript (>=-r4) after that date.
Comment 2 Mark Purtill 2004-10-16 13:30:26 UTC
After "emerge sync", this does the trick.  Note that ghostscript must be emerged by hand; "emerge world" does not pick this up.