You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2010/06/02 03:20:52 UTC

svn commit: r950327 - in /uima/build/trunk: parent-poms/parent-pom-docbook/pom.xml uima-docbook-resource-bundle/src/main/resources/docbook-shared/common/pdf.xsl

Author: schor
Date: Wed Jun  2 01:20:52 2010
New Revision: 950327

URL: http://svn.apache.org/viewvc?rev=950327&view=rev
Log:
[UIMA-1051] For PDF, stop using Palatino (only works if build on Windows), and use Times Roman (the default for variable spacing font in PDF).  Change the interline spacing for body to look good with this font.  Comment out Font section of Docbook so it works on non Windows build platforms. Leave Palatino in as comments in case someone really wants that look for PDF.

Modified:
    uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml
    uima/build/trunk/uima-docbook-resource-bundle/src/main/resources/docbook-shared/common/pdf.xsl

Modified: uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml?rev=950327&r1=950326&r2=950327&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml (original)
+++ uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml Wed Jun  2 01:20:52 2010
@@ -373,7 +373,9 @@
                       <font-triplet name="ArialMT" style="normal" weight="bold"/>
                     </font>
                     -->
-                    <font>
+                    
+                    <!-- per UIMA-1051 - change to use standard Times Roman default PDF font -->
+                    <!--font>
                       <name>Palatino</name>
                       <style>normal</style>
                       <weight>normal</weight>
@@ -404,7 +406,7 @@
                       <kerning>yes</kerning>
                       <embedFile>c:/Windows/Fonts/palabi.TTF</embedFile>
                       <metricsFile>${project.build.directory}/docbook-shared/fonts/palatino-bold-italic.xml</metricsFile>
-                    </font>
+                    </font-->
                     
                   </fonts>
                   

Modified: uima/build/trunk/uima-docbook-resource-bundle/src/main/resources/docbook-shared/common/pdf.xsl
URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-docbook-resource-bundle/src/main/resources/docbook-shared/common/pdf.xsl?rev=950327&r1=950326&r2=950327&view=diff
==============================================================================
--- uima/build/trunk/uima-docbook-resource-bundle/src/main/resources/docbook-shared/common/pdf.xsl (original)
+++ uima/build/trunk/uima-docbook-resource-bundle/src/main/resources/docbook-shared/common/pdf.xsl Wed Jun  2 01:20:52 2010
@@ -41,8 +41,9 @@
     </xsl:choose>
   </xsl:param>
   <!--xsl:param name="draft.watermark.image" select="concat($docbook.xsl.root, '/images/draft.png')"/-->
-  <!-- Fonts, default alignment -->
-  <xsl:param name="body.font.family" select="'Palatino'"/>
+  <!-- Fonts, default alignment -->
+  <xsl:param name="body.font.family" select="'Times Roman'"/> <!-- standard default pdf font -->
+  <!--xsl:param name="body.font.family" select="'Palatino'"/--> <!-- disable per UIMA-1051 -->
   <xsl:param name="body.font.master" select="'10.5'"/>
   <!--###################################################
                       0.93 fixups
@@ -265,8 +266,10 @@
                    Fonts & Styles
     ################################################### -->
   <xsl:param name="hyphenate">false</xsl:param>
-  <!-- Line height in body text -->
-  <xsl:param name="line-height">1.35</xsl:param>
+  <!-- Line height in body text -->
+  <!--xsl:param name="line-height">1.35</xsl:param--> <!-- for palatino -->
+  <xsl:param name="line-height">1.15</xsl:param> <!-- for Times Roman -->
+  
   <!--###################################################
                    Tables
     ################################################### -->