зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1730772: Do not use GDI classic rendering on transparent DrawTargets (mainly Canvas). r=jfkthame,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D125745
This commit is contained in:
Родитель
2120c052a0
Коммит
7ff5008d03
|
@ -752,7 +752,8 @@ already_AddRefed<ScaledFont> gfxDWriteFont::GetScaledFont(
|
|||
}
|
||||
if (!mAzureScaledFont) {
|
||||
gfxDWriteFontEntry* fe = static_cast<gfxDWriteFontEntry*>(mFontEntry.get());
|
||||
bool forceGDI = GetForceGDIClassic();
|
||||
bool forceGDI =
|
||||
aTarget->GetFormat() == SurfaceFormat::B8G8R8X8 && GetForceGDIClassic();
|
||||
bool useEmbeddedBitmap =
|
||||
(gfxVars::SystemTextRenderingMode() == DWRITE_RENDERING_MODE_DEFAULT ||
|
||||
forceGDI) &&
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[text-overflow-027.html]
|
||||
expected:
|
||||
if (os == "win"): FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[first-line-bidi-001.html]
|
||||
fuzzy:
|
||||
if (os == "linux"): maxDifference=63;totalPixels=0-26
|
||||
if (os == "win"): maxDifference=63;totalPixels=0-44
|
||||
if (os == "win"): maxDifference=137;totalPixels=0-84
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[first-line-bidi-002.html]
|
||||
fuzzy:
|
||||
if (os == "mac"): maxDifference=99-120;totalPixels=0-18
|
||||
if (os == "win"): maxDifference=13-29;totalPixels=0-18
|
||||
if (os == "win"): maxDifference=143;totalPixels=0-41
|
||||
|
|
Загрузка…
Ссылка в новой задаче