1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

LibGfx: Load fonts with new Resource API instead of filesystem paths

The old API is in place until we remove all the users.
This commit is contained in:
Andrew Kaster 2023-10-03 15:35:41 -06:00 committed by Andrew Kaster
parent 0d417cd604
commit e03357308c
2 changed files with 41 additions and 41 deletions

View file

@ -59,6 +59,7 @@ public:
void for_each_typeface_with_family_name(FlyString const& family_name, Function<void(Typeface const&)>);
void load_all_fonts_from_path(DeprecatedString const&);
void load_all_fonts_from_uri(StringView);
private:
FontDatabase();