You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/03/31 05:17:17 UTC

[Bug 1171] New - small-caps in static content becomes all-caps

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1171

*** shadow/1171	Fri Mar 30 19:17:17 2001
--- shadow/1171.tmp.22071	Fri Mar 30 19:17:17 2001
***************
*** 0 ****
--- 1,48 ----
+ +============================================================================+
+ | small-caps in static content becomes all-caps                              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1171                        Product: Fop                     |
+ |       Status: NEW                         Version: 0.17                    |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Medium                    Component: pdf renderer            |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: camk@channelpoint.com,fop-dev@xml.apache.org                 |
+ |  Reported By: thomaso@best.com                                             |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ 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>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org