for (int i = 0; i < getNumGlyphs(); i++) { if (!glyphVisible[i]) continue; GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); Rectangle2D glyphBounds = glyphMetrics.getBounds2D(); ascent = (float)(-glyphBounds.getMinY()); GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); Rectangle2D glyphBounds = new Rectangle2D.Double (0, -ascent, glyphMetrics.getHorizontalAdvance(),
for (int i = 0; i < getNumGlyphs(); i++) { if (!glyphVisible[i]) continue; GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); Rectangle2D glyphBounds = glyphMetrics.getBounds2D(); ascent = (float)(-glyphBounds.getMinY()); GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); Rectangle2D glyphBounds = new Rectangle2D.Double (0, -ascent, glyphMetrics.getHorizontalAdvance(),
for (int i = 0; i < getNumGlyphs(); i++) { if (!glyphVisible[i]) continue; GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); Rectangle2D glyphBounds = glyphMetrics.getBounds2D(); ascent = (float)(-glyphBounds.getMinY()); GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); Rectangle2D glyphBounds = new Rectangle2D.Double (0, -ascent, glyphMetrics.getHorizontalAdvance(),