[CM] more fun w. CMN: music-font

Bill Schottstaedt bil at ccrma.Stanford.EDU
Tue Oct 8 04:45:13 PDT 2002


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.




More information about the Cmdist mailing list