Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
re-base of font fallback for pdf and eps output + SVG support#23559
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I have debugged this to something going wrong in writing the fonts and only one font being embedded in the PDF, but not why yet. |
I have now squashed all of@aitikgupta 's work (+ adapting to the new c++ API) into two commits + a c++ commit + 2 extra commits. I think this is ready to review. The c++ needs the most attention. There is likely also some un-needed work in the PDF backend. |
Also looks like I accidentally used too-new of c++. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
"family_name, file_name", | ||
[ | ||
("WenQuanYi Zen Hei", "wqy-zenhei.ttc"), | ||
("Noto Sans CJK JP", "NotoSansCJK-Regular.ttc"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Not sure I fully get this (probably not), but for OSX the font seems to beNotoSansCJKsc-Regular.otf
. Not that it may be required to add that...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I guess we need to extend this to be a set of possible names?
Co-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
This is a rebase of#20804 and ##20832, given that there was not a lot of discussion on either PR, I am making a new PR rather than force-pushing to@aitikgupta 's branches.
My process here was to discard all changes to the c++ code and keep all changes to the Python code from#20804 and then implement the c++ layer needed to make the Python run (with some small changes to the Python + fixing up rebase errors.).
The current status of this:
the pdf test only shows the Chinese characters 😞This was a "re use of names" bug 🎉c++ needs more error checking 😞This could still be better, but the one obvious place that needed it has itget_fontmap
🎉the c++ style is terrible 😞acceptable now.