labeling testing

This commit is contained in:
Hannes Janetzek
2013-10-09 01:55:53 +02:00
parent d25d967332
commit 34bffcc15f
16 changed files with 628 additions and 348 deletions
@@ -167,7 +167,8 @@ public final class Text extends RenderInstruction {
FontMetrics fm = paint.getFontMetrics();
fontHeight = (float) Math.ceil(Math.abs(fm.bottom) + Math.abs(fm.top));
fontDescent = (float) Math.ceil(Math.abs(fm.descent));
//fontDescent = (float) Math.ceil(Math.abs(fm.descent));
fontDescent = Math.abs(fm.bottom);
}
@Override