I need to get the font (System.drawing.Font), with the given postscript name. For example, if I give the input as "CourierNewPSMT", the Courier font should be loaded.
Similarly if "Arial-Black" is the input, the "Arial Black" font should be loaded.
Note : "Arial-Black" is the postscript name of "Arial Black" font. "CourierNewPSMT" is the postcript name of "Courier New" font.
Thanks in advance.
If you're on a Mac, you can look at the font in Font Book and go under View › Show Font Info
You should see all the different naming conventions listed.