I tried to install and use a font in my WPF application, but all I get is like this:
Here is the code I tried to use the font:
richtext1.FontFamily = "SH_Roq'a";
The expected result is: ( snap shot from MS Word )
If I try to add the font file to the project folder, and use it as a resource, like this:
richtext1.FontFamily = "./#SH_Roq'a";
I won't get the square results, but, I won't have the expected font either! What I get is Tahoma font:
which is not the targeted font, please download the targeted font file here for experiments
Any help is appreciated!
EDIT
The plain text for the above captured text is:
تفاح احمر
So for those who are experts with using fonts, they can experiment with.