piersdeseilligny / betterfountain

A screenwriting app integrated into visual studio code
https://marketplace.visualstudio.com/items?itemName=piersdeseilligny.betterfountain
MIT License
358 stars 53 forks source link

hey guys,here are some problems in Chinese. #98

Open mofinnear opened 3 years ago

mofinnear commented 3 years ago

image

When I export PDF,I found some problem in formatting. Just like the picture shows. And I can't find common Chinese fonts. I hope it can be fix later.

Best wishes.

piersdeseilligny commented 3 years ago

@mofinnear thanks for the feedback! I have to admit there's been very little work on betterfountain to ensure compatibility with Chinese characters; however this is definitely something I'm interested in improving on. Could you possibly send a sample fountain screenplay? You could send me a DM on Discord for example.

mofinnear commented 3 years ago

THE SHAWSHANK REDEMPTION.pdf

Fountain.zip

@piersdeseilligny

Here is the fountain and pdf of 《The Shawshank redemption》,I translated part of it into Chinese.

Best wishes.

piersdeseilligny commented 3 years ago

Thank you very much! I'il look into this as soon as I can. I think the issue results from the difference in width between the Chinese and Latin characters, and the fact that the PDF generator has no fall-back system for characters which aren't included in the selected font.

Considering the complexity of this issue, I'm not sure if this bug will be fixed in the current version of BetterFountain, or if I'il wait to ensure that the upcoming standalone version of BetterFountain (a complete rewrite which no longer lives in vscode) does not have this same issue.