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§

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

Structs§

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

Enums§

CacheType
Allows referencing one of the internal caches.

Traits§

Glyph
A single character from a font.
TextSection
A section of text.
TriangleMesh
Represents a triangle mesh, which comprises a set of vertices, that form one or more triangles.