Visual Studio 2010:为TextBox使用NonTrue Type字体 [英] Visual Studio 2010 : Using NonTrue Type fonts for TextBox

查看:156
本文介绍了Visual Studio 2010:为TextBox使用NonTrue Type字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要在Visual Studio 2010中使用Non True字体,才能更改Different COntrols的字体...例如Combobox,TextBox,DataGridView ...

Visual Studio 2010不允许在其中使用非True Type字体....

任何人都可以建议我该如何克服这个问题...

我的思想中出现的其他问题是.我可以将非真实类型的字体转换为真实类型的字体吗?


问候,
PRathamesh

Hi,
I need to use Non True type font in Visual Studio 2010, to change the font of Different COntrols...Such as Combobox,TextBox,DataGridView...

Visual Studio 2010 Does not allow non true type fonts in it....

Can anyone Suggest how should i overcome the problem...

The other things that comes in my Mind.. is Can i convert Non true type fonts to Truetype Fonts???


Regards,
PRathamesh

推荐答案

好,我在Windows 2010上进行了测试.
您的陈述不正确-Visual Studio VS 2010确实支持OpenType和TrueType字体.我在System.Windows.Forms应用程序上对其进行了测试.顺便说一句,您需要正确标记平台和UI库,因为答案可能会有所不同.

也许你是说别的吗?也许您想支持某些旧式字体,例如基于像素位图的字体类型(对不起,我不知道如何正确命名).他们没有明显的理由支持. .NET Windows应用程序可以以与分辨率无关的方式工作;那些字体不合适.您也不能将它们转换"为基于矢量的OpenType或TrueType字体,这样的操作根本就没有意义,也无法定义.

—SA
OK, I tested it on Windows 2010.

You statement is not true — Visual Studio VS 2010 does support both OpenType and TrueType fonts. I tested it on a System.Windows.Forms application. By the way, you need to tag the platform and UI library properly, as the answers may be different.

Maybe you mean something else? Maybe you wanted to support some legacy font, such as pixel bitmap-based font type (sorry, I don''t know how to name it properly). They are not supported by apparent reason. .NET Windows application can work in resolution-independent manner; and those fonts are not suitable. You also cannot "convert" them to the vector-based OpenType or TrueType fonts, such operation simply would not make sense and can not be defined.

—SA


[<一个href ="http://www.fontlab.com/font-converter/transtype/" target ="_ blank" title =新窗口"> ^ ]可能会有所帮助.
This[^] might help.


这篇关于Visual Studio 2010:为TextBox使用NonTrue Type字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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