Century Gothic 字体可用性问题
在过去的几天里,我问了几个问题来解决我的字体问题。我在设计中使用了各种晦涩的字体。我正在使用@font-face,并试图找出使系列中的备份字体在使用时改变大小的方法。它太复杂了,我决定简化事情并在我的家庭中使用更流行的字体集。
font-family:Century Gothic,arial,sans-serif;
我选择使用 Century Gothic 作为我的主要字体(我认为这是大多数计算机上的标准字体)。经过大量测试,大多数浏览器在大多数计算机上都使用无衬线字体。
这是网站:http://www.vitaminjdesign.com
几个问题:
1-我的网站是否显示作为世纪哥特式还是无衬线体?
2-世纪哥特式是特定于某个操作系统的吗?
3-CSS 是否有任何可以加载世纪哥特式的改进(同一字体可能有不同的文件名/字体名称?)我也需要用引号引起来吗?
谢谢,抱歉,它偏离了正常的 SO 编程问题。
Over the past few days, Ive asked a few questions to solve my font problem. I was using a variety of obscure fonts for my design. I was using @font-face, and trying to figure out ways of making my backup fonts in the family change size if they were used. It has been way too complicated, and I have decided to simplify things and use a more popular set of fonts in my family.
font-family:Century Gothic,arial,sans-serif;
I have chosen to use Century Gothic as my primary font (which I thought was standard on most computers). After much testing, most browsers are using a sans-serif font in most computers.
Here is the site: http://www.vitaminjdesign.com
A few questions:
1- is my site showing up as century Gothic or sans serif?
2- is century Gothic specific to a certain OS?
3- is there any improvements in the css that could load century gothic (possibly different filenames/font names for the same font?) Do I need it in quotes too?
Thanks, and sorry its a departure from the normal S.O. programming question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
第 1 号。
是的。
不,它不包含在任何操作系统中。它通常由 MS Office 安装。
您可以使用
@font-face
嵌入来让最新的浏览器下载并使用该字体。不幸的是,这在通常的 Monotype 许可证中是不允许的;您必须获得特殊的嵌入许可证。该字体甚至可能不存在。不,Monotype 版本是我所知道的唯一变体。
如果您使用几何 sans,您可以尝试包括 Futura(“Futura”、“Futura Std”、“Futura LT Medium”、“Futura Md BT”、“Futura No 2”)、Avenir(“Avenir Medium”、 “Avenir 55 Roman”、“Avenir Next LT Pro”),甚至是绝望时期的前卫。但这些或任何其他几何图形都没有与操作系统捆绑在一起,因此它工作的机会很小。
是的。
No.
Yes.
No, it's not included in any OS. It is often installed by MS Office.
You could use
@font-face
embedding to have recent browsers download and use the font. Unfortunately this isn't allowed for in the usual Monotype license; you'd have to get a special embedding license. Which may not even exist for that font.No, the Monotype edition is the only variant I'm aware of.
If you are set on a geometric sans, you could try including Futura ("Futura", "Futura Std", "Futura LT Medium", "Futura Md BT", "Futura No 2"), Avenir ("Avenir Medium", "Avenir 55 Roman", "Avenir Next LT Pro"), or even Avant Garde in desperate times. But none of these, or any other geometric, are bundled with operating systems, so you have a pretty small chance of it working.
Yes.
或者您可以使用@font-face 路径但使用免费字体。这些都是免费的,看起来像 Century Gothic:
Nevis
PT Sans
Walkway(家庭)
Caviar Dreams
Cicle(家庭)
Kozuka Gothic Pro L(Kozuka 是一个家庭)
您可以在 dafont.com、fontsquirrel.com 和其他类似网站中找到它们。
Or you can go the @font-face path but use a free font. These are all free and look like Century Gothic:
Nevis
PT Sans
Walkway (family)
Caviar Dreams
Cicle (family)
Kozuka Gothic Pro L (Kozuka is a family)
You can find them in dafont.com, fontsquirrel.com, and other similar sites.
Monotype 现在还提供使用 @font-face 嵌入 Century Gothic 的网络字体许可。如果您愿意支付价格,请访问以下链接 http://www. fontslive.com/font/ century-gothic-family.aspx
Monotype now also provide a web font license for embedding Century Gothic using @font-face. If you're willing to pay the price, here's the link http://www.fontslive.com/font/century-gothic-family.aspx
您是对的,通过选择更长的字体列表,您可以更好地控制网站的外观和感觉。字体渲染通常由操作系统控制,并且操作系统通常具有一个字体替换表,当应用程序调用特定字体来显示内容并且该字体在用户系统上不可用时,操作系统会使用该表。
最好的办法是对字体进行一些研究,看看哪些字体(以及哪些变体和紧密副本)倾向于安装在具有不同操作系统或常见应用程序的计算机上。如果您发现 Century Gothic 名称有变化,将它们全部放入字体字符串中应该不会有什么坏处(当然,如果名称中有空格,则用引号引起来)。
PS 讨厌你网站上的淡入。也讨厌它在谷歌主页上。让我等待阅读或点击。
You're right in that by choosing a longer list of fonts, you'll have more control over the look and feel of your website. Font rendering is usually controlled by the OS, and OSs typically have a font substitution table it uses when an application calls for a specific font to display content and that font is not available on a user's system.
Your best bet is to do some research on fonts and see which ones (and which variations and close copies) tend to be installed on computers with different operating systems or with common applications. If you find variation on the name of Century Gothic, it should not hurt to put them all in the font string (in quotes, of course, if there's a space in the name).
P.S. Hate the fade-in on your website. Hate it on the Google home page too. Makes me wait to read or click.
您应该将字体名称括在引号中。如果“Century Gothic”不可用,浏览器将使用无衬线字体。
如果您想确保使用“Century Gothic”,也许您应该考虑类似 sIFR 的内容通常用于将标题替换为使用特定字体的 Flash 元素。我个人不会走这条路。
正如您在评论中所述,最好的选择(在我看来)是简单地指定您满意的后备字体。
You should wrap the font name in quotes. If "Century Gothic" isn't available, the browser will fallback on a sans-serif font.
If you want to ensure "Century Gothic" is used, perhaps you should consider something like sIFR which is often used to replace headers with flash elements using specific fonts. I personally wouldn't go this route.
As you stated in your comment, the best option (in my opinion) is to simply specify a fallback font that you are happy with.
我遇到的大多数计算机都没有 Century Gothic;再选择一些该网站看起来不错的内容。
Most computers I have run across do not have Century Gothic; pick a few more that the site looks decent in.