Skip to main content

Module fontique_07

Module fontique_07 

Source
Available on crate feature unstable-fontique-07 only.
Expand description

Fontique 0.7 specific types and re-exports.

Note: This module is behind a feature flag and may be removed or changed in future minor releases, as new major Fontique releases become available.

Use the types, functions, and re-exports in this module to register custom fonts at run-time for use by Slint’s renderers.

Re-exports§

pub use i_slint_common::sharedfontique::fontique;

Functions§

shared_collection
Returns a clone of fontique::Collection that’s used by Slint for text rendering. It’s set up with shared storage, so fonts registered with the returned collection or additionally configured font fallbacks apply to the entire process.