Skip to content

Commit

Permalink
add back leading len into slideshow DrawTextFragment height
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912967 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pjfanning committed Oct 14, 2023
1 parent ec099d7 commit fccf4a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public AttributedString getAttributedString() {
* @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;
}

Expand Down

0 comments on commit fccf4a9

Please sign in to comment.