smkngspcmn

smkngspcmn

  • NA
  • 1
  • 7.9k

RESOLVED:Font doesn't display in WPF application

Sep 22 2010 1:19 AM
I'm new to WPF and been having difficulty using a true-type font for another language in my application.
The font is installed in my system and i also tried using it as a resource but with no luck.
The font is FMBasuru available free http://www.sjp.ac.lk/fa/cc/Sinhala%20Fonts/FM%20-%20Basuru%20x.TTF.
Can someone try it out and let me know if there's something wrong with the way im doing this?
I tried using the same font in winforms and it works great. Then i tried creating a drawing.font object for that font and converting it to type media.font and using it but still no luck.

*Edit*
Managed to resolve this by using the full font name (FMBasuru x).