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

Some Japanese characters overlap #7687

Closed
futot1 opened this issue Oct 4, 2016 · 1 comment
Closed

Some Japanese characters overlap #7687

futot1 opened this issue Oct 4, 2016 · 1 comment

Comments

@futot1
Copy link

futot1 commented Oct 4, 2016

Link to PDF file (or attach file here):
610510_p37.pdf

Configuration:

  • Web browser and its version: Firefox
  • Operating system and its version: Windows 7
  • PDF.js version: Current
  • Is an extension:

Steps to reproduce the problem:

  1. I accessed http://mozilla.github.io/pdf.js/web/viewer.html
  2. Opened attached PDF

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)
pdf_error
Some characters overlapping as indicated.

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

tamuratak added a commit to tamuratak/pdf.js that referenced this issue Jan 28, 2020
Because the direction of the y-axis is reversed between
on the user space coordinate and the canvas coordinate,
we have to reverse the sign.
tamuratak added a commit to tamuratak/pdf.js that referenced this issue Jan 28, 2020
When the writing mode is vertical, we have to reverse
the sign of spacing since we are subtracting it from
current.y. We have to add it to current.y.
See https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G7.1852045
tamuratak added a commit to tamuratak/pdf.js that referenced this issue Feb 11, 2020
When the writing mode is vertical, we have to reverse
the sign of spacing since we are subtracting it from
current.y. We have to add it to current.y.
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 Feb 26, 2020
Fix text spacing with vertical fonts. #7687 and #11526.
@timvandermeij
Copy link
Contributor

Fixed by #11540.

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

No branches or pull requests

2 participants