Hi John,
I believe that you have a font problem that you can diagnose using a font editor. Both Arabic and Hebrew fonts often have much smaller letters per point size than Western fonts in order to leave room for above and below line diacritics.


In any event, it would help if you could tell us exactly which Arabic font you are using and which Western font you are comparing it with.
Regards,


 - yba


On Thu, 28 Apr 2005, Boncek, John wrote:

I have an application with internationalized text display working well,
mostly, using GTK 2.2.4, pango 1.2.5, and UTF-8.  It runs under MontaVista
Linux and uses gdk_draw_layout to draw all text.  However, I have a
problem with the application in Arabic.  Spaces between lines in
multi-line Arabic text are coming out much larger than in other scripts,
causing Arabic text to vertically run off areas that other scripts having
the same number of lines fit into.  The spacing looks almost like a blank
line is being interposed between each two valid lines.  The font
descriptions in use are just "Sans" plus various sizes, for instance "Sans
20".

I have verified that both Arabic and languages displaying correctly have
just one \n between lines.

I have tried using pango_layout_set_spacing to 0.  It made no difference.


-- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Reply via email to