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 = "";
--
[email protected]
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.