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

Avoid to have the text layer mismatching the rendered text with mismatching locales (bug 1869001) #17476

Merged
merged 1 commit into from
Jan 4, 2024

Commits on Jan 4, 2024

  1. Avoid to have the text layer mismatching the rendered text with misma…

    …tching locales (bug 1869001)
    
    The system locale (used in OffscreenCanvas) can be different from the one guessed by Fluent,
    consequently, in order to avoid any mismatch, we just use an attached canvas element.
    The original issue can easily be reproduced locally in adding a lang="ja" in viewer.html
    (or with an other language for Japanese users).
    calixteman committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    f84f48b View commit details
    Browse the repository at this point in the history