aRightItalicCorrection = aBoundingMetrics.rightBearing - aBoundingMetrics.width; if (0 > aRightItalicCorrection) { aRightItalicCorrection = 0; } aLeftItalicCorrection = -aBoundingMetrics.leftBearing; if (0 > aLeftItalicCorrection) { aLeftItalicCorrection = 0;
aItalicCorrection = aBoundingMetrics.rightBearing - aBoundingMetrics.width; if (0 > aItalicCorrection) { aItalicCorrection = 0;
  GetItalicCorrection(nsBoundingMetrics& aBoundingMetrics,                      nscoord&           aLeftItalicCorrection,                      nscoord&           aRightItalicCorrection)  {    aRightItalicCorrection = aBoundingMetrics.rightBearing - aBoundingMetrics.width;    if (0 > aRightItalicCorrection) {      aRightItalicCorrection = 0;    }    aLeftItalicCorrection = -aBoundingMetrics.leftBearing;    if (0 > aLeftItalicCorrection) {      aLeftItalicCorrection = 0;    }  }