Expand description
A complete harfbuzz shaping algorithm port to Rust.
Re-exports§
pub use ttf_parser;
Modules§
- script
- Predefined scripts.
Structs§
- Buffer
Flags - Flags for buffers.
- Face
- A font face handle.
- Feature
- A feature tag with an accompanying range specifying on which subslice of
shape
s input it should be applied. - Glyph
Buffer - A buffer that contains the results of the shaping process.
- Glyph
Info - A glyph info.
- Glyph
Position - Holds the positions of the glyph in both horizontal and vertical directions.
- Language
- A script language.
- Script
- A text script.
- Serialize
Flags - Flags used for serialization with a
BufferSerializer
. - Shape
Plan - A reusable plan for shaping a text buffer.
- Unicode
Buffer - A buffer that contains an input string ready for shaping.
- Variation
- A font variation.
Enums§
- Buffer
Cluster Level - A cluster level.
- Direction
- Defines the direction in which text is to be read.
Functions§
- shape
- Shapes the buffer content using provided font and features.
- shape_
with_ plan - Shapes the buffer content using the provided font and plan.