[CM] more fun w. CMN: music-font
Bill Schottstaedt
bil@ccrma.Stanford.EDU
Tue, 8 Oct 2002 04:45:13 -0700
On user-defined fonts in cmn, there's info in
man gs
about where gs looks for fonts. Say you have a font
named Sonata (i.e. the file Sonata and (optional)
file Sonata.afm) on the current directory:
(cmn (music-font "Sonata") treble c4 q)
then tells Postscript to use it in lines like:
/Sonata findfont 40 scalefont setfont
and gs looks first at the current directory for Sonata.
Any name should be ok here but the glyph mapping has
to reflect the Sonata font map. I think the name is
case-sensitive.