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

Some text rendering is still missing in raft.pdf #16

Closed
orklann opened this issue Feb 18, 2021 · 4 comments
Closed

Some text rendering is still missing in raft.pdf #16

orklann opened this issue Feb 18, 2021 · 4 comments

Comments

@orklann
Copy link
Owner

orklann commented Feb 18, 2021

Text rendering in two pages are still missing in raft.pdf

Here are the screenshots:

Screen Shot 2021-02-18 at 11 52 58

Screen Shot 2021-02-18 at 11 53 14

@orklann orklann changed the title Some text rendering is still missing on raft.pdf Some text rendering is still missing in raft.pdf Feb 18, 2021
@orklann
Copy link
Owner Author

orklann commented Feb 18, 2021

This should be the issue of CMap stream in font dictionary not handled.
That is /ToUnicode in font dictionary.

@orklann
Copy link
Owner Author

orklann commented Feb 22, 2021

“/ToUnicode” only for text extraction, not for text rendering,
In this issue, we only need to handle NULL encoding for fonts, which is a different approach.
Need to get CGGlyph by unicode character instead of glyph name in this case while font encoding is NULL.

@orklann
Copy link
Owner Author

orklann commented Feb 22, 2021

Issue has been fixed.

@orklann
Copy link
Owner Author

orklann commented Feb 22, 2021

Like to share the fixed screenshots. LOL

Screen Shot 2021-02-22 at 17 22 26

Screen Shot 2021-02-22 at 17 22 38

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

1 participant