Created attachment 110241
test kit ODG drawing with and without margins and exported images

An old filter issue. Still present in LODev 4.5.0.0alpha0+ affecting
Draw export filter for .EPS, .PNG and .GIF, where image filter is mis-
handling the margin details in calculating image size, and the margin
values are then masking the image details on right and bottom edges.

If Draw page setup is adjusted to 0.00" margins, then no cropping of the
exported images (as .eps, .png or .gif) occurs.

Other image format export filters render full image at 96dpi for whole
draw document page including any margins.

Test kit with examples attached.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/172779

Title:
  [Upstream] [hardy] Draw exporting .odg to .eps crops bottom and right
  of image

Status in LibreOffice Productivity Suite:
  Fix Released
Status in The OpenOffice.org Suite:
  In Progress
Status in libreoffice package in Ubuntu:
  Triaged
Status in openoffice.org package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org

  1) lsb_release -rd
  Description:  Ubuntu 11.04
  Release:      11.04

  2) apt-cache policy libreoffice-draw
  libreoffice-draw:
    Installed: 1:3.3.2-1ubuntu5
    Candidate: 1:3.3.2-1ubuntu5
    Version table:
   *** 1:3.3.2-1ubuntu5 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 
Packages
          100 /var/lib/dpkg/status
       1:3.3.2-1ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

  apt-cache policy unoconv
  unoconv:
    Installed: 0.3-6
    Candidate: 0.3-6
    Version table:
   *** 0.3-6 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen in LibreOffice Draw via the Terminal:

  cd ~/Desktop && wget
  
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/172779/+attachment/225258/+files
  /test-eps-export.odg && unoconv --listener && unoconv -f eps test-eps-
  export.odg && lodraw -nologo test-eps-export.odg test-eps-export.eps

  is that the two files look the same.

  4) What happens instead is the .eps has white margins on the right and
  the bottom of the page, cropping the content.

  WORKAROUND: Select all the content and then export the selection.

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/172779/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to