Page 1 of 1

Special Characters Reference

Posted: 15 Nov 2022, 00:11
by stonstad
Hey guys! I happened to include a '⚠' character in Noesis text and I was surprised to see it render in color. Is there a reference where I may learn which characters are supported, and how color options might be modified?

Image

Thanks,
Shaun

Re: Special Characters Reference

Posted: 15 Nov 2022, 11:23
by sfernandez
Hi stonstad,

By default we load a list of font fallbacks available for each platform (see NoesisUnity.cs, SetDefaultFont() method). This can be disabled in Noesis Settings:
platformfonts.png
platformfonts.png (13.09 KiB) Viewed 2275 times
One of these fallbacks for windows is the "Segoe UI Emoji" font, where that character is found. The available characters, form and the use of colors is defined by the ttf font itself.

In XAML you can also provide a list of font fallbacks when setting the FontFamily, so you can choose your own fonts.
<TextBlock FontFamily="Fonts/#Arial, Verdana">Hello World</TextBlock>

Re: Special Characters Reference

Posted: 15 Nov 2022, 14:58
by stonstad
Awesome, thanks! A list of icons is available here: https://www.adamdawes.com/windows8/win8 ... ymbol.html

Re: Special Characters Reference

Posted: 16 Nov 2022, 16:57
by sfernandez
Thanks for sharing that link, I'm sure it would be very helpful for others too.