Comment 5 for bug 560114

Revision history for this message
Shlomil (shlomister) wrote :

It seems like when commenting out the following line (line 85 at gtk_ui.py) :
   layout.set_width(allocation.width * pango.SCALE)
The Hebrew text is displayed perfectly.

Evan, the fix you published deals with a vertical fitting issue while this bug is about horizontal truncating of the text.

if you want to keep that line on non-rtl languages we can always do something like the following:

85,86c85
< if gtk.widget_get_default_direction() != gtk.TEXT_DIR_RTL:
< layout.set_width(allocation.width * pango.SCALE)
---
> layout.set_width(allocation.width * pango.SCALE)