chiark / gitweb /
Merge branch 'arkkra' into shiny
[mup] / mup / docs / mkmupfnt.ps
CommitLineData
69695f33
MW
1%!PS-Adobe-3.0
2%%Creator: groff version 1.17.2
3%%CreationDate: Sat Dec 9 16:59:22 2006
4%%DocumentNeededResources: font Times-Roman
5%%+ font Times-Bold
6%%+ font Times-Italic
7%%DocumentSuppliedResources: procset grops 1.17 2
8%%Pages: 2
9%%PageOrder: Ascend
10%%Orientation: Portrait
11%%EndComments
12%%BeginProlog
13%%BeginResource: procset grops 1.17 2
14/setpacking where{
15pop
16currentpacking
17true setpacking
18}if
19/grops 120 dict dup begin
20/SC 32 def
21/A/show load def
22/B{0 SC 3 -1 roll widthshow}bind def
23/C{0 exch ashow}bind def
24/D{0 exch 0 SC 5 2 roll awidthshow}bind def
25/E{0 rmoveto show}bind def
26/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
27/G{0 rmoveto 0 exch ashow}bind def
28/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
29/I{0 exch rmoveto show}bind def
30/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
31/K{0 exch rmoveto 0 exch ashow}bind def
32/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
33/M{rmoveto show}bind def
34/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
35/O{rmoveto 0 exch ashow}bind def
36/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
37/Q{moveto show}bind def
38/R{moveto 0 SC 3 -1 roll widthshow}bind def
39/S{moveto 0 exch ashow}bind def
40/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
41/SF{
42findfont exch
43[exch dup 0 exch 0 exch neg 0 0]makefont
44dup setfont
45[exch/setfont cvx]cvx bind def
46}bind def
47/MF{
48findfont
49[5 2 roll
500 3 1 roll
51neg 0 0]makefont
52dup setfont
53[exch/setfont cvx]cvx bind def
54}bind def
55/level0 0 def
56/RES 0 def
57/PL 0 def
58/LS 0 def
59/MANUAL{
60statusdict begin/manualfeed true store end
61}bind def
62/PLG{
63gsave newpath clippath pathbbox grestore
64exch pop add exch pop
65}bind def
66/BP{
67/level0 save def
681 setlinecap
691 setlinejoin
7072 RES div dup scale
71LS{
7290 rotate
73}{
740 PL translate
75}ifelse
761 -1 scale
77}bind def
78/EP{
79level0 restore
80showpage
81}bind def
82/DA{
83newpath arcn stroke
84}bind def
85/SN{
86transform
87.25 sub exch .25 sub exch
88round .25 add exch round .25 add exch
89itransform
90}bind def
91/DL{
92SN
93moveto
94SN
95lineto stroke
96}bind def
97/DC{
98newpath 0 360 arc closepath
99}bind def
100/TM matrix def
101/DE{
102TM currentmatrix pop
103translate scale newpath 0 0 .5 0 360 arc closepath
104TM setmatrix
105}bind def
106/RC/rcurveto load def
107/RL/rlineto load def
108/ST/stroke load def
109/MT/moveto load def
110/CL/closepath load def
111/FL{
112currentgray exch setgray fill setgray
113}bind def
114/BL/fill load def
115/LW/setlinewidth load def
116/RE{
117findfont
118dup maxlength 1 index/FontName known not{1 add}if dict begin
119{
1201 index/FID ne{def}{pop pop}ifelse
121}forall
122/Encoding exch def
123dup/FontName exch def
124currentdict end definefont pop
125}bind def
126/DEFS 0 def
127/EBEGIN{
128moveto
129DEFS begin
130}bind def
131/EEND/end load def
132/CNT 0 def
133/level1 0 def
134/PBEGIN{
135/level1 save def
136translate
137div 3 1 roll div exch scale
138neg exch neg exch translate
1390 setgray
1400 setlinecap
1411 setlinewidth
1420 setlinejoin
14310 setmiterlimit
144[]0 setdash
145/setstrokeadjust where{
146pop
147false setstrokeadjust
148}if
149/setoverprint where{
150pop
151false setoverprint
152}if
153newpath
154/CNT countdictstack def
155userdict begin
156/showpage{}def
157}bind def
158/PEND{
159clear
160countdictstack CNT sub{end}repeat
161level1 restore
162}bind def
163end def
164/setpacking where{
165pop
166setpacking
167}if
168%%EndResource
169%%IncludeResource: font Times-Roman
170%%IncludeResource: font Times-Bold
171%%IncludeResource: font Times-Italic
172grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
173def/PL PLG def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
174/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
175/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
176/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
177/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
178/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
179/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
180/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
181/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
182/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
183/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
184/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
185/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
186/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
187/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
188/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
189/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
190/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
191/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
192/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
193/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
194/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
195/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
196/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
197/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
198/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
199/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
200/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
201/Times-Roman@0 ENC0/Times-Roman RE
202%%EndProlog
203%%Page: 1 1
204%%BeginPageSetup
205BP
206%%EndPageSetup
207/F0 10/Times-Roman@0 SF 358.84(mkmupfnt\(1\) mkmupfnt\(1\))72 48 R/F1
20810.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0
209(mkmupfnt - create font\214le for o)108 96 Q -.15(ve)-.15 G
210(rriding Mup fonts).15 E F1(SYNOPSIS)72 112.8 Q F0(mkmupfnt)108 124.8 Q
211/F2 10/Times-Italic@0 SF -.8(Po)2.5 G
212(stScript_font_name Mup_font_name out\214le [\214le]).8 E F1
213(DESCRIPTION)72 141.6 Q F0(The)108 153.6 Q/F3 10/Times-Bold@0 SF
214(mkmupfnt)2.862 E F0 .362(program creates an)2.862 F F2(out\214le)2.862
215E F0 .362(that can be used with the Mup "font\214le" statement to o)
2162.862 F -.15(ve)-.15 G .361(rride a).15 F(Mup font.)108 165.6 Q(The)108
217182.4 Q F2 -.8(Po)3.854 G(stScript_font_name).8 E F0 1.354
218(is the name of the font you w)3.854 F 1.354(ant Mup to use. This w)-.1
219F 1.355(ould be something that)-.1 F(could be gi)108 194.4 Q -.15(ve)
220-.25 G 2.5(na).15 G 2.5(san)-2.5 G(ame to the PostScript)-2.5 E F3
221(\214ndf)2.5 E(ont)-.25 E F0(procedure.)2.5 E(The)108 211.2 Q F2
222(Mup_font_name)3.5 E F0 1(is the name of the Mup font you w)3.5 F .999
223(ant to o)-.1 F -.15(ve)-.15 G .999(rride, either an abbre).15 F .999
224(viated name, lik)-.25 F(e)-.1 E("PR" or a full name, lik)108 223.2 Q
2252.5(e")-.1 G(palatino rom".)-2.5 E(The)108 240 Q F2(out\214le)2.831 E F0
226.331(is the \214le that will be generated, which will contain character\
227 size and other information, to use)2.831 F(with Mup')108 252 Q 2.5(s")
228-.55 G(font\214le" statement.)-2.5 E .49(The \214nal optional)108 268.8
229R F2(\214le)2.99 E F0(ar)2.99 E .489(gument is the name of a \214le tha\
230t contains PostScript to be placed at the end of the)-.18 F .077
231(Mup PostScript prolog.)108 280.8 R .077(This might be useful if you ha)
2325.077 F .378 -.15(ve a f)-.2 H .078
233(ont whose implementation PostScript could not).15 F .233
234(\214nd on its o)108 292.8 R .233(wn. F)-.25 F .233(or e)-.15 F .233
235(xample, if you')-.15 F .533 -.15(ve w)-.5 H .233(ritten your o).15 F
236.232(wn font implementation, you could put it in the gi)-.25 F -.15(ve)
237-.25 G(n).15 E F2(\214le)108 304.8 Q F0 5.103(.T)C .103(he actual chara\
238cters produced by the font need not be similar to those in the font bei\
239ng replaced; the)-5.103 F(y)-.15 E .496
240(could be in some other alphabet, or hieroglyphics or whate)108 316.8 R
241-.15(ve)-.25 G 2.996(ry).15 G .496(ou wish. Ho)-2.996 F(we)-.25 E -.15
242(ve)-.25 G 1.296 -.4(r, s).15 H .496(ee the CA).4 F(VEA)-1.35 E .496
243(TS sec-)-1.11 F(tion for limitations.)108 328.8 Q 1.031(An an e)108
244345.6 R 1.031(xample, suppose you w)-.15 F 1.031
245(ant Mup to use the Helv)-.1 F(etica-Narro)-.15 E 3.531(wf)-.25 G 1.032
246(ont rather than the plain Helv)-3.531 F(etica)-.15 E(font. Y)108 357.6
247Q(ou could use:)-1.1 E(mkmupfnt Helv)144 369.6 Q(etica-Narro)-.15 E 2.5
248(wH)-.25 G 2.5(Rh)-2.5 G(elvnarr)-2.5 E
249(to generate a Mup font\214le, then in your Mup program put:)108 381.6 Q
250(font\214le "helvnarr")144 393.6 Q(Then an)108 405.6 Q(ything that w)
251-.15 E(ould normally be printed in Helv)-.1 E
252(etica will come out in Helv)-.15 E(etica-Narro)-.15 E 2.5(wi)-.25 G
253(nstead.)-2.5 E F1(FILE FORMA)72 422.4 Q(T)-1.04 E F0 .037
254(Mup requires a)108 434.4 R F2(font\214le)2.537 E F0 .037(to be in a f)
2552.537 F .037(airly rigid format.)-.1 F .036
256(This section describes the format of the \214le that is pro-)5.037 F
257.068(duced by mkmupfnt.)108 446.4 R .068
258(The \214le can contain comment lines, which ha)5.068 F .368 -.15
259(ve a ')-.2 H .069(#' in column 1.).15 F .069(Otherwise the for)5.069 F
260(-)-.2 E(mat is:)108 458.4 Q F3(Mup f)129.6 470.4 Q(ont name:)-.25 E F2
261(Mup_font_name)2.5 E F3 -.2(Po)129.6 482.4 S(stScript f).2 E(ont name:)
262-.25 E F2 -.8(Po)2.5 G(stScript_font_name).8 E F3(Size data:)129.6 494.4
263Q(32)129.6 506.4 Q F2 5(width height ascent)7.5 F F3(33)129.6 518.4 Q F2
2645(width height ascent)7.5 F(... similar lines for ASCII codes 34-126.)
265165.6 530.4 Q(Dimension ar)165.6 542.4 Q 2.5(eg)-.37 G
266(iven in 1/1000ths of an inc)-2.5 E 2.5(hf)-.15 G(or a 12-point c)-2.5 E
267(har)-.15 E(acter)-.15 E(.)-1.11 E
268(All codes must be speci\214ed, and the)165.6 554.4 Q 2.5(ym)-.3 G
269(ust be in or)-2.5 E(der)-.37 E(.)-1.11 E F3 -.2(Po)129.6 566.4 S
270(stScript:).2 E F2(Zer)165.6 578.4 Q 2.5(oo)-.45 G 2.5(rm)-2.5 G(or)-2.5
271E 2.5(el)-.37 G(ines of P)-2.5 E(ostScript that will be copied)-.8 E -.2
272(ex)165.6 590.4 S(actly as is to the end of the Mup P).2 E(ostScript pr)
273-.8 E(olo)-.45 E -.15(g.)-.1 G F1(FILES)72 607.2 Q F0 7.5
274(mkmupfnt.ps PostScript)108 619.2 R(program that e)2.5 E
275(xtracts font size information)-.15 E F1(SEE ALSO)72 636 Q F0
276(gs\(1\), mup\(1\).)108 648 Q(Mup \212 Music Publisher User')108 660 Q
2772.5(sG)-.55 G(uide)-2.5 E F1(CA)72 676.8 Q(VEA)-1.588 E(TS)-1.04 E F0
278-1.1(Yo)108 688.8 S 2.5(um)1.1 G(ust ha)-2.5 E .3 -.15(ve g)-.2 H
279(hostscript \(gs or gs386.e).15 E -.15(xe)-.15 G 2.5(\)i).15 G 2.5(ny)
280-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
281(uilt to include the "bit" de)-.2 E(vice.)-.25 E .79(Mup uses certain f\
282onts for certain things, such as time signatures, octa)108 705.6 R 1.09
283-.15(ve m)-.2 H .79(arks, endings, tuplet numbers,).15 F 2.544
284(etc. \(The)108 717.6 R .044(fonts used include all the T)2.544 F .044
285(imes fonts and Ne)-.35 F 2.544(wC)-.25 G .044(entury bold, plus Helv)
286-2.544 F .045(etica roman and Helv)-.15 F(etica)-.15 E .43
287(bold for tablature.\))108 729.6 R .43(If your o)5.43 F -.15(ve)-.15 G
288.43(rride one of the fonts used for those things, the).15 F 2.93(yw)-.15
289G .43(ill come out in your ne)-2.93 F(w)-.25 E(Arkkra Enterprises)72 768
290Q(July 31, 1999)131.105 E(1)201.915 E EP
291%%Page: 2 2
292%%BeginPageSetup
293BP
294%%EndPageSetup
295/F0 10/Times-Roman@0 SF 358.84(mkmupfnt\(1\) mkmupfnt\(1\))72 48 R .862
296(font. On the one hand, if you don')108 84 R 3.362(tl)-.18 G(ik)-3.362 E
2973.362(eM)-.1 G(up')-3.362 E 3.362(sc)-.55 G .862(hoices, this pro)-3.362
298F .862(vides you a w)-.15 F .862(ay to get your o)-.1 F .862(wn. On the)
299-.25 F .826(other hand, if you w)108 96 R .826(ant to change most, b)-.1
300F .826
301(ut not all uses of a particular font, it may not be possible to do)-.2
302F(that.)108 108 Q(Only the ASCII characters 32-126 can be o)108 124.8 Q
303-.15(ve)-.15 G(rridden. The non-ASCII characters can not be o).15 E -.15
304(ve)-.15 G(rridden.).15 E .682(Mup only allo)108 141.6 R .682
305(ws width v)-.25 F .682(alues up to 1/2 inch for a 12-point character)
306-.25 F 3.182(.T)-.55 G .683(his program does not enforce that)-3.182 F
307(limitation.)108 153.6 Q 2.064(This program has been tested with v)108
308170.4 R 2.064(arious Ghostscript fonts, b)-.25 F 2.064(ut may not w)-.2
309F 2.063(ork on just an)-.1 F 4.563(ya)-.15 G(rbitrary)-4.563 E
310(PostScript font.)108 182.4 Q(Arkkra Enterprises)72 768 Q(July 31, 1999)
311131.105 E(2)201.915 E EP
312%%Trailer
313end
314%%EOF