[Trac #884] Web activity has trouble with arabic and urdu fonts

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 20 22:30:57 EDT 2007


#884: Web activity has trouble with arabic and urdu fonts
----------------------------------------+-----------------------------------
 Reporter:  sj                          |        Owner:  marco  
     Type:  defect                      |       Status:  new    
 Priority:  blocker                     |    Milestone:  Trial-1
Component:  distro                      |   Resolution:         
 Keywords:  web activity fonts scripts  |  
----------------------------------------+-----------------------------------
Comment (by behdad):

 Replying to [comment:10 tomeu]:
 > Looks like the arab and urdu pages have wrong attributes in the html
 element:
 >
 > {{{<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
 dir="ltr">}}}
 >
 > Changing 'en' to 'ur' or 'ar' makes those fonts appear correctly. The
 'ltr' bit looks to be incorrect also, but haven't found any difference
 when setting to one value or another.

 This means that some of the fonts you ship have crappy Arabic glyphs.  We
 can hide them using fontconfig, but even better is to remove them.

 >
 > Please note that when you make this change, there's some trouble with
 some accented characters in the name of the languages in the menu on the
 right of the page. Any suggestion as to how to show correctly arab, urdu
 and west european encodings correctly in the same page?

 Use the xml:lang attribute (not lang).  dir="rtl" is recommended too.  It
 has effects on the text line alignment and some other stuff.

-- 
Ticket URL: <http://dev.laptop.org/ticket/884#comment:12>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list