[xep-support] Using Computer Modern Type 1 fonts
Paul A. Hoadley
paulh at logicsquad.net
Thu Jan 23 05:57:47 PST 2003
Hi Nikolai,
On Thu, Jan 23, 2003 at 02:17:17PM +0300, Nikolai Grigoriev wrote:
> > 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?
>
> the problem is as follows: for Computer Modern fonts, names in AFM
> and in PFB differ in case. The font is named "cmr10" in cmr10.afm -
> but cmr10.pfb has "CMR10". (Strictly speaking, this is an error in
> the font). This problem manifests in PostScript only; PDF uses a
> different mechanism to bind font names to outlines.
>
> To fix, specify <font name="CMR10" ...> (all uppercase) in
> fonts.xml.
Thanks -- this does indeed allow the Computer Modern font to appear in
PS output. Somewhat strangely, though, spaces appear as a slightly
angled hyphen! What is the cause of this?
--
Paul.
mailto:paulh at logicsquad.net
mailto:paul.hoadley at student.adelaide.edu.au
-------------------
(*) 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