зеркало из https://github.com/mozilla/pjs.git
attempt to unhork build. bug 329315. undoes fix for 329306.
This commit is contained in:
Родитель
7ccc21ac93
Коммит
8faedcac5b
|
@ -63,7 +63,7 @@ gfxWindowsFont::gfxWindowsFont(const nsAString &aName, const gfxFontGroup *aFont
|
||||||
mName = aName;
|
mName = aName;
|
||||||
mGroup = aFontGroup;
|
mGroup = aFontGroup;
|
||||||
mStyle = mGroup->GetStyle();
|
mStyle = mGroup->GetStyle();
|
||||||
|
mCTM.Reset();
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ gfxWindowsFont::gfxWindowsFont(HFONT aFont,
|
||||||
mFont = aFont;
|
mFont = aFont;
|
||||||
mGroup = aFontGroup;
|
mGroup = aFontGroup;
|
||||||
mStyle = mGroup->GetStyle();
|
mStyle = mGroup->GetStyle();
|
||||||
|
mCTM.Reset();
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -509,7 +509,7 @@ gfxWindowsTextRun::MeasureOrDrawFast(gfxContext *aContext,
|
||||||
cairo_t *cr = aContext->GetCairo();
|
cairo_t *cr = aContext->GetCairo();
|
||||||
|
|
||||||
nsRefPtr<gfxWindowsFont> currentFont = mGroup->GetFontAt(0);
|
nsRefPtr<gfxWindowsFont> currentFont = mGroup->GetFontAt(0);
|
||||||
currentFont->UpdateCTM(aContext->CurrentMatrix());
|
//currentFont->UpdateCTM(aContext->CurrentMatrix());
|
||||||
cairo_font_face_t *fontFace = currentFont->CairoFontFace();
|
cairo_font_face_t *fontFace = currentFont->CairoFontFace();
|
||||||
cairo_scaled_font_t *scaledFont = currentFont->CairoScaledFont();
|
cairo_scaled_font_t *scaledFont = currentFont->CairoScaledFont();
|
||||||
|
|
||||||
|
@ -687,7 +687,7 @@ TRY_AGAIN_HOPE_FOR_THE_BEST:
|
||||||
|
|
||||||
SaveDC(aDC);
|
SaveDC(aDC);
|
||||||
|
|
||||||
currentFont->UpdateCTM(aContext->CurrentMatrix());
|
//currentFont->UpdateCTM(aContext->CurrentMatrix());
|
||||||
fontFace = currentFont->CairoFontFace();
|
fontFace = currentFont->CairoFontFace();
|
||||||
scaledFont = currentFont->CairoScaledFont();
|
scaledFont = currentFont->CairoScaledFont();
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче