115 |
/*g.clipRect(rect.x, rect.y, |
/*g.clipRect(rect.x, rect.y, |
116 |
rect.width, |
rect.width, |
117 |
rect.height + 3);*/ |
rect.height + 3);*/ |
118 |
|
// float scale = style.getScaleByHeight(h-3); // Why h-3? |
119 |
|
|
120 |
float scale = style.getScaleByHeight(h-3); |
float scale = style.getScaleByHeight(h); |
121 |
if(dbg) pa("Render @ scale " + scale + ": '"+text+"' "+x+" "+y+" "+w+" "+h); |
if(dbg) pa("Render @ scale " + scale + ": '"+text+"' "+x+" "+y+" "+w+" "+h); |
122 |
|
|
123 |
float fasc = style.getAscent(scale); |
float fasc = style.getAscent(scale); |