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

Add direction: ltr; to the canvases used in examples/learning, to ensure correct text rendering (issue 11457) #11504

Merged
merged 1 commit into from
Jan 12, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

This is currently the only possible way of addressing the issue, until https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/direction becomes generally available in browsers.

Note: This will also require manually updating https://mozilla.github.io/pdf.js/examples/#interactive-examples

Fixes #11457

… ensure correct text rendering (issue 11457)

This is currently the only possible way of addressing the issue, until https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/direction becomes generally available in browsers.

*Note:* This will also require manually updating https://mozilla.github.io/pdf.js/examples/#interactive-examples
@timvandermeij timvandermeij merged commit 611ac78 into mozilla:master Jan 12, 2020
@timvandermeij
Copy link
Contributor

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messed up RTL/BiDi rendering if disableFontFace is not set
2 participants