From: <ama...@us...> - 2012-01-23 03:02:46
|
Revision: 15882 http://pcgen.svn.sourceforge.net/pcgen/?rev=15882&view=rev Author: amaitland Date: 2012-01-23 03:02:39 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Double weapon 'Two Handed' text doesn't fit into the 'Hands' field on weapon display Issue#: OS-68 Modified Paths: -------------- Trunk/pcgen/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt Modified: Trunk/pcgen/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt =================================================================== --- Trunk/pcgen/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt 2012-01-22 21:37:34 UTC (rev 15881) +++ Trunk/pcgen/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt 2012-01-23 03:02:39 UTC (rev 15882) @@ -3396,9 +3396,18 @@ <xsl:call-template name="attrib"> <xsl:with-param name="attribute" select="'weapon'"/> </xsl:call-template> + <xsl:choose> + <xsl:when test="string-length(hand) < 9"> <fo:block font-size="7pt"> <xsl:value-of select="hand"/> </fo:block> + </xsl:when> + <xsl:otherwise> + <fo:block font-size="5pt"> + <xsl:value-of select="hand"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> </fo:table-cell> <fo:table-cell> <xsl:call-template name="attrib"> @@ -4093,8 +4102,7 @@ <xsl:variable name="channel_intensity"> <xsl:value-of select="/channel_intensity"/> </xsl:variable> - <!--/character/eclipse_channeling ../character/eclipse_channeling/channel_intensity/> --> - <!-- BEGIN Turning Table --> + <!-- BEGIN Channeling Table --> <fo:table table-layout="fixed" space-before="1mm" keep-together="always" border-collapse="collapse" padding="0.5pt"> <xsl:call-template name="attrib"><xsl:with-param name="attribute" select="'turning'"/></xsl:call-template> <xsl:call-template name="attrib"><xsl:with-param name="attribute" select="'turning.border'"/></xsl:call-template> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |