C
C#13mo 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
Accord13mo 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
palusi13mo ago
can sb help?
Accord
Accord13mo 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.