Timeline for Getting a list of all supported characters in a Font
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 10, 2022 at 8:31 | comment | added | Mangata |
@mike Try to set Character option to Unicode instead of Dynamic in the inspector of the font asset. see class-Font.
|
|
Aug 10, 2022 at 2:03 | comment | added | mike |
Thanks Mangata, I can see how this would theoretically work, but for some reason it is not. I am accessing the font just as you say (this is how I usually load them) but it is returning Font font = Resources.Load<Font>("Fonts & Materials/Montserrat-Bold"); Debug.Log("char info size " + font.characterInfo.Count()); as zero. Ie. there is nothing in characterInfo. I tried this with a few fonts and same thing. Any ideas or solutions?
|
|
Aug 9, 2022 at 9:58 | history | answered | Mangata | CC BY-SA 4.0 |