Skip to content

Contextual alternates and ligatures in hand-written fonts #3242

Open
@utilmind

Description

@utilmind

Hello! I have prepared https://jsfiddle.net/utilmind/o1gbyL9j/, that demonstrates issue with contextual alternates for glyphs in "hand-written" fonts.

Please pay attention on the last characters in each word: "Hello world hey". You see that original HTML text have doesn't have tails in the final character of each word.

However if you create PDF with exactly the same text and exactly the same font (it's "Pacifico" from Google fonts), clicking the "Make PDF" button, you will see, that the words in produced PDF all have tails at the end.

Does jsPDF have a feature similar to "font-variant-ligatures" CSS property?
Thanks!

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