RESOLVED DUPLICATE of bug 68090 93770
When SVG is embedded as an image, the default font size is very small
https://bugs.webkit.org/show_bug.cgi?id=93770
Summary When SVG is embedded as an image, the default font size is very small
Philip Rogers
Reported 2012-08-11 17:20:22 PDT
Consider the following SVG: <svg id="svg" width="300" height="300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <rect x="0" y="0" width="100" height="100" fill="lightgray"/> <text x="10" y="20">PASS1</text> <text x="10" y="40" font-size="14">PASS2</text> </svg> Viewed alone, PASS1 and PASS2 are visible on a gray square. If the SVG is embedded though: <html> <img src="svg.svg"/> </html> PASS2 will be rendered as expected but PASS1 will render very small--one pixel high and just a few pixels across.
Attachments
Alexey Proskuryakov
Comment 1 2012-08-13 09:47:07 PDT
*** This bug has been marked as a duplicate of bug 68090 ***
Note You need to log in before you can comment on or make changes to this bug.