poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1145062 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java
Date Mon, 11 Jul 2011 08:18:43 GMT
Author: sergey
Date: Mon Jul 11 08:18:43 2011
New Revision: 1145062

URL: http://svn.apache.org/viewvc?rev=1145062&view=rev
Log:
specify font size metric (pt)

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java?rev=1145062&r1=1145061&r2=1145062&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java Mon Jul
11 08:18:43 2011
@@ -127,7 +127,7 @@ public class WordToHtmlUtils extends Abs
 
     public static void addFontSize( final int fontSize, StringBuilder style )
     {
-        style.append( "font-size: " + fontSize + "; " );
+        style.append( "font-size: " + fontSize + "pt; " );
     }
 
     public static void addIndent( Paragraph paragraph, StringBuilder style )



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message