C
C#2y ago
palusi

❔ wpf custom fonts

how can I use custom fonts in my wpf application? i want to use the Kablammo font from google fonts: https://fonts.google.com/specimen/Kablammo I saved the font in my application in a folder named "fonts". By using this xaml code the font of the text will still have normal font:
<TextBlock Text="Hello World" FontFamily="fonts/Kablammo-Regular.ttf #Kablammo" FontSize="50"/>
<TextBlock Text="Hello World" FontFamily="fonts/Kablammo-Regular.ttf #Kablammo" FontSize="50"/>
can someone help?
Google Fonts
Kablammo - Google Fonts
Kablammo is an experimental variable font, taking inspiration from maximalist curly doodad designs from the ’90s, the Memphis Design movement, as well as cartoo
3 Replies
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
palusi
palusiOP2y ago
can sb help?
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server