From 5ef37ba3c0f701a7b7c65b4a73051244bcc41b7e Mon Sep 17 00:00:00 2001 From: "pierre%netscape.com" Date: Fri, 28 May 1999 00:32:12 +0000 Subject: [PATCH] #7143 "Subscript element not properly supported" --- gfx/src/mac/nsFontMetricsMac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/mac/nsFontMetricsMac.cpp b/gfx/src/mac/nsFontMetricsMac.cpp index b3f448adaa1..bbc39ce2b4b 100644 --- a/gfx/src/mac/nsFontMetricsMac.cpp +++ b/gfx/src/mac/nsFontMetricsMac.cpp @@ -221,7 +221,7 @@ nsFontMetricsMac :: GetSubscriptOffset(nscoord& aResult) { float dev2app; mContext->GetDevUnitsToAppUnits(dev2app); - aResult = NSToCoordRound(- float(mMaxDescent / 2) + dev2app); + aResult = NSToCoordRound(float(mMaxAscent / 2) - dev2app); return NS_OK; }