-
Notifications
You must be signed in to change notification settings - Fork 44
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
Binding the TypefaceFontProvider
in skparagraph module
#288
Comments
I remember seeing an upstream example of a fontmgr loading an entire directory of fonts, can't find it quickly at the moment. Maybe that's an alternative. |
@MeetWq I found what I mentioned : https://github.com/google/skia/blob/main/include/ports/SkFontMgr_directory.h - this might be much better as it is core API rather than module's. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's useful for building
FontMgr
from specified typefaces, e.g. reading fonts from a path set by the program and building theFontMgr
forParagraph
.https://github.com/google/skia/blob/d0510ab0535b1ab7aaf237fdb9436a4326f46030/modules/skparagraph/tests/SkParagraphTest.cpp#L74-L75
The text was updated successfully, but these errors were encountered: