зеркало из https://github.com/mozilla/pjs.git
Bug 633040 - [regression] Text rendering looks scaled; r=cjones a=blocking-final/fennec
This commit is contained in:
Родитель
da70655f49
Коммит
c0c1ff3c3b
|
@ -555,8 +555,8 @@ BasicThebesLayer::Paint(gfxContext* aContext,
|
|||
|
||||
{
|
||||
gfxSize scale = aContext->CurrentMatrix().ScaleFactors(PR_TRUE);
|
||||
float paintXRes = gfxUtils::ClampToScaleFactor(BasicManager()->XResolution() * scale.width);
|
||||
float paintYRes = gfxUtils::ClampToScaleFactor(BasicManager()->YResolution() * scale.height);
|
||||
float paintXRes = BasicManager()->XResolution() * gfxUtils::ClampToScaleFactor(scale.width);
|
||||
float paintYRes = BasicManager()->YResolution() * gfxUtils::ClampToScaleFactor(scale.height);
|
||||
Buffer::PaintState state =
|
||||
mBuffer.BeginPaint(this, contentType, paintXRes, paintYRes);
|
||||
mValidRegion.Sub(mValidRegion, state.mRegionToInvalidate);
|
||||
|
|
Загрузка…
Ссылка в новой задаче