Created attachment 170417 [details]
Libreoffice PDF export that demonstrates the increase in size and slow performance
I try to promote within my workplace the use of free software including LibreOffice.
I noticed that if I embed an SVG logos of 400 KiB in an otherwise empty ODT and export this to a PDF, than the PDF has 13MB and many PDF readers (if not all) suffer from huge performance issues in rendering the PDF. I have tried the following PDF readers:
1. Okular (KDE Linux)
2. Acrobat Reader (Windows)
3. Firefox (Linux, I can literally see the individually steps of the logo painting)
I would instead expect that the PDF is under 1MB and loads as fast as a PDF file stemming from the Inkscape SVG to PDF export.
I assume that the SVG logo uses some features (like gradients) that the LibreOffice export does not handle efficiently.
Created attachment 170418 [details]
Original Writer file that embeds the SVG
Created attachment 170419 [details]
SVG file used for the PDF export test
Confirm a big PDF size in
Version: 18.104.22.168.alpha0+ (x64) / LibreOffice Community
Build ID: 9d8accf03984a64a4105826e55b221962628eb93
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
But when I opened that result PDF in Firefox I saw some drawing of symbols in logo and then scrolling was too fast
Export ODT to PDF from LO 5.2 gave me 6 mb PDF file
I have exported the same odt file to pdf using:
LibreOffice 22.214.171.124 (x64)
CPU threads: 8; OS: Windows 10.0; UI render: default;
locale: en-GB (en_GB); Calc: group
Also here, the pdf is about 6mb (6.774KB). I have opened the pdf in Acrobat reader and the initial rendering of the logo takes several seconds.