You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am from India and I want to be able to write script in my language which is in Devanagari Script.
I can write it, it shows up well in live preview, but when a PDF is exported, those words are not there. There are blank spaces. First I thought it was just because fonts were missing. But then when I copied that part from the PDF and pasted it in notepad, it showed missing characters (rectangles with question marks). So not just the fonts are missing, those characters are having trouble being encoded in the PDF too.
Now I understand it would be difficult to figure out a mono-spaced font for every language in the world and have it as that language's default, but instead is there a way to give us control over the character encoding and fonts while exporting (or whatever makes this problem go away)?
Preview works well:
PDF shows blanks:
When copied from PDF to Notepad:
The text was updated successfully, but these errors were encountered:
Hi @vaibhavbshete, sorry for the delay in getting back to you. 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 since 2014, but there's still no real solution to it...
The alternative is to use a font which supports Devanagari characters, which you can do by adding the Font: title page key. So for example:
Title: Hello
Font: Arial
I wish there was a better solution, but it's not really under my control :/
Thank you very much. This is a great alternative that I hadn't considered. Sorry you had to repeat what is already in the the Readme.md, I found out now.. (I had come from fountain.io and had only read the syntax over there). Let's hope PDFKit makes fallback fonts a feature.
I am from India and I want to be able to write script in my language which is in Devanagari Script.
I can write it, it shows up well in live preview, but when a PDF is exported, those words are not there. There are blank spaces. First I thought it was just because fonts were missing. But then when I copied that part from the PDF and pasted it in notepad, it showed missing characters (rectangles with question marks). So not just the fonts are missing, those characters are having trouble being encoded in the PDF too.
Now I understand it would be difficult to figure out a mono-spaced font for every language in the world and have it as that language's default, but instead is there a way to give us control over the character encoding and fonts while exporting (or whatever makes this problem go away)?
Preview works well:
PDF shows blanks:
When copied from PDF to Notepad:
The text was updated successfully, but these errors were encountered: