Debian Bug report logs - #41570
Can not handle kanji font PS

version graph

Package: gs; Maintainer for gs is (unknown);

Reported by: Taketoshi Sano <xlj06203@nifty.ne.jp>

Date: Sun, 18 Jul 1999 16:33:00 UTC

Severity: important

Found in version 5.10-2

Fixed in versions 5.10-3, gs/5.10-3

Done: Marco Pistore <pistore@itc.it>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, xlj06203@nifty.ne.jp, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
New bug report received and forwarded. Copy sent to xlj06203@nifty.ne.jp, Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: submit@bugs.debian.org
Subject: Can not handle kanji font PS
Date: Mon, 19 Jul 1999 01:33:22 +0900
Package: gs
Version: 5.10-2
Severity: grave

 Original gs can not handle kanji font PS, and there has been
the JP patch widely used in Japan.

Currently, most recent one (JP-patch) can be donwload from

 <http://nirvana.jaist.ac.jp:8000/~daisuke/gs/gs510j49.tar.bz2>

And also, there are two bugfix patch.

 <http://nirvana.jaist.ac.jp:8000/~daisuke/gs/gs5.10-rth.patch>
 <http://nirvana.jaist.ac.jp:8000/~daisuke/gs/gs5.10-bugfix.patch>

Please merge these patch into gs, or we Japanese users can not
use gs at all for viewing the PS file including Japanese font.

# and we must provide separate package for these request then.

-- System Information
Debian Release: potato
Kernel Version: Linux yadon 2.2.9 #1 Fri Jun 18 17:21:17 JST 1999 i586 unknown



