90 [[nodiscard]]
font_id find_font(
std::string_view family_name, font_weight weight,
bool italic) const noexcept;
104 [[nodiscard]] static
font_book &global() noexcept
106 return *start_subsystem_or_terminate(_global,
nullptr, subsystem_init, subsystem_deinit);
147 void calculate_fallback_fonts(
149 std::function<
bool(font_description
const &, font_description
const &)> predicate)
noexcept;
154 [[nodiscard]] font_glyph_ids find_glyph_actual(font_id font_id, grapheme grapheme)
const noexcept;
175 void create_family_name_fallback_chain() noexcept;
177 [[nodiscard]] static font_book *subsystem_init() noexcept
182 static void subsystem_deinit() noexcept
184 if (
auto tmp = _global.
exchange(
nullptr)) {