How to use a custom font with Windows Universal app?

前端 未结 2 1253
攒了一身酷
攒了一身酷 2020-12-16 17:00

Like for my other windows phone 8 projects I wanted to use a custom font. But with the new Universal app architecture I struggle to put that in place.

I have created

2条回答
  •  时光取名叫无心
    2020-12-16 17:23

    You're doing it all right, except for the font name (part after the '#'). It seems to be Rex, not Rex Bold.

    /Fonts/Rex Bold.otf#Rex
    

提交回复
热议问题