vazir-code-font

(Discontinued) - A Persian (farsi) Monospaced Font for coding - فونت (قلم) فارسی وزیرکد برای کد نویسی


Keywords
font, persian, monospaced
License
SAX-PD
Install
bower install vazir-code-font#v1.0.2

Documentation

Vazir-Code-Font

A Persian (Farsi) Monospaced Font

توسعه این پروژه متوقف و بایگانی شده است. این موضوع شامل تمامی ابعاد پروژه از طراحی گرفته تا رفع اشکال می‌شود.

فونت فارسی وزیرکد از نوع Monospaced یا تک‌فاصله ترکیب شده با فونت‌های Inconsolata و Hack

نمایش فونت
صفحه دریافت (دانلود) بسته فونت شامل فایل‌های ttf,woff,eot

با تشکر از برنامه FontForge

بر مبنای فونت وزیر

طریقه استفاده در صفحات وب:

کد زیر را در قسمت style یا فایل css وارد نمایید:

@font-face {
  font-family: Vazir Code;
  src: url('Vazir-Code.eot');
  src: url('Vazir-Code.eot?#iefix') format('embedded-opentype'),
       url('Vazir-Code.woff') format('woff'),
       url('Vazir-Code.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: Vazir Code Hack;
  src: url('Vazir-Code-Hack.eot');
  src: url('Vazir-Code-Hack.eot?#iefix') format('embedded-opentype'),
       url('Vazir-Code-Hack.woff') format('woff'),
       url('Vazir-Code-Hack.ttf') format('truetype');
  font-weight: normal;
}

pre, code {
  font-family: 'Vazir Code', 'Vazir Code Hack', monospaced;
}

Install

Download

Grab the latest release file.

CDN

Link fonts from the RawGit CDN:

<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazir-code-font@v1.1.2/dist/font-face.css" rel="stylesheet" type="text/css" />

and integrate the font into your CSS:

font-family: 'Vazir Code', monospaced;

Homebrew

You can install the font on macOS machines by tapping the caskroom/fonts repo:

brew tap caskroom/fonts
brew install font-vazir-code

NixOS

It can be also installed in NixOS:

{
  enableDefaultFonts = true;
  fonts = with pkgs; [
    vazir-code-font
    ];
  fontconfig = {
    defaultFonts = {
      monospace = [ "Vazir Code"];
    };
  };
}

Arch Linux

Arch user's could use vazir-code-fonts package from AUR repository to install vazir-code font. Use your favourite AUR helper like pacaur or yaourt for installing package:

pacaur -S vazir-code-fonts

GNU/Linux

gnu/linux users could use kateb font manager, to install vazir-code font.

kateb install vazircode
or
kateb update vazircode