[weld-commits] Weld SVN: r4963 - doc/trunk/xslt/src/main/resources/xslt/org/jboss/weld.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Tue Nov 10 12:49:53 EST 2009
Author: pete.muir at jboss.org
Date: 2009-11-10 12:49:52 -0500 (Tue, 10 Nov 2009)
New Revision: 4963
Modified:
doc/trunk/xslt/src/main/resources/xslt/org/jboss/weld/pdf.xsl
Log:
use fixed width font in programlisting
Modified: doc/trunk/xslt/src/main/resources/xslt/org/jboss/weld/pdf.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/weld/pdf.xsl 2009-11-10 17:39:49 UTC (rev 4962)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/weld/pdf.xsl 2009-11-10 17:49:52 UTC (rev 4963)
@@ -20,7 +20,13 @@
<xsl:param name="titlepage.color">black</xsl:param>
<xsl:param name="chapter.title.color">black</xsl:param>
<xsl:param name="section.title.color">black</xsl:param>
+
+ <!-- Change to monospace font for programlisting, needed to workaround crappy callouts -->
+ <xsl:param name="programlisting.font" select="$monospace.font.family" />
+ <!-- Make the font for programlisting slightly smaller -->
+ <xsl:param name="programlisting.font.size" select="'75%'" />
+
<xsl:template name="book.titlepage.recto">
<xsl:choose>
<xsl:when test="bookinfo/title">
More information about the weld-commits
mailing list