Custom Font in Windows Phone 8

前端 未结 4 1776
遇见更好的自我
遇见更好的自我 2021-01-24 00:44

I tried to add a custom font into my application. I need it for the page title. I copied the font to a folder named \"Fonts\" and changed the build action to Content. In the pro

4条回答
  •  轮回少年
    2021-01-24 01:26

    You have to add fonts as BlendEmbeddableFonts

    Open your solution in blend, go to the font manager and in "Embedded Fonts", check your custom font.

    Then create a resource called

    /Wake Jake;component/Fonts/Fonts.zip#FontName
    

    and add it as

    FontFamily="{StaticResource CustomFont}"
    

    It will work that way. Let me know if you need further help

提交回复
热议问题