mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
add back leading len into slideshow DrawTextFragment height
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec099d769f
commit
fccf4a97fb
@ -89,7 +89,7 @@ public class DrawTextFragment implements Drawable {
|
||||
* @return full height of this text run which is sum of ascent, descent and leading
|
||||
*/
|
||||
public float getHeight(){
|
||||
double h = layout.getAscent() + layout.getDescent();
|
||||
double h = layout.getAscent() + layout.getDescent() + getLeading();
|
||||
return (float)h;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user