Expand description
You can use this crate to generate an image atlas containing a signed distance field of glyphs from a font.
Re-exports§
pub extern crate ttf_parser;
Structs§
- Font
Asset Builder - Knobs and dials for asset generation
- Glyph
- Metadata for a glyph that was rendered in an asset.
- Glyph
Request - A request for a glyph to be rendered.
- SdfFont
Asset - The result of asset generation
Enums§
- Error
- Possible errors that can happen while generating the image
Functions§
- ascii
- Returns an iterator of the chars you would want to pass to
build
if you will be using the rendered font to display ascii text. - hexdigits
- Returns an iterator of the chars you would want to pass to
build
if you will be using the rendered font to display hexadecimal values. - latin1
- Returns an iterator of the chars you would want to pass to
build
if you will be using the rendered font to display ISO-8859-1 (“Latin 1”) text. - latin1_
french - Returns an iterator of the chars you would want to pass to
build
if you will be using the rendered font to display ISO-8859-1 (“Latin 1”) text with three additional characters for French support.