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

PDF Extracted Fonts can not be loaded in Browser #25

Open
tomsontom opened this issue Mar 30, 2021 · 0 comments · May be fixed by #26
Open

PDF Extracted Fonts can not be loaded in Browser #25

tomsontom opened this issue Mar 30, 2021 · 0 comments · May be fixed by #26

Comments

@tomsontom
Copy link

I have an PDF-Document (produced most likely by from LaTex) and the TTF-Fonts embedded there are using Format6SubTable. Dumping them and loading in a browser fails because it looks like none of them supports.

I hacked a bit into your codebase and implemented a normalize() step in CmapTable who creates the standard sub-tables for Mac/Unix/Windows and now fonts are loading the browser.

I'll clean up my code and provide a PR

@tomsontom tomsontom linked a pull request Mar 30, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant