CVS: jfor/samples/cocoon/tests/simple-tests font-family.fo.xml,NONE,1.1
Phil Chu <[email protected]> Sat, 01 Nov 2003 13:31:48 -0800
| Newsgroups | gmane.text.xml.jfor.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/simple-tests
In directory sc8-pr-cvs1:/tmp/cvs-serv30908
Added Files:
font-family.fo.xml
Log Message:
test for font-family handling
--- NEW FILE: font-family.fo.xml ---
<?xml version="1.0" encoding="utf-8"?>
<!-- tell cocoon to use jfor to convert this to RTF format -->
<?cocoon-format type="xslfo/rtf"?>
<!--
Test jfor font-family handling
$Id: font-family.fo.xml,v 1.1 2003/11/01 21:31:46 philipchu Exp $
$Log: font-family.fo.xml,v $
Revision 1.1 2003/11/01 21:31:46 philipchu
test for font-family handling
-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="simple"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block font-weight="bold" font-size="24pt">jfor font-family test</fo:block>
<fo:block>The following block has no font-family specified:</fo:block>
<fo:block>
default: no font-family specified
</fo:block>
<fo:block>The following blocks use the generic font families listed in the xsl-fo spec:</fo:block>
<fo:block
font-family="serif"
>
serif
</fo:block>
<fo:block
font-family="sans-serif"
>
sans-serif
</fo:block>
<fo:block
font-family="fantasy"
>
fantasy
</fo:block>
<fo:block
font-family="cursive"
>
cursive
</fo:block>
<fo:block
font-family="monospace"
>
monospace
</fo:block>
<fo:block>The following blocks use font family names:</fo:block>
<fo:block
font-family="Helvetica"
>
Helvetica
</fo:block>
<fo:block
font-family="Courier New"
>
Courier New
</fo:block>
<fo:block
font-family="Arial"
>
Arial
</fo:block>
<fo:block
font-family="Symbol"
>
Symbol
</fo:block>
<fo:block
font-family="Times New Roman"
>
Times New Roman
</fo:block>
<fo:block
font-family="Cursive"
>
Cursive
</fo:block>
<fo:block
font-family="Zapf Dingbats"
>
ZapfDingbats
</fo:block>
<fo:block
font-family="Miriam"
>
Miriam
</fo:block>
<fo:block
font-family="Pica"
>
Pica
</fo:block>
<fo:block
font-family="Palatino"
>
Palatino
</fo:block>
<fo:block
font-family="Old English"
>
Old English
</fo:block>
<fo:block
font-family="Zapf Chancery"
>
Zapf Chancery
</fo:block>
<fo:block>The following blocks use lists of font family names:</fo:block>
<fo:block
font-family="serif,Symbol,ZapfDingbats"
>
serif,Symbol,ZapfDingbats
</fo:block>
<fo:block
font-family="Symbol,Zapf Dingbats,serif"
>
Symbol,ZapfDingbats,serif
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/