https://bugs.documentfoundation.org/show_bug.cgi?id=146804
Bug ID: 146804
Summary: FILESAVE Dashed lines do not export properly to EPS
file
Product: LibreOffice
Version: 7.1.8.1 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Description:
When drawing a dashed line in either impress or draw and attempting an export
to an EPS file, the exported .eps file is written with a meaningless value for
the PostScript dash pattern, resulting in a line that essentially appears as a
solid line in a Postscript viewer.
Steps to Reproduce:
1. In either impress or draw, create a new document, draw a line, and set the
line type to anything like 'dash', 'shortdash', 'longdash' etc.
2. Export the document to an EPS file
3. View the EPS file in any PS viewer or import into a Latex document
Actual Results:
The exported graphics appears with the line essentially solid. In the exported
EPS file the line dash pattern is set with a Postscript command '[ 2 ] 0 ld'.
(The string 'ld' has been bound to the native Postscript command 'setdash'.)
The matrix argument '[ 2 ]' is supposed to specify the line length intervals of
the on and off dash pattern. In the coordinate system a length of 2 is an
absurdly short distance, and results in the line appearing as solid. The same
argument is supplied no matter what libreoffice line type is set on the line.
Expected Results:
The Postscript argument to 'setdash' should be a matrix with a pattern of
meaningful lengths, like 100, 200, whatever, and have various patterns
according to the line type selected in libreoffice, so that the line appears in
the Postscript image with the same dash pattern as in the libreoffice document.
Reproducible: Always
User Profile Reset: No
Additional Info:
A workaround is to manually edit the exported Postscript file before importing
into Latex and making the matrix argument '[ 200 ]'. This will appear as at
least a simple dashed line with some reasonable intervals.
--
You are receiving this mail because:
You are the assignee for the bug.