Bug 687824 - Ghostscript 8.14/ghostview 4.6 cannot open a speciel *pdf file
Summary: Ghostscript 8.14/ghostview 4.6 cannot open a speciel *pdf file
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Font API (show other bugs)
Version: 8.14
Hardware: All other
: P2 normal
Assignee: Jack Moffitt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 07:57 UTC by Horst Lippmann
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Timetable.pdf (26.72 KB, application/pdf)
2004-12-03 03:21 UTC, Russell Lang
Details
patch (1.11 KB, patch)
2004-12-05 04:10 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Horst Lippmann 2004-12-02 07:57:15 UTC
I am using ghostview 4.6 combined with ghostscript 8.14 on a PC under
Windows ME and on a Notebook under Windows XP, updated with service pack 2.

Neither with the first nor with the second installation I can open the
file called, 'timetable.pdf' downloaded from the German
railway company. The complete error message, ('Error: /undefined in RD')
is attached below.

I would have liked to attach also the downloaded file itself. However I do not
know how to do this. (Actually I attached it before to an Email message to
Russel Lang who guessed that it is really a bug, although he adviced me to
report it on this form. He also mentioned that the bug would still exist in the
Beta version of Ghostscript 8.33)

Note that the same file i.e., 'timetable.pdf' can be opened on both
computers without any problem using the Adobe Acrobat Reader 5.0 software.

Regards,
Horst

======================================================================
ERROR MESSAGE

GSview 4.6 2004-01-11
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Scanning PDF file
%GSVIEW_PDF_PAGES: 1 3
Displaying PDF page 1
%GSVIEW_PDF_PAGE: 1
%GSVIEW_PDF_MEDIA: [0 0 595.276 841.89]
%GSVIEW_PDF_ROTATE: 0
Loading NimbusSanL-Bold font from C:\gs\fonts/n019004l.pfb... 2230256 875276
1577488 240992 2 done.
Error: /undefined in RD
Operand stack:
   --dict:5/5(L)--   F25   17.215   --dict:8/8(L)--   --dict:8/8(L)--   1430  
--dict:8/8(L)--   --dict:8/11(L)--   --dict:8/11(L)--   Private  
--dict:15/16(L)--   Subrs   --nostringval--   --nostringval--   4   5
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false
  1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3  
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--  
--nostringval--   --nostringval--   --nostringval--   --nostringval--  
%array_continue   --nostringval--   false   1   %stopped_push   --nostringval--
  %loop_continue   --nostringval--   --nostringval--   --nostringval--  
--nostringval--   --nostringval--   8   10   %oparray_pop   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
--nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--  
--dict:104/127(ro)(G)--   --dict:238/347(ro)(G)--   --dict:20/24(L)--  
--dict:4/6(L)--   --dict:24/31(L)--   --dict:1120/1686(ro)(G)--  
--dict:5/5(L)--   --dict:1120/1686(ro)(G)--   --dict:5/5(L)--   --dict:15/16(L)--
Current allocation mode is local
pdf_page failed


AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Scanning PDF file
%GSVIEW_PDF_PAGES: 1 3
Displaying PDF page 1
%GSVIEW_PDF_PAGE: 1
%GSVIEW_PDF_MEDIA: [0 0 595.276 841.89]
%GSVIEW_PDF_ROTATE: 0
Loading NimbusSanL-Bold font from C:\gs\fonts/n019004l.pfb... 2230256 875276
1577488 240992 2 done.
Error: /undefined in RD
Operand stack:
   --dict:5/5(L)--   F25   17.215   --dict:8/8(L)--   --dict:8/8(L)--   1430  
--dict:8/8(L)--   --dict:8/11(L)--   --dict:8/11(L)--   Private  
--dict:15/16(L)--   Subrs   --nostringval--   --nostringval--   4   5
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false
  1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3  
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--  
--nostringval--   --nostringval--   --nostringval--   --nostringval--  
%array_continue   --nostringval--   false   1   %stopped_push   --nostringval--
  %loop_continue   --nostringval--   --nostringval--   --nostringval--  
--nostringval--   --nostringval--   8   10   %oparray_pop   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
--nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--  
--dict:104/127(ro)(G)--   --dict:238/347(ro)(G)--   --dict:20/24(L)--  
--dict:4/6(L)--   --dict:24/31(L)--   --dict:1120/1686(ro)(G)--  
--dict:5/5(L)--   --dict:1120/1686(ro)(G)--   --dict:5/5(L)--   --dict:15/16(L)--
Current allocation mode is local
pdf_page failed
Comment 1 Dan Coby 2004-12-02 23:07:26 UTC
>I would have liked to attach also the downloaded file itself. However I do not
>know how to do this.

To attach a file:  open the bug report and click on:  Create a New Attachment

Comment 2 Russell Lang 2004-12-03 03:21:27 UTC
Created attachment 1071 [details]
Timetable.pdf
Comment 3 Alex Cherepanov 2004-12-05 04:10:27 UTC
Created attachment 1072 [details]
patch

Provide back-up definitions of /-| /RD /|- /ND /| /NP for the benefit of
embedded PDF fonts that forget to define them. Issue a warning when they
are used.
Comment 4 Alex Cherepanov 2004-12-07 16:41:22 UTC
The patch is committed to GS_8_1X and HEAD branches.