Remove the public API for registering fonts by path or memory chunk

This is not needed anymore in the light of being able to write `import "blah.ttf"` in .60 markup
This commit is contained in:
Simon Hausmann 2021-04-14 10:01:33 +02:00
parent cb70f58990
commit afe3df6381
8 changed files with 8 additions and 60 deletions

View file

@ -687,6 +687,8 @@ inline void quit_event_loop()
cbindgen_private::sixtyfps_quit_event_loop();
}
namespace private_api {
/// Registers a font by the specified path. The path must refer to an existing
/// TrueType font font.
/// \returns an empty optional on success, otherwise an error string
@ -701,4 +703,6 @@ inline std::optional<SharedString> register_font_from_path(const SharedString &p
}
}
}
} // namespace sixtyfps