使用.Net的开放式字体 [英] Usage of Open Type Fonts with .Net

查看:62
本文介绍了使用.Net的开放式字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在开发一个以编程方式创建Banner图像的项目。我

有应用程序正常工作,但需要使用Hevetica Neue字体,但它没有出现在字体列表中。
。我的理解是.net支持True

和Open Type字体。我刚从Adobe下载了这个字体,它是一个Open

Type字体。你能告诉我如何使用它吗?


我必须使用Helvetica字体,因为它是我公司的标准。

字体已安装,因为它在Photoshop和其他应用程序中可用,

只是不在已安装的字体列表集合中..


任何帮助将不胜感激..


杰森

Hi,

I am working on a project that creates Banner images programmatically. I
have the application working but need to use the Hevetica Neue font but it
does not appear in the font list. My understanding is that .net supports True
and Open Type fonts. I just downloaded this font from Adobe and it is an Open
Type font. Can you tell me how I can use it?

I have to use the Helvetica font as it''s a standard within my company. The
font is installed as it is available in Photoshop and other applications,
just not in the Installed font list collection..

Any help would be greatly appreciated..

Jason

推荐答案

你好杰森,


首先,我想确认一下我对你的问题的理解。从

您的描述中,我了解到您正在尝试使用从Adobe网站下载的Hevetica Neue

。如果有任何误解,请

随时告诉我。


如你所说,字体没有出现在字体列表中。你能告诉我

你知道你下载后是否安装了它?如果没有,请先安装它。




1.打开控制面板/字体。

2.选择安装新字体...从文件菜单中。


安装后,我认为它将出现在字体列表中。 HTH。


Kevin Yu

=======

此帖子已提供按现状没有保证,并且不授予

权利。

Hi Jason,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you''re trying to use "Hevetica Neue"
downloaded from the Adobe site. If there is any misunderstanding, please
feel free to let me know.

As you said, the font was not appeared in the font list. Could you let me
know if you have installed it after downloading? If not, please install it
first.

1. Open Control Panel / Fonts.
2. Select Install New Font... from the File menu.

After installation, I think it will appear in the font list. HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Kevin,


是的我已经安装了这个字体。问题是该字体是

Open Type。字体,虽然我可以找到所有文档说.Net支持

打开类型字体它也不会出现。我找到了来自

LinoType的True Type字体,我可以从installedfontcollection中找到它。


我的问题是如何使用Open Type字体?


谢谢

Jason

" Kevin Yu [MSFT]"写道:
Kevin,

Yes I have already installed the font. The problem is that the font is an
"Open Type" font and while all the documentation I can find say .Net supports
Open Type fonts it does not appear too. I have located a True Type font from
LinoType which is available to me from the installedfontcollection.

My question was how can I use an Open Type font?

Thanks
Jason
"Kevin Yu [MSFT]" wrote:
嗨Jason,

首先,我想确认一下我对你的问题的理解。从您的描述中,我了解到您正在尝试使用从Adobe网站下载的Hevetica Neue
。如果有任何误解,请随时告诉我。

正如你所说,字体没有出现在字体列表中。你能不能让我知道你是否在下载后安装了它?如果没有,请先安装它。

1.打开控制面板/字体。
2.从文件菜单中选择安装新字体....

安装后,我认为它会出现在字体列表中。 HTH。

Kevin Yu
=======
这个帖子是按原样提供的没有保证,也没有授予
权利。
Hi Jason,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you''re trying to use "Hevetica Neue"
downloaded from the Adobe site. If there is any misunderstanding, please
feel free to let me know.

As you said, the font was not appeared in the font list. Could you let me
know if you have installed it after downloading? If not, please install it
first.

1. Open Control Panel / Fonts.
2. Select Install New Font... from the File menu.

After installation, I think it will appear in the font list. HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."



嗨Jason,


是的,如你所知,.NET支持Open-Type字体。


我从网上下载了一个Open-Type字体并将其安装在我的机器上。

它出现在Word的字体列表中。我可以使用

InstalledFontCollection类看到它。另外,我可以直接使用

以下代码,就像我们使用True类型字体一样:


字体f =新字体(醒来 Witch",20.0f);


安装Hevetica Neue字体后,你能在Word中看到它吗?如果你能告诉我在哪里下载它,也许我可以在我的机器上试试。


Kevin Yu

= ======

此帖子已提供按原样没有保证,也没有赋予

权利。

Hi Jason,

Yes, as you know, .NET supports Open-Type fonts.

I downloaded an Open-Type font from the web and installed it on my machine.
It appears in the font list in Word. And I can see it using
InstalledFontCollection class. Also, I can use it directly using the
following code just as how we use True-type fonts:

Font f = new Font("Waking the Witch", 20.0f);

After installing Hevetica Neue font, can you see it in Word? If you could
tell me where to download it, maybe I can try it on my machine.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


这篇关于使用.Net的开放式字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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