<?xml version="1.0" encoding="UTF-8" ?>
<fo:root xml:lang="ja" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" >
<fo:layout-master-set>
<fo:simple-page-master master-name="PageMaster" page-height="297mm" page-width="210mm" margin-top="10mm"  margin-bottom="20mm" margin-left="20mm" margin-right="20mm">
<fo:region-body margin-top="20mm"/>
<fo:region-before extent="15mm" />
<fo:region-after extent="15mm" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="PageMaster">

<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="9pt"><fo:external-graphic src="img/antenna-en.png" content-height="12mm" />  XSL FO Sample Copyright &#xA9; 2003-2005 Antenna House, Inc. All rights reserved.
</fo:block>
</fo:static-content>

<fo:flow flow-name="xsl-region-body">

<fo:block text-indent="1em" font-family="sans-serif" font-size="17pt" font-weight="bold" background-color="#EEEEEE" line-height="20mm">Sample in rotating table</fo:block>			<fo:block font-size="12pt" font-weight="600" color="#000000" line-height="11pt" space-before="15px" space-after="0px" padding-before="5px" padding-after="2px" keep-with-next.within-column="always" keep-together.within-column="always"><fo:inline>Initial Font Configuration File</fo:inline></fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">
In <fo:inline font-weight="bolder">XSL Formatter V3.1</fo:inline> Windows version, the following <fo:inline>Font Configuration File</fo:inline> is installed on <fo:inline>[Install directory]</fo:inline>. The Windows font directory is set here to <fo:inline>[System font directory]</fo:inline>.
</fo:block>

<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;!-- DOCTYPE font-config SYSTEM "font-config.dtd" --&gt;
&lt;font-config&gt;
  &lt;name-processing-mode mode="windows-name"/&gt;
  &lt;font-folder path="[System font directory]"&gt;
  &lt;/font-folder&gt;
&lt;/font-config&gt;
</fo:block>
<fo:block font-size="12pt" font-weight="600" color="#000000" line-height="11pt" space-before="15px" space-after="0px" padding-before="5px" padding-after="2px" keep-with-next.within-column="always" keep-together.within-column="always"><fo:inline>Font Configuration File elements and attributes</fo:inline></fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">The following table is a summary of the elements and attributes in the Font Configuration File.</fo:block>

<fo:block-container break-before="page" reference-orientation="90"><fo:table-and-caption display-align="center"><fo:table table-layout="auto" inline-progression-dimension="100%" border-style="solid" border-width="2px" border-collapse="collapse" border-color="black" empty-cells="show" space-before="6pt" space-after="6pt" border-spacing="0pt"><fo:table-header start-indent="0pt" end-indent="0pt" text-indent="0pt" last-line-end-indent="0pt" text-align="start" text-align-last="relative"><fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" background-color="#ccffcc" text-align="center" font-weight="bolder" text-align-last="center" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Element</fo:block></fo:table-cell>
<fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" background-color="#ccffcc" text-align="center" font-weight="bolder" text-align-last="center" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Location</fo:block></fo:table-cell>
<fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" background-color="#ccffcc" text-align="center" font-weight="bolder" text-align-last="center" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Attribute</fo:block></fo:table-cell>
<fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" background-color="#ccffcc" text-align="center" font-weight="bolder" text-align-last="center" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Description</fo:block></fo:table-cell></fo:table-row></fo:table-header><fo:table-body start-indent="0pt" end-indent="0pt" text-indent="0pt" last-line-end-indent="0pt" text-align="start" text-align-last="relative">
<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;font-config&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>root element</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block></fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block><fo:block space-before="1em" space-after="1em" text-align="justify">Root element of the Font Configuration File of <fo:inline font-weight="bolder">XSL Formatter V3.1</fo:inline>.

</fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;name-processing-mode&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-config&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>mode</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block><fo:block space-before="1em" space-after="1em" text-align="justify">
Specifies whether to map Type 1 font names to font file using only Windows names (<fo:inline>.PFM</fo:inline>+<fo:inline>.PFB</fo:inline>). Specifies the value "default" or "windows-name" to the "mode" attribute. The initial value is "default".
The environment which "windows-name" is specified is called WindowsName mode.
</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;name-processing-mode mode="windows-name"/&gt;</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">This element must be specified before <fo:inline>&lt;font-folder&gt;</fo:inline> and only one can be specified.
</fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;font-folder&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-config&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>path</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block><fo:block space-before="1em" space-after="1em" text-align="justify">Indicates the font folder using the "path" attribute.</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;font-folder path="/home/user-name/fonts"&gt;
  ....
