[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:18862] Re: [root@xxxxxxxxxxxx: Bug#49732: gs complaining about missing font 'min']
Hi! I have just reminded myself of "-DNOKANJI" option defined in
gs_init.ps.
In <19991110100949.A967@xxxxxxxxxxx>,
at Date: Wed, 10 Nov 1999 10:09:49 +0100,
Marco Pistore <pistore@xxxxxxxxxxx> writes:
> it seems that i was too fast with my upload og gs with japanese
> support: in fact, i have received the appended bug report (49732, but
> also bug#49725 is on the same subject), which is related to the
> Japanese font support: i'll try to fix it as soon as possible; in the
> meantime, if you have any hints, please send them to me.
sorry that I brought you these troubles.
> The problem is that the japanese fonts seem to be necessary in the
> startup phase (even by giving simply gs): this is not acceptable, as i
> cannot ask to all the users to install japanese fonts.
I see.
I have checked by removing two Japanese fonts used by vflib:
asiya24-vfont and watanabe-vfont.
Using "-DNOKANJI" option, "gs -DNOKANJI snowflak.ps" can display
the snowflake picture. this snowflak.ps is provided with gs as
/usr/share/doc/gs/examples/snowflak.ps.gz.
I have removed gsfonts, and gsfonts-x11, but "gs -DNOKANJI snowflak.ps"
can still display on X and svga (when invoking with sudo, on svga)
"gs -DNOKANJI golfer.ps" can also display the figure of golfer,
without gsfonts and gsfonts-x11, as well as two Japanese vfonts.
escher.ps requires Courier, so gsfonts must be installed to display
this psfile.
When installing gsfonts, "gs -DNOKANJI escher.ps" can display
beautiful image on X and svga (svga when invoking with sudo, of course)
So, What should be done is, to set "-DNOKANJI" as default setting.
I have tried to modify /usr/lib/ghostscript/5.10/gs_init.ps:
$ diff -u gs_init.ps.orig gs_init.ps
--- gs_init.ps.orig Thu Nov 11 19:52:21 1999
+++ gs_init.ps Thu Nov 11 20:13:33 1999
@@ -123,7 +123,7 @@
currentdict /NOFONTMAP known /NOFONTMAP exch def
currentdict /NOFONTPATH known /NOFONTPATH exch def
currentdict /NOGC known /NOGC exch def
-currentdict /NOKANJI known /NOKANJI exch def
+currentdict /KANJI known /KANJI exch def
currentdict /NOPAUSE known /NOPAUSE exch def
currentdict /NOPLATFONTS known /NOPLATFONTS exch def
currentdict /NOPROMPT known /NOPROMPT exch def
@@ -1438,7 +1438,7 @@
false setpacking
% Load the kanji font environment.
-NOKANJI not {
+KANJI {
(jcidinit.ps) runlibfile
(metrics2.ps) runlibfile
(kinit.ps) runlibfile
with this change, "gs snowflake.ps" and "gs golfer.ps" can display
pictures evenif not installed gsfonts.
and "gs escher.ps" can display picture when gsfonts are installed,
of course while two Japanese vfonts are not installed.
And "gs -DKANJI" can display Japanese postscript files when these
two vfonts package (asiya24- and watanave-).
Can you check this modification ? Thanks a lot.
I am sorry to bring this trouble for users of gs. I am thankful
for patience from all of you. Thank you.
> I also do not understand why the two Nimbus fonts are loaded: this
> should not happen (once again, gs does not depend on gsfonts, as
> postscript is useable also without fonts). In fact, if i install
> versions of gs without japanese support, these fonts are not loaded
> automatically, but only on demand...
I have not tracked down the reason of this, Please wait a while.
> Any hint on where to look for changing this behavior is really welcome.
I hope this information helps you.
Sincerely.
--
Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@xxxxxxxxxxx>