2
Vote

Text not rendering

description

I'm using the 1.6.1 version from NuGet in a c# project.

I've a setup were I take an SVG created on a canvas html element (PaperJS) and convert is server side to PNG. When adding text to the SVG, it's not on the PNG that is created:
<svg x="0" y="0" width="250" height="580" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

<g fill="#0000ff" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="sans-serif" font-weight="bold" font-size="12" text-anchor="middle" mix-blend-mode="normal">
<text x="123" y="280">THIS IS A TEST</text>
</g>

</svg>
The SVG file is created automatically, but the text "THIS IS A TEST" is not shown in the PNG file.

Can anyone assist as I'm trying to find out what the problem is.

comments

Eskora wrote Jun 29 at 1:48 AM

Hi,

sorry to re-open an old post but I'm facing the same issue.
Have you finally found a solution ?

Thank you.