vazirharf
v34.0.2
Published
Vazirharf is a Persian/Arabic font fork of Vazirmatn that replaces Lam-Alef ligatures with contextual alternates.
Maintainers
Readme
Vazirharf Font فونت وزیرحرف
Vazirharf is a minimal fork of the original Vazirmatn font, created by the late Saber Rastikerdar. It is designed to split Lam-Alef ligatures into two distinct glyphs, enhancing compatibility with typing platforms like monkeytype, where highlighting individual letters (harf) within a ligature is essential, without compromising the visual integrity of the original design.
What’s New in Version 34.001
- Lam-Alef Redesign: All Lam-Alef combinations (e.g. لا، لآ، لأ، لإ، لٱ، ڵا...) now use two separate glyphs instead of one.
- Contextual Substitution: These combinations are handled through contextual alternates rather than static ligature glyphs.
- OpenType Features: Lam-Alef lookups previously defined under
'liga'and'rlig'have been removed. The new behavior is implemented via'rclt'(Required Contextual Alternates).
Released: 22 September 2025
Why was the name changed from Vazirmatn to Vazirharf?
The name change to Vazirharf was made to avoid confusion with the original font, which was widely distributed via package managers but is no longer being updated. The new name reflects both continuity and evolution:
- "Vazir": Preserves the legacy of the original font.
- "Harf": Means "letter" or "character", indicating a shift from single-glyph combinations to letter-based compositions.
Who Should Use Vazirharf?
Use Vazirharf:
- When you need to disable ligatures (because you want feedback for each character you type),but you still want to preserve the original ligature shape of Lam-Alef
لا. This is especially useful on typing platforms that do not rely on a traditional input box, such as monkeytype. You can clearly see the difference here. - If you require ongoing updates and support.
Install
Download
Grab the latest release zip package.
TTF files are in folder fonts/ttf. There is also a rounded dots version in folder Round-Dots/.
npm
npm install vazirharfor
pnpm add vazirharfGithub Package Registry
Add the following line to your preferred .npmrc specifying GitHub Packages URL and the namespace where the package is hosted.
@nadalaba:registry=https://npm.pkg.github.comThen you can use npm-cli to install packages hosted at @nadalaba from GPR
npm install @nadalaba/vazirharfor
pnpm add @nadalaba/vazirharfCDN
<link href="https://cdn.jsdelivr.net/gh/nadalaba/[email protected]/Vazirharf-font-face.css" rel="stylesheet" type="text/css" />*-font-face.css for other versions are in misc and Round-Dots folders.
body {
font-family: Vazirharf, sans-serif;
}Build
All weights other than Thin, Regular and Black are generated by interpolation method by fontmake library. See README.md in scripts/. All build steps (generating files) are done by scripts.
Thank you
- Vazirmatn
- fontforge
- fontmake
- fonttools
- DejaVu Fonts v2.35 (used for the first version)
License
This Font Software is licensed under the SIL Open Font License, Version 1.1. See OFL.txt.
Authors
See AUTHORS.txt.
Support
Visit the project website.
