Fira Code

Monospace coding-mono بواسطة Nikita Prokopov #258 على Google Fonts
الوزن

حول Fira Code

Fira Code خط Monospace من Nikita Prokopov يوسّع Fira Mono من Mozilla بمجموعة مختارة بعناية من الروابط البرمجية، محوِّلًا تسلسلات متعددة الأحرف مثل الأسهم والمقارنات والمعاملات إلى رموز واحدة انسيابية. يتيح محور الوزن المتغيّر (wght) للمطورين ضبط سماكة السطر دون تبديل ملفات الخط، ويغطي الخط الأبجديتين السيريلية واليونانية إضافة إلى نطاقات رمزية موسّعة. إنه الخيار المفضل لمحررات الكود ومحاكيات الطرفية حيث يُدعم عرض الروابط البرمجية.

خريطة الأحرف

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

وصلات الترميز

=> != !== === >= <= -> ->> |> <| :: && || ++ -- ** // /* */ ?? << >> ?. ...

تمييز الأحرف

هل يمكنك التمييز بينها؟ الخط monospace الجيد يجعل الأحرف المتشابهة سهلة التمييز.

الصفر مقابل O 0 O o
الواحد مقابل l مقابل I 1 l I | !
علامات الاقتباس ' ' " " ` ´
الأقواس ( ) [ ] { } < >
علامات الترقيم . , : ; .. ...

تدرج الأوزان (5)

300 Light
400 Regular
500 Medium
600 SemiBold
700 Bold

كيفية الاستخدام

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

التفاصيل

الفئة
Monospace
النمط
coding-mono
الأوزان
5
مائل
الكورية
المصمم
Nikita Prokopov
الترخيص
OFL
الإصدار
الشعبية
#258
التنزيلات
729

استخدام الترخيص

الاستخدام على الويبمسموح
الطباعةمسموح
الفيديو / البثمسموح
التغليفمسموح
التضمين في التطبيقاتمسموح
العلامة التجارية / الشعارمسموح
التعديلمسموح

OFL — مجاني للاستخدام الشخصي والتجاري

دعم اللغات

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

الأنسب لـ

code_editors technical_docs web_apps ui_elements presentations

مفاهيم الطباعة

  • Ligature

    Two or more letters combined into a single glyph, like 'fi' or 'fl'. Common in serif fonts and coding fonts (e.g., Fira Code).

  • Monospace

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

  • OpenType

    A font format developed by Microsoft and Adobe supporting advanced typographic features like ligatures, alternates, and variable axes.

مقالات حول Fira Code

Frequently Asked Questions

Is the Fira Code font free for commercial use?

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

What type of typeface is Fira Code?

Fira Code is a Monospace typeface. It is offered as a variable font.

What does Fira Code support?

Fira Code primarily supports text. It includes ligature support.