MRchildNEO / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

transform="scale(-1,1)" for text element results in blank/empty rendering in flash #642

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the object tag to embed an svg file:
<!DOCTYPE html>
<html>
<head>
<script data-cfasync="false" src="svg.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Testing</title>
</head>
<body>
<!--[if !IE]>-->
  <object width="300" height="300" data="Desc.svg" type="image/svg+xml" id="SVGobj"> <!--<![endif]-->
<!--[if lt IE 9]>
  <object width="300" height="300" src="Desc.svg" classid="image/svg+xml" id="SVGobj"> <![endif]-->
<!--[if gte IE 9]>
  <object width="300" height="300" data="Desc.svg" type="image/svg+xml" id="SVGobj"> <![endif]-->
  </object>
</body>
</html>

2. Content of svg is as following:
<svg id="main" xmlns="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300" 
viewBox="-150 0 150 300">
        <text x="0" y="100" transform="scale(-1,1)" style="fill:#000000;font-family:Arial;font-size:16px;">Example Text</text>
</svg>

3.

What is the expected output? What do you see instead?
Expected output are test flipped left. I do not see anything and text does not 
render.

What version of the product are you using? On what operating system,
browser, and version of Flash?
Win7, 32bit, IETester (IE8), Flash 11

Please provide any additional information below. Reduced test cases are always 
appreciated!

Original issue reported on code.google.com by radicaso...@gmail.com on 3 Feb 2012 at 9:53

Attachments: