Module text

Source

Re-exports§

pub use cosmic_text::fontdb;

Structs§

Attrs
Text attributes
AttrsList
AttrsOwned
Text attributes
CacheKey
Key for building a glyph cache
Cursor
Current cursor location
HitPoint
HitPosition
LayoutGlyph
A laid out glyph
LayoutLine
A line of laid out glyphs
LayoutRun
A line of visible text for rendering
SwashCache
Cache for rasterizing with the swash scaler
TextLayout
Weight
Specifies the weight of glyphs in the font, their degree of blackness or stroke thickness.

Enums§

Family
A font family.
FamilyOwned
An owned version of Family
LineEnding
Line ending
LineHeightValue
Stretch
A face width.
Style
Allows italic or oblique faces to be selected.
SubpixelBin
Binning of subpixel position for cache optimization
SwashContent
Content of a scaled glyph image.
Wrap
Wrapping mode

Statics§

FONT_SYSTEM