Giter Club home page Giter Club logo

vazir-font's Introduction

Vazir-Font

A Persian (Farsi) Font

Build Status npm version

فونت فارسی وزیر

نمایش فونت

صفحه دریافت (دانلود) بسته فونت شامل فایل های 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 node_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. 18.0.1) 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

Ubuntu

An unofficial PPA is available for installing Vazir and other free Persian fonts. It only works on Ubuntu 18.04 and higher. Open a Terminal and enter these commands:

sudo add-apt-repository ppa:blacksuited/fonts
sudo apt install fonts-vazir

vazir-font's People

Contributors

rastikerdar avatar behnoodk avatar mkermani144 avatar morealaz avatar par6n avatar farskid avatar mamal72 avatar sepehr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.