What seems to be so trivial on the web feels like jumping through hoops in WPF. But yet again, it's actually that difficult really. Here is how to do:
Custom Fonts in WPF
- Download the TrueType font (.ttf) you are interested in, e.g.
Find the system name of the font which is most likely different to the filename
- Add the file to your WPF solution preferably in its own directory like 'fonts'
Check the properties of the font file and make sure the Build Action is set to 'Resource'
Add the style reference to App.xaml
Michael Gaigg is Lead UI Engineer in Esri's Professional Services Division.
He has been designing map applications for 15 years and is author and curator of UI Patterns for Maps.
- Accessibility (16)
- Cartography (1)
- Code Samples & Tips (16)
- Conclusions (7)
- Design Guidelines (12)
- Designing Map Interfaces (8)
- Go figure (9)
- Good News (29)
- Here and there (31)
- Map Applications (14)
- References (1)
- This Week's Highlights (53)
- Usability & UCD (28)
- Web Design (31)
Error: Feed temporarily unavailable.
- Powerpoint Wireframe Stencils as Free Download
- Redundancy is NOT bad!
- 15 Outstanding Examples of Braille in our World
- Dashboard Design
- Esri listens to their Users and changes Pronunciation of its Name
- 10 Webpage Design Lessons learned from a trip to Las Vegas… seriously!