[xep-support] Font face removed when embedding fonts

From: Spittle, Dennis <Dennis.Spittle@ccra-adrc.gc.ca>
Date: Wed Apr 06 2005 - 08:12:21 PDT

I have modified my xep.xml to embed fonts, but by doing so I'm losing my
font face which is "bold" in this case. When I don't embed fonts, everything
works fine. It seems as if font faces are ignored when the font is embedded.
Does anyone have any suggestions if or how this can be fixed?

BTW, I'm using XEP 4.2 on a Windows system.

The code in my xep.xml is as follows...

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

The code in my stylesheet changes the font face to bold when <strong> is

<xsl:template match="strong">
   <fo:inline font-weight="bold">
      <xsl:apply-templates select="*|text()"/>

(*) 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 Wed Apr 6 09:11:06 2005

This archive was generated by hypermail 2.1.8 : Wed Apr 06 2005 - 09:11:07 PDT