Difference between revisions of "Talk:SVG User Experiences"

From Apache OpenOffice Wiki
Jump to: navigation, search
(allow text scaling (draw:fit-to-size="true"))
 
(Imported image looks jagged)
Line 6: Line 6:
  
 
to the text frame style.
 
to the text frame style.
 +
 +
== Imported image looks jagged ==
 +
 +
I've created an image with Mathematica and exported it as yinyang.svg.
 +
 +
It displays fine with inkscape and konqueror.
 +
 +
After import into OOo, it looks jagged.
 +
 +
I've approximated circles with polygons. There are 4 polygons
 +
in the image, with thousands of edges. I created another
 +
version of the image with few edges. There one can see the
 +
polygons differing from circles, but import into OOo
 +
is OK.
 +
 +
I'll try to upload both images.

Revision as of 15:36, 3 January 2006

allow text scaling (draw:fit-to-size="true")

If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned in the page. A correctly aligned, scalable image is obtained by adding the tags

draw:auto-grow-width="false" draw:auto-grow-height="false" draw:fit-to-size="true"

to the text frame style.

Imported image looks jagged

I've created an image with Mathematica and exported it as yinyang.svg.

It displays fine with inkscape and konqueror.

After import into OOo, it looks jagged.

I've approximated circles with polygons. There are 4 polygons in the image, with thousands of edges. I created another version of the image with few edges. There one can see the polygons differing from circles, but import into OOo is OK.

I'll try to upload both images.

Personal tools