mehr

2.0.1 • Public • Published

Mehr Nastaliq Web Font

npm version npm font version font license 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.

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 npm installed, open up a terminal, navigate to your project root directory, and then execute:

$ npm install mehr --save

Usage

<!-- 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 the provided font-face 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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i mehr

      Weekly Downloads

      526

      Version

      2.0.1

      License

      MIT

      Unpacked Size

      242 kB

      Total Files

      8

      Last publish

      Collaborators

      • abbassiddiqi