-
Notifications
You must be signed in to change notification settings - Fork 529
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
Inconsistent naming of fonts depending on insertion method; inconsistent runtime #4081
Comments
Could you paste the text of |
|
This is no bug, but works as designed: Font "Nimbus Sans Regular" |
Helvetica is a non-embeddable font as part of the Base14 fonts. |
Description of the bug
There are four classes of bugs:
fitz.Font(fontbuffer=fitz.Font('Helvetica').buffer).name
does not equalHelvetica
and instead isNimbus Sans Regular
font_bug.md
How to reproduce the bug
font_bug.md
Rename the file extension to
.py
Run the code with
python -m pytest -s font_bug.py
PyMuPDF version
1.24.14
Operating system
MacOS
Python version
3.10
The text was updated successfully, but these errors were encountered: