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

For embedded TrueType fonts without included ToUnicode/Encoding data, attempt to improve text selection by using the platformID in the cmap table to amend the toUnicode map (issue 5423) #7565

Closed
wants to merge 2 commits into from

Conversation

Snuffleupagus
Copy link
Collaborator

Note: This depends on PR #7550.

Fixes #5423.

…, attempt to improve text selection by using the `builtInEncoding` to amend the `toUnicode` map (issue 6901, issue 7182, issue 7217, bug 917796, bug 1242142)

Note that in order to prevent any possible issues, this patch does *not* try to amend the `toUnicode` data for Type1 fonts that contain either `ToUnicode` or `Encoding` entries in the font dictionary.

Fixes, or at least improves, issues/bugs such as e.g. 6901, 7182, 7217, bug 917796, bug 1242142.
…ata, attempt to improve text selection by using the platformID in the `cmap` table to amend the `toUnicode` map (issue 5423)
@Snuffleupagus
Copy link
Collaborator Author

It seems (perhaps unsurprisingly) that this may actually cause more issues than it fixes, hence closing for now.

@Snuffleupagus Snuffleupagus deleted the TrueType-toUnicode-fallback branch January 7, 2017 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants