forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferdin...@apache.org
Subject svn commit: r615371 - /forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
Date Fri, 25 Jan 2008 22:05:40 GMT
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"



Mime
View raw message