dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)
Posted: 2017-03-09T02:04:39-07:00
Hi Magick Developers Team
I create svg file with one text element and set style to dominant-baseline:hanging
When I browse svg file in web browser, that's right and all things is good
But when I convert svg to image such as png, then text element not at own position!
svg code:
Text String is upper than real position!
why?
I create svg file with one text element and set style to dominant-baseline:hanging
When I browse svg file in web browser, that's right and all things is good
But when I convert svg to image such as png, then text element not at own position!
svg code:
Code: Select all
<svg width="500" height="300" xmlns="http://www.w3.org/2000/svg">
<g transform="scale(1)">
<text style="dominant-baseline:hanging; font-family:'Tahoma';fill:rgb(51, 51, 51);direction:ltr;font-size:50pt;font-weight:400;font-style:normal;text-decoration:none;" x="263" y="179" transform="rotate(0 263 179)">Item 1234</text>
</g>
</svg>
why?