sideWidthAndBearing(FT_Vector *aEndPt, FT2PT1_info *aFti)
sideWidthAndBearing(const FT_Vector *aEndPt, FT2PT1_info *aFti)
sideWidthAndBearing(FT_Vector *aEndPt, FT2PT1_info *aFti){  int aw = 0;  int ah = 0;  FT_UShort upm = aFti->face->units_per_EM;  FT_GlyphSlot slot;  FT_Glyph glyph;  FT_BBox bbox;  slot = aFti->face->glyph;#ifdef MOZ_ENABLE_XFT  FT_Error error = FT_Get_Glyph(slot, &glyph);  if (error) {    NS_ERROR("sideWidthAndBearing failed to get glyph");    return PR_FALSE;  }  FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);#else  nsresult rv = aFti->ft2->GetGlyph(slot, &glyph);  if (NS_FAILED(rv)) {    NS_ERROR("sideWidthAndBearing failed to get glyph");    return PR_FALSE;  }  aFti->ft2->GlyphGetCBox(glyph, ft_glyph_bbox_unscaled, &bbox);#endif  if (aFti->wmode == 0)    aw = toCS(upm, slot->metrics.horiAdvance);  else    aw = -toCS(upm, slot->metrics.vertAdvance);  if (aEndPt->y == 0) {    aFti->len += ecsi(&aFti->buf, (int)(aFti->cur_x = toCS(upm, bbox.xMin)));    aFti->cur_y = 0;    aFti->len += ecsi(&aFti->buf, aw);    aFti->len += csc(&aFti->buf, T1_HSBW);  }  else {    aFti->len += ecsi(&aFti->buf, (int)(aFti->cur_x = toCS(upm, bbox.xMin)));    aFti->len += ecsi(&aFti->buf, (int)(aFti->cur_y = toCS(upm, bbox.yMin)));    aFti->len += ecsi(&aFti->buf, aw);    aFti->len += ecsi(&aFti->buf, ah);    aFti->len += csc(&aFti->buf, T1_ESC_CMD);    aFti->len += csc(&aFti->buf, T1_ESC_SBW);  }  return PR_TRUE;}