Cairo crashes with <text> tag
BlitzMax Forums/Brucey's Modules/Cairo crashes with <text> tag
| ||
Hi, when I was looking for something to convert svg files to png I found Brucey's cairo and libsvg for BM. However the balls example works fine and most of my svg's also displayed fine but some of them crashed. I figured out that the reason for seems to be the text tag, eg: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="21.575px" height="56.244px" viewBox="0 0 21.575 56.244" enable-background="new 0 0 21.575 56.244" xml:space="preserve"> <text transform="matrix(1 0 0 1 0.0117 10.0439)"> <tspan x="0" y="0" font-family="'MyriadPro-Regular'" font-size="12">This is</tspan> <tspan x="0" y="14.4" font-family="'MyriadPro-Regular'" font-size="12">a text</tspan></text> </svg> Doesn't the mod support this tag? Thanks, Andre |