View Issue Details

IDProjectCategoryView StatusLast Update
0002892ScribusImport / Exportpublic2005-12-07 17:02
Reporteravox Assigned Tofschmid  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMacintoshOSOSXOS Version10.3.8
Product Version1.2.4cvs 
Fixed in Version1.3.2cvs 
Summary0002892: PDF form created by Scribus cannot be processed by ghostscript
DescriptionI tried to create a simple form with Scribus, but the resulting pdf cannot be processed by ghostscript:

This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Error: /undefined in --get--
Operand stack:
   --dict:15/15(L)-- 1 --dict:15/15(L)-- 1 --dict:7/11(L)-- --dict:7/11(L)-- BBox
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- 5 11 %oparray_pop --nostringval-- false 1 %stopped_push 5 11 %oparray_pop --nostringval--
Dictionary stack:
   --dict:1117/1686(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:105/127(ro)(G)-- --dict:251/347(ro)(G)-- --dict:21/24(L)-- --dict:4/6(L)-- --dict:20/20(L)-- --dict:19/21(L)-- --dict:1/1(ro)(G)--
Current allocation mode is local
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1

This affects not only viewing, but also transformation with pdf2ps, and probably printing on other platforms.
Steps To Reproducecreate a doc with pdf text fields
export as pdf
try to open the pdf with ghostscript
Additional InformationOther pdf forms, eg. the one which comes with acroformtool, open fine in gs.

I am aware that this might be not a Scribus issue, but in my opinion we should try to find out what happens here since it disables an interesting workflow.
TagsNo tags attached.
Attached Files
form-scribus.sla (61,276 bytes)
form-scribus.pdf (82,705 bytes)
Patch

Relationships

has duplicate 0002973 closedplinnell PDF-Textfields don't work in xpdf and evince 
child of 0003831 acknowledged Metabug: PDF Forms 

Activities

plinnell

2005-12-03 13:23

viewer   ~0007613

This opens in Acro Pro 5.0.5 and I can re-edit the form fields without issue.

KPDF from 3.5.0 opens it fine and disyplays it fine.

Acro Reader win32 5.0.5 opens and displays fine.


It could be a: bug in GS and xpdf b: form bounding boxes are not correct.



This is the output of xpdf command line (it displays fine:

mrdocs@linux:~/Documents/bugs> xpdf -cmd ./2892form-scribus.pdf
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:6)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:11)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:16)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:21)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:26)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:31)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:36)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:41)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:46)
Error: Bad 'display*Font*' config file command (/etc/xpdfrc-cjk.sjis:51)
***** MediaBox = ll:0,0 ur:595.28,841.89
***** CropBox = ll:0,0 ur:595.28,841.89
***** Rotate = 0
re 0 0 595.28 841.89
W
n
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 95 750.89
q
BT
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 170 -7.28
Tj (n)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 176.996 -7.28
Tj (a)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 183.116 -7.28
Tj (m)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 193.616 -7.28
Tj (e)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 199.208 -7.28
Tj (:)
ET
Q
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 96 728.89
q
BT
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 178 -9.344
Tj (c)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 183.592 -9.344
Tj (i)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 187.084 -9.344
Tj (t)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 191.98 -9.344
Tj (y)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 198.628 -9.344
Tj (:)
ET
Q
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 97 707.89
q
BT
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 167 -8.648
Tj (s)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 171.968 -8.648
Tj (t)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 176.864 -8.648
Tj (r)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 181.76 -8.648
Tj (e)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 187.352 -8.648
Tj (e)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 192.944 -8.648
Tj (t)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 197.84 -8.648
Tj (:)
ET
Q
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 313 749.89
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 313 726.89
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 314 706.89
Q
***** Annotations
Error: Bad form bounding box
Error: Bad form bounding box
Error: Bad form bounding box
***** page 1 *****
***** MediaBox = ll:0,0 ur:595.28,841.89
***** CropBox = ll:0,0 ur:595.28,841.89
***** Rotate = 0
re 0 0 595.28 841.89
W
n
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 95 750.89
q
BT
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 170 -7.28
Tj (n)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 176.996 -7.28
Tj (a)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 183.116 -7.28
Tj (m)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 193.616 -7.28
Tj (e)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 199.208 -7.28
Tj (:)
ET
Q
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 96 728.89
q
BT
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 178 -9.344
Tj (c)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 183.592 -9.344
Tj (i)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 187.084 -9.344
Tj (t)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 191.98 -9.344
Tj (y)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 198.628 -9.344
Tj (:)
ET
Q
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 97 707.89
q
BT
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 167 -8.648
Tj (s)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 171.968 -8.648
Tj (t)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 176.864 -8.648
Tj (r)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 181.76 -8.648
Tj (e)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 187.352 -8.648
Tj (e)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 192.944 -8.648
Tj (t)
Tf /Fo0S0 12
  font: tag=Fo0S0 name='LMTypewriterVarWd10-Regular' 12
RG 0 0 0
rg 0 0 0
Tr 0
Tm 1 0 0 1 197.84 -8.648
Tj (:)
ET
Q
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 313 749.89
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 313 726.89
Q
q
w 1
d [] 0
J 0
j 0
cm 1 0 0 1 314 706.89
Q
***** Annotations
Error: Bad form bounding box
Error: Bad form bounding box
Error: Bad form bounding box

avox

2005-12-03 14:03

updater   ~0007614

I know the file works fine in Acrobat Reader.

The errormessage in GS and the messages from xpdf hint at the same cause: bad form bounding boxes. xpdf just seems to handle this a little more graceful.

The GS errormessage means that GS tries to look up a value "BBox" in a dictionary (kind of hashmap) and fails.

plinnell

2005-12-03 14:19

viewer   ~0007615

Reminder sent to: fschmid

Franz, thoughts ?

plinnell

2005-12-04 00:16

viewer   ~0007626

both branches have this issue

plinnell

2005-12-07 17:02

viewer   ~0007660

tested. Fixed.

Issue History

Date Modified Username Field Change
2005-12-03 12:05 avox New Issue
2005-12-03 12:05 avox File Added: form-scribus.sla
2005-12-03 12:06 avox File Added: form-scribus.pdf
2005-12-03 13:23 plinnell Note Added: 0007613
2005-12-03 14:03 avox Note Added: 0007614
2005-12-03 14:19 plinnell Note Added: 0007615
2005-12-04 00:16 plinnell Note Added: 0007626
2005-12-04 00:16 plinnell Assigned To => fschmid
2005-12-04 00:16 plinnell Status new => assigned
2005-12-04 00:16 plinnell Product Version 1.3.2cvs => 1.2.4cvs
2005-12-04 11:02 fschmid Status assigned => resolved
2005-12-04 11:02 fschmid Fixed in Version => 1.3.2cvs
2005-12-04 11:02 fschmid Resolution open => fixed
2005-12-07 17:02 plinnell Status resolved => closed
2005-12-07 17:02 plinnell Note Added: 0007660
2006-01-08 14:50 plinnell Relationship added has duplicate 0002973
2006-05-17 17:57 mhanski Relationship added child of 0003831