| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
|
Also looks like I accidentally used too-new of c++. |
Sorry, something went wrong.
| "family_name, file_name", | ||
| [ | ||
| ("WenQuanYi Zen Hei", "wqy-zenhei.ttc"), | ||
| ("Noto Sans CJK JP", "NotoSansCJK-Regular.ttc"), |
There was a problem hiding this comment.
Not sure I fully get this (probably not), but for OSX the font seems to be NotoSansCJKsc-Regular.otf. Not that it may be required to add that...
Sorry, something went wrong.
There was a problem hiding this comment.
I guess we need to extend this to be a set of possible names?
Sorry, something went wrong.
Co-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>
| Back | FazBrowse Home | New Git URL |
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: