[xep-support] Re: Trouble getting AFM font installed

From: Kevin Brown <kevin@renderx.com>
Date: Thu Jul 26 2012 - 11:11:33 PDT

Betty:

OK a few things here:

1) I assume you are using the font-family="SansStone" in your XML
2) Look at the parent element to where you placed this in xep.xml, it has a
base (likely "fonts/", this means you should be placing those AFM files in
the fonts/ subdirectory under the RenderX install. If you have them
installed on Windows, then they are likely not in that directory (they would
be in Windows\Fonts). Either copy them to the fonts/ dir or change in
xep.xml to explicit paths to the font file locations.
3) The other line you edited (AFPFont,SansStone )is for AFP output only, you
only need that if you are using AFP

The afm="" attribute should point at the actual file. If this is relative as
it is in yours, then look up the chain to see if you have a parent element
with a base. Optionally, just put an explicit path to the file in that
attribute,

Kevin Brown
RenderX

-----Original Message-----
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Betty Harvey
Sent: Thursday, July 26, 2012 11:02 AM
To: xep-support@renderx.com
Subject: [xep-support] Trouble getting AFM font installed

I am having trouble getting an AFM font recognized. I have placed the
following in the xep.xml file under <fonts><font-group label="Base 14"
embed="false">

I am using 4.19 version of RenderX.

  <font-family name="SansStone">
        <font>
          <font-data afm="SansStone.AFM" pfb="SansStone.pfb"/>
        </font>
        <font weight="bold">
          <font-data afm="SansStone-Bold.afm" pfb="SansStone-Bold.pfb"/>
         </font>
        <font style="italic">
           <font-data afm="SansStone-Italic.afm"
pfb="SansStone-Italic.pfb"/>
        </font>
        <font weight="bold" style="italic">
           <font-data afm="SansStone-BoldItalic.afm"
pfb="SansStone-BoldItalic.pfb"/>
      </font>
        <font-alias name="Stone" value="SansStone"/>

I also added the following line in the options section:

<option name="AFPFont,SansStone" value="C0H200.0, C0H300.0, C0H400.0,
C0H500.0, C0H201.0, C0H301.0, C0H401.0, C0H501.0, 278"/>

The font is defaulting to 'Helvetica'. Is there something I am overlooking?

Thanks!

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com | Washington,DC XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Member of XML Guild (www.xmlguild.org)

!DSPAM:87,501185b063732144276218!

_______________________________________________
(*) 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

_______________________________________________
(*) 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 Thu Jul 26 11:01:54 2012

This archive was generated by hypermail 2.1.8 : Thu Jul 26 2012 - 11:01:55 PDT