You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attached PDF page uses a font which ascender value is incorrectly determined by MuPDF.
Basis of this post is Discussions post #3772.
How to reproduce the bug
The revealing command is mutool draw -o test.xml -F stext test.pdf. test.pdf
The problematic font is "AdvOT144a03c1" (embedded subset).
Note that this error happens in MuPDF, not PyMuPDF. So we assign the label "upstream bug".
However, PyMuPDF's Page method get_text("dict") does not correctly repair the computation when setting TOOLS.set_small_glyph_heights(True). So we also assign the label (PyMuPDF) "enhancement".
PyMuPDF version
1.24.9
Operating system
Windows
Python version
3.12
The text was updated successfully, but these errors were encountered:
Description of the bug
The attached PDF page uses a font which ascender value is incorrectly determined by MuPDF.
Basis of this post is Discussions post #3772.
How to reproduce the bug
The revealing command is
mutool draw -o test.xml -F stext test.pdf
.test.pdf
The problematic font is "AdvOT144a03c1" (embedded subset).
Note that this error happens in MuPDF, not PyMuPDF. So we assign the label "upstream bug".
However, PyMuPDF's Page method
get_text("dict")
does not correctly repair the computation when settingTOOLS.set_small_glyph_heights(True)
. So we also assign the label (PyMuPDF) "enhancement".PyMuPDF version
1.24.9
Operating system
Windows
Python version
3.12
The text was updated successfully, but these errors were encountered: