Listing all glyphs in a Font
First of all: thanks for a fantastic library!
I wonder if it is somehow possible to list all codepoints supported by rusttype::Font
? From reading the docs, I don't see how. I can get a Glyph
from a char
– but not a char
from a Glyph
.
My goal is to be able to make a simple font book that shows a list of all the characters in a .ttf
together with their Unicode codepoints, and preferably also their names (if available in the .ttf
).