How to get available glyphs and their name #343
-
I load font like this: var fonts = new FontCollection();
var fontFamily = fonts.Add("myfont.ttf");
var font = fontFamily.CreateFont(12); Now, how to get available glyphs and their name? |
Beta Was this translation helpful? Give feedback.
Answered by
JimBobSquarePants
Aug 11, 2023
Replies: 1 comment 4 replies
-
We don't actually decode the names of glyphs as many fonts don't store them and it would massivly bloat the memory used. It is possible to get all the glyphs, metrics, and codepoints though. First use Then loop through and use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We skip it entirely. There's no way for you to get it using this library.