Expand description
This crate exists to both export the FreeType2 C API into the Cargo framework, and provide a safe wrapper around it for use in Rust code.
Re-exports§
pub use pat::Pattern;pub use pat::PatternRef;
Modules§
- pat
- Font patterns - used to select fonts matching certain properties, or as a unique identifier of a resolved font.
- sys
Structs§
- FontSet
- An owned font set. This is a list of
Patterns that identify unique fonts, with properties loaded based on anObjectSet - Font
SetRef - A borrowed reference to a
FontSet - Object
Set - A set of strings used to represent properties to load in a
FontSet. - Object
SetRef - A borrowed reference to an
ObjectSet
Enums§
Functions§
- init
- Initialize fontconfig. Should be called automatically by any API that requires it.