Skip to main content

Crate crossfont

Crate crossfont 

Source
Expand description

Compatibility layer for different font engines.

CoreText is used on macOS. DirectWrite is used on Windows. FreeType is used everywhere else.

Re-exports§

pub use ft::FreeTypeRasterizer as Rasterizer;

Modules§

ft
Rasterization powered by FreeType and Fontconfig.

Structs§

FontDesc
FontKey
Identifier for a Font for use in maps/etc.
GlyphKey
Metrics
RasterizedGlyph
Size
Font size stored as base and fraction.

Enums§

BitmapBuffer
Error
Errors occuring when using the rasterizer.
Slant
Style
Style of font.
Weight

Traits§

Rasterize