Font family not valid in Windows Phone 8.1

This is definitely not the case for WP8.

However, the new Blend ships VS2013, the font family has no effect either in Blend Designer or at runtime.

<TextBlock Text="test" 
           FontSize="{StaticResource HubHeaderFontSize}" 
           FontFamily="{StaticResource PhoneFontFamilySemiBold}"/>
<TextBlock Text="test" 
           FontSize="{StaticResource HubHeaderFontSize}" 
           FontFamily="{StaticResource PhoneFontFamilyLight}"/>

      

Are they still Segoe WP or Segoe UI?

I noticed that if I change the font weight it will display the correct font. But I really want to be able to use the built in font family resources. Is there a way?

+3


source to share


1 answer


From generic.xaml:

<!-- Global font family -->
<FontFamily x:Key="PhoneFontFamilyNormal">Segoe WP</FontFamily>
<FontFamily x:Key="PhoneFontFamilyLight">Segoe WP Light</FontFamily>
<FontFamily x:Key="PhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily>
<FontFamily x:Key="PhoneFontFamilySemiBold">Segoe WP Semibold</FontFamily>
<FontFamily x:Key="ContentControlThemeFontFamily">Segoe WP</FontFamily>

      



It looks like these fonts are not embedded ...

+1


source







All Articles