[xep-support] Font face removed when embedding fonts

Spittle, Dennis Dennis.Spittle at ccra-adrc.gc.ca
Wed Apr 6 08:12:21 PDT 2005


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>
   <font style="oblique" embed="true">
      <font-data afm="Helvetica-Oblique.afm" pfb="hv______.pfb"/>
   </font>
   <font weight="bold" embed="true">
      <font-data afm="Helvetica-Bold.afm" pfb="hv______.pfb"/>
   </font>
   <font weight="bold" style="oblique" embed="true">
      <font-data afm="Helvetica-BoldOblique.afm" pfb="hv______.pfb"/>
   </font>
</font-family>

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

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


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list