Quick overview of Google Noto Nastaleeq Urdu web font
2 minutes read
Google Web Fonts Early Access today released an experimental draft of the Noto Nastaleeq (NN) typeface. It's the first Urdu Nastaleeq font in Google's web font library.
As a desktop font
You can download it as a single TrueType font (TTF) file in a ZIP. The file is surprisingly small, about 289KB, though this is an experimental release and it may grow with later updates. Install it and you can use it in your desktop apps, and read websites that list it in their font-family.
As a web font
If you run a website in Urdu and want Nastaleeq as the default font-family, the details are on the Google Web Fonts Early Access page. Copy the CSS from there, or use this:
<link rel="stylesheet" href="//fonts.googleapis.com/earlyaccess/notonastaliqurdudraft.css" />
Or import it in your CSS:
@import url(http://fonts.googleapis.com/earlyaccess/notonastaliqurdudraft.css);
Then add Noto Nastaleeq to your font-family:
body { font-family: 'Noto Nastaliq Urdu Draft', serif; }
Reliability and issues
It's an experimental release, so I wouldn't rely on it fully yet:
- Character kerning, mapping and rendering still have serious problems.
- It may be missing glyphs that some Urdu words need.
Google engineer Behdad Esfahbod tried out Noto Nastaleeq Urdu and worked around some of the known issues with CSS. Even with his fixes, the character mapping and kerning problems remain, as the screenshot below shows.
Messed up character mapping and rendering with Noto Nastaleeq
The Noto project is on Google Code, and the known issues with Noto Nastaleeq are in its issue tracker. If you're testing the release, you can file a new issue there.
Alternatives
On the desktop there are good Naskh and Nastaleeq fonts for Urdu, but on the web the support is still poor, especially for Nastaleeq. If you want something more complete for the web, with a mix of Naskh and Nastaleeq, there are a few existing projects to try.
The best known come from the Center for Language Engineering (CLE), formerly the Center for Research in Urdu Language Processing (CRULP). They have several fonts in both Naskh and Nastaleeq under public licenses, but only Nafees Pakistani Web Naskh is optimised for the web. Taj Nastaleeq by Alqlm is another thorough Nastaleeq font, under a public license but for desktop only. The team is reportedly working on a web version.
If you just want to read and write Urdu (Naskh or Nastaleeq) on the web from your PC, try M Bilal's Pak Urdu Installer. It sets up your PC for Urdu in a few steps.
Conclusion
Noto Nastaleeq Urdu is a big step for Urdu on the web, and I'm looking forward to more updates from Google and a complete release.
PS. Don't take the TTF file to the Font Squirrel web font generator. It will refuse to convert it because Monotype has blacklisted the font. Duh!