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
Math rendering problems #8224
Comments
From the information provided, I believe that this is a duplicate of (the fixed) issue #2594.
This issue should already be fixed by PR #7705, but please note that that patch is only included in PDF.js version @marozols Please try downloading the file and opening it (using the "Open file" button on the right-hand side of the toolbar) with the latest version of PDF.js, available at https://mozilla.github.io/pdf.js/web/viewer.html. Does your file render correctly there? |
It renders just fine with the latest version of PDF.js. Too bad that Firefox doesn't ship the latest version. |
In that case, I'm closing this as duplicate of issue #2594.
It's included in Firefox 53, since it was part of bug 1323915. |
PDF.js often has trouble rendering mathematical expressions in PDF documents that are compiled from LaTeX. Particularly affected are summation signs (
\sum
), square roots (\sqrt
), tensor products (\otimes
), and brackets (\langle
,\rangle
,(
,)
etc.). They are often stretched vertically way too much. This effect is diminished if one zooms in sufficiently. This problem is quite pervasive and it seems to affect a large fraction of PDF files on the arXiv repository. Below are several examples from a document where the problem is particularly noticeable.Link to PDF file (or attach file here): https://arxiv.org/pdf/1703.08346.pdf
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
Page 12:
Page 13:
Page 16:
Page 22:
What went wrong? (add screenshot)
Several mathematical symbols are stretched vertically.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
I'm using the default viewer in Firefox.
The text was updated successfully, but these errors were encountered: