英特尔 One Mono 字体
Intel One Mono font

原始链接: https://github.com/intel/intel-one-mono

Intel One Mono 是一个免费、开源的等宽字体家族,与低视力开发者共同设计,以提高可读性、减少眼疲劳并最小化编码错误。支持超过 200 种拉丁文脚本语言,提供 Light、Regular、Medium、Bold 四种字重及匹配的斜体。可通过发布版本安装;桌面使用 OTF 或 TTF,移动使用 TTF,网页使用 WOFF/WOFF2。推荐最小值为印刷 7 pt、屏幕 9 px,其中 TTF/WOFF/WOFF2 已 hinting。功能包括编程连字 (ss01)、箭头比较 (ss02)、www 连字 (ss03)、备用 3 (ss04)、抬高冒号 (ss11/ss12/salt)、语言支持、上下标、分子/分母及分数。连字默认关闭。可编辑的 UFO 源文件包含实例与母版;OTF 使用 PostScript 源,TTF/WOFF/WOFF2 使用 TrueType 源。母版需要插值,hinting 源文件单独提供。可通过 issues 提交请求。

Hacker News 用户讨论了 Intel One Mono,一种等宽字体。评论者称赞其对低视力的可读性和终端可用性,注意到诸如短尾小写 e 和有用的箭头符号等细节。批评包括 @ 符号过细和花括号过于尖锐。有些人质疑是否需要又一款大公司等宽字体,而另一些人则将其誉为最喜欢的终端字体。该主题还包含关于代码编辑器、LLM 生成的输出以及未来开发者不手动输入代码的笑话。
相关文章

原文

Intel One Mono Preview Image

Introducing Intel One Mono, an expressive monospaced font family that’s built with clarity, legibility, and the needs of developers in mind.

It’s easier to read, and available for free, with an open-source font license.

Identifying the typographically underserved low-vision developer audience, Frere-Jones Type designed the Intel One Mono typeface in partnership with the Intel Brand Team and VMLY&R, for maximum legibility to address developers' fatigue and eyestrain and reduce coding errors. A panel of low-vision and legally blind developers provided feedback at each stage of design.

Intel One Mono also covers a wide range of over 200 languages using the Latin script. The Intel One Mono fonts are provided in four weights — Light, Regular, Medium, and Bold — with matching italics, and we are happy to share both an official release of fonts ready to use as well as editable sources.

To install the fonts, please use the provided builds under Releases. Please refer to your software’s documentation for how to activate and use these fonts.

Activating the Fonts in Code Editors

  • VSCode - In Settings, search Font Family, then specify Intel One Mono
  • Sublime Text - Go to Sublime Text -> Preferences -> Settings and set font_face to Intel One Mono
  • IntelliJ Platform - Go to File -> Settings -> Editor -> Font and set Font to Intel One Mono
  • We recommend the .otf or .ttf format for desktop use.
  • The .ttf files are also well suited for mobile apps.
  • The .woff and .woff2 fonts are optimized for web use.

Screen Rendering and Size Ranges

We recommend using these fonts at 7 points and larger in print, 9 pixels and larger on screen. The .ttf, .woff and .woff2 fonts provided in the official release have been manually optimized for screen display, improving clarity and legibility, especially on Windows platforms.

Available OpenType Features

