为什么字体选择器对话框中没有显示已安装的字体? [英] Why doesn't an installed font show up in the font picker dialog?

查看:35
本文介绍了为什么字体选择器对话框中没有显示已安装的字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的开发机器上安装了 OpenType 字体,希望能够为表单上的标签选择该字体.

I've installed an OpenType font on my development machine expecting to then be able to choose that font for a label on a form.

该字体在 MS Word 中可用,所以我有理由相信它安装没问题,但我在 Visual Studio 中的标签的字体选择器对话框中看不到字体.我还检查了工具> 选项中的字体设置,它也不存在.运行 this answer中的代码 没有列出字体.我试过重新启动 VS.Net.

The font is available in MS Word so I'm reasonably confident it was installed ok, but I can't see the font in the font-picker dialog for the label in Visual Studio. I also checked the font settings in Tools > Options and it isn't there either. Running the code from this answer doesn't list the font. I've tried restarting VS.Net.

我还能做些什么来使这种字体显示在 Visual Studio 中?

What else can I do to make this font show up in Visual Studio?

推荐答案

GDI+ 不支持 OpenType,仅支持 TrueType.

GDI+ doesn't support OpenType, only TrueType.

这篇关于为什么字体选择器对话框中没有显示已安装的字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