From 55a8fb5bb579b46bcc5d6535f0c64136641528d0 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Mon, 16 Jul 2007 23:44:41 +0000 Subject: [PATCH] Fixing reftest failure, hopefully. r=pavlov git-svn-id: svn://10.0.0.236/trunk@230075 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/thebes/src/gfxPangoFonts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/gfx/thebes/src/gfxPangoFonts.cpp b/mozilla/gfx/thebes/src/gfxPangoFonts.cpp index c5d67b92c17..d4a87a1dc9a 100644 --- a/mozilla/gfx/thebes/src/gfxPangoFonts.cpp +++ b/mozilla/gfx/thebes/src/gfxPangoFonts.cpp @@ -864,7 +864,7 @@ gfxPangoFontGroup::InitTextRun(gfxTextRun *aTextRun, const gchar *aUTF8Text, CreateGlyphRunsXft(aTextRun, aUTF8Text + aUTF8HeaderLength, aUTF8Length - aUTF8HeaderLength); #else #if defined(ENABLE_XFT_FAST_PATH_8BIT) - if (aTake8BitPath) { + if (aTake8BitPath && !aTextRun->IsRightToLeft()) { CreateGlyphRunsXft(aTextRun, aUTF8Text + aUTF8HeaderLength, aUTF8Length - aUTF8HeaderLength); return; }