68 |
final HBroken br = breaker.breakLines(ch, width, scale); |
final HBroken br = breaker.breakLines(ch, width, scale); |
69 |
final float height = br.getHeight(); |
final float height = br.getHeight(); |
70 |
|
|
71 |
|
final float width; |
72 |
|
if(br.getLineCount() > 1) |
73 |
|
width = this.width; |
74 |
|
else |
75 |
|
width = br.getLineWidth(0); |
76 |
|
|
77 |
//final TextVob vob = new TextVob(style, s, false); |
//final TextVob vob = new TextVob(style, s, false); |
78 |
//final float width = style.getWidth(s, scale); |
//final float width = style.getWidth(s, scale); |
79 |
//final float height = style.getHeight(scale); |
//final float height = style.getHeight(scale); |