printpdf icon indicating copy to clipboard operation
printpdf copied to clipboard

SVG images cannot use text inside

Open qarmin opened this issue 6 months ago • 0 comments

Usvg dependency supports embedding text inside svg, but printpdf not

Svg used to test behavior

<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
  <text x="50" y="55" font-size="20" text-anchor="middle" fill="white">A</text>
</svg>

image

image

qarmin avatar Aug 26 '24 06:08 qarmin