Tuesday, September 08, 2009

Mac Malayalam

The promised Mac Malayalam font is available here for your reading pleasure.

It all (re)started when my brother recently bought a macbook pro. Used to the luxury of reading flawlessly rendered Malayalam unicode in Windows and Linux, the Mac experience must have been a little disappointing. The trouble is that Mac OS X doesn't fully support the advanced typography features in OpenType fonts, but instead expects you to use AAT fonts. Unfortunately, the only Unicode Malayalam fonts around (so far) have been all only OpenType.

Now, unlike in 2005, there's a little more information online about how to go about fixing the situation. If you have an (OpenType) font with all the requisite glyphs, then you just need to create a morph input file (MIF), and use tools provided by Apple to merge it into the original font and get an AAT font. Creating the MIF, with the documentation available online, seemed feasible. In particular, we came across Kedage, which suggested that it shouldn't be too hard to do it over a weekend.

Our first idea was to work with Kevin's pioneering Unicode font Anjali. Unfortunately, it turned out that Anjali doesn't explicitly contain all the glyphs it needs, but instead creates most of them by appropriately combining pairs of glyphs. It wasn't clear how to get that working with AAT. So we turned to Rachana (which thankfully was released under the GNU GPL a few years back). (In fact Anjali itself was based on Rachana, from before it became a Unicode font.) The new font RachanaMac.ttf is also, of course, under the GPL.

Finally, we took this opportunity to revive the old Malayalam keyboard. As it turned out, the keyboard was in great shape, and there was not much to alter (except for adding a GPL notice). We used inkscape to put together an icon (though the 16x16 version doesn't look that great) for the Malayalam keyboard. The above logo for the macmalayalam webpage was also created using inkscape.

[Update (Oct 14, 2009): I just came across another font via a Wikipedia article. From a quick look, their font does seem to work quite well, but it doesn't have nearly as many glyphs as Rachana has. So, our font effort is not entirely wasted :) ]

[Update (Jun 24, 2010): Apple recently released OS X 10.6.4 and it seems like it comes with a Malayalam unicode font! Unfortunately it is a bit buggy, and not the most beautiful of fonts.

But I am told that the iPhone withe new iOS4 renders it much better.]

[Update (Feb 25, 2011): Another set of fonts from Apple, for a variety of Indic languages including Malayalam, is available now (via m10lmac). While the Malayalam font doesn't have as many glyphs as Rachana (it has some conjuncts, but leaves out several including ones involving the "u" vowel symbol), it has a bold version.]


seema said...

Hey Manoj,

Great effort and thanks for the font :) Been waiting for this for sometime!

Abhilash said...

Awesomeness!!! The font worked a treat (I am using Mac OS X 10.6/ Firefox 3.5.2).
You guys rock!!!

Anonymous said...

I was struggling to get Malayalam font for my MAC ,it is perfectly working in my Mac OS X 10.6.1 leopard Snow (64bit) thank you very much .

Sajan Mullachery said...

I was struggling to get Malayalam font for my MAC ,it is perfectly working in my Mac OS X 10.6.1 leopard Snow (64bit) thank you very much .

Bijoy said...

Dear Sir/Madam

We are a group of youngsters from cochin who are currently doing a website on kerala. which we plan to make the most informative resource available. our website is http://enchantingkerala.org .

you could find more about us and our project here: http://enchantingkerala.org/about-us.php

we came across your website:http://melam.blogspot.com/

We found your website interesting and noted that the content in your webpage and ours could complement each other. So we kindly request you to have a look at our website and provide a link to it if you think its worth linking to. Ofcourse we'll reciprocate by adding a link to your webpage from ours.

as you can see ours is a collaborative venture wherein many people from different walks of life participate. we also welcome you to be a part of our site, you could help the project by writing articles, providing photos and videos, subscribing to our content and also by recommending it to your friends and relatives.

pls free to contact me for any further clarification needed or even if its just to say hi.

warm regards

For Enchanting Kerala


Format to be used for linking to Enchanting Kerala.org

Kerala's Finest Portal : Kerala Information