Open
Description
This is a feature request. As of today jsPDF (v1.5.3) can work with custom fonts in the .ttf
format,
but not the .otf
format.
Some fonts are only available in the .otf
and a conversion maybe lossy.
An example is https://github.com/libertinus-fonts/libertinus
So it would be cool if jsPDF would support custom fonts in .otf
format directly. There is other javascript code under a Free Software license that could be inspected like https://github.com/foliojs/fontkit .