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

c#, fonts, truetype

Solution

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

Problem

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 ?

Original source

Related problems