View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002565 | Scribus | Import / Export | public | 2005-09-15 17:46 | 2005-09-23 15:07 |
Reporter | Assigned To | fschmid | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.3 | ||||
Fixed in Version | 1.2.4cvs | ||||
Summary | 0002565: Content in page templates causes PDF exported which has grave errors in Acrobat 5 and 7 | ||||
Description | See the attached file and export a PDF from 1.2.3 or 1.2.4cvs. Copying the content from the page templates into another doc will also trigger problem PDF. I spent a bit of time testing and eliminated the images as an issue. Exporting to EPS results in broken EPS which Photoshop cannot part and results in a blank display in GSview. Print Preview also shows no content. | ||||
Tags | No tags attached. | ||||
Patch | |||||
2005-09-15 17:46
|
|
|
Removing the ()s from the page template names (via a text editor or duplicating the templaes) seems to make it work ok here. |
|
Some digging finds the issue is caused by the use of ( ) in the names of page templates. Removing them solves the issue. |
|
The attached PS snippet causes the error. The string "/02-Directio\(lzq\)6" should be a valid PS command name but isn't. /02-Directorio\(Izq\)6 { gs 1 sw 0 setlinecap 0 setlinejoin [] 0 setdash 0.00283465 763.654 tr 0 0 m 0 0 184.252 0 184.252 0 curveto ... gr } bind def |
|
OK, removing () for this particular problem fixed it. Is there a subset of valid template name chars ? should we use the valid expected values used on PS ? |
|
I think PSLib::PSEncode should be rewritten. From PS Refman: Any token that consists entirely of regular characters and cannot be interpreted as a number is treated as a name object (more precisely, an executable name). All characters except delimiters and white-space characters can appear in names, including characters ordinarily considered to be punctuation. The following are examples of valid names: abc Offset $$ 23A 13-456 a.b $MyDict @pattern Use care when choosing names that begin with digits. For example, while 23A is a valid name, 23E1 is a real number, and 23#1 is a radix number token that represents an integer. AND The characters (, ), <, >, [, ], {, }, /, and % are special. They delimit syntactic entities such as strings, procedure bodies, name literals, and comments. Any of these characters terminates the entity preceding it and is not included in the entity. All characters besides the white-space characters and delimiters are referred to as regular characters. These include nonprinting characters that are outside the recommended PostScript ASCII character set. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-09-15 17:46 |
|
New Issue | |
2005-09-15 17:46 |
|
File Added: Manual.tar.gz | |
2005-09-15 18:32 | cbradney | Note Added: 0006577 | |
2005-09-15 18:35 |
|
Note Added: 0006578 | |
2005-09-15 18:44 |
|
Relationship added | related to 0002561 |
2005-09-15 18:45 |
|
Note Edited: 0006578 | |
2005-09-15 19:01 | avox | Note Added: 0006580 | |
2005-09-15 19:58 | saaib | Note Added: 0006581 | |
2005-09-15 20:00 | avox | Note Added: 0006582 | |
2005-09-15 21:41 | fschmid | Status | new => resolved |
2005-09-15 21:41 | fschmid | Fixed in Version | => 1.2.4cvs |
2005-09-15 21:41 | fschmid | Resolution | open => fixed |
2005-09-15 21:41 | fschmid | Assigned To | => fschmid |
2005-09-23 15:07 | cbradney | Status | resolved => closed |
2006-05-18 19:03 | christoph_s | Relationship added | related to 0003837 |