svg rasterization font problems
Posted: 2017-03-20T10:18:01-07:00
Hi,
I've a problem with svg rasterization of some fonts. For example starting with following svg
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1530.709 708.661" >
<text x="50" y="270" font-family="Futura LT" style="font-size:70px;" fill="#eeeeee">TEST</text>
<text x="50" y="370" font-family="Futura LT" style="font-size:70px;" fill="#eeeeee">TESTT</text>
<text x="50" y="470" font-family="Futura LT" style="font-size:70px;" fill="#eeeeee">TEST</text>
</svg>
where I've used "Futura LT Book" font with same text element attributes excluding x and contents (TEST or TESTT).
Launching the command
magick -background #ffffff input.svg output.png
I obtain this image:
where for TESTT content I see blue and yellow borders.
How can I remove this borders?
I've a problem with svg rasterization of some fonts. For example starting with following svg
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1530.709 708.661" >
<text x="50" y="270" font-family="Futura LT" style="font-size:70px;" fill="#eeeeee">TEST</text>
<text x="50" y="370" font-family="Futura LT" style="font-size:70px;" fill="#eeeeee">TESTT</text>
<text x="50" y="470" font-family="Futura LT" style="font-size:70px;" fill="#eeeeee">TEST</text>
</svg>
where I've used "Futura LT Book" font with same text element attributes excluding x and contents (TEST or TESTT).
Launching the command
magick -background #ffffff input.svg output.png
I obtain this image:
where for TESTT content I see blue and yellow borders.
How can I remove this borders?