&lt;/font-folder&gt;</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">This element can be specified as many times as necessary.</fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;glyph-list&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-folder&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>file<fo:block/>afm</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block><fo:block space-before="1em" space-after="1em" text-align="justify">Indicates the <fo:inline>glyph-list file</fo:inline> for Type 1 fonts using the "file" attribute. Type 1 font files should be specified using "afm" attribute. Glyph-list defines Unicode to glyph-name mapping rule for Type 1 fonts. For more information about glyph-list file, refer to the <fo:basic-link text-decoration="underline" color="blue" internal-destination="type1-font-glyphlist">Glyph list file</fo:basic-link>.
</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;glyph-list file="carta.txt" afm="CR______.AFM"/&gt;</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">This element can be specified as many as necessary.</fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;skip-glyphname-mapping&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-folder&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>afm</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">Indicates to skip Unicode to glyph-name or Unicode to character code mapping for the Type 1 fonts. Corresponding Type 1 font file should be specified using "afm" attribute. For more information about this parameter, refer to the <fo:basic-link text-decoration="underline" color="blue" internal-destination="type1-font-skip-glyphname-mapping">Skipping the glyph name mapping</fo:basic-link>.
</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;skip-glyphname-mapping afm="CR______.AFM"/&gt;</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">This element can be specified as many as necessary. </fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;font-exclude&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-folder&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>file</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">Indicates font files to exclude from being used with <fo:inline font-weight="bolder">XSL Formatter V3.1</fo:inline>. The font file should be specified using the "file" attribute.
</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;font-exclude file="times.ttf"/&gt;</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">This element can be specified as many times as necessary.</fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;font-alias&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-folder&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>file<fo:block/>entry</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">Indicates the definition of the font family name alias. The source font file should be specified using the "file" and "entry" attributes. "file" attribute should specify font files. For Type 1 fonts, specify the font files that have the <fo:inline>.AFM</fo:inline> or <fo:inline>.PFM</fo:inline> extensions. For TrueType or OpenType fonts, you can specify the font files that have the <fo:inline>.TTF</fo:inline> or <fo:inline>.TTC</fo:inline> or <fo:inline>.OTF</fo:inline> extensions. The "entry" attributes should be the number of the fonts in the <fo:inline>.TTC</fo:inline> (TrueType Collection) file.
The number should be a numeric value of 1 or more. If the "entry" attribute is omitted, the value is considered as 1. If the value is not in <fo:inline>.TTC</fo:inline>, it's ignored.
</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;font-alias file="simsun.ttc" entry="1"&gt;
  ....
&lt;/font-alias&gt;</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">
To define the alias names, enumerates the <fo:inline>&lt;alias&gt;</fo:inline> element within this element.<fo:block/>
This element can be specified as many times as necessary.
</fo:block>
</fo:block></fo:table-cell></fo:table-row>

<fo:table-row><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>&lt;alias&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>Child of &lt;font-folder&gt;</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>family-name<fo:block/>weight<fo:block/>italic</fo:block></fo:table-cell><fo:table-cell border-style="solid" border-width="1px" border-color="black" font-size="11pt" padding="1px" border="1px" number-columns-spanned="1" number-rows-spanned="1"><fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">Indicates the actual alias definition for the font described int the "font-alias" element. The alias information should be specified using "family-name", "weight", "italic" attributes.  <fo:block/>
"family-name" attribute is the alias font family-name. Newly defined names should not match any other existing font-family names. "weight" attribute is the alias font weight class. This attribute can be specified using a numeric value between "100" and "900" or the keyword "normal", "bold". If omitted, the font file definition value is adopted. "italic" attribute indicates the font-style for italic. It should be specified using the keyword "true" or "false". If omitted the font file definition value is adopted.
You can specify multiple alias definition for one font file.
</fo:block>
<fo:block font-size="0.83em" font-family="monospace" white-space="pre" space-before="1em" space-after="1em">&lt;font-alias file="EU______.AFM"&gt;
  &lt;alias family-name="Euro" /&gt;
&lt;/font-alias&gt;
&lt;font-alias file="EUB_____.AFM"&gt;
  &lt;alias family-name="Euro" weight="bold" /&gt;
&lt;/font-alias&gt;
</fo:block>
<fo:block space-before="1em" space-after="1em" text-align="justify">This element can be specified as often as necessary.</fo:block>
</fo:block></fo:table-cell></fo:table-row>

</fo:table-body></fo:table></fo:table-and-caption>

</fo:block-container></fo:flow>
</fo:page-sequence>
</fo:root>

