June 25, 2012

Only TrueType fonts are supported


Error:
Only TrueType fonts are supported. This is not a TrueType font.
ArgumentException was unhandled by user code


Solution:
Add these lines before FontDialog ShowDialog
fontDialog.AllowSimulations = false;
fontDialog.AllowScriptChange = false;

No comments: