A Persian (Farsi) Font - فونت (قلم) فارسی شبنم
Clone or download
Latest commit b0de3e3 Jun 30, 2018
Permalink
Failed to load latest commit information.
dist v4.0.0 Jun 30, 2018
source v4.0.0 Jun 30, 2018
.gitattributes v2.0 Oct 1, 2017
.gitignore v2.0 Oct 1, 2017
CHANGELOG.md v4.0.0 Jun 30, 2018
LICENSE v1.0.0 Sep 22, 2016
README.md v4.0.0 Jun 30, 2018
bower.json v4.0.0 Jun 30, 2018
build.conf v4.0.0 Jun 30, 2018
package.json v4.0.0 Jun 30, 2018

README.md

Shabnam Font

A Persian (Farsi) Font

npm

فونت (قلم) فارسی شبنم

نمایش فونت

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

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

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

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

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

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

Install

Grab the latest release file.

bower

bower install shabnam-font --save

npm

npm install shabnam-font --save

yarn

yarn add shabnam-font --save

Fonts will be copied to npm_modules/shabnam-font/dist directory

Or RawGit CDN:

<link href="https://cdn.rawgit.com/rastikerdar/shabnam-font/v[X.Y.Z]/dist/font-face.css" rel="stylesheet" type="text/css" />

Replace [X.Y.Z] with the latest version (e.g. 4.0.0) and integrate the font into your CSS:

font-family: 'Shabnam', sans-serif;

Arch Linux

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

pacaur -S shabnam-fonts