An open API service indexing awesome lists of open source software.

https://github.com/abbassiddiqi/mehr

A simple package providing the Mehr Nastaliq Web font-face via npm and bower.
https://github.com/abbassiddiqi/mehr

bower-package font-face nastaliq npm-package

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# Mehr Nastaliq Web Font

[![npm version](http://img.shields.io/npm/v/mehr.svg?style=flat)](https://npmjs.org/package/mehr "View this project on npm")
[![npm](https://img.shields.io/npm/dt/mehr.svg)]()
[![font version](https://img.shields.io/badge/font_version-2.0-blue.svg)]()
[![font license](http://img.shields.io/badge/font_license-CC_BY--SA_4.0-brightgreen.svg?colorB=9b59b6)](https://creativecommons.org/licenses/by-sa/4.0/)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg?colorB=9b59b6)](http://opensource.org/licenses/MIT)

A simple package providing the [Mehr Nastaliq Web](https://mehrtype.com/product/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](https://www.npmjs.com/) installed, open up a terminal, navigate to your project root directory, and then execute:

```sh
$ npm install mehr --save
```

## Usage
```html

```

```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:

```css
h1 {
font-family: Mehr;
}

p.quote {
font-family: Mehr;
}
```

## License
This package is available under the [MIT license](https://github.com/abbassiddiqi/mehr/blob/master/LICENSE) and the Mehr Nastaliq Web font is available under the [Creative Commons Attribution-ShareAlike (BY-SA) License](https://creativecommons.org/licenses/by-sa/4.0/).