nsresult GetBoundingMetrics(nsIRenderingContext& aRenderingContext, nsGlyphCode          aGlyphCode, nsBoundingMetrics&   aBoundingMetrics) { NS_ASSERTION(Has(aGlyphCode), "bad usage of a glyph table");  return aRenderingContext.GetBoundingMetrics((PRUnichar*)&aGlyphCode, PRUint32(1), aBoundingMetrics);
nsGlyphTable::GetBoundingMetrics(nsIRenderingContext& aRenderingContext, nsFont&              aFont, nsGlyphCode&         aGlyphCode, nsBoundingMetrics&   aBoundingMetrics) { nsresult rv; if (aGlyphCode.font) {  mFontName.StringAt(aGlyphCode.font, aFont.name); aRenderingContext.SetFont(aFont, nsnull);
  nsresult GetBoundingMetrics(nsIRenderingContext& aRenderingContext,                              nsGlyphCode          aGlyphCode,                              nsBoundingMetrics&   aBoundingMetrics)  {    NS_ASSERTION(Has(aGlyphCode), "bad usage of a glyph table");    // if (mType == NS_TABLE_TYPE_UNICODE)      return aRenderingContext.GetBoundingMetrics((PRUnichar*)&aGlyphCode, PRUint32(1), aBoundingMetrics);    // else mType == NS_TABLE_TYPE_GLYPH_INDEX    // return NS_ERROR_NOT_IMPLEMENTED;    // return aRenderingContext.GetBoundingMetricsI((PRUint16*)&aGlyphCode, PRUint32(1), aBoundingMetrics);  }