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;
}
Grab the latest release file.
Link fonts from the RawGit CDN:
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazir-code-font@v1.1.4/dist/font-face.css" rel="stylesheet" type="text/css" />
and integrate the font into your CSS:
font-family: 'Vazir Code', monospaced;
You can install the font on macOS machines by tapping the caskroom/fonts repo:
brew tap caskroom/fonts
brew install font-vazir-code
It can be also installed in NixOS:
{
enableDefaultFonts = true;
fonts = with pkgs; [
vazir-code-font
];
fontconfig = {
defaultFonts = {
monospace = [ "Vazir Code"];
};
};
}
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 users could use kateb font manager, to install vazir-code font.
kateb install vazircode
or
kateb update vazircode