RE: [xep-support] Using CJK AFMs

From: Christopher Wong (cwong@idiominc.com)
Date: Thu Sep 16 2004 - 06:44:26 PDT

  • Next message: Alexei Gagarinov: "Re: [xep-support] Using CJK AFMs"

    What can I do to accomplish what I described?

    Chris

    -----Original Message-----
    From: Alexei Gagarinov [mailto:agagarinov@renderx.com]
    Sent: Thursday, September 16, 2004 5:04 AM
    To: xep-support@renderx.com
    Subject: Re: [xep-support] Using CJK AFMs

    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@idiominc.com>
    To: <xep-support@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@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



    This archive was generated by hypermail 2.1.5 : Thu Sep 16 2004 - 07:03:24 PDT