List:Commits« Previous MessageNext Message »
From:mcbrown Date:June 7 2007 9:40am
Subject:svn commit - mysqldoc@docsrva: r6694 - trunk/xsl.d
View as plain text  
Author: mcbrown
Date: 2007-06-07 09:40:37 +0200 (Thu, 07 Jun 2007)
New Revision: 6694

Log:
Fixing the font substitution problem (we now set the font for the admonition/formal
titles) according to the global title font setting. 


Modified:
   trunk/xsl.d/mysql-fo.xsl


Modified: trunk/xsl.d/mysql-fo.xsl
===================================================================
--- trunk/xsl.d/mysql-fo.xsl	2007-06-06 21:29:15 UTC (rev 6693)
+++ trunk/xsl.d/mysql-fo.xsl	2007-06-07 07:40:37 UTC (rev 6694)
Changed blocks: 2, Lines Added: 6, Lines Deleted: 2; 1409 bytes

@@ -84,7 +84,9 @@
     <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
     <xsl:attribute name="space-before.optimum">0em</xsl:attribute>
     <xsl:attribute name="space-before.maximum">0em</xsl:attribute>
-    <xsl:attribute name="font-family">Helvetica,Verdana,Arial,Sans
Serif</xsl:attribute>
+    <xsl:attribute name="font-family">
+              <xsl:value-of select="$title.font.family"/>
+        </xsl:attribute>
     <xsl:attribute name="font-size">10pt</xsl:attribute>
     <xsl:attribute name="font-weight">bold</xsl:attribute>
     <xsl:attribute name="margin-left">0.25in</xsl:attribute>

@@ -107,7 +109,9 @@
     <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
     <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
     <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
-    <xsl:attribute name="font-family">Helvetica,Verdana,Arial,Sans
Serif</xsl:attribute>
+    <xsl:attribute name="font-family">
+              <xsl:value-of select="$title.font.family"/>
+        </xsl:attribute>
     <xsl:attribute name="font-size">10pt</xsl:attribute>
     <xsl:attribute name="font-weight">bold</xsl:attribute>
   </xsl:attribute-set>


Thread
svn commit - mysqldoc@docsrva: r6694 - trunk/xsl.dmcbrown7 Jun