Magellan Linux

Annotation of /trunk/mozilla-firefox/patches/mozilla-firefox-1.0.7-pango-direction.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 585 byte(s)
-import

1 niro 153 --- mozilla/gfx/src/gtk/nsFontMetricsPango.cpp.foo 2005-03-28 14:20:47.000000000 -0500
2     +++ mozilla/gfx/src/gtk/nsFontMetricsPango.cpp 2005-03-28 14:23:45.000000000 -0500
3     @@ -1258,6 +1258,10 @@
4     mLTRPangoContext = pango_xft_get_context(GDK_DISPLAY(), 0);
5     mPangoContext = mLTRPangoContext;
6    
7     + // Make sure that this is set LTR - RTL text will be set using the
8     + // RTL context.
9     + pango_context_set_base_dir(mPangoContext, PANGO_DIRECTION_LTR);
10     +
11     // Set the color map so we can draw later.
12     gdk_pango_context_set_colormap(mPangoContext, gdk_rgb_get_cmap());
13