From 4a173780dd793aed02c54ba0a9c816ce1b1f8991 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 16 Jul 2020 12:50:40 +0000 Subject: [bug-64605] add support for non-integer font sizes on character runs (use double instead of float) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879950 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/wp/usermodel/CharacterRun.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/poi') diff --git a/src/java/org/apache/poi/wp/usermodel/CharacterRun.java b/src/java/org/apache/poi/wp/usermodel/CharacterRun.java index 81117c2bd2..28dc89016e 100644 --- a/src/java/org/apache/poi/wp/usermodel/CharacterRun.java +++ b/src/java/org/apache/poi/wp/usermodel/CharacterRun.java @@ -48,9 +48,9 @@ public interface CharacterRun { void setImprinted(boolean imprint); int getFontSize(); - float getFontSizeAsFloat(); + Double getFontSizeAsDouble(); void setFontSize(int halfPoints); - void setFontSize(float halfPoints); + void setFontSize(double halfPoints); int getCharacterSpacing(); void setCharacterSpacing(int twips); -- cgit v1.2.3