← Back to team overview

desktop-packages team mailing list archive

[Bug 1473347] [NEW] Invalid MediaBox height when converting svg to pdf on i386

 

Public bug reported:

When converting the example svg file into pdf on i386 there is a bug
which causes the resulting MediaBox element to have an incredibly large
height (looks like this might be an integer overflow). The expected
height is around 423 which the 64bit test run is correctly producing.

Testcase: attached script

Results from i386 chroots:

Precise:	overflow
Trusty:	overflow
Utopic:	height ok (but text misplaced)
Vivid:	height ok (but text misplaced)
Wily:	overflow

For Utopic and Vivid this seems "only" to result in visually unusable
results (because text in some boxes is rendered all on one line) but for
the other releases this would break the build of another package which
tried to import the resulting pdf images into its auto-generated
documentation.

** Affects: inkscape (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "inkscape-test"
   https://bugs.launchpad.net/bugs/1473347/+attachment/4427342/+files/inkscape-test

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

Title:
  Invalid MediaBox height when converting svg to pdf on i386

Status in inkscape package in Ubuntu:
  New

Bug description:
  When converting the example svg file into pdf on i386 there is a bug
  which causes the resulting MediaBox element to have an incredibly
  large height (looks like this might be an integer overflow). The
  expected height is around 423 which the 64bit test run is correctly
  producing.

  Testcase: attached script

  Results from i386 chroots:

  Precise:	overflow
  Trusty:	overflow
  Utopic:	height ok (but text misplaced)
  Vivid:	height ok (but text misplaced)
  Wily:	overflow

  For Utopic and Vivid this seems "only" to result in visually unusable
  results (because text in some boxes is rendered all on one line) but
  for the other releases this would break the build of another package
  which tried to import the resulting pdf images into its auto-generated
  documentation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/1473347/+subscriptions