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
> python font_valid_codepoints.py test-doc-2.pdf
PyMuPDF 1.24.11: Python bindings for the MuPDF 1.24.10 library (rebased implementation).
Python 3.11 running on win32 (64-bit).
len(page.get_fonts())=9
Font BCDEEE+Calibri DOES NOT SUPPORT ANY SYMBOLS
Font BCDFEE+San-Regu DOES NOT SUPPORT ANY SYMBOLS
Font BCDGEE+San-Ital DOES NOT SUPPORT ANY SYMBOLS
Font BCDHEE+San-Bold DOES NOT SUPPORT ANY SYMBOLS
Font BCDIEE+San-Regu DOES NOT SUPPORT ANY SYMBOLS
Font BCDJEE+Calibri DOES NOT SUPPORT ANY SYMBOLS
Done
previous version - correct result
> python font_valid_codepoints.py test-doc-2.pdf
PyMuPDF 1.23.4: Python bindings for the MuPDF 1.23.2 library.
Version date: 2023-09-26 00:00:01.
Built for Python 3.11 on win32 (64-bit).
len(page.get_fonts())=9
Font BCDEEE+Calibri has 36 supported symbols
Font BCDFEE+San-Regu has 53 supported symbols
Font BCDGEE+San-Ital has 20 supported symbols
Font BCDHEE+San-Bold has 20 supported symbols
Font BCDIEE+San-Regu has 53 supported symbols
Font BCDJEE+Calibri has 36 supported symbols
Done
PyMuPDF version
1.24.11
Operating system
Windows
Python version
3.11
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. We know how to fix the problem, but it requires a change to MuPDF itself, so it might not make it into the next PyMuPDF release.
I'll update this issue once MuPDF has been updated.
Description of the bug
font.valid_codepoints() has stopped working correctly on the latest version.
How to reproduce the bug
code + sample pdf
font_valid_codepoints.zip
latest version - malfunction
previous version - correct result
PyMuPDF version
1.24.11
Operating system
Windows
Python version
3.11
The text was updated successfully, but these errors were encountered: