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
654 stars 101 forks source link

text dominant-baseline not working #80

Open belst opened 5 years ago

belst commented 5 years ago

Describe the bug I am using dominant-baseline="central" to vertically center some text. This works fine in the svg, but not in the generated pdf.

Screenshots SVG: svg

PDF: pdf

Desktop (please complete the following information): Chromium Version 74.0.3729.131 (Official Build) Arch Linux (64-Bit)

HackbrettXXX commented 5 years ago

You're right, this is not supported by svg2pdf. We don't plan on implementing this by ourselves. We are happy about a pull request, though.