Search code examples
c#winformsopentype

Is it possible to use otf fonts on winforms?


I've tried using Open Type Fonts both for labels, textboxes and when drawing in a paint-event. But it doesn't work. Is there any way to make Open Type Font work?


Solution

  • This isn't possible in Winforms, GDI+ only supports TrueType fonts. You'll have to move to WPF to get OpenType support.