Replies: 2 comments
-
There's a lot of background in this discussion: #17199 In general, AFAIK, you can't use the family name directly, but need to use a specific font scheme when constructing a |
Beta Was this translation helpful? Give feedback.
0 replies
-
FontFamily="fonts:SourceCodePro#Source Code Pro" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I recently tried to use custom fonts in my application but couldn't get them to work with the EmbeddedFontCollection. The only approach that worked was using StaticResource, which I wanted to avoid.
When I added fonts to the AppBuilder using ConfigureFonts, all my fonts were successfully parsed. However, when I tried to use them in a TextBlock's FontFamily, the fallback font family was always applied instead.
Is there a specific step I might be missing, or how can I make this work as expected?
My code:
Program.cs:
Beta Was this translation helpful? Give feedback.
All reactions