Allow configuration of line height for paragraphs
-------------------------------------------------
Key: MPPDF-59
URL: http://jira.codehaus.org/browse/MPPDF-59
Project: Maven 1.x PDF Plugin
Issue Type: New Feature
Affects Versions: 2.5.1
Reporter: Wendy Smoak
Priority: Minor
I need to be able to double space paragraph text. Currently this is hard coded
in fo-styles.xslt. Please make it configurable.
Workaround: change the line height and rebuild the plugin.
Index: src/plugin-resources/fo-styles.xslt
===================================================================
--- src/plugin-resources/fo-styles.xslt (revision 543946)
+++ src/plugin-resources/fo-styles.xslt (working copy)
@@ -36,7 +36,7 @@
<!-- Standard body and heading styles -->
<xsl:attribute-set name="body.text" use-attribute-sets="base.body.style">
<xsl:attribute name="font-size">11pt</xsl:attribute>
- <xsl:attribute name="line-height">12pt</xsl:attribute>
+ <xsl:attribute name="line-height">24pt</xsl:attribute>
<xsl:attribute name="white-space-collapse">true</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="body.pre" use-attribute-sets="base.pre.style">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira