.. | ||
Farsi-Digits-Without-Latin | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
Vazir-Bold.eot | ||
Vazir-Bold.ttf | ||
Vazir-Bold.woff | ||
Vazir-Bold.woff2 | ||
Vazir-Light.eot | ||
Vazir-Light.ttf | ||
Vazir-Light.woff | ||
Vazir-Light.woff2 | ||
Vazir-Medium.eot | ||
Vazir-Medium.ttf | ||
Vazir-Medium.woff | ||
Vazir-Medium.woff2 | ||
Vazir-Thin.eot | ||
Vazir-Thin.ttf | ||
Vazir-Thin.woff | ||
Vazir-Thin.woff2 | ||
Vazir.eot | ||
Vazir.ttf | ||
Vazir.woff | ||
Vazir.woff2 |
Vazir-Font
A Persian (Farsi) Font
فونت فارسی وزیر
صفحه دریافت (دانلود) بسته فونت شامل فایل های ttf,woff,eot
متن نمونه:
با تشکر از برنامه FontForge
بر مبنای فونت DejaVu Sans 2.35
نسخه های بدون حروف لاتین یا تمام ارقام فارسی درون بسته فشرده موجود میباشد.
طریقه استفاده در صفحات وب:
کد زیر را در قسمت style یا فایل css وارد نمایید:
@font-face {
font-family: Vazir;
src: url('Vazir.eot');
src: url('Vazir.eot?#iefix') format('embedded-opentype'),
url('Vazir.woff') format('woff'),
url('Vazir.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: Vazir;
src: url('Vazir-Bold.eot');
src: url('Vazir-Bold.eot?#iefix') format('embedded-opentype'),
url('Vazir-Bold.woff') format('woff'),
url('Vazir-Bold.ttf') format('truetype');
font-weight: bold;
}
@font-face {
font-family: Vazir;
src: url('Vazir-Light.eot');
src: url('Vazir-Light.eot?#iefix') format('embedded-opentype'),
url('Vazir-Light.woff') format('woff'),
url('Vazir-Light.ttf') format('truetype');
font-weight: 300;
}
Install
Download
Grab the latest release file.
Bower
bower install vazir-font --save
npm
npm install vazir-font
Fonts will be copied to npm_modules/vazir-font/dist
directory
CDN
Link fonts from the RawGit CDN:
<link href="https://cdn.rawgit.com/rastikerdar/vazir-font/v[X.Y.Z]/dist/font-face.css" rel="stylesheet" type="text/css" />
Replace [X.Y.Z] with the latest version (e.g. 16.1.0) and integrate the font into your CSS:
font-family: 'Vazir', sans-serif;
Homebrew
You can install the font on macOS machines by tapping the caskroom/fonts repo:
brew tap caskroom/fonts
brew install font-vazir
Arch Linux
Arch user's could use vazir-fonts package from AUR repository to install vazir font. Use your favourite AUR helper like pacaur or yaourt for installing package:
pacaur -S vazir-fonts