Skip to content

A simple package providing the Mehr Nastaliq Web font-face via npm and bower.

License

Notifications You must be signed in to change notification settings

ansarinaeemakhtar/mehr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mehr Nastaliq Web Font

npm version npm font version MIT license

A simple package providing the Mehr Nastaliq Web font-face. The font was created by Muhammad Zeeshan Nasar following the calligraphy of Nasrullah Mehr, and licensed with the Creative Commons Attribution-ShareAlike license.

mehr sample

Features

  • Faster rendering speed as compared to other Nastaliq fonts
  • OTF Font file size reduced up to an amazing 108 kb only
  • Best look according to National Calligraphic Standards
  • Open Type, character based, Lahori Nastaliq Font
  • Aaraab and marks support
  • Limited Kashida support
  • Reduced line height

Installing

Assuming you have NodeJS, NPM and Bower installed globally just open up a terminal, navigate to your projects root directory and then execute

# install via NPM
$ npm install mehr --save

# install via Bower
$ bower install mehr --save

Usage

<!-- Just add the following stylesheet link to your html file: -->
<link rel="stylesheet" href="https://unpkg.com/mehr/mehr-font.css">
/* or import font stylesheet from within your css file */
@import url(//unpkg.com/mehr/mehr-font.css);

Then use provided font-face it in your CSS:

h1 {
  font-family: Mehr;
}

p.quote {
  font-family: Mehr;
}

License

This package is available under the MIT license and the Mehr Nastaliq Web font is available under the Creative Commons Attribution-ShareAlike (BY-SA) License.

About

A simple package providing the Mehr Nastaliq Web font-face via npm and bower.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%