Source Code Pro

Monospace coding-mono by Paul D. Hunt #59 on Google Fonts
Weight

About Source Code Pro

Là một phần của hệ thống type Source của Adobe, Source Code Pro được Paul D. Hunt thiết kế như một người bổ sung pitch cố định cho Source Sans — chia sẻ các tỷ lệ humanist của nó trong khi áp dụng các chiều rộng ký tự đều đặn cần thiết cho hiển thị code. Trục trọng lượng biến đổi trải dài tám điểm dừng là một thành tựu kỹ thuật đáng chú ý cho một typeface monospace, và hỗ trợ chữ viết rộng bao gồm Cyrillic, Hy Lạp và tiếng Việt làm cho nó trở thành một trong những font code có khả năng quốc tế nhất hiện có. Sự kết hợp của tính dễ đọc, tính trung lập và sự tinh tế typographic của nó đã làm cho nó trở thành lựa chọn phổ biến cho cả trình soạn thảo code và terminal emulator.

Character Map

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

Code Editor Preview

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

Character Disambiguation

Can you tell these apart? A good monospace font makes similar characters easy to distinguish.

Zero vs O 0 O o
One vs l vs I 1 l I | !
Quotes ' ' " " ` ´
Braces ( ) [ ] { } < >
Punctuation . , : ; .. ...

Weight Waterfall (8)

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

How to Use

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

Details

Category
Monospace
Style
coding-mono
Weights
8
Italic
Tiếng Hàn Quốc
Designer
Paul D. Hunt
License
OFL
Version
Popularity
#59
Downloads
1

License Usage

Web useAllowed
PrintAllowed
Video / BroadcastAllowed
PackagingAllowed
App embeddingAllowed
Brand / LogoAllowed
ModificationAllowed

OFL — Free for personal & commercial use

Language Support

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

Best For

code terminal technical

Typography Concepts

  • Monospace

    A typeface where every character occupies the same horizontal width. Essential for code editors and tabular data.

Articles About Source Code Pro