Crate glyphon

source ·
Expand description

Glyphon provides a simple way to render 2D text with wgpu, cosmic-text and etagere.

Re-exports

Structs

  • The screen resolution to use when rendering text.
  • A text area containing text to be rendered along with its overflow behavior.
  • An atlas containing a cache of rasterized glyphs that can be rendered.
  • Controls the visible area of the text. Any text outside of the visible area will be clipped.
  • A text renderer that uses cached glyphs to render text into an existing render pass.

Enums

  • The color mode of an [Atlas].
  • An error that occurred while preparing text for rendering.
  • An error that occurred while rendering text.