From 4a25bcdbab140247ed47926a04e8ce0d16b2126f Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Mon, 16 Jul 2007 23:45:16 +0000 Subject: [PATCH] Adding comment. git-svn-id: svn://10.0.0.236/trunk@230076 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/thebes/src/gfxPangoFonts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/gfx/thebes/src/gfxPangoFonts.cpp b/mozilla/gfx/thebes/src/gfxPangoFonts.cpp index d4a87a1dc9a..6f1af979e9f 100644 --- a/mozilla/gfx/thebes/src/gfxPangoFonts.cpp +++ b/mozilla/gfx/thebes/src/gfxPangoFonts.cpp @@ -864,6 +864,7 @@ gfxPangoFontGroup::InitTextRun(gfxTextRun *aTextRun, const gchar *aUTF8Text, CreateGlyphRunsXft(aTextRun, aUTF8Text + aUTF8HeaderLength, aUTF8Length - aUTF8HeaderLength); #else #if defined(ENABLE_XFT_FAST_PATH_8BIT) + // We need to always use Pango for RTL text, in case glyph mirroring is required if (aTake8BitPath && !aTextRun->IsRightToLeft()) { CreateGlyphRunsXft(aTextRun, aUTF8Text + aUTF8HeaderLength, aUTF8Length - aUTF8HeaderLength); return;