<?xml version="1.0"?>

<config xmlns="http://www.renderx.com/XEP/config">

  <!-- FORMATTER OPTIONS -->

  <options>
    <option name="TMPDIR" value="/tmp/"/>
    <option name="STRICTNESS" value="2"/>

    <!-- Backend options,
         see http://www.renderx.com/reference.html#Output_Formats
    -->
    <generator-options format="PDF">
       <option name="PDF_VERSION" value="1.4"/>
       <option name="USERPRIVILEGES" value="print,modify,copy,annotate"/>
    </generator-options>
  </options>


  <!-- FONTS -->

  <fonts default-family="FreeSans" xml:base="/usr/share/fonts/truetype/">

    <!-- Base Adobe fonts. Replace standard Helvetica, Times and Courier with
          Ghostscript Fonts. -->
    <font-group embed="true" label="Base 14" xml:base="/usr/share/ghostscript/fonts/">
      <font-family name="Courier">
        <font>
          <font-data afm="n022003l.afm" pfb="n022003l.pfb"/>
        </font>
        <font style="oblique">
          <font-data afm="n022023l.afm" pfb="n022023l.pfb"/>
        </font>
        <font weight="bold">
          <font-data afm="n022004l.afm" pfb="n022004l.pfb"/>
        </font>
        <font weight="bold" style="oblique">
          <font-data afm="n022024l.afm" pfb="n022024l.pfb"/>
        </font>
      </font-family>

      <font-family name="Helvetica">
        <font>
          <font-data afm="n019003l.afm" pfb="n019003l.pfb"/>
        </font>
        <font style="oblique">
          <font-data afm="n019003l.afm" pfb="n019003l.pfb"/>
          <transform slant-angle="12"/>
        </font>
        <font weight="bold">
          <font-data afm="n019004l.afm" pfb="n019004l.pfb"/>
        </font>
        <font weight="bold" style="oblique">
          <font-data afm="n019004l.afm" pfb="n019004l.pfb"/>
          <transform slant-angle="12"/>
        </font>
      </font-family>

      <font-family name="Times" ligatures="&#xFB01; &#xFB02;">
        <font>
          <font-data afm="n021003l.afm" pfb="n021003l.pfb"/>
        </font>
        <font style="italic">
          <font-data afm="n021023l.afm" pfb="n021023l.pfb"/>
      </font>
        <font weight="bold">
          <font-data afm="n021004l.afm" pfb="n021004l.pfb"/>
        </font>
        <font weight="bold" style="italic">
          <font-data afm="n021024l.afm" pfb="n021024l.pfb"/>
        </font>
      </font-family>

      <font-family name="Symbol">
        <font>
          <font-data afm="s050000l.afm" pfb="s050000l.pfb"/>
        </font>
      </font-family>

      <font-family name="ZapfDingbats">
        <font>
          <font-data afm="d050000l.afm" pfb="d050000l.pfb"/>
        </font>
      </font-family>
    </font-group>

    <!-- TTF replacements for Helvetica, Times & Courier -->
    <font-group label="FreeFonts" embed="true" subset="true">
      <font-family name="FreeSerif" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
        <font>
          <font-data ttf="FreeSerif.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="FreeSerifItalic.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="FreeSerifBold.ttf"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="FreeSerifBoldItalic.ttf"/>
        </font>
      </font-family>
      <font-family name="FreeSans" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
        <font>
          <font-data ttf="FreeSans.ttf"/>
        </font>
        <font style="oblique">
          <font-data ttf="FreeSansOblique.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="FreeSansBold.ttf"/>
        </font>
        <font weight="bold" style="oblique">
          <font-data ttf="FreeSansBoldOblique.ttf"/>
        </font>
      </font-family>
      <font-family name="FreeMono">
        <font>
          <font-data ttf="FreeMono.ttf"/>
        </font>
        <font style="oblique">
          <font-data ttf="FreeMonoOblique.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="FreeMonoBold.ttf"/>
        </font>
        <font weight="bold" style="oblique">
          <font-data ttf="FreeMonoBoldOblique.ttf"/>
        </font>
      </font-family>
    </font-group>

    <!-- Default Western fonts. -->
    <font-group label="CharisSIL" embed="true" subset="true">
      <font-family name="CharisSIL" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
        <font>
          <font-data ttf="CharisSILR.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="CharisSILI.ttf"/>
        </font>
        <font weight="700">
          <font-data ttf="CharisSILB.ttf"/>
        </font>
        <font weight="700" style="italic">
          <font-data ttf="CharisSILBI.ttf"/>
        </font>
      </font-family>
    </font-group>

    <font-group label="OpenSans" embed="true" subset="true">
      <font-family name="OpenSans" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
        <font weight="200">
          <font-data ttf="OpenSans-Light.ttf"/>
        </font>
        <font weight="200" style="italic">
          <font-data ttf="OpenSans-LightItalic.ttf"/>
        </font>
        <font>
          <font-data ttf="OpenSans-Regular.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="OpenSans-Italic.ttf"/>
        </font>
        <font weight="600">
          <font-data ttf="OpenSans-Semibold.ttf"/>
        </font>
        <font weight="600" style="italic">
          <font-data ttf="OpenSans-SemiboldItalic.ttf"/>
        </font>
        <font weight="700">
          <font-data ttf="OpenSans-Bold.ttf"/>
        </font>
        <font weight="700" style="italic">
          <font-data ttf="OpenSans-BoldItalic.ttf"/>
        </font>
        <font weight="800">
          <font-data ttf="OpenSans-ExtraBold.ttf"/>
        </font>
        <font weight="800" style="italic">
          <font-data ttf="OpenSans-ExtraBoldItalic.ttf"/>
        </font>
      </font-family>
      <font-family name="OpenSansCond" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
        <font>
          <font-data ttf="OpenSans-CondLight.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="OpenSans-CondLightItalic.ttf"/>
        </font>
        <font weight="700">
          <font-data ttf="OpenSans-CondBold.ttf"/>
        </font>
        <font weight="700" style="italic">
          <font-data ttf="OpenSans-CondBold.ttf"/>
        </font>
      </font-family>
    </font-group>

    <font-group label="IPAP" embed="true" subset="true">
      <font-family name="IPAPGothic">
        <font>
          <font-data ttf="ipagp.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="ipagp.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="ipagp.ttf"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="ipagp.ttf"/>
        </font>
      </font-family>
      <font-family name="IPAPMincho">
        <font>
          <font-data ttf="ipamp.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="ipamp.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="ipamp.ttf"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="ipamp.ttf"/>
        </font>
      </font-family>
    </font-group>

    <font-group label="DejaVu-Fonts" embed="true" subset="true">
       <font-family name="DejaVuSansCond" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
         <font>
           <font-data ttf="DejaVuSansCondensed.ttf"/>
         </font>
         <font style="oblique">
           <font-data ttf="DejaVuSansCondensed-Oblique.ttf"/>
         </font>
         <font weight="bold">
           <font-data ttf="DejaVuSansCondensed-Bold.ttf"/>
         </font>
         <font weight="bold" style="oblique">
           <font-data ttf="DejaVuSansCondensed-BoldOblique.ttf"/>
         </font>
       </font-family>
       <font-family name="DejaVuSans" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
         <font>
           <font-data ttf="DejaVuSans.ttf"/>
         </font>
         <font style="oblique">
           <font-data ttf="DejaVuSans-Oblique.ttf"/>
         </font>
         <font weight="bold">
           <font-data ttf="DejaVuSans-Bold.ttf"/>
         </font>
         <font weight="bold" style="oblique">
           <font-data ttf="DejaVuSans-BoldOblique.ttf"/>
         </font>
      </font-family>
      <font-family name="DejaVuSansMono">
         <font>
           <font-data ttf="DejaVuSansMono.ttf"/>
         </font>
         <font style="oblique">
           <font-data ttf="DejaVuSansMono-Oblique.ttf"/>
         </font>
         <font weight="bold">
           <font-data ttf="DejaVuSansMono-Bold.ttf"/>
         </font>
         <font weight="bold" style="oblique">
          <font-data ttf="DejaVuSansMono-BoldOblique.ttf"/>
         </font>
      </font-family>
      <font-family name="DejaVuSerifCond" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
         <font>
           <font-data ttf="DejaVuSerifCondensed.ttf"/>
         </font>
         <font style="oblique">
           <font-data ttf="DejaVuSerifCondensed-Oblique.ttf"/>
         </font>
         <font weight="bold">
           <font-data ttf="DejaVuSerifCondensed-Bold.ttf"/>
         </font>
      </font-family>
    </font-group>


    <!-- Korean Fonts -->
    <font-group label="Nanum" embed="true" subset="true">
      <font-family name="NanumMyeongjo">
        <font>
          <font-data ttf="NanumMyeongjo.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="NanumMyeongjo.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="NanumMyeongjoBold.ttf"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="NanumMyeongjoBold.ttf"/>
        </font>
      </font-family>
      <font-family name="NanumGothic">
        <font>
          <font-data ttf="NanumGothic.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="NanumGothic.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="NanumGothicBold.ttf"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="NanumGothicBold.ttf"/>
        </font>
      </font-family>
    </font-group>
    <font-group label="UnFonts" embed="true" subset="true">
      <font-family name="UnBatang">
        <font>
          <font-data ttf="UnBatang.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="UnBatangBold.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="UnBatang.ttf"/>
          <transform slant-angle="12"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="UnBatangBold.ttf"/>
          <transform slant-angle="12"/>
        </font>
      </font-family>
      <font-family name="UnDotum">
        <font>
          <font-data ttf="UnDotum.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="UnDotumBold.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="UnDotum.ttf"/>
          <transform slant-angle="12"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="UnDotumBold.ttf"/>
          <transform slant-angle="12"/>
        </font>
      </font-family>
    </font-group>

    <!-- Traditional Chinese Fonts -->
    <font-group label="ARPLUMingTW" embed="true" subset="true">
      <font-family name="ARPLUMingTW">
        <font>
          <font-data ttc="uming.ttc" subfont="3"/>
        </font>
        <font style="italic">
          <font-data ttc="uming.ttc" subfont="3"/>
        </font>
        <font weight="bold">
          <font-data ttc="uming.ttc" subfont="3"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttc="uming.ttc" subfont="3"/>
        </font>
      </font-family>
    </font-group>

    <!-- Simplified Chinese Fonts -->
    <font-group label="WenQuanYi" embed="true" subset="true">
      <font-family name="WenQuanYiMicroHei">
        <font>
          <font-data ttc="wqy-microhei.ttc" subfont="1"/>
        </font>
        <font style="italic">
          <font-data ttc="wqy-microhei.ttc" subfont="1"/>
        </font>
        <font weight="bold">
          <font-data ttc="wqy-microhei.ttc" subfont="1"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttc="wqy-microhei.ttc" subfont="1"/>
        </font>
      </font-family>
      <font-family name="WenQuanYiMicroHeiMono">
        <font>
          <font-data ttc="wqy-microhei.ttc" subfont="2"/>
        </font>
        <font style="italic">
          <font-data ttc="wqy-microhei.ttc" subfont="2"/>
        </font>
        <font weight="bold">
          <font-data ttc="wqy-microhei.ttc" subfont="2"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttc="wqy-microhei.ttc" subfont="2"/>
        </font>
      </font-family>
    </font-group>

    <!-- Arabic Fonts-->
    <font-group label="Amiri" embed="true" subset="true">
      <font-family name="Amiri">
        <font>
          <font-data ttf="amiri-regular.ttf"/>
        </font>
        <font style="italic">
          <font-data ttf="amiri-slanted.ttf"/>
        </font>
        <font weight="bold">
          <font-data ttf="amiri-bold.ttf"/>
        </font>
        <font weight="bold" style="italic">
          <font-data ttf="amiri-boldslanted.ttf"/>
        </font>
      </font-family>
    </font-group>

    <!-- Required aliases -->
    <font-alias name="serif" value="FreeSerif"/>
    <font-alias name="sans-serif" value="FreeSans"/>
    <font-alias name="monospace" value="FreeMono"/>
    <font-alias name="cursive" value="FreeSerif"/>
    <font-alias name="fantasy" value="FreeSerif"/>

    <font-alias name="Helvetica" value="FreeSans"/>
    <font-alias name="Times" value="FreeSerif"/>
    <font-alias name="Courier" value="FreeMono"/>
    <font-alias name="Dingbats" value="ZapfDingbats"/>
  </fonts>


  <!-- LANGUAGE-SPECIFIC DATA: hyphenation, line breaking, etc -->
    <languages default-language="en-US" xml:base="hyphen/">

      <language name="English (US)" codes="none en en-US eng-US">
        <hyphenation pattern="hyphen_rx.tex"/>
      </language>

      <language name="English (UK)" codes="en-GB eng-GB eng">
        <hyphenation pattern="ukhyphen.tex"/>
      </language>

      <language name="Russian" codes="ru rus">
        <hyphenation pattern="ruhyphal.tex" encoding="koi8-r"/>
      </language>

      <language name="French" codes="fr fra fre">
        <hyphenation pattern="frhyph_rx.tex"/>
      </language>

      <language name="German" codes="de deu ger">
        <hyphenation pattern="dehyph_rx.tex"/>
      </language>

      <language name="Spanish" codes="es esl spa">
        <hyphenation pattern="eshyph_rx.tex"/>
      </language>

      <language name="Polish" codes="pl pol">
        <hyphenation pattern="plhyph_rx.tex"/>
      </language>

      <!-- Added our languages: -->
      <language name="Hungarian" codes="hu" encoding="ISO-8859-2">
        <hyphenation pattern="huhyph_rx.tex"/>
      </language>

      <!-- Please do not change to *.tex version.-->
      <language name="Czech" codes="cs cz cs_CZ cze">
        <hyphenation pattern="czhyphen.il2" encoding="iso-8859-2"/>
      </language>

      <language name="Italian" codes="it">
        <hyphenation pattern="ithyph_rx.tex"/>
      </language>

   </languages>

</config>
