[xep-support] Type 1 Font Embedding

Victor Mote vic at portagepub.com
Mon Mar 29 11:39:05 PST 2004


Nikolai:

> -----Original Message-----
> From: owner-xep-support at renderx.com 
> [mailto:owner-xep-support at renderx.com] On Behalf Of Nikolai Grigoriev
> Sent: Monday, March 29, 2004 9:32 AM
> To: xep-support at renderx.com
> Subject: Re: [xep-support] Type 1 Font Embedding
> 
> Victor,
> 
> > I am embedding a Type1 font in a PDF, using XEP 3.7.5 Client. 
> > Non-ASCII glyphs in the font do not appear to be getting embedded 
> > (e.g. emdash, copyright, quoteright). The font is an unedited Adobe 
> > font (Acaslon Regular).
> 
> >From your description, I suspect a mismatch between the embedded
> encoding in the PFB file, and symbol codes (C field values) 
> in the AFM. 
> (For example, the font may be in MacRoman, while the AFM uses 
> codes from AdobeStandard). 
> 
> I suggest the following experiment: modify the AFM by ascribing
> -1 to all codes that differ between MacRoman and AdobeStandard: 
> this includes all codes >127, and 39 (quotesingle / quoteright).
> It makes XEP believe that these characters are not part of 
> the embedded encoding; it will therefore produce a custom 
> encoding to include them, bypassing codes stored in the PFB. 
> If it helps, than my guess is correct. If not, I would really 
> like to look at your AFM/PFB pair; please send it off-list to 
> support at renderx.com.

You are exactly right. Adobe doesn't always ship AFM files with their fonts,
and I was generating the AFM file from my font editing software. Apparently
there is a problem there. I found the AFM files on the Adobe web site,
downloaded them, and that fixed the problem. It was difficult enough to find
them on the Adobe site that I am posting the URL here in case this helps
anyone else:
ftp://ftp.adobe.com/pub/adobe/type/win/all/afmfiles
There appears to be a roughly 128K limit to downloads in one session.

Thanks for your prompt and helpful advice.

Victor Mote

-------------------
(*) 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