You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by fe...@apache.org on 2008/01/25 23:05:40 UTC
svn commit: r615371 -
/forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
Author: ferdinand
Date: Fri Jan 25 14:05:39 2008
New Revision: 615371
URL: http://svn.apache.org/viewvc?rev=615371&view=rev
Log:
reduced font-size of source boxes because monospace always looks bigger. Nice side effect: you can have longer lines. Added padding for the box for nicer look and margin=0 so that box doesn't grow to the outside.
Modified:
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
Modified: forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
URL: http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl?rev=615371&r1=615370&r2=615371&view=diff
==============================================================================
--- forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl (original)
+++ forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl Fri Jan 25 14:05:39 2008
@@ -650,7 +650,9 @@
select="//skinconfig/colors/color[@name='code']/@value" />
<fo:block
font-family="monospace"
- font-size="10pt"
+ font-size="8pt"
+ padding="6pt"
+ margin="0"
background-color="{$color}"
white-space-collapse="false"
linefeed-treatment="preserve"