[opensuse-m17n] xfontdir and cidfmap_dir in ghostscript-cjk-config is broken
The Ghostscript of openSUSE 11.3 can not display Japanese font. The following patch fixes this problem. This is not fixed with openSUSE 11.4 milestone 5. --- /usr/sbin/ghostscript-cjk-config.orig 2010-12-08 05:57:01.000000000 +0900 +++ /usr/sbin/ghostscript-cjk-config 2010-12-18 19:12:38.000000000 +0900 @@ -61,7 +61,7 @@ my $ftdump_bin = search_executable ("/usr/bin/ftdump"); # directories: -my $xfontdir = "/usr/X11R6/lib/X11/fonts/truetype"; +my $xfontdir = "/usr/share/fonts/truetype"; my $gsresourcedir = "/usr/share/ghostscript/Resource"; # only for Ghostscript 8.x @@ -659,7 +659,7 @@ ###################################################################### sub update_cidfmap { - for my $cidfmap_dir (glob ("/usr/share/ghostscript/[0-9]*/lib")) { + for my $cidfmap_dir (glob ("/etc/ghostscript/[0-9]*")) { if (-e $cidfmap_dir) { my $file = "$cidfmap_dir/cidfmap"; my $cidfmap_user = ""; -- sugaht@zephyr.dti.ne.jp -- To unsubscribe, e-mail: opensuse-m17n+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-m17n+help@opensuse.org
participants (1)
-
sugaht@zephyr.dti.ne.jp