Provides immediate Lua access to the glyph names in the SMuFL glyphnames.json and
glyphnamesFinale.json files. The glyphsandby_codepoint` tables were programmatically generated from them.
smufl_glyphs.get_glyph_info(codepoint_or_name, font_info_or_name)
Returns the SMuFL glyph name and a new table containing the codepoint and its description.
| Input | Type | Description |
|---|---|---|
codepoint_or_name |
`string | number` |
font_info_or_name (optional) |
string |
or (font_info) the SMuFL font to search for optional glyphs |
| Return type | Description |
|---|---|
string |
The glyph name |
table |
The glyph information |
smufl_glyphs.iterate_glyphs()
Returns an iterator over the standard SMuFL glyphs as defined in glyphnames.json.
Each iteration returns:
codepoint and description| Return type | Description |
|---|---|
function |
An iterator over (string, table) |