moonbitlang/pagelayout/fonts does not have a README file
impl Show for FaceMetricsErrorpub(all) suberror FontRegistryError {
Sealed(String)
Duplicate(String)
UnsupportedStandard(String)
} derive(Eq)impl Show for FontRegistryErrorpub struct FaceMetrics {
family : String
bold : Bool
italic : Bool
units_per_em : Int
ascender : Int
descender : Int
line_gap : Int
// private fields
}fn FaceMetrics::new(family~ : String, bold? : Bool, italic? : Bool, units_per_em~ : Int, ascender~ : Int, descender~ : Int, line_gap~ : Int, advances~ : Array[Int], cmap~ : Map[Int, Int]) -> FaceMetrics raise FaceMetricsErrorpub struct FontRegistry {
// private fields
}impl Default for FontRegistry#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn FontRegistry::default() -> FontRegistryfn FontRegistry::face(self : FontRegistry, family : String, bold? : Bool, italic? : Bool) -> FaceMetricsfn FontRegistry::register(self : FontRegistry, family : String, sfnt : Bytes, bold? : Bool, italic? : Bool) -> FaceMetrics raisefn FontRegistry::register_standard(self : FontRegistry, family : String, metrics : FaceMetrics, standard~ : String, bold? : Bool, italic? : Bool) -> FaceMetrics raise FontRegistryErrorfn FontRegistry::registered_face(self : FontRegistry, family : String, bold? : Bool, italic? : Bool) -> RegisteredFace?fn FontRegistry::uncovered(self : FontRegistry, text : String, family : String, bold? : Bool, italic? : Bool) -> Array[(Int, Int)]fn resolve_family(name : String) -> StringInstall
Download zipPaginated document layout engine: format-neutral page-model IR with SVG/PDF backends.
Dependencies