Bug 1171 - small-caps in static content becomes all-caps
Summary: small-caps in static content becomes all-caps
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.17
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
: 2504 3207 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-03-30 19:17 UTC by thomaso
Modified: 2012-04-01 06:33 UTC (History)
3 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomaso 2001-03-30 19:17:16 UTC
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>
Comment 1 a_krar 2001-08-22 01:56:24 UTC
*** Bug 3207 has been marked as a duplicate of this bug. ***
Comment 2 Philip Berg 2002-11-12 19:52:42 UTC
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!
Comment 3 Oleg Tkachenko 2002-11-14 21:11:43 UTC
*** Bug 2504 has been marked as a duplicate of this bug. ***
Comment 4 J.Pietschmann 2003-03-02 13:08:19 UTC
Fixed for 0.20.5rc3
Comment 5 Glenn Adams 2012-04-01 06:33:48 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed