problem with fontdialog
-
hello, I am working on .Net framework in c# lang. and this problem is related to Font Dialog class.The problem i am facing is as below: steps: 1)start an application containing a font dialog . 2)Install a new font while the application is running. 3)On applying the new font installed to any component say textbox,the application throws an exception with message:"Only true type fonts are supported and this is not a true type font" On debugging it is just after dialog. if(ShowDialog()==DialogResult.Ok) { } 4)On restarting the application and appying the same new font everything works fine. How ever this is not the case with some of the products in market eg Adobe Photoshop,Xml spy,Or microsoftword.. Please suggest me regarding this. Thanks and Regards