关于字体有个上坡度的概念
FontRenderContext context=g2.getFontRenderContext();
Rectangle2D bounds=font.getStringBounds("...",context);//得到字符串外围的矩形
bounds.getWidth()和bounds.getHeight()获得字体的宽和高
-bounds.getY()获得上坡度
上坡度不是从基线到坡顶的距离吗?为什么getStringBounds().getY就是上坡度,Y坐标不应该是坡顶的位置吗?