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

The vertical writing mode with horizontal scaling is not rendered correctly #11555

Closed
tamuratak opened this issue Jan 31, 2020 · 1 comment
Closed
Labels

Comments

@tamuratak
Copy link
Contributor

Attach (recommended) or Link to PDF file here:

hello-abc.pdf

Configuration:

  • Web browser and its version: Firefox 72.0.2
  • Operating system and its version: macOS High Sierra 10.13.6
  • PDF.js version: 2.4.321
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Load the attached pdf file.
  2. Characters overlap.

What is the expected behavior? (add screenshot)

スクリーンショット 2020-01-31 23 16 43

What went wrong? (add screenshot)

スクリーンショット 2020-01-31 23 17 22

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): https://mozilla.github.io/pdf.js/web/viewer.html

tamuratak added a commit to tamuratak/pdf.js that referenced this issue Jan 31, 2020
It is not valid to multiply textHScale when the writing mode is vertical.

See 9.4.4 Text Space Details, https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G8.1694762
tamuratak added a commit to tamuratak/pdf.js that referenced this issue Feb 28, 2020
It is not valid to multiply textHScale when the writing mode is vertical.

See 9.4.4 Text Space Details, https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G8.1694762
timvandermeij added a commit that referenced this issue Mar 1, 2020
Fix the vertical writing mode with horizontal scaling. #11555.
@timvandermeij
Copy link
Contributor

Fixed by #11556.

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

No branches or pull requests

2 participants