[xep-support] Re: Problems configuring XEPWin and adding Fonts

From: Kevin Brown <kevin@renderx.com>
Date: Tue Nov 12 2013 - 10:52:45 PST

Wrong root tag in your xep.option.xml.

The root tag in your xep.options.xml should be the same tag you are
referencing in your modularized xep.xml.

In your case options->config .... this is wrong.

Your xep.options.xml should start with:

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

Fonts are easy, just wrap in font-group tags for custom ones. Like this:

*** cisco.fonts.xml ***

<font-group xmlns="http://www.renderx.com/XEP/config">
    
    <!-- ======================================================= -->
    <!-- Cisco fonts defined here -->
    <!-- ======================================================= -->
    <font-group xml:base="CiscoSans TTF/" label="Cisco Fonts" embed="true"
subset="true">
        <font-family name="CiscoSansTT" embed="true">
            <font><font-data ttf="CiscoSansTTRegular.ttf"/></font>
            <font style="italic"><font-data
ttf="CiscoSansTTRegularOblique.ttf"/></font>
            <font weight="bold"><font-data
ttf="CiscoSansTTBold.ttf"/></font>
            <font weight="bold" style="italic"><font-data
ttf="CiscoSansTTBoldOblique.ttf"/></font>
        </font-family>
        
        <font-family name="CiscoSansTTHeavy" embed="true">
            <font><font-data ttf="CiscoSansTTHeavy.ttf"/></font>
            <font style="italic"><font-data
ttf="CiscoSansTTHeavyOblique.ttf"/></font>
        </font-family>
        
        <font-family name="CiscoSansTTThin" embed="true">
            <font><font-data ttf="CiscoSansTTThin.ttf"/></font>
            <font style="italic"><font-data
ttf="CiscoSansTTThinOblique.ttf"/></font>
            <font weight="bold"><font-data
ttf="CiscoSansTTRegular.ttf"/></font>
            <font style="italic" weight="bold"><font-data
ttf="CiscoSansTTRegularOblique.ttf"/></font>
        </font-family>
        
        
        <font-alias name="Cisco" value="CiscoSansTT"></font-alias>
        <font-alias name="CiscoHeavy" value="CiscoSansTTHeavy"></font-alias>
        <font-alias name="CiscoThin" value="CiscoSansTTThin"></font-alias>
    </font-group>

    <!-- ======================================================= -->
    <!-- Additional Fonts here by Project -->
    <!-- ======================================================= -->
    <font-group label="New Project" embed="true" subset="true">
        <!-- your fonts here, use above pattern -->
    </font-group>
    
</font-group>

-----Original Message-----
From: Alexander Reith [mailto:Alexander.Reith@dpv-elektronik.de]
Sent: Tuesday, November 12, 2013 12:57 AM
To: kevin@renderx.com; RenderX Community Support List
Subject: AW: [xep-support] Re: Problems configuring XEPWin and adding Fonts

How to create the new options.xml ?
Tried it, but it doesn't work

My xep.options.xml:
<?xml version="1.0" encoding="utf-8"?>

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

  <!-- ======================================================= -->
  <!-- Formatter options -->
  <!-- ======================================================= -->
  <options>
    <option name="LICENSE" value="license.xml"/>
    <option name="TMPDIR" value="none"/>
    <option name="BROKENIMAGE" value="images/404.gif"/>
    <option name="LOGO" value="images/logo-renderx.svg"/>
    <option name="STAMP_PNG" value="images/stamp-renderx.png"/>
    <option name="ROLE_MAP" value="rolemap.xml"/>
    <option name="VALIDATE" value="true"/>
    <option name="DISCARD_IF_NOT_VALID" value="false"/>
        ...
  </options>
</config>

My xep.xml:

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

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

<config xmlns="http://www.renderx.com/XEP/config">
  <options href="file:///C:/Program Files
(x86)/RenderX/XEPWin/xep/xep.options.xml"/>

  <!-- ======================================================= --> ...
</config>

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Tue Nov 12 10:52:52 2013

This archive was generated by hypermail 2.1.8 : Tue Nov 12 2013 - 10:53:12 PST