attempt to unhork build. bug 329315. undoes fix for 329306.

This commit is contained in:
pavlov%pavlov.net 2006-03-09 09:45:47 +00:00
Родитель 7ccc21ac93
Коммит 8faedcac5b
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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();