Re: [xep-support] Font face removed when embedding fonts

From: Bob Stayton <bobs@sagehill.net>
Date: Wed Apr 06 2005 - 22:33:49 PDT

Aren't there different pfb files for the different font styles in the
family? If so, then you need to specify those in the pfb attributes.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net

----- Original Message -----
From: "Spittle, Dennis" <Dennis.Spittle@ccra-adrc.gc.ca>
To: <xep-support@renderx.com>
Sent: Wednesday, April 06, 2005 8:12 AM
Subject: [xep-support] Font face removed when embedding fonts

>
> 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@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 Wed Apr 6 22:58:38 2005

This archive was generated by hypermail 2.1.8 : Wed Apr 06 2005 - 22:58:38 PDT