Outside of the default characters, there are a few extra features that are accessible in some applications, as well as via CSS:

  • Programming Ligatures: To use programming ligatures, activate the ss01 feature (Stylistic Set #1). Additional refinements are available via ss02 and ss03: Stylistic Set #2 switches the <= and >= combinations to arrow forms (math contractions being the default otherwise), and Stylistic Set #3 additionally activates a “www” ligature.
  • Alternate three: New in release 1.5. Alternate form for three added. The round top three, numerator, denomenator, superior and inferior can be activated with stylistic Set #4.
  • Raised Colon: The colon is automatically raised in operators, to align with math symbols. For non-programming contexts, the raised colon can be applied contextually between numbers or activated generally. The contextual option is available via ss11 (Stylistic Set #11); for the global switch use ss12 (Stylistic Set #12) or salt (Stylistic Alternates).
  • Language Support: ccmp and locl features ensure correct display across a wide range of languages. These are usually active by default. We recommend setting the language tag/setting in your software to the desired language for best results.
  • Superior/superscript and inferior/subscript figures are included via their Unicode codepoints, or you can produce them from the default figures via the sups (Superscript) and subs/sinf (Subscript) features.
  • Fraction numerals are similarly available via the numr (Numerator) and dnom (Denominator) features. A set of premade fractions is also available in the fonts.

Activating Programming Ligatures in Code Editors

Programming ligatures are not active by default. To use them, activate the stylistic sets of your preference in your code editor. For example:

  • VSCode - In Settings, add "editor.fontLigatures": "'ss01'"
  • Sublime Text - In Settings, add "font_options": ["ss01"]

Viewing and Editing Sources

UFO Source Files: Instances

You will find editable sources in the sources directory. The instances subfolder contains separate source files for each style of the typeface. Sources are provided in .ufo files, which contain complete artwork, links to OpenType features provided in separate .fea files, as well as meta information like naming and vertical alignments for each style of the typeface.

These are not installable fonts, but rather the source files that produce them: UFO (Unified Font Object) is an open, human-readable font source file format; you can find the file spec here. These sources were created using RoboFont. Many other font editors will also be able to open .ufo files; we recommend using RoboFont version 4.4.

For instances, you will find postscript and truetype subfolders; these contain separate source files for the .otf format and the .ttf/.woff/.woff2 files respectively. Since the format for the outline drawings differs between these sets of formats, for best results we recommend using the postscript sources to create .otf fonts, and the TrueType sources to create .ttf, .woff, or .woff2 fonts.

After making your desired edits, you can generate installable fonts directly from the font editor using its “Generate Font” functionality. If you use RoboFont, any install options should default to the ideal settings, but here they are for reference:

  • For .otf builds, we recommend activating “Decompose” as well as “Autohint” options.
  • For .ttf, .woff and .woff2 builds, we recommend activating the “Autohint” option only (see note on hinting below).
  • In any case, we recommend using the “Release Mode” setting for best results.

UFO Source Files: Masters

If you would like to apply edits across multiple weights, a more advanced yet potentially efficient way is to edit the masters. These are special sources that describe the extreme points in the design space — the lightest and heaviest weights for both roman and italic designs.

After editing masters, you will need to rerun interpolation to generate individual weights and styles within that design space. This requires the .designspace files enclosed with the masters. The designspace format is an open, XML-based format that describes interpolation spaces (format specification for reference). For a RoboFont-based workflow we recommend Skateboard for interpolation; you can also use the free DesignSpaceEditor extension to view and edit these files.

Note that masters are only available in postscript format, so they will be best for creating .otf fonts. If you need to make TrueType based builds from the masters, we recommend QuadraticConverter for best quality conversion of the curves before generating .ttf, .woff, or .woff2 files; mind that the results will not match the provided instances precisely.

NB: The prepared instances contain some additional data that cannot be maintained through interpolation. For best results, compare new interpolations to the existing instance sources and update them accordingly, specifically the information accessible through the Font Info panels.

For TrueType-based formats (.ttf, .woff, .woff2 files), the official releases are manually optimized for screen rendering. These “hinting” sources are stored separately from the .ufo files, which do not contain any TrueType hinting information. When rebuilding TrueType-based formats, we recommend using the “autohint” option to achieve reasonable, though not identical screen rendering.

If you would like to access and edit manual hinting instructions, you will find these in the separate set of source files under hinting/truetype hinting source. These special TTF files will be viewable and editable using Microsoft VTT.

If you have requests for edits or additions to the official releases, please open issues and we will try to accomodate them.

联系我们 contact @ memedata.com