Module ab_glyph

Source
Expand description

Re-exported ab_glyph types.

Modules§

v2

Structs§

CodepointIdIter
FontArc
Font implementor that wraps another concrete Font + 'static type storing in an Arc.
FontRef
Font data handle stored as a &[u8] + parsed data. See Font for more methods.
FontVec
Font data handle stored in a Vec<u8> + parsed data. See Font for more methods.
Glyph
A glyph with pixel scale & position.
GlyphId
Glyph id.
GlyphImageDeprecated
Old version of v2::GlyphImage.
GlyphSvg
InvalidFont
Invalid font data error.
Outline
A “raw” collection of outline curves for a glyph, unscaled & unpositioned.
OutlinedGlyph
A glyph that has been outlined at a scale & position.
Point
An (x, y) coordinate.
PxScale
Pixel scale.
PxScaleFactor
2D scale factors for use with unscaled metrics.
PxScaleFont
A Font and an associated pixel scale.
Rect
A rectangle, with top-left corner at min, and bottom-right corner at max.
VariationAxis

Enums§

GlyphImageFormat
Valid formats for a GlyphImage.
OutlineCurve
Glyph outline primitives.

Traits§

Font
Functionality required from font data.
ScaleFont
A Font with an associated pixel scale. This can be used to provide pixel scale values for glyph advances, heights etc.
VariableFont
Logic for variable fonts.

Functions§

point
Point constructor.