Martin Costabel wrote:

[]
Unrecoverable error: rangecheck in get
Operand stack:
      hrsyr.gsf    0


This hrsyr.gsf is one of those Hershey fonts.

If one removes the ghostscript-fonts part of the system-ghostscript8 package and installs the Fink ghostscript-fonts package, everything seems to work OK.

On further inspection, it appears that it is type1inst that is at fault.


It is somewhat borderline policy-wise anyway, to run type1inst after linking /sw/share/ghostscript/fonts to /usr/local/ghostscript/fonts, because it is the source directory that gets modified (and broken in this case), and removing system-ghostscript8 does not put the directory back into the state it was before.

Actually, in its README file and in the script itself type1inst talks about problems with Hershey fonts and pretends to ignore them, but it doesn't. If one removes in the type1inst-created Fontmap all the lines that contain Hershey fonts and *.gsf, the problem goes away. There are other lines with either Hershey or *.gsf but not both, and they don't seem to be harmful.

If one leaves the fonts directory as it is and doesn't run type1inst at all, the problem goes away, too. The files "fonts.scale" and "fonts.dir" are already there, and I don't know if the additional file "Fontmap" is needed by anything. The type1inst script celebrates its 5th birthday next week, and it would be highly surprising if it were still up to its task. Maybe it should be sent to its well-deserved retirement.

The ghostscript-fonts package uses type1inst, too, but it seems this is already a sanitized collection without Hershey fonts.

So there are 3 possibilities to fix this package (and I think it needs to be fixed; not having it is harmful to Fink). I would prefer No 2:

1. Take the whole fonts part out of the package and don't let it Provide ghostscript-fonts any more

2. Leave the symlink for the fonts directory as it is, but don't run type1inst

3. Run type1inst as before, but then clean the Fontmap file by removing the Hershey *.gsf lines.

--
Martin


-- Martin



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to