Using the XAML Font Family Breaks Some Unicode Characters

I am trying to display various Unicode characters in XAML TextBlockwithout any specific attributes:

<TextBlock Text="{Binding MyString}" Foreground="Black" />

This works well for all scripts on my Windows 8.1 system, except for emoji characters:

Latin OKEmoji brokenCyrillic OK

Since these characters are available in the Segoe UI Symbol font , I just added it to FontFamily:

<TextBlock Text="{Binding MyString}" Foreground="Black"
           FontFamily="Segoe UI Symbol" />

However, now some Cyrillic characters are broken:

Latin OKEmoji okCyrillic broken

So, I tried to include several fonts, including composite fonts listed on MSDN :

<TextBlock Text="{Binding MyString}" Foreground="Black"
           FontFamily="Lucida Sans Unicode, Lucida Grande, Segoe UI Symbol,
                       Open Sans, Arial, Microsoft Sans Serif, Tahoma,
                       Courier New, Times New Roman, Global User Interface,
                       Portable User Interface" />

But I get exactly the same result:

Latin OKEmoji okCyrillic broken

? Isnt ? TextBlock, no FontFamily?

+4
1

- . ,

  • Segoe UI Segoe UI Symbol.
  • Segoe UI Symbol , ; .

, :

<TextBlock Text="{Binding MyString}" Foreground="Black"
           FontFamily="Segoe UI, Lucida Sans Unicode, Lucida Grande,
                       Open Sans, Arial, Microsoft Sans Serif, Tahoma,
                       Courier New, Times New Roman, Global User Interface,
                       Portable User Interface, Segoe UI Symbol" />
+1

All Articles