Crate meshtext

source ·
Expand description

Generate 2D or 3D triangle meshes from text.

Generate vertices or indices and vertices for a vertex-vertex mesh.

  • Supports TrueType, OpenType and AAT fonts
  • Handles caching of characters that were already triangulated
  • Allows transforming text sections
  • Fully customizable to easily integrate in your rendering pipeline

Modules

Contains the various errors that may occur while using this crate.

Structs

A bounding box or bounding rectangle in the case of a flat mesh.
A font face.
Holds the generated mesh data for the given text input.
A MeshGenerator handles rasterizing individual glyphs.
Holds the generated mesh data for the given text input.
Controls the quality of generated glyphs.

Enums

Allows referencing one of the internal caches.

Traits

A single character from a font.
A section of text.