等宽字体Unicode字体 [英] Monospace Unicode font

查看:271
本文介绍了等宽字体Unicode字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我,包含大多数unicode字符的等宽字体如果不是,那么包含大部分欧洲语言字符集的等宽字体?

解决方案

现在几乎所有的字体至少包括拉丁文,希腊文和西里尔文。和足够的拉丁语来支持大多数欧洲语言。然而,不能有一个单一的字体覆盖Unicode的大部分,因为OpenType限于65536字形,更多的代码点分配到目前为止。另外一个常见的误解是,尽可能多的脚本使用单一字体是一件好事。实际上不是。请记住,要使字体正常工作,还必须具备其他功能:正确定义的变音符号支持(因此,将重音符号实际显示在基本字符的上方/下方,而不是在旁边的某个位置),预编码的字形一些脚本,所以渲染引擎可以正确使用它们,这包括阿拉伯文和印度文脚本,...

这是一个重大的事业,因此几乎不奇怪覆盖大部分Unicode的唯一字体是 last-resort 字体,打算在没有其他字体存在显示时使用。作为后备机制,但从来没有作为第一选择。首选的方法实际上是让渲染引擎对字体进行脚本支持,而不是将所有字体都塞进一个字体中。另请参阅迈克尔·卡普兰(Michael Kaplan)的作品: Arial Unicode MS有效地[咬|吮| blow但是,如果您只是在寻找字形支持:




  • Lucida Sans Unicode
  • Fixedsys Excelsior

  • Everson Mono

  • DejaVu Sans Mono
  • li>
  • Roboto Mono



这些字体已经很大了。但是如上所述,不要指望复杂脚本或排版的正确工作。


Can anybody please tell me the monospace font that covers most of the unicode characters If not then a monospace font that contains most of the european language character set ?

解决方案

Nearly every font nowadays covers at least Latin, Greek and Cyrillic. And enough of Latin to support most European languages.

However, there can't be a single font covering most of Unicode, as OpenType is limited to 65536 glyphs and there are more code points assigned so far. Also it's a common misconception that a single font for as many scripts as possible is a Good Thing™. It's not, actually. Remember that for the font to work other things must be in place as well: properly defined diacritics support (so combining accents actually appear above/below the base characters and not somewhere next to them), precomposed glyphs for some scripts so the rendering engine can use them properly, this includes Arabic and and Indic scripts, ...

It's a major undertaking and as such it's not surprising that pretty much the only fonts covering large portions of Unicode are last-resort fonts, intended to be used when no other font exists to display something. As a fallback mechanism, but never as a first choice. The preferred way is actually to let the rendering engine sort out script support for fonts and not try to cram it all into a single font. See also Michael Kaplan's take on this: Arial Unicode MS effectively [bites|sucks|blows] .

Still, if you're only looking for glyph support:

  • Lucida Sans Unicode
  • Fixedsys Excelsior
  • Everson Mono
  • DejaVu Sans Mono
  • Roboto Mono

Those fonts are pretty large already. But as noted above, don't count on correct workings of complex scripts or typography.

这篇关于等宽字体Unicode字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