diff --git a/poi/src/main/java/org/apache/poi/sl/draw/DrawTextFragment.java b/poi/src/main/java/org/apache/poi/sl/draw/DrawTextFragment.java index e0e3bfe7d5..e89b8c779a 100644 --- a/poi/src/main/java/org/apache/poi/sl/draw/DrawTextFragment.java +++ b/poi/src/main/java/org/apache/poi/sl/draw/DrawTextFragment.java @@ -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; }