[xep-support] Using Computer Modern Type 1 fonts

From: Paul A. Hoadley (paulh@logicsquad.net)
Date: Thu Jan 23 2003 - 00:15:52 PST

  • Next message: Nikolai Grigoriev: "Re: [xep-support] Using a symbol glyph as a bullet"


    I've been trying to get XEP to incorporate Donald Knuth's Computer
    Modern fonts into PS output. I've been following the steps detailed
    in the XEP User Guide, but there must be some subtlety I'm missing

    I downloaded the AFM files for the CM fonts from CTAN. There are PFB
    files in the TeX distribution. I have added this to fonts.xml:

       <font name="cmr10"
         <alias name="Computer Modern"/>

    I'm assuming the name attribute there is correct, as the AFM contains

    FontName cmr10
    FullName Computer Modern Roman 10 point
    FamilyName Computer Modern

    I am specifying font-family="Computer Modern" in the FO source
    (generated by the DocBook stylesheets). cmr10 seems to get embedded
    in the resulting PS, but the text itself doesn't use the font -- in
    fact, it comes out as Courier.

    I suspect I'm not naming things correctly. Can anyone help me to use
    the Computer Modern font?

    (*) 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 Jan 23 2003 - 00:10:17 PST