ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > XSL FO > Fonts > cfp-font9.fo


Title: cfp-font9.fo
Origin: NIST XSL test suite

Rendered image | PDF output | FO file
ElementsAttributes
fo:blockfont-family | font-size | font-style | font-variant | font-weight | line-height |
fo:flowflow-name |
fo:layout-master-set
fo:page-sequencemaster-name |
fo:region-beforeextent |
fo:region-bodymargin-top |
fo:root
fo:simple-page-mastermaster-name | page-height | page-width |

Warning! These examples are related to XSL FO Working Draft, you need to use attribute "page-sequence/@master-reference" instead of "page-sequence/@master-name".


Source

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" >
     <fo:layout-master-set>
          <fo:simple-page-master master-name="test-page-master" page-width="8.5in" page-height="11in">
               <fo:region-body margin-top="0.4in"/>
               <fo:region-before extent="0.3in"/>
          </fo:simple-page-master>
     </fo:layout-master-set>
     <fo:page-sequence master-name="test-page-master">
          <fo:flow flow-name="xsl-region-body">
               <fo:block font-style="italic" font-variant="small-caps" font-weight="500" font-size="150%" line-height="1in" font-family="sans-serif">This element should be in a sans-serif font, italicized and small caps, with a weight of 500. Its font-size should be 150% the containing block font size, and its line-height should be 1in. Extra text is included for the purposes of testing this more effectively.</fo:block>
          </fo:flow>
     </fo:page-sequence>
</fo:root>



Sponsored links: Domain Names, answering service, VoIP Internettelefonie, DSL, SDSL, ADSL