[OLPC India] Marathi Font help + Glyph alignment feedback

Walter Bender walter.bender at gmail.com
Sun Oct 14 17:40:00 EDT 2007


It is interesting that the Sugar input fields are working properly
(keyboard and fonts displaying the Lohit fonts). But I haven't gotten
the font to work in Write or the Browser yet.

-walter

On 10/14/07, Arjun Sarwal <arjun at laptop.org> wrote:
> No luck with "Lohit Hindi" font either. I see unicode boxes. ( For example
> for the key 'h' , I see 092A , for 'j' 0930...etc)
>
> thanks,
> Arjun
>
>
> On 10/15/07, Sayamindu Dasgupta <sayamindu at gmail.com> wrote:
> > Hi Arjun,
> >
> > I took a quick look at the
> http://dev.laptop.org/~arjs/Marathi.zip that
> > you have uploaded and all the fonts  except for lohit_hi.ttf (Lohit
> > Hindi) seems to be non Unicode fonts, which are not supported.
> > Could you test by selecting Lohit Hindi in Write activity and writing
> > some text (ensuring that the corresponding Devanagari keyboard is
> > active?)
> >
> > Warm regards,
> > Sayamindu
> >
> >
> > On Mon, 2007-10-15 at 01:30 +0530, Arjun Sarwal wrote:
> > > Dear all,
> > >
> > > (1)
> > > Work is being done on a Devanagari keyboard and we are looking for
> > > feedback on Glyph alignment.  The keyboard layout wiki page is
> > >
> > > http://wiki.laptop.org/go/Devanagari_Keyboard
> > >
> > > and the discussion about the glyph alignment is here
> > >
> > > http://wiki.laptop.org/go/Talk:Devanagari_Keyboard
> > >
> > >
> > > (2)
> > > Work is being done to make Marathi font work. (and other Devanagari
> > > script based fonts) I have attached below some email conversation to
> > > give an idea of what all things we were trying. For all of yours'
> > > reference, I have put up the fonts zip folder and the 'in' xkb file
> > > (both mentioned in the email communication below) on the server. The
> > > links for both of them are respectively-
> > >
> > > http://dev.laptop.org/~arjs/Marathi.zip
> > > and
> > > http://dev.laptop.org/~arjs/in
> > >
> > >
> > > regards,
> > > Arjun
> > >
> > >
> ----------------------------------------------------------------------
> > > Email communication attached below (ref point 2)
> > >
> ----------------------------------------------------------------------
> > > I tried more fonts (.zip file of all fonts that I tried attached with
> > > this email) but couldn't get any to work - I get the four number boxes
> > > (unicode)
> > >
> > > Maybe I'm missing something...
> > >
> > >
> > > regards,
> > > Arjun
> > > - Hide quoted text -
> > >
> > >
> > > On 10/14/07, Arjun Sarwal <arjun at laptop.org> wrote:
> > >
> > >     I made the changes in xorg.conf .
> > >
> > >     Then I edited the in file (/usrshare/X11/xkb/symbols/in) and added
> > > those lines. (I have attached a copy of the in file with this email)
> > >
> > >     I then made a folder 'Marathi' and downloaded a few fonts from the
> > > web into that. (I have attached that folder as .zip with this email
> > > too. I put that folder in /usr/share/fonts/ and rebuilt the font
> > > cache.
> > >
> > >     Within write activity, it picks up those fonts as it displays them
> > > into the drop-down list but I still can't get Marathi to work - I
> > > still see those boxes with 4 letters (unicode).
> > >
> > >     Please let me know if I am missing anything here and also let me
> > > know other things that I could try out.
> > >
> > >
> > >     Thank you.
> > >     regards,
> > >     Arjun
> > >
> > >
> > >     On 10/13/07, Walter Bender < walter.bender at gmail.com> wrote:
> > >
> > >         I put more detailed instructions on the page:
> > >
> > >         http://wiki.laptop.org/go/Marathi_Keyboard
> > >
> > >         To use the XKB Marahti layout along with US layout, you may
> > > need to
> > >         edit /etc/X11/xorg.conf. This will make "us" the first and
> > > "in" a
> > >         second layout:
> > >
> > >         XkbLayout "us,in"
> > >         XkbVariant "olpc2,olpc"
> > >
> > >         However, since we haven't yet modified the default symbol
> > > table on the
> > >         laptop, you'll also have to add these lines to the end of
> > >         /usr/share/X11/xkb/symbols/in
> > >
> > >         partial alphanumeric_keys
> > >         xkb_symbols "olpc" {
> > >
> > >           include "in(deva)"
> > >           key <AE11> { [        minus,
> 0x1000903 ] };
> > >           key <AB10> { [        0x100092F,
> 0x100095F ] };
> > >           //language key
> > >           key <I219> {  [ISO_Next_Group  ,
> > > ISO_Prev_Group      ]     };
> > >         };
> > >
> > >         Please let me know how it works.
> > >
> > >         regards.
> > >
> > >         -walter
> > >
> > >         On 10/13/07, Arjun Sarwal < arjun at laptop.org > wrote:
> > >         > I tried ara layout and tried an Urdu font - it worked fine.
> > >         >
> > >         > As I understand, now I need a Marathi keyboard layout to try
> > > out the Marathi
> > >         > font(s)...
> > >         >
> > >         > I came across
> > >         >  http://wiki.laptop.org/go/Marathi_Keyboard
> > >         > Where can I get the kbd file for this keyboard layout?
> > >         >
> > >         >
> > >         > thank you,
> > >         > Arjun
> > >         >
> > >         >
> > >         >
> > >
> > > --
> > > Arjun Sarwal ( arjun at laptop.org )
> > > _______________________________________________
> > > India mailing list
> > > India at lists.laptop.org
> > > http://lists.laptop.org/listinfo/india
> > --
> > Sayamindu Dasgupta
> > http://sayamindu.randomink.org/ramblings
> >
> >
>
>
>
> --
> Arjun Sarwal ( arjun at laptop.org )
> _______________________________________________
> India mailing list
> India at lists.laptop.org
> http://lists.laptop.org/listinfo/india
>
>


-- 
Walter Bender
One Laptop per Child
http://laptop.org


More information about the India mailing list