Author: ferdinand
Date: Fri Jan 25 13:58:00 2008
New Revision: 615367
URL: http://svn.apache.org/viewvc?rev=615367&view=rev
Log:
fix: inconsistent implementation of font-family serif caused table cells with
just text to be sans-serif while table cells with <p> in it where serif.
Changed font family of table cells to be consistently in serif as any other
text.
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=615367&r1=615366&r2=615367&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 13:58:00 2008
@@ -630,6 +630,7 @@
<xsl:apply-templates />
</fo:block>
</xsl:when>
+
<xsl:otherwise>
<fo:block
space-before="4pt"
@@ -679,7 +680,8 @@
name="space-after">6pt"</xsl:attribute>
</xsl:if>
<fo:list-item-label
- end-indent="label-end()">
+ end-indent="label-end()"
+ font-size="9">
<fo:block>
<xsl:number
format="1." />
@@ -1154,7 +1156,7 @@
you need the <fo:table> element) -->
<fo:table-body
font-size="10pt"
- font-family="sans-serif">
+ font-family="serif">
<xsl:apply-templates
select="tr" />
</fo:table-body>