-
Notifications
You must be signed in to change notification settings - Fork 740
feature/fontique: Remove fontdb, adapt glyph embedding code #9434
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
base: feature/fontique
Are you sure you want to change the base?
Conversation
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.
Some early comments :)
One problem I was having with the embedding code is that it wants to know the original paths that fonts were loaded from, and as fontique collections only register fonts from byte blobs this information was not available. But I've just realized that I can keep this information seperate for the custom fonts. |
Software screenshot tests seem to be scaling. I think a font isn't getting correctly sized somewhere? |
26358c7
to
978c114
Compare
978c114
to
c861783
Compare
I've reworked this. It's not ready to merge and fontdb isn't removed yet but it's a lot better. |
This is not finished but I'm making a PR now so that CI will run. I'm not very happy with the changes to embed_glyphs.rs but am not sure what I should be doing there really.