User avatar
stonstad
Topic Author
Posts: 241
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud
Contact:

Special Characters Reference

15 Nov 2022, 00:11

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
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Special Characters Reference

15 Nov 2022, 11:23

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 332 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>
 
User avatar
stonstad
Topic Author
Posts: 241
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud
Contact:

Re: Special Characters Reference

15 Nov 2022, 14:58

Awesome, thanks! A list of icons is available here: https://www.adamdawes.com/windows8/win8 ... ymbol.html
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Special Characters Reference

16 Nov 2022, 16:57

Thanks for sharing that link, I'm sure it would be very helpful for others too.

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 50 guests