[xep-support] Using CJK AFMs

From: Christopher Wong (cwong@idiominc.com)
Date: Tue Sep 14 2004 - 09:49:29 PDT

  • Next message: rondeelvantrigt: "RE: [xep-support] Computer Modern Fonts in XEP"

    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



    This archive was generated by hypermail 2.1.5 : Tue Sep 14 2004 - 10:07:50 PDT