Skip to content
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

Split font selector into resolver and fontdb::Database #87

Merged
merged 6 commits into from
Sep 3, 2024
Merged

Conversation

dhardy
Copy link
Contributor

@dhardy dhardy commented Aug 28, 2024

Rename selector::Database to Resolver, splitting out the fontdb::Database. This is a slight nuisance since some methods must now be passed the db explicitly, but viable.

Revise how loading of custom fonts works. (No support for loading fonts after init, for now.)

Use std::sync::LazyLock instead of lazy_static. Add a pub re-export of fontdb.

@dhardy dhardy merged commit af1ac6d into master Sep 3, 2024
5 checks passed
@dhardy dhardy mentioned this pull request Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant