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.
- Host: GitHub
- URL: https://github.com/abbassiddiqi/mehr
- Owner: abbassiddiqi
- License: other
- Created: 2018-02-06T13:08:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-15T10:58:27.000Z (over 2 years ago)
- Last Synced: 2025-03-20T01:06:31.503Z (about 1 year ago)
- Topics: bower-package, font-face, nastaliq, npm-package
- Language: CSS
- Size: 307 KB
- Stars: 13
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mehr Nastaliq Web Font
[](https://npmjs.org/package/mehr "View this project on npm")
[]()
[]()
[](https://creativecommons.org/licenses/by-sa/4.0/)
[](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.
## 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/).