Bug 226462

Summary: GS cannot load Adobe's fonts
Product: Ghostscript Reporter: Igor Melichev <igor.melichev>
Component: PS InterpreterAssignee: Jack Moffitt <jack>
Status: NOTIFIED LATER    
Severity: normal    
Priority: P2    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---

Description Igor Melichev 2000-12-20 03:09:39 UTC
Originally reported by: igorm@users.sourceforge.net
Symptoms:

GS HEAD cannot load Adobe's fonts.
The following program works fine with Adobe fonts on GS 6.50, but
files on GS 6.50 :

(C*)
{ cvn findfont pop
} 255 string /Font resourceforall


------------------------------------------------------------------------
Ghostscript version (or include output from "gs -h"):

HEAD

------------------------------------------------------------------------
Where you got Ghostscript:

SourceForge

------------------------------------------------------------------------
Hardware system you are using (including printer model if the problem
involves printing):

PC 2*P3

------------------------------------------------------------------------
Operating system you are using:

Windows 2000

------------------------------------------------------------------------
If you are using X Windows, and your problem involved output to the
screen, the output from running xdpyinfo and xwininfo:

------------------------------------------------------------------------
C compiler you are using, including its version, if you compiled
Ghostscript yourself:

MSVC 6.0

------------------------------------------------------------------------
If you compiled Ghostscript yourself, changes you made to the makefiles:

------------------------------------------------------------------------
Environment variables:

See attached .bat files.

------------------------------------------------------------------------
Command line:

See attached .bat files.

------------------------------------------------------------------------
URL or FTP location of test files (include the data at the end of this
form if 500K or less):


http://users.erols.com/alexcher/MLC/foreign_fonts_failure.zip

------------------------------------------------------------------------
Suggested fix, if any:

I guess, recently something become wrong in /lib .

------------------------------------------------------------------------
Visibility of report to the public (change the answers if you want):
May we make this problem report public?  yes
May we include your e-mail address in a public report?  no
May we make the test data (if longer than about 20 lines) public?  no
Other preferences about visibility:




------------------------------------------------------------------------
Other comments:

GS 6.50 passed this test fine.

Also please pay attention to double slashes in font pathes,
in which GS tries to locate fonts.





Comment 1 Igor Melichev 2000-12-20 03:34:43 UTC
Comment originally by igorm@users.sourceforge.net
After additional testing I found that all GS 6.12, 6.50, HEAD don't work properly, but each one is its unique manner.
For instance, with GS 6.50 findfont works, but /Font resourceforall does not. With HEAD it's vise versa.

I guess that Adobe is not the reason, but GS file system is. 

The test suite is now replaced with a bigger one.
Comment 2 L. Peter Deutsch 2000-12-31 09:55:38 UTC
Comment originally by lpd@users.sourceforge.net
The problem is not the "GS file system". findfont and Font/resourceforall are very difficult to keep consistent, because the same logic algorithms must be implemented in two different ways. I recommend looking for the problem in lib/gs_fonts.ps, lib/gs_res.ps, and lib/gs_cidcm.ps.
Comment 3 Ray Johnston 2001-03-19 11:00:31 UTC
Comment originally by rayjj@users.sourceforge.net
Logged In: YES 
user_id=11206

This has been added to the Issues.htm document