Ubuntu Sans Mono

Monospace bởi Dalton Maag #1551 trên Google Fonts
Độ đậm

Giới thiệu Ubuntu Sans Mono

Ubuntu Sans Mono, crafted by Dalton Maag, brings the humanist design DNA of the Ubuntu typeface family to a monospaced coding context, with carefully adjusted metrics to ensure every character sits in an equal-width cell without sacrificing readability. The variable weight axis and Cyrillic, Greek, and extended Latin coverage make it a well-rounded choice for developers working in multilingual codebases. Its slightly warmer personality compared to purely geometric monospace fonts makes long coding sessions less visually fatiguing.

Bản đồ ký tự

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

Xem trước trình soạn thảo code

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(', ')}`);

Phân biệt ký tự

Bạn có thể phân biệt được chúng không? Font monospace tốt giúp phân biệt các ký tự tương tự dễ dàng.

Số 0 vs chữ O 0 O o
Số 1 vs l vs I 1 l I | !
Dấu ngoặc kép ' ' " " ` ´
Dấu ngoặc nhọn ( ) [ ] { } < >
Dấu câu . , : ; .. ...

Thác độ đậm (4)

400 Regular
500 Medium
600 SemiBold
700 Bold

Cách sử dụng

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

Chi tiết

Danh mục
Monospace
Độ đậm
4
Nghiêng
Tiếng Hàn
Nhà thiết kế
Dalton Maag
Giấy phép
OFL
Phiên bản
Độ phổ biến
#1551
Lượt tải
182

Sử dụng giấy phép

Sử dụng webĐược phép
In ấnĐược phép
Video / Phát sóngĐược phép
Đóng góiĐược phép
Nhúng vào ứng dụngĐược phép
Thương hiệu / LogoĐược phép
Sửa đổiĐược phép

OFL — Miễn phí cho sử dụng cá nhân và thương mại

Hỗ trợ ngôn ngữ

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

Phù hợp nhất cho

code_editors technical_docs web_apps branding ui_elements