[xep-support] Using Computer Modern Type 1 fonts

Nikolai Grigoriev grig at renderx.com
Thu Jan 23 03:17:17 PST 2003


Hi Paul,

> 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.

Best regards,
Nikolai Grigoriev
RenderX


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