chiark / gitweb /
Merge branch 'arkkra' into shiny
[mup] / mup / docs / mkmupfnt.ps
diff --git a/mup/docs/mkmupfnt.ps b/mup/docs/mkmupfnt.ps
new file mode 100644 (file)
index 0000000..3527c5f
--- /dev/null
@@ -0,0 +1,314 @@
+%!PS-Adobe-3.0
+%%Creator: groff version 1.17.2
+%%CreationDate: Sat Dec  9 16:59:22 2006
+%%DocumentNeededResources: font Times-Roman
+%%+ font Times-Bold
+%%+ font Times-Italic
+%%DocumentSuppliedResources: procset grops 1.17 2
+%%Pages: 2
+%%PageOrder: Ascend
+%%Orientation: Portrait
+%%EndComments
+%%BeginProlog
+%%BeginResource: procset grops 1.17 2
+/setpacking where{
+pop
+currentpacking
+true setpacking
+}if
+/grops 120 dict dup begin
+/SC 32 def
+/A/show load def
+/B{0 SC 3 -1 roll widthshow}bind def
+/C{0 exch ashow}bind def
+/D{0 exch 0 SC 5 2 roll awidthshow}bind def
+/E{0 rmoveto show}bind def
+/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
+/G{0 rmoveto 0 exch ashow}bind def
+/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/I{0 exch rmoveto show}bind def
+/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
+/K{0 exch rmoveto 0 exch ashow}bind def
+/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/M{rmoveto show}bind def
+/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
+/O{rmoveto 0 exch ashow}bind def
+/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/Q{moveto show}bind def
+/R{moveto 0 SC 3 -1 roll widthshow}bind def
+/S{moveto 0 exch ashow}bind def
+/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/SF{
+findfont exch
+[exch dup 0 exch 0 exch neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/MF{
+findfont
+[5 2 roll
+0 3 1 roll
+neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/level0 0 def
+/RES 0 def
+/PL 0 def
+/LS 0 def
+/MANUAL{
+statusdict begin/manualfeed true store end
+}bind def
+/PLG{
+gsave newpath clippath pathbbox grestore
+exch pop add exch pop
+}bind def
+/BP{
+/level0 save def
+1 setlinecap
+1 setlinejoin
+72 RES div dup scale
+LS{
+90 rotate
+}{
+0 PL translate
+}ifelse
+1 -1 scale
+}bind def
+/EP{
+level0 restore
+showpage
+}bind def
+/DA{
+newpath arcn stroke
+}bind def
+/SN{
+transform
+.25 sub exch .25 sub exch
+round .25 add exch round .25 add exch
+itransform
+}bind def
+/DL{
+SN
+moveto
+SN
+lineto stroke
+}bind def
+/DC{
+newpath 0 360 arc closepath
+}bind def
+/TM matrix def
+/DE{
+TM currentmatrix pop
+translate scale newpath 0 0 .5 0 360 arc closepath
+TM setmatrix
+}bind def
+/RC/rcurveto load def
+/RL/rlineto load def
+/ST/stroke load def
+/MT/moveto load def
+/CL/closepath load def
+/FL{
+currentgray exch setgray fill setgray
+}bind def
+/BL/fill load def
+/LW/setlinewidth load def
+/RE{
+findfont
+dup maxlength 1 index/FontName known not{1 add}if dict begin
+{
+1 index/FID ne{def}{pop pop}ifelse
+}forall
+/Encoding exch def
+dup/FontName exch def
+currentdict end definefont pop
+}bind def
+/DEFS 0 def
+/EBEGIN{
+moveto
+DEFS begin
+}bind def
+/EEND/end load def
+/CNT 0 def
+/level1 0 def
+/PBEGIN{
+/level1 save def
+translate
+div 3 1 roll div exch scale
+neg exch neg exch translate
+0 setgray
+0 setlinecap
+1 setlinewidth
+0 setlinejoin
+10 setmiterlimit
+[]0 setdash
+/setstrokeadjust where{
+pop
+false setstrokeadjust
+}if
+/setoverprint where{
+pop
+false setoverprint
+}if
+newpath
+/CNT countdictstack def
+userdict begin
+/showpage{}def
+}bind def
+/PEND{
+clear
+countdictstack CNT sub{end}repeat
+level1 restore
+}bind def
+end def
+/setpacking where{
+pop
+setpacking
+}if
+%%EndResource
+%%IncludeResource: font Times-Roman
+%%IncludeResource: font Times-Bold
+%%IncludeResource: font Times-Italic
+grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
+def/PL PLG def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
+/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
+/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
+/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
+/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
+/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
+/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
+/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
+/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
+/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
+/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
+/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
+/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
+/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
+/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
+/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
+/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
+/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
+/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
+/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
+/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
+/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
+/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
+/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
+/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
+/Times-Roman@0 ENC0/Times-Roman RE
+%%EndProlog
+%%Page: 1 1
+%%BeginPageSetup
+BP
+%%EndPageSetup
+/F0 10/Times-Roman@0 SF 358.84(mkmupfnt\(1\) mkmupfnt\(1\))72 48 R/F1
+10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0
+(mkmupfnt - create font\214le for o)108 96 Q -.15(ve)-.15 G
+(rriding Mup fonts).15 E F1(SYNOPSIS)72 112.8 Q F0(mkmupfnt)108 124.8 Q
+/F2 10/Times-Italic@0 SF -.8(Po)2.5 G
+(stScript_font_name Mup_font_name out\214le [\214le]).8 E F1
+(DESCRIPTION)72 141.6 Q F0(The)108 153.6 Q/F3 10/Times-Bold@0 SF
+(mkmupfnt)2.862 E F0 .362(program creates an)2.862 F F2(out\214le)2.862
+E F0 .362(that can be used with the Mup "font\214le" statement to o)
+2.862 F -.15(ve)-.15 G .361(rride a).15 F(Mup font.)108 165.6 Q(The)108
+182.4 Q F2 -.8(Po)3.854 G(stScript_font_name).8 E F0 1.354
+(is the name of the font you w)3.854 F 1.354(ant Mup to use. This w)-.1
+F 1.355(ould be something that)-.1 F(could be gi)108 194.4 Q -.15(ve)
+-.25 G 2.5(na).15 G 2.5(san)-2.5 G(ame to the PostScript)-2.5 E F3
+(\214ndf)2.5 E(ont)-.25 E F0(procedure.)2.5 E(The)108 211.2 Q F2
+(Mup_font_name)3.5 E F0 1(is the name of the Mup font you w)3.5 F .999
+(ant to o)-.1 F -.15(ve)-.15 G .999(rride, either an abbre).15 F .999
+(viated name, lik)-.25 F(e)-.1 E("PR" or a full name, lik)108 223.2 Q
+2.5(e")-.1 G(palatino rom".)-2.5 E(The)108 240 Q F2(out\214le)2.831 E F0
+.331(is the \214le that will be generated, which will contain character\
+ size and other information, to use)2.831 F(with Mup')108 252 Q 2.5(s")
+-.55 G(font\214le" statement.)-2.5 E .49(The \214nal optional)108 268.8
+R F2(\214le)2.99 E F0(ar)2.99 E .489(gument is the name of a \214le tha\
+t contains PostScript to be placed at the end of the)-.18 F .077
+(Mup PostScript prolog.)108 280.8 R .077(This might be useful if you ha)
+5.077 F .378 -.15(ve a f)-.2 H .078
+(ont whose implementation PostScript could not).15 F .233
+(\214nd on its o)108 292.8 R .233(wn. F)-.25 F .233(or e)-.15 F .233
+(xample, if you')-.15 F .533 -.15(ve w)-.5 H .233(ritten your o).15 F
+.232(wn font implementation, you could put it in the gi)-.25 F -.15(ve)
+-.25 G(n).15 E F2(\214le)108 304.8 Q F0 5.103(.T)C .103(he actual chara\
+cters produced by the font need not be similar to those in the font bei\
+ng replaced; the)-5.103 F(y)-.15 E .496
+(could be in some other alphabet, or hieroglyphics or whate)108 316.8 R
+-.15(ve)-.25 G 2.996(ry).15 G .496(ou wish. Ho)-2.996 F(we)-.25 E -.15
+(ve)-.25 G 1.296 -.4(r, s).15 H .496(ee the CA).4 F(VEA)-1.35 E .496
+(TS sec-)-1.11 F(tion for limitations.)108 328.8 Q 1.031(An an e)108
+345.6 R 1.031(xample, suppose you w)-.15 F 1.031
+(ant Mup to use the Helv)-.1 F(etica-Narro)-.15 E 3.531(wf)-.25 G 1.032
+(ont rather than the plain Helv)-3.531 F(etica)-.15 E(font. Y)108 357.6
+Q(ou could use:)-1.1 E(mkmupfnt Helv)144 369.6 Q(etica-Narro)-.15 E 2.5
+(wH)-.25 G 2.5(Rh)-2.5 G(elvnarr)-2.5 E
+(to generate a Mup font\214le, then in your Mup program put:)108 381.6 Q
+(font\214le "helvnarr")144 393.6 Q(Then an)108 405.6 Q(ything that w)
+-.15 E(ould normally be printed in Helv)-.1 E
+(etica will come out in Helv)-.15 E(etica-Narro)-.15 E 2.5(wi)-.25 G
+(nstead.)-2.5 E F1(FILE FORMA)72 422.4 Q(T)-1.04 E F0 .037
+(Mup requires a)108 434.4 R F2(font\214le)2.537 E F0 .037(to be in a f)
+2.537 F .037(airly rigid format.)-.1 F .036
+(This section describes the format of the \214le that is pro-)5.037 F
+.068(duced by mkmupfnt.)108 446.4 R .068
+(The \214le can contain comment lines, which ha)5.068 F .368 -.15
+(ve a ')-.2 H .069(#' in column 1.).15 F .069(Otherwise the for)5.069 F
+(-)-.2 E(mat is:)108 458.4 Q F3(Mup f)129.6 470.4 Q(ont name:)-.25 E F2
+(Mup_font_name)2.5 E F3 -.2(Po)129.6 482.4 S(stScript f).2 E(ont name:)
+-.25 E F2 -.8(Po)2.5 G(stScript_font_name).8 E F3(Size data:)129.6 494.4
+Q(32)129.6 506.4 Q F2 5(width height ascent)7.5 F F3(33)129.6 518.4 Q F2
+5(width height ascent)7.5 F(... similar lines for ASCII codes 34-126.)
+165.6 530.4 Q(Dimension ar)165.6 542.4 Q 2.5(eg)-.37 G
+(iven in 1/1000ths of an inc)-2.5 E 2.5(hf)-.15 G(or a 12-point c)-2.5 E
+(har)-.15 E(acter)-.15 E(.)-1.11 E
+(All codes must be speci\214ed, and the)165.6 554.4 Q 2.5(ym)-.3 G
+(ust be in or)-2.5 E(der)-.37 E(.)-1.11 E F3 -.2(Po)129.6 566.4 S
+(stScript:).2 E F2(Zer)165.6 578.4 Q 2.5(oo)-.45 G 2.5(rm)-2.5 G(or)-2.5
+E 2.5(el)-.37 G(ines of P)-2.5 E(ostScript that will be copied)-.8 E -.2
+(ex)165.6 590.4 S(actly as is to the end of the Mup P).2 E(ostScript pr)
+-.8 E(olo)-.45 E -.15(g.)-.1 G F1(FILES)72 607.2 Q F0 7.5
+(mkmupfnt.ps PostScript)108 619.2 R(program that e)2.5 E
+(xtracts font size information)-.15 E F1(SEE ALSO)72 636 Q F0
+(gs\(1\), mup\(1\).)108 648 Q(Mup \212 Music Publisher User')108 660 Q
+2.5(sG)-.55 G(uide)-2.5 E F1(CA)72 676.8 Q(VEA)-1.588 E(TS)-1.04 E F0
+-1.1(Yo)108 688.8 S 2.5(um)1.1 G(ust ha)-2.5 E .3 -.15(ve g)-.2 H
+(hostscript \(gs or gs386.e).15 E -.15(xe)-.15 G 2.5(\)i).15 G 2.5(ny)
+-2.5 G(our P)-2.5 E -1.11(AT)-.92 G 2.5(Ha)1.11 G(nd it must be b)-2.5 E
+(uilt to include the "bit" de)-.2 E(vice.)-.25 E .79(Mup uses certain f\
+onts for certain things, such as time signatures, octa)108 705.6 R 1.09
+-.15(ve m)-.2 H .79(arks, endings, tuplet numbers,).15 F 2.544
+(etc. \(The)108 717.6 R .044(fonts used include all the T)2.544 F .044
+(imes fonts and Ne)-.35 F 2.544(wC)-.25 G .044(entury bold, plus Helv)
+-2.544 F .045(etica roman and Helv)-.15 F(etica)-.15 E .43
+(bold for tablature.\))108 729.6 R .43(If your o)5.43 F -.15(ve)-.15 G
+.43(rride one of the fonts used for those things, the).15 F 2.93(yw)-.15
+G .43(ill come out in your ne)-2.93 F(w)-.25 E(Arkkra Enterprises)72 768
+Q(July 31, 1999)131.105 E(1)201.915 E EP
+%%Page: 2 2
+%%BeginPageSetup
+BP
+%%EndPageSetup
+/F0 10/Times-Roman@0 SF 358.84(mkmupfnt\(1\) mkmupfnt\(1\))72 48 R .862
+(font. On the one hand, if you don')108 84 R 3.362(tl)-.18 G(ik)-3.362 E
+3.362(eM)-.1 G(up')-3.362 E 3.362(sc)-.55 G .862(hoices, this pro)-3.362
+F .862(vides you a w)-.15 F .862(ay to get your o)-.1 F .862(wn. On the)
+-.25 F .826(other hand, if you w)108 96 R .826(ant to change most, b)-.1
+F .826
+(ut not all uses of a particular font, it may not be possible to do)-.2
+F(that.)108 108 Q(Only the ASCII characters 32-126 can be o)108 124.8 Q
+-.15(ve)-.15 G(rridden. The non-ASCII characters can not be o).15 E -.15
+(ve)-.15 G(rridden.).15 E .682(Mup only allo)108 141.6 R .682
+(ws width v)-.25 F .682(alues up to 1/2 inch for a 12-point character)
+-.25 F 3.182(.T)-.55 G .683(his program does not enforce that)-3.182 F
+(limitation.)108 153.6 Q 2.064(This program has been tested with v)108
+170.4 R 2.064(arious Ghostscript fonts, b)-.25 F 2.064(ut may not w)-.2
+F 2.063(ork on just an)-.1 F 4.563(ya)-.15 G(rbitrary)-4.563 E
+(PostScript font.)108 182.4 Q(Arkkra Enterprises)72 768 Q(July 31, 1999)
+131.105 E(2)201.915 E EP
+%%Trailer
+end
+%%EOF