CSS 'Helvetica Neue' 和 Helvetica 字体

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8698539/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 02:31:15  来源:igfitidea点击:

'Helvetica Neue' and Helvetica font

cssfonts

提问by user1117313

I have seen a few of the the websites using font family:

我看过一些使用字体系列的网站:

font-family: 'Helvetica Neue',Helvetica,Arial,Sans-Serif

I remember reading in some older question here on stackoverflow that the Helvetica font is not free, and it is available on Mac only, is it so? I'm using windows XP and I can see that Font being rendered is 'Helvetica Neue', and I don't remember installing any font by myself. so all I wanted to ask is if it is safe to use the above font family? (eg. will most of the windows computers render those fonts? )

我记得在 stackoverflow 上的一些旧问题中读到 Helvetica 字体不是免费的,它仅在 Mac 上可用,是吗?我使用的是 Windows XP,我可以看到正在呈现的字体是“ Helvetica Neue”,我不记得自己安装了任何字体。所以我想问的是使用上述字体系列是否安全?(例如,大多数 Windows 计算机会呈现这些字体吗?)

Thanks.

谢谢。

回答by Subash

Helveticacomes free with mac but not with windows. You will have to buy it. But if you have installed Adobeproducts it will be installed with many other fonts that come packed with Adobe.

Helveticamac 随附免费,但 Windows 不随附。你将不得不购买它。但是,如果您安装了Adobe产品,它将安装许多其他带有Adobe.

'Helvetica Neue'is the newer version and has slight modification than the older one with correction of few problems that occurred with helvetica.

'Helvetica Neue'是较新的版本,比旧版本略有修改,更正了helvetica.

回答by sumit kumar ray

If you want to use any font in your website you can use this:

如果你想在你的网站中使用任何字体,你可以使用这个:

 @font-face {
font-family: 'Helvetica Neue';
src: url('Helvetica-Neue-webfont.eot');
src: url('Helvetica-Neue-webfont.eot?#iefix') format('embedded-opentype'),
     url('Helvetica-Neue-webfont.woff') format('woff'),
     url('Helvetica-Neue-webfont.ttf') format('truetype'),
     url('Helvetica-Neue-webfont.svg#Helvetica Neue') format('svg');

  }

To use any paid fonts, you should buy the font and put it in your folder. Use this site to create all types of formats: http://www.fontsquirrel.com/

要使用任何付费字体,您应该购买该字体并将其放入您的文件夹中。使用此站点创建所有类型的格式:http: //www.fontsquirrel.com/

回答by Wouter Dorgelo

Helvetica Neue is not free with Windows. However, if you install Adobe software it will install an altered version which can cause problems.

Helvetica Neue 在 Windows 中不是免费的。但是,如果您安装 Adob​​e 软件,它将安装可能会导致问题的更改版本。

回答by Different55

All windows computers will render that font, if the font is introduced with @font-face in the CSS. With @font-face fonts can be used anywhere on the web page, even if the font isn't installed on the user's computer.

如果在 CSS 中使用 @font-face 引入字体,则所有 Windows 计算机都将呈现该字体。使用@font-face 字体可以在网页的任何地方使用,即使该字体没有安装在用户的计算机上。

回答by Steve

Helvetica Neue has been blacklisted from @font-face generators like fontsquirrel.

Helvetica Neue 已被 @font-face 生成器(如 fontsquirrel)列入黑名单。

I think the font stack that is quoted in the first post is the best approach.

我认为第一篇文章中引用的字体堆栈是最好的方法。