Call a personalized font from XAML resources
Posted: Wed Jul 20, 2016 7:11 am
Hi,
When I try this following line of code, which is a pure xaml functionnality, I don't have the expected result:
<TextBlock Text="Some text"
FontFamily="ms-appx:///Assets/Fonts/HelloScriptRegular.ttf#Hello Script Regular"/>
The text is in the default system font and not in the provided font. Is there a solution for this type of problem ?
Thanks
When I try this following line of code, which is a pure xaml functionnality, I don't have the expected result:
<TextBlock Text="Some text"
FontFamily="ms-appx:///Assets/Fonts/HelloScriptRegular.ttf#Hello Script Regular"/>
The text is in the default system font and not in the provided font. Is there a solution for this type of problem ?
Thanks