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?
svg rasterization font problems
svg rasterization font problems
Last edited by gghergo on 2017-03-20T15:30:41-07:00, edited 1 time in total.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: svg rasterization font problems
I can't see any blue or yellow borders in your image.
snibgo's IM pages: im.snibgo.com
Re: svg rasterization font problems
Try to zoom in testt content. You should see those borders
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: svg rasterization font problems
Okay, yes, I see what you mean, a narrow band of colour on each side of the letters. It also happens with IM v6.9.5-3, using RSVG or Inkscape as the delegate. It doesn't happen when Inkscape alone is used.
It doesn't happen when the string is "TESTE" or "TESTF".
Weird.
It doesn't happen when the string is "TESTE" or "TESTF".
Weird.
snibgo's IM pages: im.snibgo.com