Skip to main content

Crate tectonic_bridge_fontconfig

Crate tectonic_bridge_fontconfig 

Source
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 an ObjectSet
FontSetRef
A borrowed reference to a FontSet
ObjectSet
A set of strings used to represent properties to load in a FontSet.
ObjectSetRef
A borrowed reference to an ObjectSet

Enums§

FcErr
Error returned by a fallible operation
Property
Properties a font can have

Functions§

init
Initialize fontconfig. Should be called automatically by any API that requires it.