From fd35132d02b2ce41a4ce5efdac2259c836b127a1 Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Tue, 8 Apr 2008 03:53:12 +0000 Subject: [PATCH] back out 425662 for longsonr because it might have caused tbox orange --- gfx/thebes/src/gfxFont.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/gfx/thebes/src/gfxFont.cpp b/gfx/thebes/src/gfxFont.cpp index 96b130a4809..1184ffc9796 100644 --- a/gfx/thebes/src/gfxFont.cpp +++ b/gfx/thebes/src/gfxFont.cpp @@ -515,15 +515,12 @@ void gfxFont::SetupGlyphExtents(gfxContext *aContext, PRUint32 aGlyphID, PRBool aNeedTight, gfxGlyphExtents *aExtents) { - gfxMatrix matrix = aContext->CurrentMatrix(); - aContext->IdentityMatrix(); cairo_glyph_t glyph; glyph.index = aGlyphID; glyph.x = 0; glyph.y = 0; cairo_text_extents_t extents; cairo_glyph_extents(aContext->GetCairo(), &glyph, 1, &extents); - aContext->SetMatrix(matrix); const Metrics& fontMetrics = GetMetrics(); PRUint32 appUnitsPerDevUnit = aExtents->GetAppUnitsPerDevUnit();