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
643 stars 96 forks source link

greek letters in text #265

Closed hjw8707 closed 11 months ago

hjw8707 commented 11 months ago

Describe the bug I tried to make a pdf file from the svg including greek letters in text, but the resulted pdf is not as expected.

To Reproduce See this playground.

Expected behavior I would have expected the PDF to look like so. This is in accordance to the following SVG spec.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

yGuy commented 11 months ago

https://github.com/yWorks/svg2pdf.js#concerning-custom-fonts-and-non-us-ascii-characters