Expand description
HarfBuzz is a text shaping engine. It solves the problem of selecting and positioning glyphs from a font given a Unicode string.
§Features
-
freetype
- Enables bindings to the FreeType font engine. (Enabled by default.) -
coretext
- Enables bindings to the CoreText font engine. (Apple platforms only) (Enabled by default.) -
directwrite
- Enables bindings to the DirectWrite font engine. (Windows only) (Enabled by default.) -
std
- Enable certain functions that require the standard library. (Enabled by default.) -
bundled
- Use the bundled copy of the harfbuzz library rather than one installed on the system.
Re-exports§
pub use HarfBuzzError as Error;
pub use harfbuzz_sys as sys;
pub use harfbuzz_traits as traits;
Structs§
- Blob
- Blobs wrap a chunk of binary data to handle lifecycle management of data while it is passed between client and HarfBuzz.
- Buffer
- A series of Unicode characters.
- Language
- A language tag.
- Unicode
Funcs - A collection of functions to run Unicode algorithms required by HarfBuzz.
- Unicode
Funcs Builder - A builder for
UnicodeFuncs
.
Enums§
- Direction
- Direction of text flow during layout.
- Harf
Buzz Error - An error type for this crate
Functions§
- version
- Returns the HarfBuzz library version.
- version_
atleast - Returns true if the HarfBuzz library version is at least the given version.
- version_
string - Returns the HarfBuzz library version as a string.