Inconsolata

Monospace 设计: Raph Levien #35 在 Google Fonts 上
字重

关于 Inconsolata

Raph Levien designed Inconsolata in the tradition of distinguished fixed-width type such as Consolas and Letter Gothic, aiming for the kind of humanist clarity rarely found in monospace typefaces. Its variable font implementation adds both weight and width axes — a significant advantage for coding environments where users customize font rendering — and Vietnamese script support rounds out its practical utility. The letterforms are clean without feeling sterile, making it pleasant for long coding sessions and technical documentation alike.

字符表

AaBbCcDdEeFfGgHhIiJjKkLlMm
NnOoPpQqRrSsTtUuVvWwXxYyZz
0123456789
!@#$%^&*()_+-=[]{}|;':",.<>?

代码编辑器预览

example.js
const fibonacci = (n) => {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
};

// Generate first 10 numbers
const results = Array.from(
  { length: 10 },
  (_, i) => fibonacci(i)
);

console.log(`Result: ${results.join(', ')}`);

字符区分

您能分辨这些字符吗?好的等宽字体能让相似字符易于区分。

零 vs O 0 O o
一 vs l vs I 1 l I | !
引号 ' ' " " ` ´
花括号 ( ) [ ] { } < >
标点符号 . , : ; .. ...

字重瀑布 (8)

200 ExtraLight
300 Light
400 Regular
500 Medium
600 SemiBold
700 Bold
800 ExtraBold
900 Black

使用方法

<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;500;600;700;800;900;400&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;500;600;700;800;900;400&display=swap');
font-family: 'Inconsolata', monospace;
brew install --cask font-inconsolata

详情

分类
Monospace
字重
8
斜体
韩文
设计师
Raph Levien
许可证
OFL
版本
热度
#35
下载量
205

许可用途

网页使用允许
印刷允许
视频 / 广播允许
包装允许
应用嵌入允许
品牌 / 标志允许
修改允许

OFL — 个人和商业使用均免费

语言支持

latin latin-ext vietnamese

最适合

code_editors technical_docs web_apps ui_elements presentations

相关文章 Inconsolata