Html 是否有网络安全字体的现代列表?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12488240/
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
Is there a modern list of web-safe fonts?
提问by dolphone bubleine
If they are on an ancient browser let them burn.
如果他们在一个古老的浏览器上,让他们燃烧。
采纳答案by fen
You can find from here http://cssfontstack.com/include the different system match.
您可以从这里找到http://cssfontstack.com/包含不同的系统匹配。
回答by Blender
Just use what you want and gradually fall back to platform defaults and finally generic defaults:
只需使用您想要的并逐渐回退到平台默认值和最终通用默认值:
font-family: 'Open Sans', 'Droid Sans', Arial, sans-serif;
If the user's browser doesn't support external fonts, they will have to put up with the browser-chosen default fonts. Those should always be present.
如果用户的浏览器不支持外部字体,他们将不得不忍受浏览器选择的默认字体。这些应该始终存在。
回答by Norguard
...not really.
...并不真地。
There are veryold web-safe fonts.
有非常古老的网络安全字体。
Now, there are web-safe font-stacks. Different operating systems and different programs (like Photoshop/InDesign/et cetera) have their own sets of fonts.
现在,有网络安全字体堆栈。不同的操作系统和不同的程序(如 Photoshop/InDesign/等等)都有自己的字体集。
So learn to pick similar/appropriate font-stacks, so that Windows 7/8, MacOS X.[whatever] and updated Linux users can have a similar experience, and then have fallback fonts for people on older systems.
因此,学会选择相似/合适的字体堆栈,以便 Windows 7/8、MacOS X.[无论如何] 和更新的 Linux 用户可以有类似的体验,然后为旧系统上的人提供后备字体。
回答by Jonathon Ashworth
http://www.w3schools.com/cssref/css_websafe_fonts.asp
http://www.w3schools.com/cssref/css_websafe_fonts.asp
That should cover the basics
这应该涵盖基础知识
回答by Roy Rogers
I noticed that http://cssfontstack.com/has a lot of non web safe fonts listed like Copperplate which only come with ms office for example, so beware! I think i'll put up a list at some point for the major OSs windows, apple, android and linux probably ubuntu.
我注意到http://cssfontstack.com/列出了许多非网络安全字体,例如 Copperplate 仅随 ms office 提供,所以要小心!我想我会在某个时候列出主要操作系统 windows、苹果、android 和 linux 可能 ubuntu 的列表。
回答by nim
web-safe fonts have always been a lie with most sites proposing web-safe fonts ignoring anything but current windows and osx (hint: there are lots of other web clients, from android to linux passing through chromebooks…), inventing data about others, or ignoring unicode coverage (so their web-safe fonts only work for English text, sometimes not even including the euro symbol which is quite common nowadays).
网络安全字体一直是一个谎言,大多数网站都提出了网络安全字体,除了当前的 windows 和 osx(提示:还有许多其他网络客户端,从 android 到 linux,通过 chromebook ……),发明有关其他人的数据,或忽略 unicode 覆盖范围(因此他们的网络安全字体仅适用于英文文本,有时甚至不包括现在很常见的欧元符号)。
The only actual web-safe fonts are the standard aliases such as monospace defined in the css specs.
唯一真正的网络安全字体是标准别名,例如 css 规范中定义的等宽字体。
回答by deadzg_devil
http://www.wpdfd.com/issues/87/knowing_about_web_safe_fonts/http://www.w3schools.com/cssref/css_websafe_fonts.asp
http://www.wpdfd.com/issues/87/knowing_about_web_safe_fonts/http://www.w3schools.com/cssref/css_websafe_fonts.asp
I guess the above two links will help you.
我想以上两个链接会对您有所帮助。