When using font-variant="small-caps" inside static content, the first page appears correct, but all subsequent pages are wrong. Example xsl:fo code follows. The title on the first page is correctly rendered. The title on the second page is wrong. <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-bottom="1in" margin-right="0.5in" margin-left="0.5in" margin-top="0.5in" master-name="basic"> <fo:region-body column-gap="0.5in" margin-top="0.5in" column-count="2"/> <fo:region-before extent="0.5in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="basic"> <fo:static-content flow-name="xsl-region-before"> <fo:block font-variant="small-caps" font-size="8pt" text-align="end">Title in Small-Caps</fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block break-after="page">This is the first page</fo:block> <fo:block>This is the second page</fo:block> </fo:flow> </fo:page-sequence> </fo:root>
*** Bug 3207 has been marked as a duplicate of this bug. ***
I had the same problem, just in a table-header. Below what I sent to the fop-user mailinglist: > I was using font-variant="small-caps" in a table-header. That was > working just perfect if this table only was one page. The header was > also present on consecutive pages but the small-caps was gone (it was > just normal font-variant). Why is that? In particular I'm very > confused by that because I thought fop only evaluates the header once > (I verified that with debug messages). So how can the header then be > different for tables that span multiple pages? I added myself as a CC (I hope that works) because I want to know once it is fixed. Thanks!
*** Bug 2504 has been marked as a duplicate of this bug. ***
Fixed for 0.20.5rc3
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed