Re: [xep-support] fonts in v4

From: Michael Sulyaev <msulyaev@renderx.com>
Date: Fri Nov 12 2004 - 05:12:06 PST

[xep-support] fonts in v4Hi, Jason,

In your particular case the following text in xep.xml will work:
    <font-group xml:base="file:/C:/path/to/fonts/" label="Windows TrueType"
embed="true" subset="true">
      <font-family name="CenturySchoolbook">
        <font><font-data ttf="CENSCBK.TTF"/></font>
        <font style="oblique"><font-data ttf="SCHLBKI.TTF"/></font>
        <font weight="bold"><font-data ttf="SCHLBKB.TTF"/></font>
        <font weight="bold" style="oblique"><font-data
ttf="SCHLBKBI.TTF"/></font>
      </font-family>
      <font-family name="TwCenMT">
        <font><font-data ttf="TCM_____.TTF"/></font>
        <font style="oblique"><font-data ttf="TCMI____.TTF"/></font>
        <font weight="bold"><font-data ttf="TCMB____.TTF"/></font>
        <font weight="bold" style="oblique"><font-data
ttf="TCBI____.TTF"/></font>
      </font-family>
      <font-alias name="TwCenMT-Regular" value="TwCenMT"/>
    </font-group>

Best regards,
Michael Sulyaev
RenderX

----- Original Message -----
From: Jason B. Tomarken
To: xep-support@renderx.com
Sent: Wednesday, November 10, 2004 11:53 PM
Subject: [xep-support] fonts in v4

Hi,
We just upgraded to XEP 4 (from 3) and are having trouble with fonts.
In v3, we were using some true type fonts that were not part of the bundled
font collection in XEP. So, we added the ttf files (they are TrueType
fonts) to the "afm" directory (now "fonts" in v4) and added several lines of
XML to the fonts.xml config file (which now, in v4, is part of the overall
xep.xml config file).
With v4, I made sure to add the ttf files to the new "fonts" directory, but
I cannot seem to translate the lines in the fonts.xml file to the structure
required for the new xep.xml file.
I've read through the documentation for configuring fonts in v4 and have
gotten close but the resulting PDF files still does not look like the PDF
produced with v3 and, in some attempts, could not "find" particular fonts.
Can anybody offer help?
Thanks.
Jason Tomarken
Systems Analyst
Davis Polk & Wardwell
The v3 fonts.xml lines are as follows:
<font name="CenturySchoolbook"
      ttf="CENSCBK.TTF"
      embed="true">
</font>
<font name="CenturySchoolbook-Bold"
      ttf="SCHLBKB.TTF"
      embed="true">
</font>
<font name="CenturySchoolbook-Italic"
      ttf="SCHLBKI.TTF"
      embed="true">
</font>
<font name="CenturySchoolbook-BoldItalic"
      ttf="SCHLBKBI.TTF"
      embed="true">
</font>
<font name="TwCenMT"
      ttf="TCM_____.TTF"
      embed="true"
      alias="TwCenMT-Regular">
</font>
<font name="TwCenMT-Italic"
      ttf="TCMI____.TTF"
      embed="true">
</font>
<font name="TwCenMT-Bold"
      ttf="TCB_____.TTF"
      embed="true">
</font>
<font name="TwCenMT-BoldItalic"
      ttf="TCBI____.TTF"
      embed="true">
</font>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Fri Nov 12 06:02:21 2004

This archive was generated by hypermail 2.1.8 : Fri Nov 12 2004 - 06:02:21 PST