mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
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:
parent
0ba687d883
commit
44d81202ab
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user