From b904d829397cc0ad2045c40d102d05d1e44d3ed5 Mon Sep 17 00:00:00 2001 From: "pavlov@pavlov.net" Date: Wed, 11 Jul 2007 10:41:26 -0700 Subject: [PATCH] re-enabling kerning on the mac. bug 387197. r=vlad --- gfx/thebes/src/gfxAtsuiFonts.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gfx/thebes/src/gfxAtsuiFonts.cpp b/gfx/thebes/src/gfxAtsuiFonts.cpp index 701b98e4a5e..a665dffaae2 100644 --- a/gfx/thebes/src/gfxAtsuiFonts.cpp +++ b/gfx/thebes/src/gfxAtsuiFonts.cpp @@ -102,8 +102,7 @@ gfxAtsuiFont::InitMetrics(ATSUFontID aFontID, ATSFontRef aFontRef) ATSUAttributeTag styleTags[] = { kATSUFontTag, kATSUSizeTag, - kATSUFontMatrixTag, - kATSUKerningInhibitFactorTag + kATSUFontMatrixTag }; ByteCount styleArgSizes[] = { @@ -123,14 +122,11 @@ gfxAtsuiFont::InitMetrics(ATSUFontID aFontID, ATSFontRef aFontRef) ATSUFontID fid = aFontID; // make the font render right-side up CGAffineTransform transform = CGAffineTransformMakeScale(1, -1); - // we can't do kerning until layout draws what it measures, instead of splitting things up - Fract inhibitKerningFactor = FloatToFract(1.0); ATSUAttributeValuePtr styleArgs[] = { &fid, &fSize, &transform, - &inhibitKerningFactor }; if (mATSUStyle)