用户界面有哪些好的字体?那么 Unicode 又如何呢?
我正在开发一个用户界面,我想知道其他软件(如 Photoshop、Windows 等)在其界面中使用什么字体。他们不能使用 Arial 和 Tahoma,对吗?这是我正在开发的一个网络应用程序,我可以使用@font-face。
但是 Unicode 支持怎么样?我不想对 i18n 施加任何限制。
I am working on a user interface, and I am wondering what fonts do other software use like Photoshop, Windows, etc use in their interface. They can't be using Arial and Tahoma, right? This is a web application I am working on, and I can use @font-face.
But what about Unicode support? I would not like to put any limits on i18n.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
有关操作系统中使用的字体的一些信息:
Windows 3.1、Windows 95、Windows 98 和 Windows ME 使用 MS 无衬线。这是一种光栅字体,因此它不能很好地使用子像素平滑(例如 ClearType)。
Windows 2000 和 Windows XP 使用 Tahoma。它支持相当多的脚本,但一些亚洲脚本(例如日语)似乎不存在。另请参阅完整列表。
Windows Vista 和 Windows 7 使用 Segoe UI。同样,这里是受支持脚本的完整列表。
Gnome 使用 Bitstream Vera Sans,但这可能取决于发行版。具有更多脚本的衍生字体是 DejaVu Sans。
Mac OS X 使用 Lucida Grande。
对于网络应用程序,我可能会坚持使用操作系统和浏览器使用的字体。像这样的东西可能适用于大多数用户:
我把 Windows 字体放在最后,因为许多 OS X 和 Linux 用户都会安装这些字体,但我们希望他们的本机字体优先。相反的情况发生的可能性较小。
无论您选择什么,请使用 sans-serif 字体。在计算机屏幕上,这些字体比 serif 字体更清晰。
如果您必须使用
@font-face
,请务必在分发字体之前阅读该字体的许可证。从上面提到的字体来看,我认为只有Bitstream Vera Sans和DejaVu可以免费使用。Some information on fonts used in operating systems:
Windows 3.1, Windows 95, Windows 98 and Windows ME use MS Sans Serif. This is a raster font, and as such it does not play nice with sub-pixel smoothing (e.g. ClearType).
Windows 2000 and Windows XP use Tahoma. It supports a fair number of scripts, but some Asian scripts like Japanese seem to be absent. See also the full list.
Windows Vista and Windows 7 use Segoe UI. Again, here's the full list of supported scripts.
Gnome uses Bitstream Vera Sans, but this is probably distribution-dependent. A derivate font with more scripts is DejaVu Sans.
Mac OS X uses Lucida Grande.
For a web application, I'd probably stick with the font that the OS and the browser use. Something like this will probably work for most users:
I put the Windows fonts last, because many OS X and Linux users will have these installed, but we want their native fonts to take precedence. The reverse is less likely to happen.
Whatever you choose, use a sans-serif font. On a computer screen, these are far more legible than serif fonts.
If you must use
@font-face
, be sure to read the font's license before you distribute it. From the fonts mentioned above, I think only Bitstream Vera Sans and DejaVu are free to use.大多数软件,除了重大例外,都使用由平台确定的标准字体。 Windows 对窗口标题、按钮、普通文本等使用的字体进行了设置。用户可以自定义这些设置,并查看传播到所有应用程序的更改(至少是使用通用字体的应用程序)。
回复:Unicode,所有主要操作系统上的库存字体都有良好的 Unicode 支持;我在 Windows 上使用 Tahoma for IRC,可以查看汉字、片假名等,并且在 Linux 上使用 Droid Sans 也有类似的体验。我不能代表 Mac OS X,但我敢打赌 Unicode 支持很好。
Most software, barring major exceptions, uses the standard fonts that are determined by the platform. Windows has settings for the font used by window titles, buttons, normal text, etc. Users can customize these, and see the changes propagated to all of their applications (at least the ones that use common fonts).
Re: Unicode, the stock fonts on all of the major OSes have good Unicode support; I use Tahoma for IRC on Windows, and can view kanji, katakana, etc. and have had similar experiences with Droid Sans on Linux. I can't speak for Mac OS X, but I'm willing to bet that Unicode support is good.
OSX 对所有界面文本使用 Lucida Grande。
OSX uses Lucida Grande for all interface text.
在 Windows Vista 和 7 中,根据此文档页面,默认系统字体是
segoeUI
。阅读整个条目:看来您需要其他字体来覆盖所有语言......:Mac 电脑已经使用 Geneva 很长时间了(但正如维基百科所说,它“不是在其他平台上普遍可用”,尽管后续建议“许多人认为 Verdana 或 Arial 是可以接受的替代品”会引起许多排版专家和粉丝的尖叫(他们中的许多人无论如何都厌倦了任何无论如何,Helvetica 风格的字体;-)
(也许是时候提出一个字体和版式堆栈交换论坛了?有一些与字体和版式相关的编程问题,但它们是)。几乎不是他们的核心......)。
In Windows Vista and 7, according to this page of docs, the default system font is
segoeUI
. Read the whole entry: it appears that you'll need other fonts to cover the gamut of languages...:Macs have been using Geneva for a long time (but as wikipedia says it's "not commonly available on other platforms", though the follow-on suggestion that "many find Verdana or Arial to be an acceptable substitute" would draw screams from many typography experts and fans (many of whom are in any case way bored with any Helvetica-inspired font anyway;-).
(Maybe it's time to propose a fonts-and-typography stackexchange forum? there are some programming issues connected with fonts and typography, but they're hardly core to them...).