开发者

Showing non-default fonts in .NET FontDialog

I'm using the standard .NET FontDialog to allows users to select fonts, but it's not showing all available fonts. For example, we have installed Helvetica and that's not showing. The Helvetica is a TTF if that开发者_运维知识库 makes a difference.

Is there any way I can get it show all available fonts?

Thanks in advance.

P.S. I'm using .NET 3.5


The dialog filters fonts that won't work in GDI+. Device fonts and OpenType fonts won't show up, only TrueType fonts are supported. The Helvetica font is published by Adobe, that would make it highly likely to be an OpenType font. You would have to switch to WPF to be able to use this font.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