Bug 120941 - PPTX with dashed line exported to a large size PDF
Summary: PPTX with dashed line exported to a large size PDF
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:pdf, filter:pptx
Depends on:
Blocks: PDF-Export PPTX
  Show dependency treegraph
Reported: 2018-10-26 14:20 UTC by Ofir
Modified: 2018-11-01 19:32 UTC (History)
0 users

See Also:
Crash report or crash signature:

PPTX with a dashed line (28.79 KB, application/zip)
2018-10-26 14:21 UTC, Ofir
PDF exported from impress (20.42 KB, application/pdf)
2018-10-26 14:21 UTC, Ofir
SVG exported from Impress (725.84 KB, image/svg+xml)
2018-10-26 14:21 UTC, Ofir
PDF exported from PowerPoint 2013 (2.13 KB, application/pdf)
2018-10-26 14:22 UTC, Ofir

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir 2018-10-26 14:20:32 UTC
The attached PPTX has a dashed line.
The size of the PDF exported from impress is 21KB, x10 compared to PDF exported from PowerPoint.
When exported to SVG the line is converted to many small path elements and the file size is 726KB.

Steps to Reproduce:
1. Open the attached line.pptx file in Impress
2. Export to PDF and check the file size.
3. Export to SVG and check the file size.

Actual Results:
PDF file size is 21KB.
SVG file size is 726KB.
SVG has many small path elements.

Expected Results:
PDF file size should be 3KB.
SVG file size should be few KBs.
SVG should have a single dashed line element.

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Ofir 2018-10-26 14:21:02 UTC
Created attachment 146033 [details]
PPTX with a dashed line
Comment 2 Ofir 2018-10-26 14:21:24 UTC
Created attachment 146034 [details]
PDF exported from impress
Comment 3 Ofir 2018-10-26 14:21:46 UTC
Created attachment 146035 [details]
SVG exported from Impress
Comment 4 Ofir 2018-10-26 14:22:17 UTC
Created attachment 146036 [details]
PDF exported from PowerPoint 2013
Comment 5 Roman Kuznetsov 2018-10-26 21:49:32 UTC
please create different bugs for different problems with PPTX->PDF and PPTX->SVG
Comment 6 Ofir 2018-10-28 22:57:44 UTC
I assumed the SVG and PDF are related because both are vector formats.
Please ignore the SVG for now and let's focus on the PDF.

When I open the PDF exported from Impress in Inkscape I can see many small rectangles. The PDF exported from PowerPoint has a single element.
Comment 7 Roman Kuznetsov 2018-11-01 17:55:24 UTC
Can you attach result of PDF export from MS Power Point?
Comment 8 Ofir 2018-11-01 19:32:37 UTC
'PDF exported from PowerPoint 2013' is in the attachment list: