Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to properly format Malayalam language #216

Closed
Amal717 opened this issue Sep 4, 2024 · 1 comment
Closed

Unable to properly format Malayalam language #216

Amal717 opened this issue Sep 4, 2024 · 1 comment

Comments

@Amal717
Copy link

Amal717 commented Sep 4, 2024

I am not able to convert Malayalam utf-8 encoded language scripts to pdf. The text appears like gibberish

@piersdeseilligny
Copy link
Owner

Hi, thanks for creating this issue. The problem is actually that pdfkit (the PDF Library BetterFountain uses) does not support fallback fonts. It's an issue that's plagued the library [for the past 10 years][https://github.com/foliojs/pdfkit/issues/201], but there's still no real solution to it...

The alternative is to use a font which supports Malayalam characters, which you can do by adding the Font: title page key.

@piersdeseilligny piersdeseilligny closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants