Skip to main content

Module glyph

Module glyph 

Source

Structsยง

DetailedGlyphEntry
GlyphEntry
GlyphEntry is a port of Geckoโ€™s CompressedGlyph scheme for storing glyph data compactly.
ShapedText
Stores the glyph data belonging to a text run.
ShapedTextSlice
A slice of a ShapedText which allows having different views into a shaped text run. This is used for splitting up shaped text during layout, without duplicating the entire run.
ShapedTextSlicer
A data structure used to efficiently slice up a ShapedText into ShapedTextSlices.

Enumsยง

GlyphInfo

Constantsยง

FLAG_CHAR_IS_WORD_SEPARATOR ๐Ÿ”’
FLAG_IS_SIMPLE_GLYPH ๐Ÿ”’
GLYPH_ADVANCE_MASK ๐Ÿ”’
GLYPH_ADVANCE_SHIFT ๐Ÿ”’
GLYPH_ID_MASK ๐Ÿ”’

Functionsยง

character_is_word_separator ๐Ÿ”’
is_simple_advance ๐Ÿ”’
is_simple_glyph_id ๐Ÿ”’

Type Aliasesยง

GlyphId ๐Ÿ”’
The id of a particular glyph within a font