[xep-support] embedding fonts in PDF -- adding embed="true" seems not to work for base fonts!

From: Patrick Goetz <pgoetz@internetbs.com>
Date: Mon Mar 13 2006 - 07:34:16 PST

In an earlier post I asked about embedding the Helvetica font into a pdf
document I'm creating with XEP 4.5.

No one responded to this, most likely because it was a simple case of
RTFM. Or maybe not? In the xep.xml I both changed the attribute in the
font group:

    <!-- Base Adobe fonts. -->
    <font-group label="Base 14" embed="true">

and in the Helvetica <font-family> tag:

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

but the font is still not being embedded! When I pull up the document
on my Windows machine using Acrobat reader 7.0x and look at
File->Document Properties->Fonts, the ArialMT font is substituted instead.

Any idea what is going on? The font is only being used in the ruler
function for line numbering, if this matters.

As an aside, I'm not even sure how the ruler font changed from the
document default, Garamond, to the xep.xml default, Helvetica; however
I'm aware that ruler comes with no support, so this is more a matter of
curiosity than anything else.
(*) 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/terms-of-service.html
Received on Mon Mar 13 08:08:07 2006

This archive was generated by hypermail 2.1.8 : Mon Mar 13 2006 - 08:08:11 PST