Information forwarded to debian-bugs-dist@lists.debian.org, "Taketoshi Sano" <xlj06203@nifty.ne.jp>, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to "Taketoshi Sano" <xlj06203@nifty.ne.jp>, Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Severity set to `important'. Request was from Taketoshi Sano <xlj06203@nifty.ne.jp> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Marco Pistore <pistore@irst.itc.it>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #17 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@irst.itc.it>
To: Taketoshi Sano <xlj06203@nifty.ne.jp>, 41570@bugs.debian.org
Subject: Re: Bug#41570: Can not handle kanji font PS
Date: Tue, 3 Aug 1999 09:00:29 +0200
On Fri, Jul 23, 1999 at 11:00:11PM +0900, Taketoshi Sano wrote:
> Here is the patch to use 
> 
>  <http://nirvana.jaist.ac.jp:8000/~daisuke/gs/gs510j49.tar.bz2>
> 
> in the current gs package (5.10-2)

Hi, 

i'll try to apply this patch this evening (i am back rigut now from
my vacation).

Thanks,

Marco


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #22 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org, debian-devel@debian.or.jp
Subject: Re: Bug#41570: Can not handle kanji font PS
Date: Tue, 03 Aug 1999 22:03:45 +0900
Thank you maintainer ! I am appreciate very much your kindness.

Now I am looking forward to find the upload and installed mail
on debian-devel-changes ML. I will check the Japanese feature of
the new gs package of Debian as soon as possible.

Thanks again. This is the important step for potato to be widely 
used in Japan and all other countries by people who require 
the support for Japanese Language with Postscript file.

In <19990803090029.49766@irst.itc.it>,
 at Date: Tue, 3 Aug 1999 09:00:29 +0200,
  on Subject: Re: Bug#41570: Can not handle kanji font PS,
   Marco Pistore <pistore@irst.itc.it> writes:

> On Fri, Jul 23, 1999 at 11:00:11PM +0900, Taketoshi Sano wrote:
> > Here is the patch to use 
> > 
> >  <http://nirvana.jaist.ac.jp:8000/~daisuke/gs/gs510j49.tar.bz2>
> > 
> > in the current gs package (5.10-2)
> 
> Hi, 
> 
> i'll try to apply this patch this evening (i am back rigut now from
> my vacation).
> 
> Thanks,
> 
> Marco

-- 
  Taketoshi Sano: <kgh12351@nifty.ne.jp>,<sano@debian.org>


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #27 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org, debian-devel@debian.or.jp
Subject: Re: Bug#41570: Can not handle kanji font PS
Date: Sat, 30 Oct 1999 21:32:31 +0900
Hi. 

I have managed to tackle this very important, complex and huge software,
named "ghostscript" these two days.

> In <19990805093800.61210@irst.itc.it>,
>  at Date: Thu, 5 Aug 1999 09:38:00 +0200,
>   on Subject: Re: Bug#41570: Can not handle kanji font PS,
>    Marco Pistore <pistore@irst.itc.it> writes:
> 
> pistore> Hi,
> pistore> 
> pistore> i have beginned to work on the patch, however it is taking more time
> pistore> than expected. The patch is quite complex and some of the changes do
> pistore> not affect only japanese users: for instance, some of the page sizes
> pistore> in gs_statd.ps have been changed, apparently from the ISO standard to
> pistore> JIS (which i do not know). 

I have splitted the diff file included in gs510j49.tar.bz2, and do screening
splitted-patches into used, modified and not used.

I have made the result of this screening in the form of the addition for
the current gs_5.10-2, kanji-patch.tgz.

You can test it by tar -xvzf kanji-patch.tgz in the gs-5.10 directory.
That tar file contains the directories and files under ./contrib/kanji/

There is diff.debian.rules in ./contrib/kanji/, which is the required modification
for debian/rules to use this enhancement.

I will upload this kanji-patch.tgz into http://www.debian.org/~sano/
 (i.e. my $HOME/public_html), but I have not done such a thing yet,
so I will also upload the experimental package which includes this modification
(gs_5.10-2.0.vflib.2) into experimental-jp on Debian JP as a kind of insurance.

GNU Ghostscript is so much important for users who use Debian on document writing.
It is very pity that Debian's gs (and of course, upstream's gs) has lack of support 
for Japanese characters. Some part of this status comes from us, Japanese people,
ourself, but I wish to improve this situation.

So please help us to implement Japanese support in gs package of Debian.

I have not done about modification to use some printer drivers included in
original gs510j49 for many popular printers in Japan. It is left as TODOs.
I hope that I can work at this before the release date, but I have not promise
about it. So I hope anyone in Debian JP (or elsewhere) will work at this point
using your gs package and my experimental package as a base for modification.

Thanks to kind and generous maintainers, and brave and hard-working hackers!

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #32 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: 41570@bugs.debian.org
Cc: pistore@irst.itc.it, xlj06203@nifty.ne.jp, debian-devel@debian.or.jp
Subject: Re: Bug#41570: Can not handle kanji font PS
Date: Mon, 01 Nov 1999 17:32:03 +0900
Hi. I have finished work now for adding jpdriver-support to gs.

In <19991030213231F.xlj06203@xlj06203.nifty.ne.jp>,
 at Date: Sat, 30 Oct 1999 21:32:31 +0900,
  on Subject: Re: Bug#41570: Can not handle kanji font PS,
   Taketoshi Sano <xlj06203@nifty.ne.jp> writes:

> I have not done about modification to use some printer drivers included in
> original gs510j49 for many popular printers in Japan. It is left as TODOs.
> I hope that I can work at this before the release date, but I have not promise
> about it. So I hope anyone in Debian JP (or elsewhere) will work at this point
> using your gs package and my experimental package as a base for modification.

I have uploaded my source NMU of gs as gs_5.10-2.0.vflib.2 (which I think NMU-ready)
to experimental-jp (http://www.debian.or.jp/debian-jp/project-jp/experimental/).

This package is lintian-free now, and ready to FHS transition.

In this arrangement, I added kanji-support, jpdrivers-support, and jpconflict-support
to debian/rules.

kanji-support is required for Japanese Language support for gs.
This is defined as default.

jpdrivers-support is required for some popular printers in Japan
to use them via gs. This is defined as default.

jpconflict-support is required for other popular printers in Japan 
to use them via gs. Unfortunately, they have conflict with other drivers
in current gs package. so this is not defined as default.

In order to use jpconflict-support, one should undefine hp8xx-support.

jpdrivers-support requires kanji-support defined, and jpconflict-support
requires jpdrivers-support defined.

so one can define kanji-support without jpdrivers-support defined, but
can not in vice-versa.

I have not uploaded it into unstable of Debian, because I think that 
I should consult you Marco, before doing it.

I will wait for your come back from vacation (Nov. 3 ?).
If you can, please merge the diffs for my 5.10-2.0.vflib.2.
If you can not, then please let me do the source NMU for gs.

I am eager to get your answer. Thanks.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #37 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: 41570@bugs.debian.org, xlj06203@nifty.ne.jp, debian-devel@debian.or.jp
Subject: Re: Bug#41570: Can not handle kanji font PS
Date: Wed, 03 Nov 1999 19:45:10 +0900
Hi, Marco! Thank you for your reply. I had been waiting it! :)

In <19991103100950.08327@irst.itc.it>,
 at Date: Wed, 3 Nov 1999 10:09:50 +0100,
   Marco Pistore <pistore@irst.itc.it> writes:

> Hi,
> 
> first of all, thank you very much for your work! 

You're welcome. My work is for Debian. Your package of gs is a important
component in Debian for users who writes and prints out documents on
their Debian system, I think. At least it is so for me.

> The last months have been very hard for me, and i had no time to work
> on ghostscript. So, your help is really welcome!  Now, hopefully, i
> should be able to find more time for my packages...

You came back just in time for freeze and release. It is lucky for us,
users of your gs package.

> I am downloading the package right now.  If it is ok for you, i'll
> give a look to your package during next week end, and i'll try to
> upload it on monday 8. If i fail to upload the package on monday,
> please feel free to go with the NMU.

Thanks. Please take care that I made mistake in debian/rules of my 
experimental "5.10-2.0.vflib.2". Please apply following patch:

--- ../buildchk/gs-5.10/debian/rules	Mon Nov  1 17:06:16 1999
+++ gs-5.10/debian/rules	Tue Nov  2 20:02:19 1999
@@ -90,7 +90,7 @@
 endef
 
 define patch-kanji
-	-./contrib/kanji/scripts/copy_files.sh
+	-sh ./contrib/kanji/scripts/copy_files.sh
 	-ln -sf contrib/kanji/psfiles ./kanji
 	-ln -sf contrib/kanji/man .
 	-ln -sf contrib/kanji/READMEs-kanji .
@@ -115,11 +115,11 @@
 	if [ -L man ] ; then rm -f man; fi
 	if [ -L READMEs-kanji ] ; then rm -f READMEs-kanji; fi
 	if [ -d examples ] ; then rm -rf examples; fi
-	-./contrib/kanji/scripts/remove_files.sh
+	-sh ./contrib/kanji/scripts/remove_files.sh
 endef
 
 define patch-jpdrivers
-	-./contrib/jpdrivers/scripts/copy_files.sh
+	-sh ./contrib/jpdrivers/scripts/copy_files.sh
 	-patch -Nsi contrib/jpdrivers/diffs/diff.devs.mak
 	-patch -Nsi contrib/jpdrivers/diffs/diff.unix-end.mak
 	-patch -Nsi contrib/jpdrivers/diffs/diff.gdevcdj.c
@@ -158,11 +158,11 @@
 	debian/addentry --remove gcc-head.mak DEVICE_DEVS13 \
 		ml600.dev lbp310.dev lbp320.dev md50Mono.dev md50Eco.dev \
 		md1xMono.dev md2k.dev md5k.dev
-	-./contrib/jpdrivers/scripts/remove_files.sh
+	-sh ./contrib/jpdrivers/scripts/remove_files.sh
 endef
 
 define patch-jpconflict
-	-./contrib/jpdrivers/scripts/copy_conflicts.sh
+	-sh ./contrib/jpdrivers/scripts/copy_conflicts.sh
 	-patch -Nsi contrib/jpdrivers/diffs/diff.conflict.devs.mak
 	debian/addentry gcc-head.mak DEVICE_DEVS4 \
 		cdj670.dev cdj850.dev cdj880.dev cdj890.dev cdj1600.dev
@@ -178,7 +178,7 @@
 	debian/addentry --remove gcc-head.mak DEVICE_DEVS1 \
 		lips2p.dev bjc880j.dev lips4.dev escpage.dev \
 		lp2000.dev npdl.dev
-	-./contrib/jpdrivers/scripts/remove_conflicts.sh
+	-sh ./contrib/jpdrivers/scripts/remove_conflicts.sh
 endef
 
 extract:


Please check that you have downloaded 5.10-2.0.vflib.2, not vflib.1.
vflib.1 is not lintian-free and FHS-ready. vflib.2 is ready for upload.

And there are some documents and copyright notice in the source for 
kanji support and jpdriver support to be fixed. I am now working to
solve them. I think they are not so serious and not release critical
problem, but I think that I should inform you about them.

> Thank you again for your help!
> 
> Best Regards,
> Marco

I am looking forward to get your new gs with kanji and jpdrivers support.
Thank you for your maintainer's work.

Sincerely.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Marco Pistore <pistore@irst.itc.it>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #42 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@irst.itc.it>
To: Taketoshi Sano <xlj06203@nifty.ne.jp>, 41570@bugs.debian.org
Subject: Re: Bug#41570: Can not handle kanji font PS
Date: Mon, 8 Nov 1999 15:10:33 +0100
On Wed, Nov 03, 1999 at 07:45:10PM +0900, Taketoshi Sano wrote:
> > I am downloading the package right now.  If it is ok for you, i'll
> > give a look to your package during next week end, and i'll try to
> > upload it on monday 8.

Hi,

i have uploaded gs 5.10-3: it is now in the incoming queue!
Essentially, i have uploaded you package (i have just added some 
references to the Japanese patches in some READMEs).

> Thanks. Please take care that I made mistake in debian/rules of my 
> experimental "5.10-2.0.vflib.2". Please apply following patch:

OK, done.

Than you again for your great help!

Best regards,
Marco


Reply sent to Marco Pistore <pistore@itc.it>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Bug acknowledged by developer. (full text, mbox, link).


Message #47 received at 41570-done@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@itc.it>
To: 41570-done@bugs.debian.org
Date: Tue, 09 Nov 1999 08:56:50 +0100
-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.6
Date: Sun,  7 Nov 1999 02:56:13 +0100
Source: gs
Binary: gs
Architecture: source i386
Version: 5.10-3
Distribution: unstable
Urgency: low
Maintainer: Marco Pistore <pistore@debian.org>
Description: 
 gs         - Postscript interpreter with X11 and svgalib preview support.
Changes: 
 gs (5.10-3) unstable; urgency=low
 .
   * Many thanks to Taketoshi Sano for his great job
     with the Japanese support (closes Bug#41570)
Files: 
 2533448f4e2e24974ef655836e31351e 558 text Optional gs_5.10-3.dsc
 54206ae135ee7876899f4198bc8b8a45 820292 text Optional gs_5.10-3.diff.gz
 e70d131aa80fd5aae1850b46ae62b767 1619340 text Optional gs_5.10-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQB1AwUBOCTwSy4T+lbFIwO9AQHWmwL9H4rqN/gTS3LOkfHK6Ok/K3V7dyJ21DD9
XWZ/8MvNnGBDPzAExxkrYdkM3rJP5L88Zu+c7OQPvF9dr2JgP0+YH+dIc+MIkAYG
V8WPDKV76ArqTj4FGkNTCqrqDoyPttrY
=X/kz
-----END PGP SIGNATURE-----


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Marco Pistore <pistore@irst.itc.it>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #52 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@irst.itc.it>
To: Taketoshi Sano <xlj06203@nifty.ne.jp>
Cc: 41570@bugs.debian.org
Subject: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Wed, 10 Nov 1999 10:09:49 +0100
Hello,

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.

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 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...

Any hint on where to look for changing this behavior is really welcome.

Thank you in advance and best regards,
Marco 


----- Forwarded message from root <root@taer.dhs.org> -----
Package: gs
Version: 5.10-3

After the upgrade to gs which caused it to depend on vflib2, gs has stopped
displaying postscript files correctly on my system that were shown fine
prior to upgrade. The error looks like this. I have the gsfonts package
installed correctly.

GNU Ghostscript 5.10 (1998-12-17)
Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.
Loading NimbusRomNo9L-Regu font from /usr/lib/ghostscript/fonts/n021003l.pfb... 7094192 5651464 1300092 11208 0 done.
Loading NimbusSanL-Regu font from /usr/lib/ghostscript/fonts/n019003l.pfb... 7372044 5891791 1340276 23084 0 done.
VFlib: Cannot open the font `min'.
Unrecoverable error: unknownerror in kfVFlib
Operand stack:
    min  0  10273  0  10273  c21  Private
    

