Bug 21478

Summary: not all elements in EPS rendered
Product: libspectre Reporter: Nico Schlömer <nico.schloemer>
Component: generalAssignee: Carlos Garcia Campos <carlosgc>
Status: RESOLVED NOTABUG QA Contact: Carlos Garcia Campos <carlosgc>
Severity: normal    
Priority: medium CC: ajohnson
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: two boxes in an eps, libstprectre shows one

Description Nico Schlömer 2009-04-29 10:54:28 UTC
Created attachment 25260 [details]
two boxes in an eps, libstprectre shows one

Hi,

I just wrote a little EPS figure that shows two boxes in the right lower corner (see attachment). When viewing the file with KDE's okular (using libspectre as backend), only the first box is drawn.

When commenting out the first box in the EPS, the second box is shown.

Cheers,
Nico
Comment 1 Adrian Johnson 2009-09-24 05:21:27 UTC
The last line is missing a newline. It works for me after adding the newline.
Comment 2 Nico Schlömer 2009-09-24 05:23:35 UTC
Confirmed.

-- Now, what does the EPS standard say about this, any idea?
Comment 3 Adrian Johnson 2009-09-25 03:21:02 UTC
(In reply to comment #2)
> Confirmed.
> 
> -- Now, what does the EPS standard say about this, any idea?
> 

The EPS spec says the file must conform to the document structuring conventions (DSC). The DSC spec section 4.3 states:

"Lines must be terminated with one of the following combinations of characters: CR, LF, or CR LF."


Comment 4 Carlos Garcia Campos 2009-10-10 04:01:42 UTC
Looks like a problem in the document rather than a libspectre bug, closing. 

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.