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

OTF fonts for NotoSansCJK show bad characters, unlike ttf files #1930

Closed
fireflower19 opened this issue Feb 17, 2020 · 2 comments
Closed

OTF fonts for NotoSansCJK show bad characters, unlike ttf files #1930

fireflower19 opened this issue Feb 17, 2020 · 2 comments

Comments

@fireflower19
Copy link

fireflower19 commented Feb 17, 2020

I've been trying to use pdfmake to generate reports, and while TTF fonts build just fine, I can't get any of the otf versions to build without displaying entirely incorrect characters. Specifically, I'm trying to use NotoSansCJKsc.otf and NotoSansCJKjp.otf; Right now I'm using version 0.1.57, which is after the version that says to have added the ability to build otf fonts. (#365)

I've additionally tried other smaller fonts like GreatVibes-Regular.otf to make sure it wasn't just this particular font. They all produced the same results.

The fonts work correctly on Microsoft word / any software on my computer

Is there a known issue that only impacts this particular font? Or is there some possible functionality regression?

Help would be greatly appreciated.

@fireflower19 fireflower19 changed the title Unable to use OTF fonts for NotoSansCJK OTF fonts for NotoSansCJK show bad characters, unlike ttf files Feb 17, 2020
@liborm85
Copy link
Collaborator

Add example for reproduce issue e.g. on https://jsfiddle.net/.

@liborm85
Copy link
Collaborator

liborm85 commented Mar 7, 2020

No reaction.

@liborm85 liborm85 closed this as completed Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants