* @param frc specified FontRenderContext
*/
@Override
public Rectangle2D getMaxCharBounds(FontRenderContext frc){
Rectangle2D rect2D = fPhysicalFonts[0].getMaxCharBounds(frc);
float minY = (float)rect2D.getY();
float maxWidth = (float)rect2D.getWidth();
float maxHeight = (float)rect2D.getHeight();
if (numFonts == 1){
return rect2D;
}
for (int i = 1; i < numFonts; i++){
if (fPhysicalFonts[i] != null){
rect2D = fPhysicalFonts[i].getMaxCharBounds(frc);
float y = (float)rect2D.getY();
float mWidth = (float)rect2D.getWidth();
float mHeight = (float)rect2D.getHeight();
if (y < minY){
minY = y;
}
if (mWidth > maxWidth){
maxHeight = mWidth;