Download it now!
Bug 42091 - EXPORT PDF with SVG becomes BITMAP
Summary: EXPORT PDF with SVG becomes BITMAP
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: Other Mac OS X (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 07:22 UTC by rk601
Modified: 2011-10-22 00:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rk601 2011-10-21 07:22:46 UTC
Perhaps this is not an error, but it should not be the default behavior.

When an SVG picture is exported with the default PDF settings then the resulting PDF file converts the SVG to BITMAP or Raster graphics. The BITMAP PDF file size is 123KB (see "PDF_lossless.pdf").

When an SVG picture is exported with the A-1a PDF settings then the resulting PDF file maintains the SVG as scalable graphics. However, the A-1a PDF file size is 475KB (see "PDF_A-1a.pdf"); much too big for a "basic" scalable PDF file. Of course, a PDF file with A-1a information is useful when desired.

Shouldn't the default behavior of an EXPORT to PDF maintain the scalable pictures and have a reduced file size? Of course, when desired the ability to EXPORT a PDF with scalable pictures to raster images is also useful, but we believe that it should not be the default behavior.

As an example, we tested the desired functionality in the Master:

LibO-dev 3.5.0 
Build ID: 1af9425-947bf60-9c6ea62-e1a2fb3
On OSX 10.6.8

Located at:

http://dev-builds.libreoffice.org/daily/MacOSX_10.6.7_Intel_no-moz/master/2011-10-21_07.55.40/

with

master~2011-10-21_07.55.40_LibO-Dev_OOO350m1_MacOS_x86_install_en-US.dmg

Steps to reproduce:

1. Use a Web browser or Graphic Editor to find and save an SVG picture.
2. Open a new WRITER Text Document
3. Select Insert -> Picture -> From File... (We inserted
organick_Chemistry_set.svg)
4. Select File -> Export as PDF....
5. Keep the default settings then click Export (see the "3 Export as PDF_lossless.png").

Expected results: SVG image will remain scalable within WRITER, DRAW, etc.
Actual results: SVG image is NOT scalable.

See attachment for sample documents and screenshots (including the scalable Export to PDF as A-1a and export warning).

Also check the same "problems" with the "blue_folder_1067B.svg" file.

Thank you.
Comment 1 rk601 2011-10-21 07:32:46 UTC
THIS DUPLICATE BUG REPORT MAY BE DELETED! PLEASE SEE BUG #42092. This duplicate is a result from the following Bugzilla Error:

Bugzilla has suffered an internal error. Please save this page and send it to sitewranglers@lists.freedesktop.org with details of what you were doing at the time this message appeared.
URL: https://bugs.freedesktop.org/post_bug.cgi

There was an error sending mail from 'bugzilla-daemon' to 'libreoffice-bugs@lists.freedesktop.org':error when closing pipe to /usr/lib/sendmail:

Traceback:
at Bugzilla/Mailer.pm line 186 Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/BugMail.pm line 591 Bugzilla::BugMail::sendMail(...) called at Bugzilla/BugMail.pm line 431 Bugzilla::BugMail::Send(...) called at /srv/bugs.freedesktop.org/www/post_bug.cgi line 252
Comment 2 Rainer Bielefeld Retired 2011-10-21 09:07:07 UTC
Accidently creeated clone of BUG 42092.
Comment 3 Rainer Bielefeld Retired 2011-10-22 00:11:55 UTC
OOo#118455 - SVG image are exported as bitmap in pdf might be concerning the same problem.