简体   繁体   English

在网络上,我应该使用什么字体来创建跨平台的等效体验?

[英]On the web, what fonts should I use to create an equivalent experience cross-platform?

Because Linux (and its variants) have a completely different set of fonts than Windows and Mac OS X, is there anyone with any experience of creating cross-platform font families - ideally finding equivalents to the common fonts found on the aforementioned operating systems? 因为Linux(及其变体)具有与Windows和Mac OS X完全不同的字体集,是否有任何人有任何创建跨平台字体系列的经验 - 理想情况下找到上述操作系统中常见字体的等价物?

If so, what is the best route to take? 如果是这样,最佳路线是什么?

Here are some good up-to-date listings of the most-installed fonts for PC, Mac, and Linux: 以下是适用于PC,Mac和Linux的最常安装字体的最新列表:

Sans serif font sampler and survey results 无衬线字体采样器和调查结果

Serif font sampler and survey results Serif字体采样器和调查结果

Hope this helps your decision! 希望这有助于您的决定!

Most OS'es have support for Microsoft's Core Fonts For the Web . 大多数操作系统都支持微软的Web核心字体 They all come bundled with OSX, and I'm reasonably sure they'll work (or have near-identical variants) on most any linux distro. 它们都捆绑了OSX,我相当肯定它们可以在大多数Linux发行版上工作(或者具有几乎相同的变体)。

The Microsoft Typography page is also pretty cool Microsoft Typography页面也很酷

Just to clarify: You are looking for names of fonts that will make your website-design look similar to Windows and Mac OS X when viewed under Linux, you are not looking to design new fonts, correct? 只是为了澄清:您正在寻找能够使您的网站设计在Linux下查看时与Windows和Mac OS X类似的字体名称,您不打算设计新字体,对吗?

(I read your question in the same way that Jason Navarrete did, so at least two people misunderstood your question.) (我和Jason Navarrete一样读了你的问题,所以至少有两个人误解了你的问题。)

The font names you are looking for might be something like the Liberation fonts that RedHat has released ? 您正在寻找的字体名称可能类似于RedHat发布的Liberation字体

Incidently, 'sans-serif' doesn't give the user "any sans-serif", it gives the user his/her preferred sans-serif - which may arguably be better than one you pick. 很明显,'sans-serif'不会给用户“任何sans-serif”,它给用户他/她的首选 sans-serif - 这可能比你选择的更好。

Well, this is a hard question. 嗯,这是一个很难的问题。

There are generally 3 fonts that are in some form or other always supported. 通常有3种字体以某种形式或其他形式始终受支持。 These fonts are Adobe Times, Adobe Helvetica, and Adobe Courier. 这些字体是Adobe Times,Adobe Helvetica和Adobe Courier。 The problem is that while every system and foundry have a clone of these, they have different names. 问题在于,虽然每个系统和代工厂都有这些的克隆,但它们有不同的名称。 They are also not entirely the same, but have the same metrics. 它们也不完全相同,但具有相同的指标。 The windows trio: Arial, Times New Roman, and Courier New are the monotype clones of them. Windows三人组:Arial,Times New Roman和Courier New是他们的单型克隆。 On linux these have been provided as bitmap fonts by adobe, and as outlines in form of the URW Nimbus {Sans, Roman, Mono} clones. 在linux上,这些由adobe提供为位图字体,并以URW Nimbus {Sans,Roman,Mono}克隆的形式提供。 The outlines however are not pretty on screen (they are on a printer) as they lack hinting. 然而,大纲在屏幕上并不漂亮(它们在打印机上),因为它们缺乏暗示。

The solution would be to go for a multichoice for websites. 解决方案是为网站寻找多重选择。 As microsoft has at some point made the "core fonts" available for redistribution, many unix/linux systems do have those fonts available. 由于微软在某些时候使“核心字体”可用于重新分发,许多unix / linux系统确实有这些字体可用。 So go with them. 所以和他们一起去吧。 The liberation fonts are straight clones of the MS/monotype fonts, so should go ok as alternatives with a similar experience. 解放字体是MS / monotype字体的直接克隆,所以应该可以作为具有类似经验的替代品。 Then go for "Helvetica", "Times", and "Courier" before the sans/serif/mono choice that puts you in the user's hands. 然后在sans / serif / mono选择之前选择“Helvetica”,“Times”和“Courier”,将您置于用户手中。

Sitepoint has an excellent article on font stacks: Sitepoint有一篇关于字体堆栈的优秀文章:

http://www.sitepoint.com/article/eight-definitive-font-stacks/ http://www.sitepoint.com/article/eight-definitive-font-stacks/

This article explains the basic approach that has the most chance of working cross-platform. 本文介绍了跨平台工作最有可能的基本方法。 You have to think in terms of stacks which are sets of broadly similar fonts which cover most platforms. 您必须考虑堆栈,这些堆栈是覆盖大多数平台的大致相似的字体集。

You are always safe saying 'serif' which will get you Times New Roman or similar or sans-serif which will get you Helvetica/Arial or similar on most platforms. 你总是安全地说“serif”会给你带来Times New Roman或类似的或sans-serif,它会在大多数平台上为你提供Helvetica / Arial或类似功能。 Then as the article suggests you can go further and distinguish between 'wide' and 'narrow' groupings. 然后正如文章所暗示的那样,你可以进一步区分“宽”和“窄”分组。

You can take a more 'progressive enhancement' approach choosing your ideal font and providing generic substitutes for those platforms which do not have it. 您可以采用更“渐进增强”的方法来选择理想的字体,并为那些没有它的平台提供通用替代品。 However at the end of the day the web is not print and you only get approximate control over font choice. 但是,在一天结束时,网页不会打印,您只能获得对字体选择的近似控制。 You can do a lot of custom typography using the well-supported CSS properties such as line-spacing. 您可以使用支持良好的CSS属性(如行间距)执行大量自定义排版。 But you will never be able to say 'use this font' and have it work the identically even across Mac/Windows/Linux let alone mobile devices, kiosks etc... 但是你永远无法说“使用这种字体”,并且即使在Mac / Windows / Linux上也可以使用相同的设备,更不用说移动设备,信息亭等......

TrueType Fonts (TTF) will generally work on Windows, Mac, and Linux platforms. TrueType字体(TTF)通常适用于Windows,Mac和Linux平台。

Thanks Jason, but this isn't the answer I'm looking for. 谢谢杰森,但这不是我正在寻找的答案。 Many Linux distributions come with their own fonts that are different in name to the Mac/Windows versions - presumably because of font licensing issues. 许多Linux发行版都有自己的字体,这些字体与Mac / Windows版本的名称不同 - 可能是因为字体许可问题。

I'd like a response from a Linux user (preferably developer) who has experience with coming up with similar looking fonts. 我想要一位Linux用户(最好是开发人员)的回复,他有经验提出类似的外观字体。 I really don't want to have to give Ubuntu Firefox users 'any sans-serif'. 我真的不想给Ubuntu Firefox用户提供任何sans-serif'。

TrueType Fonts (TTF) will generally work on Windows, Mac, and Linux platforms. TrueType字体(TTF)通常适用于Windows,Mac和Linux平台。

http://en.wikipedia.org/wiki/TrueType http://en.wikipedia.org/wiki/TrueType

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM