Export to GitHub

svgweb - issue #447

Text placement changes with different viewboxes


Posted on Jan 21, 2010 by Helpful Bird

What steps will reproduce the problem? 1. Throw sample2.html in a directory with svgweb support files 2. Bring it up in a browser.. compare flash and non-flash renders

What is the expected output?

Two side by side identical svg graphics. Bottom of text should be aligned to blue bar.

What do you see instead?

In the 100x100 viewBox, the text is not aligned to the blue bar. In the 1000x1000 viewBox the text is correctly aligned.

What version of the product are you using? On what operating system, browser, and version of Flash?

Gelatinous Cube svgweb, Windows Vista, Firefox, Flash 10.0.32.18

I think it's a rounding error of some sort going on.

Attachments

Comment #1

Posted on Jan 21, 2010 by Helpful Bird

The observed text size is also different in the two graphics.

Comment #2

Posted on Feb 27, 2010 by Grumpy Dog

Patch integrated from Issue 405 in r1048.

Status: Fixed

Labels:
Type-Defect Priority-Low