--- mozilla/gfx/src/gtk/nsFontMetricsPango.cpp.pango-direction 2006-04-02 19:03:56.000000000 +0200 +++ mozilla/gfx/src/gtk/nsFontMetricsPango.cpp 2006-04-02 19:05:56.000000000 +0200 @@ -1254,6 +1254,10 @@ mLTRPangoContext = pango_xft_get_context(GDK_DISPLAY(), 0); mPangoContext = mLTRPangoContext; + // Make sure that this is set LTR - RTL text will be set using the + // RTL context. + pango_context_set_base_dir(mPangoContext, PANGO_DIRECTION_LTR); + // Set the color map so we can draw later. gdk_pango_context_set_colormap(mPangoContext, gdk_rgb_get_cmap());