Roboto Mono

Monospace coding-mono 设计: Christian Robertson #11 在 Google Fonts 上
字重
7 (100–700)
样式
14
斜体
是
Variable font
是 (wght)
子集
6
Added to Google Fonts

Source: Google Fonts · Family last modified

字重

关于 Roboto Mono

这款 Roboto 家族的等宽成员保留了其同系字体的几何理性,同时遵循代码编辑器和终端环境所要求的固定宽度限制。它专为编程和数据展示而设计,通过可变轴提供 7 种字重,这在等宽字体中实属罕见的丰富范围。西里尔文、希腊文和越南文支持,使其对使用多种语言工作的开发者也十分实用。

字符表

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 | !
引号 ' ' " " ` ´
花括号 ( ) [ ] { } < >
标点符号 . , : ; .. ...

字重瀑布 (7)

100 Thin
Roboto Mono
200 ExtraLight
Roboto Mono
300 Light
Roboto Mono
400 Regular
Roboto Mono
500 Medium
Roboto Mono
600 SemiBold
Roboto Mono
700 Bold
Roboto Mono

使用方法

<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;500;600;700;400&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;500;600;700;400&display=swap');
font-family: 'Roboto Mono', monospace;
brew install --cask font-roboto-mono
On this page

详情

分类
Monospace
样式
coding-mono
字重
7
斜体
✓
韩文
✗
设计师
Christian Robertson
许可证
OFL
热度
#11
下载量
1390

许可用途

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

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

语言支持

cyrillic cyrillic-ext greek latin latin-ext vietnamese

最适合

Code editors Technical docs Web apps UI elements Body text

相关文章 Roboto Mono

Frequently Asked Questions

Is the Roboto Mono font free for commercial use?

Yes — Roboto Mono is an open-source font, free to use in personal and commercial projects.

What type of typeface is Roboto Mono?

Roboto Mono is a Monospace typeface. It is offered as a variable font.