bug-ghostscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New Ghostscript 7.05 compiled with DJGPP 2.04 - Fonts don't load!


From: deckerben
Subject: New Ghostscript 7.05 compiled with DJGPP 2.04 - Fonts don't load!
Date: Thu, 3 Oct 2002 12:38:29 +0200

Hello,

I am new to this newsgroup, as I began trying to find a DJGPP compatible
Ghostscript for my DOS DJGPP installation under Windows2000 (currently).
This is the new release that recognizes long filenames. The installation
itself is fine, I have compliled such packages as Python, Ncurses, and Linux
Text Utlities from scratch. But I am not so familiar with Ghostscript, and I
hope my posting to this newsgroup can save me some time.

The 'GS>' prompt does come up without error, which means that it is both
finding and reading gs_init.ps from D:\USER\DJGPP\share\ghostscript\7.05\lib
just fine.
My problem seems to be with the fonts.

I always get a font-load error regardless of the font I need. It looks like
this:


********************************************************************
GS>loadallfonts
Loading NimbusRomNo9L-ReguItal font from
/dev/env/DJDIR/share/ghostscript/fonts/
n021023l.pfb... Error: /ioerror in -file-
Operand stack:
   Times-Italic   Font   Times-Italic   326588
Times-Italic   --nostringval--
  Times-Italic   NimbusRomNo9L-ReguItal
(/dev/env/DJDIR/share/ghostscript/font
s/n021023l.pfb)
false   --nostringval--   --nostringval--   --dict:9/12(G)--
Execution stack:
   %interp_exit
.runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue
2
 3   %oparray_pop   --nostringval--   --nostringval--   false   1
%stopped_pus
h   .runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopp
ed_push   --nostringval--   --dict:126/151(G)--   --nostringval--   255
%dict_
continue   --nostringval--   1   3   %oparray_pop   2   3
%oparray_pop   --nos
tringval--   --nostringval--   --nostringval--   --nostringval--   --nostrin
gval
--   false   1   %stopped_push   5   4
%oparray_pop   --nostringval--   --nost
ringval--   --nostringval--   --nostringval--   --nostringval--
%array_continu
e   --nostringval--   --nostringval--   --nostringval--   --nostringval--
--no
stringval--
%array_continue   --nostringval--   --nostringval--   --nostringva
l--   %loop_continue   --nostringval--   --nostringval--   --nostringval--
11
  --nostringval--   --nostringval--   false   1
%stopped_push   --nostringval-
-   false   1   %stopped_push
closefile   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   --nostringval--   14   6
%oparra
y_pop   --nostringval--   --nostringval--   --nostringval--   false   1
%stopp
ed_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1055/1123(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--   --dic
t:17
/17(ro)(G)--   --dict:1055/1123(ro)(G)--   --dict:68/200(L)--   --dict:1055/
1123
(ro)(G)--
Current allocation mode is global
GS<1>quit
****************************************************************************
**



I decompressed "ghostscript-fonts-std-6.0.tar.gz" into
D:\USER\DJGPP\share\ghostscript\fonts and added the following lines in my
autoexec.bat file:

:: Ghostscript 7 for DJGPP-UNIX
set GS_FONTPATH=D:\USER\DJGPP\share\ghostscript\fonts

...which corresponds to the virtual DJGPP-unix path of:
/dev/env/DJDIR/share/ghostscript/fonts
... it appears that ghostscript can find the font, but just can't read it.


1. Is there an area of Ghostscript code that checks permissions on the fonts
before reading them (in pseudo-unix compiles)? DOS doesn't actually have any
UNIX-Style permissions to report, in that case.

2. Does a pseudo-unix build use fork() in any way? DJGPP does not support
it.

3. Do I have the correct font package?

4. Should my FONTMAP file be in 'lib' or 'fonts', and should I make any
changes?

5. Is there a 'dry-run' test that can be run from GS just to read a font, to
see if the font interpreter itself is healthy? (i.e. an "open font <complete
font path>" type command).

6. Is there soemwhere else I should look?


When I do a 'gs -h', this is what comes on the screen:

GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer
messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
   bmpmono bmpgray bmpsep1 bmpsep8 bmp16 bmp256 bmp16m bmp32b deskjet
   djet500 laserjet ljetplus ljet2p ljet3 ljet3d ljet4 ljet4d lj5mono
   lj5gray cdeskjet cdjcolor cdjmono cdj550 pj pjxl pjxl300 uniprint ijs
   bj10e bj200 bjc600 bjc800 faxg3 faxg32d faxg4 pcxmono pcxgray pcx16
   pcx256 pcx24b pcxcmyk pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm
   ppmraw pkm pkmraw pksm pksmraw tiffcrle tiffg3 tiffg32d tiffg4 tifflzw
   tiffpack tiff12nc tiff24nc psmono psgray psrgb bit bitrgb bitcmyk jpeg
   jpeggray pdfwrite pswrite epswrite pxlmono pxlcolor cljet5 cljet5c
   nullpage
Search path:
   . : /dev/env/DJDIR/share/ghostscript/7.05/lib :
   /dev/env/DJDIR/share/ghostscript/fonts
For more information, see /dev/env/DJDIR/share/ghostscript/7.05/doc/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.


Sorry about the long e-mail, but I try to be as specific as possible about
the problem, so that hopefully I can *fix* it.

Thanks,
Ben









reply via email to

[Prev in Thread] Current Thread [Next in Thread]