Closed JasonLooney closed 4 years ago
@ArtjomP , are you installing to another machine?
@BillyMartin1964 sure I'm developing apps on my machine, CI with UI testing on another one and users use my apps from the Store on their PC & Xboxes
@ArtjomP , can't tell you about the store because I'm afraid to use it on a production app. I can tell you, the only difference between the page being blank white or not is removing the FontFamily attribute. The square seems to be an icon on his.
@BillyMartin1964 you could try to remove obj & bin folders & rebuild your project with FontFamily attribute included. It helps to get rid of mysterious errors sometimes.
Why was this closed? Although custom fonts work in UWP debug, they don't work in a release version.
When i use them in a release version sideload, the page that the custom font is on is completely blank. When I comment out the font family in xaml, the page appears fine... but without custom fonts, of course.
I also checked in the windows/font folder and the font was on the laptop I installed the app on.
There is a new issue for this: #12404
Description
Custom fonts are not showing up in UWP when the new ExportFontAttribute is used.
Steps to Reproduce
[assembly: ExportFont("FA5Regular.otf", Alias = "FontAwesome")]
Expected Behavior
Custom font should be used.
Actual Behavior
Custom font is used in iOS and Android, but not UWP.
Basic Information
Reproduction Link
https://github.com/jfversluis/EmbeddedFontsSample