Skip to content

Support for custom fonts in OpenType .otf format #2276

Open
@bernhardreiter

Description

@bernhardreiter

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 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions