JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q74145F
  • License MIT

Mehr Nastaliq Web Font

Package Exports

  • mehr

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mehr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Mehr Nastaliq Web Font

npm version npm font version MIT license

A simple package providing the Mehr Nastaliq Web fontface. The font was created by Muhammad Zeeshan Nasar following the calligraphy of Nasrullah Mehr.

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 link provided CSS file to your page:

<link rel="stylesheet" href="https://unpkg.com/mehr/mehr-font.css">

or import it via your css file

@import url(//unpkg.com/mehr/mehr-font.css);

Then use provided font-faces 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 License