Bug 233403 - ResourceFileName gives wrong result with Font category .
ResourceFileName gives wrong result with Font category .
Status: NOTIFIED LATER
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter
master
All All
: P2 normal
Assigned To: Ray Johnston
Bug traffic
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-02-21 01:02 PST by Igor Melichev
Modified: 2007-12-13 17:02 PST (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Melichev 2001-02-21 01:02:15 PST
Originally reported by: igorm@users.sourceforge.net
------------------------------------------------------------------------
Symptoms:

ResourceFileName gives wrong result with Font category .


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

HEAD, GS_6_50

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

SourceForge

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

PC 

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

        GS_DEVICE

        GS_FONTPATH

        GS_LIB

        GS_OPTIONS

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

-IF:/AFPL/gs-hd/lib;f:/afpl/fonts -sGS_FONTPATH=f:/afpl/fonts test7.ps 

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

Here is test7.ps :


/Font /Category findresource begin
/CharterBT-Roman 255 string ResourceFileName =
end


The result is :

/Resource/Font/CharterBT-Roman

I believe it must be :

f:/afpl/fonts/bchr.pfa



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


ResourceFileName for Font category must account fontmap .


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

Yes


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


Older versions possibly have this bug - I didn't test.


Comment 1 Ray Johnston 2001-04-05 14:14:57 PDT
Comment originally by rayjj@users.sourceforge.net
Logged In: YES 
user_id=11206

We acknowledge that this is a valid issue, but we do not have
resources available to address this at this time.

This problem report has been moved to doc/Issues.htm where it
may remain open for some time. Relevant comments are
captured there along with the ID# of this report.

By moving this issue to the widely distributed Ghostscript
documentation, we wish to make this issue well known and
solicit help in improving Ghostscript in this area.

Thanks for your input!