yWorks / svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
MIT License
659 stars 101 forks source link

Underline and shadow of text not converted to pdf #226

Open tomfree opened 2 years ago

tomfree commented 2 years ago

Describe the bug I find that when I have underlined text or text with shadow and apply the svg2pdf conversion in the pdf I have neither underline nor shadow.

To Reproduce Steps to reproduce the behavior:

  1. With the following SVG (see file attached) and adding it to the playground: http://raw.githack.com/yWorks/svg2pdf.js/master/
  2. I get this result (see attached pdf file) with missing underline and shadow

Expected behavior I would have expected the PDF to look similar but have underlining and shadow

This is in accordance to the following SVG spec - This I am not sure of, but since the stuff is in the svg I had expected to find it in the pdf.

sample.pdf sample