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 100 forks source link

Limit the PDF to actually used fonts #122

Closed ThomasJunk closed 4 years ago

ThomasJunk commented 4 years ago

Hey guys,

MrRio JSDPF has an option putOnlyUsedFonts which limits the embedding of fonts to the actually used ones, which results in smaller PDFs - a goodie on Mobile with bad connection.

See: https://github.com/MrRio/jsPDF/blob/6c6ca0c4554eb5b6446dab9337befd6625119bee/src/jspdf.js#L86

Are there any current plans retrofitting this functionality into this fork?

I am asking only for planning purposes. If there is a foreseeable timeframe I would wait for it.

OTOH I could live without - so no actual pressure.

ThomasJunk commented 4 years ago

Wrong project, sorry XD

HackbrettXXX commented 4 years ago

We already merged this feature some time ago into this fork.