Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 860
Bildsoe Avatar asked Dec 09 '22 09:12

Bildsoe


1 Answers

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

like image 67
Hans Passant Avatar answered Dec 15 '22 00:12

Hans Passant