----- End forwarded message -----


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #57 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org, debian-devel@debian.or.jp
Subject: Re: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Wed, 10 Nov 1999 23:56:01 +0900
Hi. I will check this. of course the quick way around is to disable 
kanji-support with comment out it in debian/rules, but it is not our wishes.

I sent this mail also to debian-devel@debian.or.jp, so other members in
Debian JP can work on this also, I hope.

Thank you for your consideration.

In <19991110100949.A967@irst.itc.it>,
 at Date: Wed, 10 Nov 1999 10:09:49 +0100,
  on Subject: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min'],
   Marco Pistore <pistore@irst.itc.it> writes:

> Hello,
> 
> 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.
> 
> 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 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...
> 
> Any hint on where to look for changing this behavior is really welcome.
> 
> Thank you in advance and best regards,
> Marco 
> 
> 
> ----- Forwarded message from root <root@taer.dhs.org> -----
> Package: gs
> Version: 5.10-3
> 
> After the upgrade to gs which caused it to depend on vflib2, gs has stopped
> displaying postscript files correctly on my system that were shown fine
> prior to upgrade. The error looks like this. I have the gsfonts package
> installed correctly.
> 
> GNU Ghostscript 5.10 (1998-12-17)
> Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
> This software comes with NO WARRANTY: see the file COPYING for details.
> Loading NimbusRomNo9L-Regu font from /usr/lib/ghostscript/fonts/n021003l.pfb... 7094192 5651464 1300092 11208 0 done.
> Loading NimbusSanL-Regu font from /usr/lib/ghostscript/fonts/n019003l.pfb... 7372044 5891791 1340276 23084 0 done.
> VFlib: Cannot open the font `min'.
> Unrecoverable error: unknownerror in kfVFlib
> Operand stack:
>     min  0  10273  0  10273  c21  Private
>     
> 
> ----- End forwarded message -----

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>




Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Marco Pistore <pistore@irst.itc.it>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #62 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@irst.itc.it>
To: Taketoshi Sano <xlj06203@nifty.ne.jp>, 41570@bugs.debian.org
Cc: debian-devel@debian.or.jp
Subject: Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Thu, 11 Nov 1999 09:57:28 +0100
On Wed, Nov 10, 1999 at 11:56:01PM +0900, Taketoshi Sano wrote:
> Hi. I will check this. of course the quick way around is to disable 
> kanji-support with comment out it in debian/rules, but it is not our wishes.

Clearly, i'd prefer not to remove the kanji support. However, if we
are not able to find a good fix in a pair of days, i'll upload a new
version with kanji-support disabled, as a temporary patch.

In the meantime, i have given a look to the problem: it seems to
reside in file /usr/lib/ghostscrfipt/5.10/kanji/kconfig.ps, that, if i
understand correctly, describes the kanji fonts that are available on
the sistem. In particular, the instructions

  /Ryumin-Light          4300000 (min)   VFlibkanji
  /GothicBBB-Medium      4300200 (goth)  VFlibkanji

try to load the fonts and complain if they are not present on the
system.  A possibility would be to move this file to /etc/ and to
modify it dynamically, when new kanji fonts are added to the system.
Another possibility is to manage kanji fonts as ordinary fonts are
handled, i.e., by looking at the font files only when the fonts are
used.

Any hint is welcome!

> I sent this mail also to debian-devel@debian.or.jp, so other members in
> Debian JP can work on this also, I hope.

Thank you for your help,

Marco


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Fumitoshi UKAI <ukai@debian.or.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #67 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Fumitoshi UKAI <ukai@debian.or.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org, debian-devel@debian.or.jp
Subject: Re: [debian-devel:10908] Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Thu, 11 Nov 1999 20:45:49 +0900
At Thu, 11 Nov 1999 17:58:16 +0900,
Marco Pistore <pistore@irst.itc.it> wrote:

> Clearly, i'd prefer not to remove the kanji support. However, if we
> are not able to find a good fix in a pair of days, i'll upload a new
> version with kanji-support disabled, as a temporary patch.
> 
> In the meantime, i have given a look to the problem: it seems to
> reside in file /usr/lib/ghostscrfipt/5.10/kanji/kconfig.ps, that, if i
> understand correctly, describes the kanji fonts that are available on
> the sistem. In particular, the instructions
> 
>   /Ryumin-Light          4300000 (min)   VFlibkanji
>   /GothicBBB-Medium      4300200 (goth)  VFlibkanji
> 
> try to load the fonts and complain if they are not present on the
> system.  A possibility would be to move this file to /etc/ and to
> modify it dynamically, when new kanji fonts are added to the system.
> Another possibility is to manage kanji fonts as ordinary fonts are
> handled, i.e., by looking at the font files only when the fonts are
> used.
> 
> Any hint is welcome!

How about this patch ?

--- gs_init.ps.orig	Sun Nov  7 11:49:17 1999
+++ gs_init.ps	Thu Nov 11 20:31:40 1999
@@ -123,7 +123,9 @@
 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 /NOKANJI known { /NOKANJI true def } {
+	(LANG) getenv { (ja) anchorsearch { /NOKANJI false def } { /NOKANJI true def } ifelse } { /NOKANJI true def } ifelse clear } ifelse
+currentdict /KANJI known { /NOKANJI false def } if
 currentdict /NOPAUSE known   /NOPAUSE exch def
 currentdict /NOPLATFONTS known   /NOPLATFONTS exch def
 currentdict /NOPROMPT known   /NOPROMPT exch def

With this fixes,

 * if LANG=ja*, then NOKANJI is unset, so kanji font will be loaded
 * if -dKANJI is specified, even if LANG is not ja*, kanji font will be loaded
 * if -dNOKANJI is specified, even if LANG is ja*, kanji font will not be 
   loaded
 * otherwise, kanji font will not be loaded

So, to use kanji fonts, user should specify
 - set LANG environment variable to ja (or ja_JP, ja_JP.eucJP, ...)
or
 - gs -dKANJI

If you don't need kanji fonts,
 - *DON'T* set LANG to ja (or ja_JP, ja_JP.eucJP, ...)
or
 - gs -dNOKANJI (even if LANG=ja*, this is default behavior by Japanese patch)


Thanks,
Fumitoshi UKAI


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #72 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org, debian-users@debian.or.jp
Subject: Re: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Thu, 11 Nov 1999 20:25:49 +0900
Hi! I have just reminded myself of "-DNOKANJI" option defined in 
gs_init.ps.

In <19991110100949.A967@irst.itc.it>,
 at Date: Wed, 10 Nov 1999 10:09:49 +0100,
   Marco Pistore <pistore@irst.itc.it> 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@nifty.ne.jp>



Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #77 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: 41570@bugs.debian.org, debian-devel@debian.or.jp, xlj06203@nifty.ne.jp
Subject: Re: [debian-devel:10909] Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: 11 Nov 1999 23:44:27 +0900
Hi!

In article <14378.44141.527288.26482Z@linden.jp.hpl.hp.com>
 Fumitoshi UKAI <ukai@debian.or.jp> writes:

> How about this patch ?
(snip)
> With this fixes,
> 
>  * if LANG=ja*, then NOKANJI is unset, so kanji font will be loaded
>  * if -dKANJI is specified, even if LANG is not ja*, kanji font will be loaded
>  * if -dNOKANJI is specified, even if LANG is ja*, kanji font will not be 
>    loaded
>  * otherwise, kanji font will not be loaded

I found this mail after sending previous mail. 
I think this one is far better than my modification. 
If you can, please try to check this, Marco.

# I have not tested this, so I will check it later.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Marco Pistore <pistore@irst.itc.it>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #82 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@irst.itc.it>
To: Fumitoshi UKAI <ukai@debian.or.jp>
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org, debian-devel@debian.or.jp
Subject: Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Fri, 12 Nov 1999 10:10:16 +0100
On Thu, Nov 11, 1999 at 08:45:49PM +0900, Fumitoshi UKAI wrote:
> How about this patch ?

Great! It works perfectly well! I am compiling and uploading a new
version of gs that uses it (i have just slightly changet the patch, so
that if both KANJI and NOKANJI are defined, NOKANJI has precedence.

Thank you very much!
Marco

> --- gs_init.ps.orig	Sun Nov  7 11:49:17 1999
> +++ gs_init.ps	Thu Nov 11 20:31:40 1999
> @@ -123,7 +123,9 @@
>  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 /NOKANJI known { /NOKANJI true def } {
> +	(LANG) getenv { (ja) anchorsearch { /NOKANJI false def } { /NOKANJI true def } ifelse } { /NOKANJI true def } ifelse clear } ifelse
> +currentdict /KANJI known { /NOKANJI false def } if
>  currentdict /NOPAUSE known   /NOPAUSE exch def
>  currentdict /NOPLATFONTS known   /NOPLATFONTS exch def
>  currentdict /NOPROMPT known   /NOPROMPT exch def

-- 

================================================================
Marco Pistore
ITC-IRST                              phone: +39 0461 314 334
Via Sommarive 18                      fax  : +39 0461 314 591
38050 Povo (Trento), ITALY            email: pistore@irst.itc.it
================================================================


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Marco Pistore <pistore@irst.itc.it>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #92 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Marco Pistore <pistore@irst.itc.it>
To: Taketoshi Sano <xlj06203@nifty.ne.jp>, 41570@bugs.debian.org
Subject: Re: Bug#41570: [debian-devel:10909] Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Sat, 13 Nov 1999 17:17:59 +0100
On Sat, Nov 13, 1999 at 12:34:02AM +0900, Taketoshi Sano wrote:
> I tested ukai's patch. It works well.

> Please use this patch for your next version of gs package. Thanks.
>  (the patch below is against your gs 5.10-3)

Hi, 
i have tested Ukai's patch on my computer and, since all seemed to work
well and new users complained about gs not working, i have uploaded a new
version of gs with that patch.

Since your new patch seems not so urgent, i am not going to do a new
upload just for the (i would like to fix some other small problems and do
with a new upload in a pair of weeks).

Thank you again for your help,

Marco



Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #97 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, 41570@bugs.debian.org
Subject: Re: Bug#41570: [debian-devel:10909] Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Sun, 14 Nov 1999 03:27:29 +0900
Hi!

In <19991113171759.55480@irst.itc.it>, at Sat, 13 Nov 1999 17:17:59 +0100,
   Marco Pistore <pistore@irst.itc.it> writes:

> Hi, 
> i have tested Ukai's patch on my computer and, since all seemed to work
> well and new users complained about gs not working, i have uploaded a new
> version of gs with that patch.

Sorry for that problem, and thank you for your work.

> Since your new patch seems not so urgent, i am not going to do a new
> upload just for the (i would like to fix some other small problems and do
> with a new upload in a pair of weeks).

Without that patch, gs can not be build when jpconflict=1 is enabled in
debian/rules (and hp8xx-support disabled). 
It may be not so urgent, but may required for potato release.
Of course, a pair of weeks will be enough before plannd freeze, I think.

Thanks.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Information forwarded to debian-bugs-dist@lists.debian.org, Marco Pistore <pistore@di.unipi.it>:
Bug#41570; Package gs. (full text, mbox, link).


Acknowledgement sent to Taketoshi Sano <xlj06203@nifty.ne.jp>:
Extra info received and forwarded to list. Copy sent to Marco Pistore <pistore@di.unipi.it>. (full text, mbox, link).


Message #102 received at 41570@bugs.debian.org (full text, mbox, reply):

From: Taketoshi Sano <xlj06203@nifty.ne.jp>
To: pistore@irst.itc.it
Cc: xlj06203@nifty.ne.jp, debian-devel@debian.or.jp, 41570@bugs.debian.org
Subject: Re: Bug#41570: [debian-devel:10909] Re: Bug#41570: [root@taer.dhs.org: Bug#49732: gs complaining about missing font 'min']
Date: Sun, 28 Nov 1999 18:22:20 +0900
Hi!

I found that a document file in jpdrivers of gs has copyright problem.
It is "contrib/jpdrivers/src/gdevmjc-0.8no2/OLD-DOC/cpem.doc",
which has non commercial license.

The related code does not have any problem, only that document has.

Please remove that cpem.doc, it is only included for historical 
reference of a color adjust algorithm used in gdevmjc, and maybe
not required to use and develop the code itself.

Sorry to bother you, and thank you for your work!

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri May 3 02:33:55 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.