node-rsvg icon indicating copy to clipboard operation
node-rsvg copied to clipboard

Out of memory

Open mitar opened this issue 8 years ago • 2 comments

Followup from https://github.com/walling/node-rsvg/issues/3.

It seems such SVG throws an out of memory error:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" pointer-events="none" width="50" height="50" style="width: 50px; height: 50px; background-color: #2196F3;">
  <text text-anchor="middle" y="50%" x="50%" dy="0.36em" pointer-events="auto" fill="#ffffff" font-family="Helvetica, Arial, Lucida Grande, sans-serif" style="font-weight: 400; font-size: 28px;">
    AD
  </text>
</svg>

mitar avatar Nov 14 '16 09:11 mitar

having the same issue when I include any text in my SVG.

L8D avatar Nov 14 '16 16:11 L8D

Same with this test file

Rendering options: { width: 600, height: 320, format: 'png' } System Version: macOS 10.12.1 (16B2657) Node version: 6.9.1

dotcypress avatar Nov 20 '16 18:11 dotcypress