[OLPC India] Marathi Font help + Glyph alignment feedback

Sayamindu Dasgupta sayamindu at gmail.com
Mon Oct 15 16:49:07 EDT 2007


On Sun, 2007-10-14 at 17:54 -0400, Walter Bender wrote:
> I just managed to get Write to render Deva text, but I used the DejaVu
> Sans. When I switch to Lohit, the rendering doesn't work properly.
> 

Arjun and myself had a joint debug session over IRC (thanks a ton Arjun,
for patiently answering all my questions :-), and we figured out that
somehow, fontconfig was incorrectly returning Deja Vu as the preferred
font for Devanagari (ie, Hindi or Marathi).
fc-match lang:mr.

This was finally fixed by deleting all the fontconfig caches (ie,
~/.fontconfig and /var/cache/fontconfig) and then rerunning fc-cache -f

After that Arjun still cannot get his XO to display Devanagari text -
I'm not sure why, since I can get both Browse and Write to work in the
616 build (using Qemu).
Screenshots:
http://sayamindu.randomink.org/images/olpc_write_hindi_sshot.png
http://sayamindu.randomink.org/images/olpc_browse_hindi_sshot.png

Walter: If possible, could you try deleting your fonts cache manually
and trying again ?

Warm regards,
Sayamindu

-- 
Sayamindu Dasgupta
http://sayamindu.randomink.org/ramblings



More information about the India mailing list