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

Fix copying on supplementary plane characters #10530

Merged
merged 1 commit into from
Feb 10, 2019

Commits on Feb 10, 2019

  1. Fix copying on supplementary plane characters

    pdf.js had a problem when copying characters on supplementary planes
    (0xPPXXXX where PP is nonzero).  This is because certain methods of
    PartialEvaluator use classic String.fromCharCode instead of ES6's
    String.fromCodePoint.
    
    Despite the fact that readToUnicode method *tried* to parse out-of-UCS2
    code points by parsing UTF-16BE, it was inadequate because
    String.fromCharCode only supports UCS-2 range of Unicode.
    a4lg committed Feb 10, 2019
    Configuration menu
    Copy the full SHA
    96ba6af View commit details
    Browse the repository at this point in the history