[xep-support] Using CJK AFMs

Alexei Gagarinov agagarinov at renderx.com
Thu Sep 16 02:04:04 PDT 2004


Hello Chris,

AFMs for CID fonts (for example, Adobe's Asian font packs) contain CIDs in
'N' entries.
The current XEP's font processing scheme treats them as glyph names and then
maps
the names to Unicode values according to AGL 2.0. So the resulting PDF will
always
display blank characters in such a case.

With best regards,
  Alexei Gagarinov
RenderX

----- Original Message -----
From: "Christopher Wong" <cwong at idiominc.com>
To: <xep-support at renderx.com>
Sent: Tuesday, September 14, 2004 8:49 PM
Subject: [xep-support] Using CJK AFMs


> I'm trying to get XEP working with Adobe's Asian font packs. This works
fine
> using the instructions from the user's guide if I install the font file
> itself (e.g. STSongStd-Light-Acro.otf). But due to the bulk of the font
> files and the dubious legality of redistributing Adobe's font packs, I
tried
> generating the font metrics files (*.afm) from the font using fontforge
and
> pointing XEP to those. The entries in font.xml look like:
>
>    <font name="STSongStd-Light-Acro"
>          afm="CIDFont/STSongStd-Light-Acro.afm"
>          adobe-encoding="UniGB-UCS2-H"
>          adobe-ordering="GB1"
>          adobe-supplement="2"
>          embed="false">
>      <alias name="STSongStd"/>
>    </font>
>
>    <font name="STSongStd-Light-Acro,Bold"
>          afm="CIDFont/STSongStd-Light-Acro.afm"
>          adobe-encoding="UniGB-UCS2-H"
>          adobe-ordering="GB1"
>          adobe-supplement="2"
>          embed="false">
>      <alias name="STSongStd-Bold"/>
>      <alias name="STSongStd-Light-Acro-Bold"/>
>    </font>
>
> While XEP happily accepts these entries, the resulting PDFs show blank
where
> the Chinese (in this case) characters should appear. Shouldn't XEP be able
> to use AFMs for these fonts the way it does the Adobe base fonts?
>
> Thanks for your help.
>
> Chris


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