Ubuntu Mono

Monospace 设计: Dalton Maag #368 在 Google Fonts 上
字重
2 (400–700)
样式
4
斜体
是
Variable font
否
子集
6
Added to Google Fonts

Source: Google Fonts · Family last modified

字重

关于 Ubuntu Mono

Designed by Dalton Maag as part of the Ubuntu type family commissioned by Canonical, Ubuntu Mono brings the humanist character of the broader Ubuntu family into a fixed-width format. The design balances programmer practicality with distinctive personality — letterforms are slightly unorthodox compared to traditional monospace typefaces, making it feel fresh. Cyrillic, Greek, and their extended variants are fully supported.

字符表

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

字重瀑布 (2)

400 Regular
Ubuntu Mono
700 Bold
Ubuntu Mono

使用方法

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

详情

分类
Monospace
字重
2
斜体
✓
韩文
✗
设计师
Dalton Maag
许可证
UFL
热度
#368
下载量
1323

许可用途

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

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

语言支持

cyrillic cyrillic-ext greek greek-ext latin latin-ext

最适合

Code editors Technical docs Web apps UI elements Body text

Frequently Asked Questions

Is the Ubuntu Mono font free for commercial use?

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

What type of typeface is Ubuntu Mono?

Ubuntu Mono is a Monospace typeface.