bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett

This commit is contained in:
Jonathan Kew 2010-08-11 17:52:26 +01:00
parent 0ba687d883
commit 44d81202ab

View File

@ -633,10 +633,9 @@ gfxUniscribeShaper::InitTextRun(gfxContext *aContext,
}
if (FAILED(rv)) {
aTextRun->ResetGlyphRuns();
// Uniscribe doesn't like this font for some reason.
// Returning FALSE will make the gfxGDIFont discard this
// shaper and replace it with a "dumb" GDI one.
// Returning FALSE will make the gfxGDIFont retry with the
// "dumb" GDI one, unless useUniscribeOnly was set.
result = PR_FALSE;
break;
}