Call a personalized font from XAML resources

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
frank_lbt
Posts: 3
Joined: Tue Jul 19, 2016 3:33 pm

Call a personalized font from XAML resources

Postby frank_lbt » 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

Matti111
Posts: 8
Joined: Wed Oct 25, 2017 2:56 am

Re: Call a personalized font from XAML resources

Postby Matti111 » Wed Oct 25, 2017 1:49 pm

Same problem

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Call a personalized font from XAML resources

Postby JS-Support @Userware » Thu Nov 02, 2017 1:10 am

We are investigating the possibility to add custom fonts.

We will keep you updated asap.

JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests

 

 

cron