pdf import problem

Bug #878984 reported by zen ohta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Vhen images contain pdf import. at inkscape display good. But When Svg Export (pure-svg or inkscape-svg) and Svg-file at Browser (safari or chrome or firefox or ie9) display bat layout , because images and rect and mask and height=1,width=1 and <g>tag in translate matrix bad structs.
Please change this svg construction in some browser just looking !

sorry .bad english...
hope to understand this bug meaning

Tags: importing pdf
Revision history for this message
Pablo Trabajos (pajarico) wrote :

Please attach the exported SVG and the PDF file. A screenshot of the misrendering in the browser would be useful too.

su_v (suv-lp)
tags: added: importing
Revision history for this message
su_v (suv-lp) wrote :

> because images and rect and mask and height=1,width=1 and <g>tag in translate matrix

Possibly a duplicate of
Bug #616717 “Resized bitmap images are rendered differently by Firefox or Batik ('preserveAspectRatio' attribute not set)”
<https://bugs.launchpad.net/inkscape/+bug/616717>
(View the SVG file attached in comment #1 there in an SVG renderer like e.g. Firefox or Squiggle (Batik))

Revision history for this message
zen ohta (tmp-h) wrote :

problem example pdf attached.

Revision history for this message
zen ohta (tmp-h) wrote :
Revision history for this message
zen ohta (tmp-h) wrote :
Revision history for this message
zen ohta (tmp-h) wrote :
Revision history for this message
zen ohta (tmp-h) wrote :

For Example. import example pdf and look at inkscape xml viewer id g5766

----------------------------------------------------------------------------------------------------------------------------------
<g id="g5766">
        <g clip-path="url(#clipPath5770)" id="g5768">
          <g transform="matrix(419.52,0,0,33.12,48.84,748.76)" id="g5774">
            <image xlink:href="data:image/png;base64,(del............) width="1" height="1" transform="matrix(1,0,0,-1,0,1)" id="image5776"/>
          </g>
        </g>
      </g>

----------------------------------------------------------------------------------------------------------------------------------

<image xlink: width="1" height="1" transform="matrix(1,0,0,-1,0,1)" id="image5776" />

any browser can't display "width,height="1" .

Revision history for this message
su_v (suv-lp) wrote :

Linking as duplicate to Bug #616717 “Resized bitmap images are rendered differently by Firefox or Batik ('preserveAspectRatio' attribute not set)”: after manually inserting the missing attribute 'preserveAspectRatio="none"' to the scaled scaled images with width and height set to '1', the images in the SVG file render correctly e.g. in Firefox and Chromium (as well as in Inkscape).

Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.