Google Sans Code

Monospace โดย Google, Universal Thirst #141 บน Google Fonts
น้ำหนัก

เกี่ยวกับ Google Sans Code

Google Sans Code is a monospace typeface developed by Google and Universal Thirst that shares the geometric DNA of Google Sans while meeting the functional demands of code display. The variable weight axis spans six steps, and remarkably, the typeface extends to Adlam, Canadian Aboriginal Syllabics, Cherokee, and Old Permic scripts alongside Latin and mathematical symbols. This makes it an unusually inclusive coding font for developers working in less-common writing systems.

แผนผังตัวอักษร

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

ตัวอย่าง Code Editor

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

การแยกแยะตัวอักษร

คุณสามารถแยกสิ่งเหล่านี้ออกจากกันได้ไหม? ฟอนต์ monospace ที่ดีทำให้ ตัวอักษรที่คล้ายกันแยกแยะได้ง่าย

ศูนย์ vs O 0 O o
หนึ่ง vs l vs I 1 l I | !
เครื่องหมายคำพูด ' ' " " ` ´
วงเล็บปีกกา ( ) [ ] { } < >
เครื่องหมายวรรคตอน . , : ; .. ...

น้ำตกน้ำหนัก (6)

300 Light
400 Regular
500 Medium
600 SemiBold
700 Bold
800 ExtraBold

วิธีใช้

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

รายละเอียด

หมวดหมู่
Monospace
น้ำหนัก
6
ตัวเอียง
เกาหลี
นักออกแบบ
Google, Universal Thirst
สัญญาอนุญาต
OFL
เวอร์ชัน
ความนิยม
#141
ดาวน์โหลด
200

การใช้สัญญาอนุญาต

ใช้บนเว็บอนุญาต
งานพิมพ์อนุญาต
วิดีโอ / ออกอากาศอนุญาต
บรรจุภัณฑ์อนุญาต
การฝังในแอปอนุญาต
แบรนด์ / โลโก้อนุญาต
การดัดแปลงอนุญาต

OFL — ฟรีสำหรับใช้ส่วนตัวและเชิงพาณิชย์

การรองรับภาษา

adlam canadian-aboriginal cherokee latin latin-ext math old-permic symbols symbols2 syriac vietnamese

เหมาะสำหรับ

code_editors technical_docs web_apps branding ui_elements