in C# winform, I got: "only truetype fonts are supported. This is not a TrueType Font"

vexe picture vexe · Jul 19, 2012 · Viewed 38k times · Source

I have C# winform, I installed a couple of ttf fonts, but when i set the text box font to any of the ones i downloaded, i get this error Even though I'm 100% sure that the font I installed is ttf .. why ? and how to fix this ?

Answer

CSharper picture CSharper · Aug 10, 2016

This happens when you install new fonts while Visual Studio is running. Close Visual Studio, and then reopen it. The problem will be solved.