<?xml version="1.0" encoding="utf-8"?>

<!-- ======================================================= -->
<!-- RenderX XEP Configuration                               -->
<!-- ======================================================= -->

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

  <!-- ======================================================= -->
  <!-- Formatter options                                       -->
  <!-- ======================================================= -->
  <options>
    <option name="TMPDIR" value="none"/>
    <option name="BROKENIMAGE" value="resource:com.k15t.scroll/xep/images/404.gif"/>
    
    <!-- Backend options -->
    <generator-options format="PDF">
      <!-- <option name="COMPRESS" value="false"/> -->
      <!-- <option name="PDF_VERSION" value="1.3"/> -->
    </generator-options>
  </options>

  <!-- ======================================================= -->
  <!-- Fonts                                                   -->
  <!-- ======================================================= -->
  
  <fonts xmlns="http://www.renderx.com/XEP/config" 
         xml:base="resource:com.k15t.scroll/xep/fonts/" 
         default-family="Helvetica">
    
    <!-- Base Adobe fonts. -->
    <font-group label="Base 14" embed="false">
      <font-family name="Courier">
        <font><font-data afm="Courier.afm"/></font>
        <font style="oblique"><font-data afm="Courier-Oblique.afm"/></font>
        <font weight="bold"><font-data afm="Courier-Bold.afm"/></font>
        <font weight="bold" style="oblique"><font-data afm="Courier-BoldOblique.afm"/></font>
      </font-family>

      <font-family name="Helvetica">
        <font><font-data afm="Helvetica.afm"/></font>
        <font style="oblique"><font-data afm="Helvetica-Oblique.afm"/></font>
        <font weight="bold"><font-data afm="Helvetica-Bold.afm"/></font>
        <font weight="bold" style="oblique"><font-data afm="Helvetica-BoldOblique.afm"/></font>
      </font-family>

      <font-family name="Times" ligatures="&#xFB01; &#xFB02;">
        <font><font-data afm="Times-Roman.afm"/></font>
        <font style="italic"><font-data afm="Times-Italic.afm"/></font>
        <font weight="bold"><font-data afm="Times-Bold.afm"/></font>
        <font weight="bold" style="italic"><font-data afm="Times-BoldItalic.afm"/></font>
      </font-family>

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

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

    <!-- Other Type1 fonts -->
    <font-group label="Assorted Type 1" embed="true">
      <font-family name="OmegaSerifIPA">
        <font><font-data afm="IPA.afm" pfa="IPA.pfa" glyph-list="IPA.glyphs"/></font>
      </font-family>   
      <font-alias name="OmegaIPA" value="OmegaSerifIPA"/>
      <font-alias name="Phonetic" value="OmegaSerifIPA"/>
    </font-group>

    <!-- Sample configuration for Windows TrueType fonts.  --> 
    <font-group xml:base="file:/C:/Windows/Fonts/" label="Windows TrueType" embed="true"> 
      <font-family name="Calibri">
        <font><font-data ttf="calibri.ttf"/></font>
        <font style="oblique"><font-data ttf="calibrii.ttf"/></font>
        <font weight="bold"><font-data ttf="calibrib.ttf"/></font>
        <font weight="bold" style="oblique"><font-data ttf="calibriz.ttf"/></font>
      </font-family>
	  <font-family name="Times New">
	    <font><font-data ttf="times.ttf"/></font>
	    <font style="oblique"><font-data ttf="timesi.ttf"/></font>
	    <font weight="bold"><font-data ttf="timesbd.ttf"/></font>
	    <font weight="bold" style="oblique"><font-data ttf="timesbi.ttf"/></font>
	  </font-family>
	  <font-family name="Courier New">
	    <font><font-data ttf="cour.ttf"/></font>
	    <font style="oblique"><font-data ttf="couri.ttf"/></font>
	    <font weight="bold"><font-data ttf="courbd.ttf"/></font>
	    <font weight="bold" style="oblique"><font-data ttf="courbi.ttf"/></font>
	  </font-family>
    </font-group>
    
    <!-- Required aliases -->      
    <font-alias name="monospace" value="Courier New"/>
    <font-alias name="sans-serif" value="Calibri"/>
    <font-alias name="serif" value="Times New"/>    
    <font-alias name="cursive" value="Times New"/>
    <font-alias name="fantasy" value="Times New"/>
  </fonts>

  <!-- ======================================================= -->
  <!-- Language-specific data: hyphenation, line breaking, etc -->
  <!-- ======================================================= -->
  <languages default-language="en-US" xml:base="resource:com.k15t.scroll/xep/hyphen/">
  
    <language name="English (US)" codes="none en-US eng-US">
      <hyphenation pattern="hyphen.tex"/>
    </language>

    <language name="English (UK)" codes="en-GB eng-GB en 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>
    
  </languages>
    
</config>
