home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: modes.mf
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/1616 BibTeX Database File
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 43 6f 6d 70 69 6c | 65 64 20 31 39 39 31 2c |% Compil|ed 1991,|
|00000010| 20 39 32 2c 20 39 33 2c | 20 39 34 20 62 79 20 4b | 92, 93,| 94 by K|
|00000020| 61 72 6c 20 42 65 72 72 | 79 2e 20 20 54 68 69 73 |arl Berr|y. This|
|00000030| 20 66 69 6c 65 20 69 73 | 20 6e 6f 74 20 63 6f 70 | file is| not cop|
|00000040| 79 72 69 67 68 74 65 64 | 0a 25 20 61 6e 64 20 6d |yrighted|.% and m|
|00000050| 61 79 20 62 65 20 75 73 | 65 64 20 66 72 65 65 6c |ay be us|ed freel|
|00000060| 79 2e 20 20 59 6f 75 20 | 63 61 6e 20 72 65 74 72 |y. You |can retr|
|00000070| 69 65 76 65 20 74 68 65 | 20 6c 61 74 65 73 74 20 |ieve the| latest |
|00000080| 76 65 72 73 69 6f 6e 20 | 62 79 20 66 74 70 20 61 |version |by ftp a|
|00000090| 73 0a 25 20 7b 5c 74 74 | 20 66 74 70 2e 63 73 2e |s.% {\tt| ftp.cs.|
|000000a0| 75 6d 62 2e 65 64 75 3a | 70 75 62 2f 74 65 78 2f |umb.edu:|pub/tex/|
|000000b0| 6d 6f 64 65 73 2e 6d 66 | 7d 2e 20 0a 25 0a 25 20 |modes.mf|}. .%.% |
|000000c0| 59 6f 75 20 63 61 6e 20 | 72 75 6e 20 74 68 69 73 |You can |run this|
|000000d0| 20 66 69 6c 65 20 74 68 | 72 6f 75 67 68 20 7b 5c | file th|rough {\|
|000000e0| 74 74 20 6d 66 74 7d 20 | 74 6f 20 67 65 6e 65 72 |tt mft} |to gener|
|000000f0| 61 74 65 20 61 20 5c 54 | 65 58 5c 0a 25 20 66 69 |ate a \T|eX\.% fi|
|00000100| 6c 65 2c 20 69 66 20 79 | 6f 75 20 6c 69 6b 65 20 |le, if y|ou like |
|00000110| 72 65 61 64 69 6e 67 20 | 74 79 70 65 73 65 74 20 |reading |typeset |
|00000120| 6f 75 74 70 75 74 20 69 | 6e 73 74 65 61 64 20 6f |output i|nstead o|
|00000130| 66 20 63 6f 6d 70 75 74 | 65 72 20 73 63 72 65 65 |f comput|er scree|
|00000140| 6e 73 2e 0a 25 0a 25 20 | 46 65 65 6c 20 66 72 65 |ns..%.% |Feel fre|
|00000150| 65 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |e to cha|nge the |
|00000160| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 6f 66 20 7c |definiti|ons of ||
|00000170| 6c 6f 63 61 6c 66 6f 6e | 74 7c 2c 20 7c 73 63 72 |localfon|t|, |scr|
|00000180| 65 65 6e 5f 63 6f 6c 73 | 7c 2c 20 61 6e 64 0a 25 |een_cols||, and.%|
|00000190| 20 7c 73 63 72 65 65 6e | 5f 72 6f 77 73 7c 20 61 | |screen|_rows| a|
|000001a0| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 66 69 6c |t the en|d of fil|
|000001b0| 65 20 28 73 65 65 20 65 | 78 70 6c 61 6e 61 74 69 |e (see e|xplanati|
|000001c0| 6f 6e 73 20 62 65 6c 6f | 77 29 2e 0a 25 20 0a 25 |ons belo|w)..% .%|
|000001d0| 20 49 66 20 79 6f 75 20 | 6d 61 6b 65 20 61 20 6e | If you |make a n|
|000001e0| 65 77 20 7c 6d 6f 64 65 | 5f 64 65 66 7c 2c 20 70 |ew |mode|_def|, p|
|000001f0| 6c 65 61 73 65 20 73 65 | 6e 64 20 69 74 20 74 6f |lease se|nd it to|
|00000200| 20 7b 5c 74 74 20 6b 61 | 72 6c 40 63 73 2e 75 6d | {\tt ka|rl@cs.um|
|00000210| 62 2e 65 64 75 7d 2e 0a | 25 20 50 6c 65 61 73 65 |b.edu}..|% Please|
|00000220| 20 6d 65 6e 74 69 6f 6e | 20 77 68 61 74 20 66 6f | mention| what fo|
|00000230| 6e 74 73 20 61 74 20 77 | 68 61 74 20 73 69 7a 65 |nts at w|hat size|
|00000240| 73 20 79 6f 75 20 74 65 | 73 74 65 64 20 69 74 20 |s you te|sted it |
|00000250| 6f 6e 2e 20 20 54 68 69 | 73 20 77 69 6c 6c 0a 25 |on. Thi|s will.%|
|00000260| 20 68 65 6c 70 20 6f 74 | 68 65 72 20 70 65 6f 70 | help ot|her peop|
|00000270| 6c 65 20 77 6f 6e 64 65 | 72 69 6e 67 20 77 68 65 |le wonde|ring whe|
|00000280| 72 65 20 70 61 72 74 69 | 63 75 6c 61 72 20 76 61 |re parti|cular va|
|00000290| 6c 75 65 73 20 63 61 6d | 65 20 66 72 6f 6d 2e 0a |lues cam|e from..|
|000002a0| 25 20 49 64 65 61 6c 6c | 79 2c 20 79 6f 75 20 77 |% Ideall|y, you w|
|000002b0| 6f 75 6c 64 20 74 72 79 | 20 6e 6f 72 6d 61 6c 2c |ould try| normal,|
|000002c0| 20 62 6f 6c 64 2c 20 61 | 6e 64 20 69 74 61 6c 69 | bold, a|nd itali|
|000002d0| 63 20 76 61 72 69 61 6e | 74 73 2c 20 61 74 20 73 |c varian|ts, at s|
|000002e0| 69 7a 65 73 0a 25 20 61 | 72 6f 75 6e 64 20 35 24 |izes.% a|round 5$|
|000002f0| 5c 2c 24 70 74 2c 20 31 | 30 24 5c 2c 24 70 74 20 |\,$pt, 1|0$\,$pt |
|00000300| 61 6e 64 20 31 35 24 5c | 2c 24 70 74 2e 0a 25 0a |and 15$\|,$pt..%.|
|00000310| 25 25 25 20 64 65 66 20 | 6d 6f 64 65 5f 64 65 66 |%%% def |mode_def|
|00000320| 0a 25 25 25 20 61 64 64 | 74 6f 20 66 6f 6e 74 5f |.%%% add|to font_|
|00000330| 73 69 7a 65 20 63 6f 64 | 69 6e 67 5f 73 63 68 65 |size cod|ing_sche|
|00000340| 6d 65 20 66 6f 6e 74 5f | 66 61 63 65 5f 62 79 74 |me font_|face_byt|
|00000350| 65 20 6c 61 6e 64 73 63 | 61 70 65 20 6c 61 6e 64 |e landsc|ape land|
|00000360| 73 63 61 70 65 5f 0a 25 | 0a 25 20 40 6d 66 66 69 |scape_.%|.% @mffi|
|00000370| 6c 65 7b 0a 25 20 20 20 | 61 75 74 68 6f 72 20 3d |le{.% |author =|
|00000380| 20 22 54 68 65 20 4d 65 | 74 61 66 6f 6e 74 20 63 | "The Me|tafont c|
|00000390| 6f 6d 6d 75 6e 69 74 79 | 22 2c 0a 25 20 20 20 76 |ommunity|",.% v|
|000003a0| 65 72 73 69 6f 6e 20 3d | 20 22 32 2e 32 22 2c 0a |ersion =| "2.2",.|
|000003b0| 25 20 20 20 64 61 74 65 | 20 3d 20 22 57 65 64 20 |% date| = "Wed |
|000003c0| 4a 61 6e 20 20 34 20 31 | 32 3a 35 35 3a 31 34 20 |Jan 4 1|2:55:14 |
|000003d0| 45 53 54 20 31 39 39 35 | 22 0a 25 20 20 20 66 69 |EST 1995|".% fi|
|000003e0| 6c 65 6e 61 6d 65 20 3d | 20 22 6d 6f 64 65 73 2e |lename =| "modes.|
|000003f0| 6d 66 22 2c 0a 25 20 20 | 20 63 6f 6e 74 61 63 74 |mf",.% | contact|
|00000400| 20 3d 20 22 4b 61 72 6c | 20 42 65 72 72 79 22 2c | = "Karl| Berry",|
|00000410| 0a 25 20 20 20 65 6d 61 | 69 6c 20 3d 20 22 6b 61 |.% ema|il = "ka|
|00000420| 72 6c 40 63 73 2e 75 6d | 62 2e 65 64 75 22 0a 25 |rl@cs.um|b.edu".%|
|00000430| 20 20 20 61 64 64 72 65 | 73 73 20 3d 20 22 31 33 | addre|ss = "13|
|00000440| 35 20 43 65 6e 74 65 72 | 20 48 69 6c 6c 20 52 64 |5 Center| Hill Rd|
|00000450| 2e 20 2f 2f 20 50 6c 79 | 6d 6f 75 74 68 2c 20 4d |. // Ply|mouth, M|
|00000460| 41 20 30 32 33 36 30 22 | 0a 25 20 20 20 63 68 65 |A 02360"|.% che|
|00000470| 63 6b 73 75 6d 20 3d 20 | 22 31 37 34 39 20 20 20 |cksum = |"1749 |
|00000480| 20 38 34 38 37 20 20 20 | 36 32 34 32 34 22 2c 0a | 8487 |62424",.|
|00000490| 25 20 20 20 63 6f 64 65 | 74 61 62 6c 65 20 3d 20 |% code|table = |
|000004a0| 22 49 53 4f 2f 41 53 43 | 49 49 22 2c 0a 25 20 20 |"ISO/ASC|II",.% |
|000004b0| 20 73 75 70 70 6f 72 74 | 65 64 20 3d 20 22 79 65 | support|ed = "ye|
|000004c0| 73 22 2c 0a 25 20 20 20 | 64 6f 63 73 74 72 69 6e |s",.% |docstrin|
|000004d0| 67 20 3d 20 22 0a 25 20 | 20 20 0a 25 20 54 68 69 |g = ".% | .% Thi|
|000004e0| 73 20 66 69 6c 65 20 69 | 73 20 61 20 63 6f 6c 6c |s file i|s a coll|
|000004f0| 65 63 74 69 6f 6e 20 6f | 66 20 28 70 75 74 61 74 |ection o|f (putat|
|00000500| 69 76 65 6c 79 29 20 61 | 6c 6c 20 65 78 74 61 6e |ively) a|ll extan|
|00000510| 74 20 5c 4d 46 5c 20 6d | 6f 64 65 73 2e 0a 25 20 |t \MF\ m|odes..% |
|00000520| 0a 25 20 49 66 20 79 6f | 75 20 68 61 76 65 20 61 |.% If yo|u have a|
|00000530| 20 64 65 76 69 63 65 20 | 77 68 69 63 68 20 69 73 | device |which is|
|00000540| 20 6e 6f 74 20 6d 65 6e | 74 69 6f 6e 65 64 20 69 | not men|tioned i|
|00000550| 6e 20 74 68 69 73 20 66 | 69 6c 65 2c 20 74 68 65 |n this f|ile, the|
|00000560| 20 62 65 73 74 0a 25 20 | 74 68 69 6e 67 20 74 6f | best.% |thing to|
|00000570| 20 64 6f 20 69 73 20 74 | 72 79 20 74 6f 20 66 69 | do is t|ry to fi|
|00000580| 6e 64 20 61 20 64 65 76 | 69 63 65 20 77 69 74 68 |nd a dev|ice with|
|00000590| 20 73 69 6d 69 6c 61 72 | 20 72 65 73 6f 6c 75 74 | similar| resolut|
|000005a0| 69 6f 6e 20 28 73 65 61 | 72 63 68 0a 25 20 66 6f |ion (sea|rch.% fo|
|000005b0| 72 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |r the ap|propriat|
|000005c0| 65 20 6c 69 6e 65 73 29 | 2c 20 61 6e 64 20 73 65 |e lines)|, and se|
|000005d0| 65 20 69 66 20 74 68 61 | 74 20 73 75 69 74 73 20 |e if tha|t suits |
|000005e0| 28 61 20 6c 69 73 74 20 | 6f 66 20 66 6f 6e 74 73 |(a list |of fonts|
|000005f0| 20 74 6f 0a 25 20 74 72 | 79 20 69 73 20 67 69 76 | to.% tr|y is giv|
|00000600| 65 6e 20 61 62 6f 76 65 | 29 2e 20 4f 74 68 65 72 |en above|). Other|
|00000610| 77 69 73 65 2c 20 6d 65 | 74 68 6f 64 73 20 66 6f |wise, me|thods fo|
|00000620| 72 20 66 69 64 64 6c 69 | 6e 67 20 77 69 74 68 20 |r fiddli|ng with |
|00000630| 74 68 65 0a 25 20 70 61 | 72 61 6d 65 74 65 72 73 |the.% pa|rameters|
|00000640| 20 61 72 65 20 64 65 73 | 63 72 69 62 65 64 20 69 | are des|cribed i|
|00000650| 6e 20 64 65 74 61 69 6c | 20 62 65 6c 6f 77 2e 0a |n detail| below..|
|00000660| 25 20 0a 25 20 55 6e 66 | 6f 72 74 75 6e 61 74 65 |% .% Unf|ortunate|
|00000670| 6c 79 2c 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ly, the |number o|
|00000680| 66 20 6d 6f 64 65 73 20 | 65 61 74 73 20 75 70 20 |f modes |eats up |
|00000690| 61 20 6c 6f 74 20 6f 66 | 20 6d 65 6d 6f 72 79 3b |a lot of| memory;|
|000006a0| 20 69 66 20 79 6f 75 72 | 0a 25 20 5c 4d 46 5c 20 | if your|.% \MF\ |
|000006b0| 68 61 73 20 6e 6f 74 20 | 69 6e 63 72 65 61 73 65 |has not |increase|
|000006c0| 64 20 74 68 65 20 74 61 | 62 6c 65 20 73 69 7a 65 |d the ta|ble size|
|000006d0| 73 2c 20 79 6f 75 20 6d | 61 79 20 6e 65 65 64 20 |s, you m|ay need |
|000006e0| 74 6f 20 72 65 6d 6f 76 | 65 20 73 6f 6d 65 20 6f |to remov|e some o|
|000006f0| 66 0a 25 20 74 68 65 20 | 6d 6f 64 65 73 20 66 72 |f.% the |modes fr|
|00000700| 6f 6d 20 74 68 69 73 20 | 66 69 6c 65 20 28 70 6c |om this |file (pl|
|00000710| 65 61 73 65 20 6e 61 6d | 65 20 69 74 20 73 6f 6d |ease nam|e it som|
|00000720| 65 74 68 69 6e 67 20 65 | 6c 73 65 20 74 68 65 6e |ething e|lse then|
|00000730| 2c 20 65 2e 67 2e 2c 0a | 25 20 7b 5c 74 74 20 6c |, e.g.,.|% {\tt l|
|00000740| 6f 63 61 6c 2e 6d 66 7d | 29 2e 20 49 66 20 79 6f |ocal.mf}|). If yo|
|00000750| 75 20 63 61 6e 20 73 75 | 67 67 65 73 74 20 61 20 |u can su|ggest a |
|00000760| 77 61 79 20 74 6f 20 72 | 65 64 65 66 69 6e 65 20 |way to r|edefine |
|00000770| 7c 6d 6f 64 65 5f 64 65 | 66 7c 0a 25 20 61 6e 64 ||mode_de|f|.% and|
|00000780| 2f 6f 72 20 7c 6d 6f 64 | 65 5f 73 65 74 75 70 7c |/or |mod|e_setup||
|00000790| 2c 20 65 76 65 6e 20 62 | 65 74 74 65 72 3b 20 72 |, even b|etter; r|
|000007a0| 69 67 68 74 20 6e 6f 77 | 2c 20 74 68 65 20 61 6d |ight now|, the am|
|000007b0| 6f 75 6e 74 20 6f 66 20 | 6d 65 6d 6f 72 79 20 75 |ount of |memory u|
|000007c0| 73 65 64 0a 25 20 69 73 | 20 61 70 70 72 6f 78 69 |sed.% is| approxi|
|000007d0| 6d 61 74 65 6c 79 20 66 | 6f 75 72 20 74 69 6d 65 |mately f|our time|
|000007e0| 73 20 74 68 65 20 6c 65 | 6e 67 74 68 20 6f 66 20 |s the le|ngth of |
|000007f0| 74 68 65 20 7c 6d 6f 64 | 65 5f 64 65 66 7c 20 6e |the |mod|e_def| n|
|00000800| 61 6d 65 73 2e 0a 25 20 | 0a 25 20 54 68 65 20 70 |ames..% |.% The p|
|00000810| 72 69 6d 61 72 79 20 6e | 61 6d 65 73 20 61 72 65 |rimary n|ames are|
|00000820| 20 61 6c 6c 20 65 69 67 | 68 74 20 63 68 61 72 61 | all eig|ht chara|
|00000830| 63 74 65 72 73 20 6f 72 | 20 6c 65 73 73 2c 20 61 |cters or| less, a|
|00000840| 6e 64 20 73 74 72 69 63 | 74 6c 79 0a 25 20 6c 6f |nd stric|tly.% lo|
|00000850| 77 65 72 63 61 73 65 2e | 20 54 68 69 73 20 6d 61 |wercase.| This ma|
|00000860| 6b 65 73 20 69 74 20 66 | 65 61 73 69 62 6c 65 20 |kes it f|easible |
|00000870| 74 6f 20 75 73 65 20 74 | 68 65 6d 20 66 6f 72 20 |to use t|hem for |
|00000880| 70 6f 72 74 61 62 6c 65 | 20 64 69 72 65 63 74 6f |portable| directo|
|00000890| 72 79 0a 25 20 6e 61 6d | 65 73 2e 20 54 68 65 20 |ry.% nam|es. The |
|000008a0| 73 79 6e 6f 6e 79 6d 73 | 20 61 72 65 20 68 69 73 |synonyms| are his|
|000008b0| 74 6f 72 69 63 61 6c 20 | 65 71 75 69 76 61 6c 65 |torical |equivale|
|000008c0| 6e 74 73 2e 0a 25 20 0a | 25 20 49 74 20 61 6c 73 |nts..% .|% It als|
|000008d0| 6f 20 6d 61 6b 65 73 20 | 64 65 66 69 6e 69 74 69 |o makes |definiti|
|000008e0| 6f 6e 73 20 74 6f 20 70 | 75 74 20 73 70 65 63 69 |ons to p|ut speci|
|000008f0| 61 6c 73 20 69 64 65 6e | 74 69 66 79 69 6e 67 20 |als iden|tifying |
|00000900| 74 68 65 20 6d 6f 64 65 | 0a 25 20 69 6e 20 74 68 |the mode|.% in th|
|00000910| 65 20 5c 4d 46 5c 20 47 | 46 20 6f 75 74 70 75 74 |e \MF\ G|F output|
|00000920| 2c 20 61 6e 64 20 74 6f | 20 70 75 74 20 74 68 65 |, and to| put the|
|00000930| 20 63 6f 64 69 6e 67 20 | 73 63 68 65 6d 65 20 61 | coding |scheme a|
|00000940| 6e 64 20 6f 74 68 65 72 | 0a 25 20 73 6f 2d 63 61 |nd other|.% so-ca|
|00000950| 6c 6c 65 64 20 58 65 72 | 6f 78 2d 77 6f 72 6c 64 |lled Xer|ox-world|
|00000960| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 6e 20 | informa|tion in |
|00000970| 74 68 65 20 54 46 4d 20 | 6f 75 74 70 75 74 2e 0a |the TFM |output..|
|00000980| 25 20 0a 25 20 49 74 20 | 61 6c 73 6f 20 64 65 66 |% .% It |also def|
|00000990| 69 6e 65 73 20 61 20 6d | 61 63 72 6f 20 7c 6c 61 |ines a m|acro |la|
|000009a0| 6e 64 73 63 61 70 65 7c | 20 74 68 61 74 20 69 6e |ndscape|| that in|
|000009b0| 76 65 72 74 73 20 7c 61 | 73 70 65 63 74 5f 72 61 |verts |a|spect_ra|
|000009c0| 74 69 6f 7c 20 61 6e 64 | 0a 25 20 63 68 61 6e 67 |tio| and|.% chang|
|000009d0| 65 73 20 7c 70 69 78 65 | 6c 73 5f 70 65 72 5f 69 |es |pixe|ls_per_i|
|000009e0| 6e 63 68 7c 2c 20 73 6f | 20 79 6f 75 20 63 61 6e |nch|, so| you can|
|000009f0| 20 73 61 79 20 7b 5c 74 | 74 20 6d 6f 64 65 20 3a | say {\t|t mode :|
|00000a00| 3d 20 77 68 61 74 65 76 | 65 72 3b 0a 25 20 6c 61 |= whatev|er;.% la|
|00000a10| 6e 64 73 63 61 70 65 3b | 20 2e 2e 2e 7d 20 74 6f |ndscape;| ...} to|
|00000a20| 20 67 65 74 20 6c 61 6e | 64 73 63 61 70 65 20 66 | get lan|dscape f|
|00000a30| 6f 6e 74 73 2e 20 20 42 | 75 74 20 49 20 63 61 6e |onts. B|ut I can|
|00000a40| 27 74 20 74 68 69 6e 6b | 20 6f 66 20 61 6e 79 0a |'t think| of any.|
|00000a50| 25 20 72 65 61 73 6f 6e | 61 62 6c 65 20 77 61 79 |% reason|able way|
|00000a60| 20 74 6f 20 72 65 66 6c | 65 63 74 20 74 68 65 20 | to refl|ect the |
|00000a70| 7c 6c 61 6e 64 73 63 61 | 70 65 7c 20 69 6e 20 74 ||landsca|pe| in t|
|00000a80| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 6e 61 6d |he direc|tory nam|
|00000a90| 65 2c 20 73 6f 0a 25 20 | 74 68 65 72 65 20 61 72 |e, so.% |there ar|
|00000aa0| 65 20 61 6c 73 6f 20 7c | 6d 6f 64 65 5f 64 65 66 |e also ||mode_def|
|00000ab0| 7c 27 73 20 66 6f 72 20 | 74 68 65 20 64 65 76 69 ||'s for |the devi|
|00000ac0| 63 65 73 20 77 69 74 68 | 20 6e 6f 6e 2d 73 71 75 |ces with| non-squ|
|00000ad0| 61 72 65 20 61 73 70 65 | 63 74 0a 25 20 72 61 74 |are aspe|ct.% rat|
|00000ae0| 69 6f 73 20 69 6e 20 6c | 61 6e 64 73 63 61 70 65 |ios in l|andscape|
|00000af0| 20 6d 6f 64 65 2e 0a 25 | 20 0a 25 20 46 69 6e 61 | mode..%| .% Fina|
|00000b00| 6c 6c 79 2c 20 69 74 20 | 68 61 73 20 73 6f 6d 65 |lly, it |has some|
|00000b10| 20 63 6f 64 65 20 74 6f | 20 68 61 6e 64 6c 65 20 | code to| handle |
|00000b20| 77 72 69 74 65 2d 77 68 | 69 74 65 20 64 65 76 69 |write-wh|ite devi|
|00000b30| 63 65 73 20 62 65 74 74 | 65 72 3b 20 74 68 69 73 |ces bett|er; this|
|00000b40| 0a 25 20 63 6f 64 65 20 | 63 6f 6d 65 73 20 69 6e |.% code |comes in|
|00000b50| 74 6f 20 70 6c 61 79 20 | 69 66 20 61 20 7c 6d 6f |to play |if a |mo|
|00000b60| 64 65 5f 64 65 66 7c 20 | 69 6e 63 6c 75 64 65 73 |de_def| |includes|
|00000b70| 20 74 68 65 20 73 74 61 | 74 65 6d 65 6e 74 0a 25 | the sta|tement.%|
|00000b80| 20 7c 6d 6f 64 65 5f 77 | 72 69 74 65 5f 77 68 69 | |mode_w|rite_whi|
|00000b90| 74 65 5f 73 65 74 75 70 | 5f 3b 7c 2e 20 20 54 68 |te_setup|_;|. Th|
|00000ba0| 69 73 20 6f 6e 6c 79 20 | 77 6f 72 6b 73 20 66 6f |is only |works fo|
|00000bb0| 72 20 74 68 6f 73 65 20 | 66 6f 6e 74 73 20 77 68 |r those |fonts wh|
|00000bc0| 69 63 68 0a 25 20 66 6f | 6c 6c 6f 77 20 43 6f 6d |ich.% fo|llow Com|
|00000bd0| 70 75 74 65 72 20 4d 6f | 64 65 72 6e 27 73 20 63 |puter Mo|dern's c|
|00000be0| 6f 6e 76 65 6e 74 69 6f | 6e 73 20 66 6f 72 20 75 |onventio|ns for u|
|00000bf0| 73 69 6e 67 20 7c 66 6f | 6e 74 5f 73 65 74 75 70 |sing |fo|nt_setup|
|00000c00| 7c 2e 20 20 46 6f 72 0a | 25 20 66 75 72 74 68 65 ||. For.|% furthe|
|00000c10| 72 20 64 69 73 63 75 73 | 73 69 6f 6e 20 6f 66 20 |r discus|sion of |
|00000c20| 77 72 69 74 65 2f 77 68 | 69 74 65 20 61 6e 64 20 |write/wh|ite and |
|00000c30| 77 68 69 74 65 2f 62 6c | 61 63 6b 20 64 65 76 69 |white/bl|ack devi|
|00000c40| 63 65 73 2c 20 73 65 65 | 20 74 68 65 0a 25 20 66 |ces, see| the.% f|
|00000c50| 69 6c 65 20 66 74 70 2e | 63 73 2e 75 6d 62 2e 65 |ile ftp.|cs.umb.e|
|00000c60| 64 75 3a 70 75 62 2f 74 | 65 78 2f 77 72 69 74 65 |du:pub/t|ex/write|
|00000c70| 2d 77 68 69 74 65 2c 20 | 61 6e 64 20 61 6c 73 6f |-white, |and also|
|00000c80| 20 50 69 65 72 72 65 20 | 4d 61 63 4b 61 79 27 73 | Pierre |MacKay's|
|00000c90| 0a 25 20 61 72 74 69 63 | 6c 65 20 69 6e 20 74 68 |.% artic|le in th|
|00000ca0| 65 20 70 72 6f 63 65 65 | 64 69 6e 67 73 20 6f 66 |e procee|dings of|
|00000cb0| 20 74 68 65 20 31 39 39 | 31 20 52 61 73 74 65 72 | the 199|1 Raster|
|00000cc0| 20 49 6d 61 67 69 6e 67 | 20 61 6e 64 20 44 69 67 | Imaging| and Dig|
|00000cd0| 69 74 61 6c 0a 25 20 54 | 79 70 6f 67 72 61 70 68 |ital.% T|ypograph|
|00000ce0| 79 20 63 6f 6e 66 65 72 | 65 6e 63 65 3a 0a 25 20 |y confer|ence:.% |
|00000cf0| 0a 25 20 5c 62 65 67 69 | 6e 67 72 6f 75 70 20 5c |.% \begi|ngroup \|
|00000d00| 74 74 0a 25 20 40 53 74 | 72 69 6e 67 7b 70 72 6f |tt.% @St|ring{pro|
|00000d10| 63 2d 52 49 44 54 39 31 | 20 3d 20 22 52 61 73 74 |c-RIDT91| = "Rast|
|00000d20| 65 72 20 49 6d 61 67 69 | 6e 67 20 61 6e 64 20 44 |er Imagi|ng and D|
|00000d30| 69 67 69 74 61 6c 20 54 | 79 70 6f 67 72 61 70 68 |igital T|ypograph|
|00000d40| 79 20 49 49 22 7d 0a 25 | 20 40 53 74 72 69 6e 67 |y II"}.%| @String|
|00000d50| 7b 70 75 62 2d 43 55 50 | 20 3d 20 22 43 61 6d 62 |{pub-CUP| = "Camb|
|00000d60| 72 69 64 67 65 20 55 6e | 69 76 65 72 73 69 74 79 |ridge Un|iversity|
|00000d70| 20 50 72 65 73 73 22 7d | 0a 25 20 0a 25 20 40 49 | Press"}|.% .% @I|
|00000d80| 6e 70 72 6f 63 65 65 64 | 69 6e 67 73 7b 4d 61 63 |nproceed|ings{Mac|
|00000d90| 6b 61 79 3a 52 49 44 54 | 39 31 2d 32 30 35 2c 0a |kay:RIDT|91-205,.|
|00000da0| 25 20 20 20 61 75 74 68 | 6f 72 20 3d 20 20 20 20 |% auth|or = |
|00000db0| 20 20 20 22 50 69 65 72 | 72 65 20 41 2e 20 4d 61 | "Pier|re A. Ma|
|00000dc0| 63 4b 61 79 22 2c 0a 25 | 20 20 20 74 69 74 6c 65 |cKay",.%| title|
|00000dd0| 20 3d 20 20 20 20 20 20 | 20 20 22 4c 6f 6f 6b 69 | = | "Looki|
|00000de0| 6e 67 20 61 74 20 74 68 | 65 20 50 69 78 65 6c 73 |ng at th|e Pixels|
|00000df0| 3a 20 51 75 61 6c 69 74 | 79 20 43 6f 6e 74 72 6f |: Qualit|y Contro|
|00000e00| 6c 20 66 6f 72 20 33 30 | 30 20 64 70 69 0a 25 20 |l for 30|0 dpi.% |
|00000e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e20| 20 4c 61 73 65 72 20 50 | 72 69 6e 74 65 72 20 46 | Laser P|rinter F|
|00000e30| 6f 6e 74 73 2c 20 65 73 | 70 65 63 69 61 6c 6c 79 |onts, es|pecially|
|00000e40| 20 7b 5c 4d 46 7d 73 20 | 22 2c 0a 25 20 20 20 70 | {\MF}s |",.% p|
|00000e50| 61 67 65 73 20 3d 20 20 | 20 20 20 20 20 20 22 32 |ages = | "2|
|00000e60| 30 35 2d 2d 32 31 35 22 | 2c 0a 25 20 20 20 63 72 |05--215"|,.% cr|
|00000e70| 6f 73 73 72 65 66 20 3d | 20 20 20 20 20 22 4d 6f |ossref =| "Mo|
|00000e80| 72 72 69 73 3a 52 49 44 | 54 39 31 22 2c 0a 25 20 |rris:RID|T91",.% |
|00000e90| 7d 0a 25 20 0a 25 20 40 | 50 72 6f 63 65 65 64 69 |}.% .% @|Proceedi|
|00000ea0| 6e 67 73 7b 4d 6f 72 72 | 69 73 3a 52 49 44 54 39 |ngs{Morr|is:RIDT9|
|00000eb0| 31 2c 0a 25 20 20 20 74 | 69 74 6c 65 20 3d 20 20 |1,.% t|itle = |
|00000ec0| 20 20 20 20 20 20 70 72 | 6f 63 2d 52 49 44 54 39 | pr|oc-RIDT9|
|00000ed0| 31 2c 0a 25 20 20 20 62 | 6f 6f 6b 74 69 74 6c 65 |1,.% b|ooktitle|
|00000ee0| 20 3d 20 20 20 20 70 72 | 6f 63 2d 52 49 44 54 39 | = pr|oc-RIDT9|
|00000ef0| 31 2c 0a 25 20 20 20 79 | 65 61 72 20 3d 20 20 20 |1,.% y|ear = |
|00000f00| 20 20 20 20 20 20 22 31 | 39 39 31 22 2c 0a 25 20 | "1|991",.% |
|00000f10| 20 20 65 64 69 74 6f 72 | 20 3d 20 20 20 20 20 20 | editor| = |
|00000f20| 20 22 52 6f 62 65 72 74 | 20 41 2e 20 4d 6f 72 72 | "Robert| A. Morr|
|00000f30| 69 73 20 61 6e 64 20 4a | 61 63 71 75 65 73 20 41 |is and J|acques A|
|00000f40| 6e 64 72 7b 5c 27 65 7d | 22 2c 0a 25 20 20 20 70 |ndr{\'e}|",.% p|
|00000f50| 75 62 6c 69 73 68 65 72 | 20 3d 20 20 20 20 70 75 |ublisher| = pu|
|00000f60| 62 2d 43 55 50 2c 0a 25 | 20 20 20 61 64 64 72 65 |b-CUP,.%| addre|
|00000f70| 73 73 20 3d 20 20 20 20 | 20 20 70 75 62 2d 43 55 |ss = | pub-CU|
|00000f80| 50 3a 61 64 72 2c 0a 25 | 20 20 20 61 63 6b 6e 6f |P:adr,.%| ackno|
|00000f90| 77 6c 65 64 67 65 6d 65 | 6e 74 20 3d 20 61 63 6b |wledgeme|nt = ack|
|00000fa0| 2d 6b 62 2c 0a 25 20 7d | 0a 25 20 5c 65 6e 64 67 |-kb,.% }|.% \endg|
|00000fb0| 72 6f 75 70 0a 25 20 0a | 25 20 54 68 69 73 20 66 |roup.% .|% This f|
|00000fc0| 69 6c 65 20 69 73 20 74 | 79 70 69 63 61 6c 6c 79 |ile is t|ypically|
|00000fd0| 20 6c 6f 61 64 65 64 20 | 77 68 65 6e 20 6d 61 6b | loaded |when mak|
|00000fe0| 69 6e 67 20 61 20 5c 4d | 46 5c 20 62 61 73 65 3b |ing a \M|F\ base;|
|00000ff0| 20 66 6f 72 20 65 78 61 | 6d 70 6c 65 2c 0a 25 20 | for exa|mple,.% |
|00001000| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00001010| 20 0a 25 20 7b 5c 74 74 | 20 69 6e 69 6d 66 20 70 | .% {\tt| inimf p|
|00001020| 6c 61 69 6e 20 69 6e 70 | 75 74 20 6d 6f 64 65 73 |lain inp|ut modes|
|00001030| 20 64 75 6d 70 7d 20 0a | 25 20 6d 61 6b 65 73 20 | dump} .|% makes |
|00001040| 61 20 66 69 6c 65 20 7b | 5c 74 74 20 70 6c 61 69 |a file {|\tt plai|
|00001050| 6e 2e 62 61 73 65 7d 20 | 28 6f 72 20 7b 5c 74 74 |n.base} |(or {\tt|
|00001060| 20 70 6c 61 69 6e 2e 62 | 61 73 7d 2c 20 6f 72 20 | plain.b|as}, or |
|00001070| 73 6f 6d 65 74 68 69 6e | 67 20 6c 69 6b 65 0a 25 |somethin|g like.%|
|00001080| 20 74 68 61 74 29 20 77 | 69 74 68 20 61 6c 6c 20 | that) w|ith all |
|00001090| 74 68 65 20 6d 6f 64 65 | 73 20 68 65 72 65 69 6e |the mode|s herein|
|000010a0| 20 64 65 66 69 6e 65 64 | 20 28 70 6c 61 69 6e 20 | defined| (plain |
|000010b0| 69 74 73 65 6c 66 20 64 | 65 66 69 6e 65 73 20 6d |itself d|efines m|
|000010c0| 6f 64 65 73 0a 25 20 63 | 61 6c 6c 65 64 20 7c 70 |odes.% c|alled |p|
|000010d0| 72 6f 6f 66 7c 2c 20 7c | 73 6d 6f 6b 65 7c 2c 20 |roof|, ||smoke|, |
|000010e0| 61 6e 64 20 7c 6c 6f 77 | 72 65 73 7c 2e 29 0a 25 |and |low|res|.).%|
|000010f0| 0a 25 20 59 6f 75 20 63 | 61 6e 20 6d 61 6b 65 20 |.% You c|an make |
|00001100| 74 68 65 20 43 6f 6d 70 | 75 74 65 72 20 4d 6f 64 |the Comp|uter Mod|
|00001110| 65 72 6e 20 62 61 73 65 | 20 77 69 74 68 20 74 68 |ern base| with th|
|00001120| 65 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 3a 0a |e comman|d line:.|
|00001130| 25 20 7b 5c 74 74 20 69 | 6e 69 6d 66 20 70 6c 61 |% {\tt i|nimf pla|
|00001140| 69 6e 20 69 6e 70 75 74 | 20 6d 6f 64 65 73 20 69 |in input| modes i|
|00001150| 6e 70 75 74 20 63 6d 62 | 61 73 65 20 64 75 6d 70 |nput cmb|ase dump|
|00001160| 7d 0a 25 20 0a 25 20 4f | 6e 20 55 6e 69 78 20 73 |}.% .% O|n Unix s|
|00001170| 79 73 74 65 6d 73 2c 20 | 79 6f 75 20 74 68 65 6e |ystems, |you then|
|00001180| 20 69 6e 73 74 61 6c 6c | 20 74 68 65 20 62 61 73 | install| the bas|
|00001190| 65 20 66 69 6c 65 20 69 | 6e 20 74 68 65 20 73 79 |e file i|n the sy|
|000011a0| 73 74 65 6d 0a 25 20 64 | 69 72 65 63 74 6f 72 79 |stem.% d|irectory|
|000011b0| 20 28 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 6c 69 62 | (/usr/l|ocal/lib|
|000011c0| 2f 74 65 78 6d 66 2f 69 | 6e 69 20 61 73 20 64 69 |/texmf/i|ni as di|
|000011d0| 73 74 72 69 62 75 74 65 | 64 29 20 61 73 20 7b 5c |stribute|d) as {\|
|000011e0| 74 74 20 6d 66 2e 62 61 | 73 65 7d 2e 0a 25 20 54 |tt mf.ba|se}..% T|
|000011f0| 65 58 20 61 6e 64 20 4d | 65 74 61 66 6f 6e 74 20 |eX and M|etafont |
|00001200| 75 73 65 20 74 68 65 20 | 6e 61 6d 65 20 74 68 65 |use the |name the|
|00001210| 79 20 77 65 72 65 20 69 | 6e 76 6f 6b 65 64 20 61 |y were i|nvoked a|
|00001220| 73 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 74 |s to det|ermine t|
|00001230| 68 65 0a 25 20 66 6f 72 | 6d 61 74 20 6f 72 20 62 |he.% for|mat or b|
|00001240| 61 73 65 20 66 69 6c 65 | 20 74 6f 20 72 65 61 64 |ase file| to read|
|00001250| 3b 20 74 68 75 73 20 72 | 75 6e 6e 69 6e 67 20 7b |; thus r|unning {|
|00001260| 5c 74 74 20 6d 66 7d 20 | 72 65 61 64 73 20 7b 5c |\tt mf} |reads {\|
|00001270| 74 74 0a 25 20 6d 66 2e | 62 61 73 65 7d 2c 20 72 |tt.% mf.|base}, r|
|00001280| 75 6e 6e 69 6e 67 20 7b | 5c 74 74 20 63 6d 6d 66 |unning {|\tt cmmf|
|00001290| 7d 20 72 65 61 64 73 20 | 7b 5c 74 74 20 63 6d 6d |} reads |{\tt cmm|
|000012a0| 66 2e 62 61 73 65 7d 2c | 20 61 6e 64 20 73 6f 20 |f.base},| and so |
|000012b0| 6f 6e 2e 20 20 7b 5c 74 | 74 0a 25 20 70 6c 61 69 |on. {\t|t.% plai|
|000012c0| 6e 2e 62 61 73 65 7d 20 | 61 6e 64 20 7b 5c 74 74 |n.base} |and {\tt|
|000012d0| 20 6d 66 2e 62 61 73 65 | 7d 20 73 68 6f 75 6c 64 | mf.base|} should|
|000012e0| 20 62 65 20 74 68 65 20 | 73 61 6d 65 20 66 69 6c | be the |same fil|
|000012f0| 65 20 28 69 2e 65 2e 2c | 20 61 20 68 61 72 64 0a |e (i.e.,| a hard.|
|00001300| 25 20 6c 69 6e 6b 20 69 | 73 20 6f 6b 29 2c 20 73 |% link i|s ok), s|
|00001310| 6f 20 74 68 65 20 65 78 | 61 6d 70 6c 65 73 20 69 |o the ex|amples i|
|00001320| 6e 20 74 68 65 20 7b 5c | 73 6c 20 4d 65 74 61 66 |n the {\|sl Metaf|
|00001330| 6f 6e 74 62 6f 6f 6b 7d | 20 77 6f 72 6b 20 70 72 |ontbook}| work pr|
|00001340| 6f 70 65 72 6c 79 2e 0a | 25 20 0a 25 20 41 20 75 |operly..|% .% A u|
|00001350| 73 65 72 20 73 65 6c 65 | 63 74 73 20 61 20 70 61 |ser sele|cts a pa|
|00001360| 72 74 69 63 75 6c 61 72 | 20 6d 6f 64 65 20 77 68 |rticular| mode wh|
|00001370| 65 6e 20 73 2f 68 65 20 | 72 75 6e 73 20 5c 4d 46 |en s/he |runs \MF|
|00001380| 2c 20 62 79 20 61 73 73 | 69 67 6e 69 6e 67 20 74 |, by ass|igning t|
|00001390| 6f 0a 25 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |o.% the |variable|
|000013a0| 20 7c 6d 6f 64 65 7c 2e | 20 20 46 6f 72 20 65 78 | |mode|.| For ex|
|000013b0| 61 6d 70 6c 65 2c 0a 25 | 20 7b 5c 74 74 20 5c 63 |ample,.%| {\tt \c|
|000013c0| 68 61 72 60 5c 5c 6d 6f | 64 65 3a 3d 63 78 3b 20 |har`\\mo|de:=cx; |
|000013d0| 69 6e 70 75 74 20 63 6d | 72 31 30 7d 0a 25 20 73 |input cm|r10}.% s|
|000013e0| 65 74 73 20 75 70 20 76 | 61 6c 75 65 73 20 61 70 |ets up v|alues ap|
|000013f0| 70 72 6f 70 72 69 61 74 | 65 20 66 6f 72 20 74 68 |propriat|e for th|
|00001400| 65 20 43 61 6e 6f 6e 43 | 58 20 65 6e 67 69 6e 65 |e CanonC|X engine|
|00001410| 2e 0a 25 0a 25 20 49 66 | 20 6e 6f 20 6d 6f 64 65 |..%.% If| no mode|
|00001420| 20 69 73 20 61 73 73 69 | 67 6e 65 64 2c 20 74 68 | is assi|gned, th|
|00001430| 65 20 64 65 66 61 75 6c | 74 20 69 73 20 7c 70 72 |e defaul|t is |pr|
|00001440| 6f 6f 66 7c 20 6d 6f 64 | 65 2c 20 61 73 20 73 74 |oof| mod|e, as st|
|00001450| 61 74 65 64 20 69 6e 20 | 7b 5c 73 6c 0a 25 20 54 |ated in |{\sl.% T|
|00001460| 68 65 20 5c 4d 46 20 62 | 6f 6f 6b 7d 2e 20 20 54 |he \MF b|ook}. T|
|00001470| 68 69 73 20 69 73 20 74 | 68 65 20 63 61 75 73 65 |his is t|he cause|
|00001480| 20 6f 66 20 74 68 65 20 | 60 60 7b 5c 74 74 20 2e | of the |``{\tt .|
|00001490| 32 36 30 32 67 66 7d 27 | 27 20 66 69 6c 65 73 20 |2602gf}'|' files |
|000014a0| 77 68 69 63 68 0a 25 20 | 61 72 65 20 74 68 65 20 |which.% |are the |
|000014b0| 73 75 62 6a 65 63 74 20 | 6f 66 20 70 65 72 69 6f |subject |of perio|
|000014c0| 64 69 63 20 71 75 65 73 | 74 69 6f 6e 73 2e 20 20 |dic ques|tions. |
|000014d0| 54 68 65 20 72 65 6d 65 | 64 79 20 69 73 20 73 69 |The reme|dy is si|
|000014e0| 6d 70 6c 79 20 74 6f 20 | 61 73 73 69 67 6e 0a 25 |mply to |assign.%|
|000014f0| 20 61 20 64 69 66 66 65 | 72 65 6e 74 20 6d 6f 64 | a diffe|rent mod|
|00001500| 65 2d 2d 2d 7c 6c 6f 63 | 61 6c 66 6f 6e 74 7c 2c |e---|loc|alfont|,|
|00001510| 20 66 6f 72 20 65 78 61 | 6d 70 6c 65 2e 0a 25 20 | for exa|mple..% |
|00001520| 0a 25 20 45 76 65 72 79 | 20 73 69 74 65 20 73 68 |.% Every| site sh|
|00001530| 6f 75 6c 64 20 64 65 66 | 69 6e 65 20 74 68 65 20 |ould def|ine the |
|00001540| 6d 6f 64 65 20 7c 6c 6f | 63 61 6c 66 6f 6e 74 7c |mode |lo|calfont||
|00001550| 20 74 6f 20 62 65 20 61 | 20 73 79 6e 6f 6e 79 6d | to be a| synonym|
|00001560| 20 66 6f 72 20 74 68 65 | 0a 25 20 6d 6f 64 65 20 | for the|.% mode |
|00001570| 6d 6f 73 74 20 63 6f 6d | 6d 6f 6e 6c 79 20 75 73 |most com|monly us|
|00001580| 65 64 2e 20 20 54 68 69 | 73 20 66 69 6c 65 20 64 |ed. Thi|s file d|
|00001590| 65 66 69 6e 65 73 20 7c | 6c 6f 63 61 6c 66 6f 6e |efines ||localfon|
|000015a0| 74 7c 20 74 6f 20 62 65 | 20 7c 63 78 7c 2e 0a 25 |t| to be| |cx|..%|
|000015b0| 20 54 68 65 20 76 61 6c | 75 65 73 20 66 6f 72 20 | The val|ues for |
|000015c0| 7c 73 63 72 65 65 6e 5f | 72 6f 77 73 7c 20 61 6e ||screen_|rows| an|
|000015d0| 64 20 7c 73 63 72 65 65 | 6e 5f 63 6f 6c 73 7c 2c |d |scree|n_cols|,|
|000015e0| 20 77 68 69 63 68 20 64 | 65 74 65 72 6d 69 6e 65 | which d|etermine|
|000015f0| 20 68 6f 77 0a 25 20 62 | 69 67 20 5c 4d 46 27 73 | how.% b|ig \MF's|
|00001600| 20 77 69 6e 64 6f 77 20 | 66 6f 72 20 6f 6e 6c 69 | window |for onli|
|00001610| 6e 65 20 6f 75 74 70 75 | 74 20 69 73 2c 20 73 68 |ne outpu|t is, sh|
|00001620| 6f 75 6c 64 20 70 65 72 | 68 61 70 73 20 61 6c 73 |ould per|haps als|
|00001630| 6f 20 62 65 20 63 68 61 | 6e 67 65 64 3b 0a 25 20 |o be cha|nged;.% |
|00001640| 63 65 72 74 61 69 6e 6c | 79 20 69 6e 64 69 76 69 |certainl|y indivi|
|00001650| 64 75 61 6c 20 75 73 65 | 72 73 20 73 68 6f 75 6c |dual use|rs shoul|
|00001660| 64 20 63 68 61 6e 67 65 | 20 74 68 65 6d 20 74 6f |d change| them to|
|00001670| 20 74 68 65 69 72 20 6f | 77 6e 20 74 61 73 74 65 | their o|wn taste|
|00001680| 73 2e 0a 25 0a 25 20 54 | 68 69 73 20 66 69 6c 65 |s..%.% T|his file|
|00001690| 20 64 65 66 69 6e 65 73 | 20 7b 5c 74 74 20 3f 7d | defines| {\tt ?}|
|000016a0| 20 74 6f 20 74 79 70 65 | 20 6f 75 74 20 61 20 6c | to type| out a l|
|000016b0| 69 73 74 20 6f 66 20 61 | 6c 6c 20 74 68 65 20 6b |ist of a|ll the k|
|000016c0| 6e 6f 77 6e 0a 25 20 7c | 6d 6f 64 65 5f 64 65 66 |nown.% ||mode_def|
|000016d0| 7c 73 20 28 6f 6e 63 65 | 20 6f 6e 6c 79 29 2e 0a ||s (once| only)..|
|000016e0| 25 20 0a 25 20 54 65 63 | 68 6e 69 63 61 6c 6c 79 |% .% Tec|hnically|
|000016f0| 2c 20 61 20 7c 6d 6f 64 | 65 5f 64 65 66 7c 20 69 |, a |mod|e_def| i|
|00001700| 73 20 61 20 5c 4d 46 5c | 20 64 65 66 69 6e 69 74 |s a \MF\| definit|
|00001710| 69 6f 6e 20 74 68 61 74 | 20 74 79 70 69 63 61 6c |ion that| typical|
|00001720| 6c 79 20 63 6f 6e 73 69 | 73 74 73 0a 25 20 6f 66 |ly consi|sts.% of|
|00001730| 20 61 20 73 65 72 69 65 | 73 20 6f 66 20 61 73 73 | a serie|s of ass|
|00001740| 69 67 6e 6d 65 6e 74 73 | 20 74 6f 20 76 61 72 69 |ignments| to vari|
|00001750| 6f 75 73 20 64 65 76 69 | 63 65 2d 73 70 65 63 69 |ous devi|ce-speci|
|00001760| 66 69 63 20 76 61 72 69 | 61 62 6c 65 73 2c 0a 25 |fic vari|ables,.%|
|00001770| 20 65 69 74 68 65 72 20 | 70 72 69 6d 69 74 69 76 | either |primitiv|
|00001780| 65 20 6f 72 20 64 65 66 | 69 6e 65 64 20 69 6e 20 |e or def|ined in |
|00001790| 70 6c 61 69 6e 2e 20 20 | 54 68 65 73 65 20 76 61 |plain. |These va|
|000017a0| 72 69 61 62 6c 65 73 20 | 69 6e 63 6c 75 64 65 20 |riables |include |
|000017b0| 74 68 65 0a 25 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |the.% fo|llowing |
|000017c0| 28 70 61 67 65 20 6e 75 | 6d 62 65 72 73 20 72 65 |(page nu|mbers re|
|000017d0| 66 65 72 20 74 6f 20 7b | 5c 73 6c 20 54 68 65 20 |fer to {|\sl The |
|000017e0| 5c 4d 46 20 62 6f 6f 6b | 5c 2f 7d 3a 0a 25 0a 25 |\MF book|\/}:.%.%|
|000017f0| 20 7c 61 73 70 65 63 74 | 5f 72 61 74 69 6f 7c 3a | |aspect|_ratio|:|
|00001800| 20 74 68 65 20 72 61 74 | 69 6f 20 6f 66 20 74 68 | the rat|io of th|
|00001810| 65 20 76 65 72 74 69 63 | 61 6c 20 72 65 73 6f 6c |e vertic|al resol|
|00001820| 75 74 69 6f 6e 20 74 6f | 20 74 68 65 20 68 6f 72 |ution to| the hor|
|00001830| 69 7a 6f 6e 74 61 6c 0a | 25 20 20 20 72 65 73 6f |izontal.|% reso|
|00001840| 6c 75 74 69 6f 6e 20 28 | 70 61 67 65 20 39 34 29 |lution (|page 94)|
|00001850| 2e 0a 25 0a 25 20 7c 62 | 6c 61 63 6b 65 72 7c 3a |..%.% |b|lacker|:|
|00001860| 20 61 20 63 6f 72 72 65 | 63 74 69 6f 6e 20 61 64 | a corre|ction ad|
|00001870| 64 65 64 20 74 6f 20 74 | 68 65 20 77 69 64 74 68 |ded to t|he width|
|00001880| 20 6f 66 20 73 74 65 6d | 73 20 61 6e 64 20 73 69 | of stem|s and si|
|00001890| 6d 69 6c 61 72 0a 25 20 | 20 20 66 65 61 74 75 72 |milar.% | featur|
|000018a0| 65 73 2c 20 74 6f 20 61 | 63 63 6f 75 6e 74 20 66 |es, to a|ccount f|
|000018b0| 6f 72 20 64 65 76 69 63 | 65 73 20 77 68 69 63 68 |or devic|es which|
|000018c0| 20 77 6f 75 6c 64 20 6f | 74 68 65 72 77 69 73 65 | would o|therwise|
|000018d0| 20 6d 61 6b 65 20 74 68 | 65 6d 20 74 6f 6f 0a 25 | make th|em too.%|
|000018e0| 20 20 20 6c 69 67 68 74 | 20 28 70 61 67 65 20 39 | light| (page 9|
|000018f0| 33 29 2e 20 20 28 57 72 | 69 74 65 2d 77 68 69 74 |3). (Wr|ite-whit|
|00001900| 65 20 64 65 76 69 63 65 | 73 20 61 72 65 20 62 65 |e device|s are be|
|00001910| 73 74 20 68 61 6e 64 6c | 65 64 20 62 79 20 61 20 |st handl|ed by a |
|00001920| 6d 6f 72 65 0a 25 20 20 | 20 73 6f 70 68 69 73 74 |more.% | sophist|
|00001930| 69 63 61 74 65 64 20 6d | 65 74 68 6f 64 20 74 68 |icated m|ethod th|
|00001940| 61 6e 20 6d 65 72 65 6c | 79 20 61 64 64 69 6e 67 |an merel|y adding|
|00001950| 20 74 6f 20 7c 62 6c 61 | 63 6b 65 72 7c 2c 20 61 | to |bla|cker|, a|
|00001960| 73 20 65 78 70 6c 61 69 | 6e 65 64 20 61 62 6f 76 |s explai|ned abov|
|00001970| 65 2e 29 0a 25 0a 25 20 | 7c 66 69 6c 6c 69 6e 7c |e.).%.% ||fillin||
|00001980| 3a 20 61 20 63 6f 72 72 | 65 63 74 69 6f 6e 20 66 |: a corr|ection f|
|00001990| 61 63 74 6f 72 20 66 6f | 72 20 64 69 61 67 6f 6e |actor fo|r diagon|
|000019a0| 61 6c 73 20 61 6e 64 20 | 6f 74 68 65 72 20 66 65 |als and |other fe|
|000019b0| 61 74 75 72 65 73 20 77 | 68 69 63 68 0a 25 20 20 |atures w|hich.% |
|000019c0| 20 77 6f 75 6c 64 20 6f | 74 68 65 72 77 69 73 65 | would o|therwise|
|000019d0| 20 62 65 20 60 60 66 69 | 6c 6c 65 64 20 69 6e 27 | be ``fi|lled in'|
|000019e0| 27 20 28 70 61 67 65 20 | 39 34 29 2e 20 20 41 6e |' (page |94). An|
|000019f0| 20 69 64 65 61 6c 20 64 | 65 76 69 63 65 20 77 6f | ideal d|evice wo|
|00001a00| 75 6c 64 0a 25 20 20 20 | 68 61 76 65 20 7c 66 69 |uld.% |have |fi|
|00001a10| 6c 6c 69 6e 3d 30 7c 20 | 28 70 61 67 65 20 39 34 |llin=0| |(page 94|
|00001a20| 29 2e 20 20 4e 65 67 61 | 74 69 76 65 20 76 61 6c |). Nega|tive val|
|00001a30| 75 65 73 20 66 6f 72 20 | 7c 66 69 6c 6c 69 6e 7c |ues for ||fillin||
|00001a40| 20 74 79 70 69 63 61 6c | 6c 79 0a 25 20 20 20 68 | typical|ly.% h|
|00001a50| 61 76 65 20 65 69 74 68 | 65 72 20 67 72 6f 73 73 |ave eith|er gross|
|00001a60| 20 65 66 66 65 63 74 73 | 20 6f 72 20 6e 6f 6e 65 | effects| or none|
|00001a70| 20 61 74 20 61 6c 6c 2c | 20 61 6e 64 20 73 68 6f | at all,| and sho|
|00001a80| 75 6c 64 20 62 65 20 61 | 76 6f 69 64 65 64 2e 0a |uld be a|voided..|
|00001a90| 25 0a 25 20 7c 66 6f 6e | 74 6d 61 6b 69 6e 67 7c |%.% |fon|tmaking||
|00001aa0| 3a 20 69 66 20 6e 6f 6e | 7a 65 72 6f 20 61 74 20 |: if non|zero at |
|00001ab0| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6a |the end |of the j|
|00001ac0| 6f 62 2c 20 5c 4d 46 5c | 20 77 72 69 74 65 73 20 |ob, \MF\| writes |
|00001ad0| 61 20 54 46 4d 20 66 69 | 6c 65 0a 25 20 20 20 28 |a TFM fi|le.% (|
|00001ae0| 70 61 67 65 20 33 31 35 | 29 2e 0a 25 0a 25 20 7c |page 315|)..%.% ||
|00001af0| 6f 5f 63 6f 72 72 65 63 | 74 69 6f 6e 7c 3a 20 61 |o_correc|tion|: a|
|00001b00| 20 63 6f 72 72 65 63 74 | 69 6f 6e 20 66 61 63 74 | correct|ion fact|
|00001b10| 6f 72 20 66 6f 72 20 74 | 68 65 20 60 60 6f 76 65 |or for t|he ``ove|
|00001b20| 72 73 68 6f 6f 74 27 27 | 20 6f 66 20 63 75 72 76 |rshoot''| of curv|
|00001b30| 65 73 0a 25 20 20 20 62 | 65 79 6f 6e 64 20 74 68 |es.% b|eyond th|
|00001b40| 65 20 62 61 73 65 6c 69 | 6e 65 20 6f 72 20 78 2d |e baseli|ne or x-|
|00001b50| 68 65 69 67 68 74 2e 20 | 20 48 69 67 68 20 72 65 |height. | High re|
|00001b60| 73 6f 6c 75 74 69 6f 6e | 20 63 75 72 76 65 73 20 |solution| curves |
|00001b70| 6c 6f 6f 6b 20 62 65 74 | 74 65 72 0a 25 20 20 20 |look bet|ter.% |
|00001b80| 77 69 74 68 20 6f 76 65 | 72 73 68 6f 6f 74 2c 20 |with ove|rshoot, |
|00001b90| 73 6f 20 73 75 63 68 20 | 64 65 76 69 63 65 73 20 |so such |devices |
|00001ba0| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 7c 6f 5f 63 |should h|ave |o_c|
|00001bb0| 6f 72 72 65 63 74 69 6f | 6e 3d 31 7c 3b 20 62 75 |orrectio|n=1|; bu|
|00001bc0| 74 20 61 74 0a 25 20 20 | 20 6c 6f 77 20 72 65 73 |t at.% | low res|
|00001bd0| 6f 6c 75 74 69 6f 6e 73 | 2c 20 74 68 65 20 6f 76 |olutions|, the ov|
|00001be0| 65 72 73 68 6f 6f 74 20 | 61 70 70 65 61 72 73 20 |ershoot |appears |
|00001bf0| 74 6f 20 73 69 6d 70 6c | 79 20 62 65 20 61 20 64 |to simpl|y be a d|
|00001c00| 69 73 74 6f 72 74 69 6f | 6e 0a 25 20 20 20 28 70 |istortio|n.% (p|
|00001c10| 61 67 65 20 39 33 29 2e | 20 20 48 65 72 65 20 73 |age 93).| Here s|
|00001c20| 6f 6d 65 20 61 64 64 69 | 74 69 6f 6e 61 6c 20 63 |ome addi|tional c|
|00001c30| 6f 6d 6d 65 6e 74 73 20 | 61 62 6f 75 74 20 7c 6f |omments |about |o|
|00001c40| 5f 63 6f 72 72 65 63 74 | 69 6f 6e 7c 2c 0a 25 20 |_correct|ion|,.% |
|00001c50| 20 20 63 6f 75 72 74 65 | 73 79 20 6f 66 20 50 69 | courte|sy of Pi|
|00001c60| 65 72 72 65 20 4d 61 63 | 4b 61 79 20 28 65 64 69 |erre Mac|Kay (edi|
|00001c70| 74 65 64 20 62 79 20 4b | 61 72 6c 29 3a 0a 25 0a |ted by K|arl):.%.|
|00001c80| 25 20 20 20 41 74 20 70 | 72 65 73 65 6e 74 2c 20 |% At p|resent, |
|00001c90| 49 20 66 69 6e 64 20 74 | 68 61 74 20 7c 6f 5f 63 |I find t|hat |o_c|
|00001ca0| 6f 72 72 65 63 74 69 6f | 6e 7c 20 77 6f 72 6b 73 |orrectio|n| works|
|00001cb0| 20 6e 69 63 65 6c 79 20 | 61 74 20 38 30 20 70 69 | nicely |at 80 pi|
|00001cc0| 78 65 6c 73 20 70 65 72 | 0a 25 20 20 20 65 6d 2c |xels per|.% em,|
|00001cd0| 20 61 6e 64 20 67 65 74 | 73 20 69 6e 63 72 65 61 | and get|s increa|
|00001ce0| 73 69 6e 67 6c 79 20 64 | 69 73 74 75 72 62 69 6e |singly d|isturbin|
|00001cf0| 67 20 61 73 20 79 6f 75 | 20 6d 6f 76 65 20 64 6f |g as you| move do|
|00001d00| 77 6e 20 74 6f 77 61 72 | 64 73 20 35 30 0a 25 20 |wn towar|ds 50.% |
|00001d10| 20 20 70 69 78 65 6c 73 | 20 70 65 72 20 65 6d 2e | pixels| per em.|
|00001d20| 20 42 65 6c 6f 77 20 74 | 68 61 74 20 49 20 64 6f | Below t|hat I do|
|00001d30| 20 6e 6f 74 20 74 68 69 | 6e 6b 20 69 74 20 6f 75 | not thi|nk it ou|
|00001d40| 67 68 74 20 74 6f 20 68 | 61 70 70 65 6e 20 61 74 |ght to h|appen at|
|00001d50| 20 61 6c 6c 2e 0a 25 0a | 25 20 20 20 54 68 65 20 | all..%.|% The |
|00001d60| 70 72 6f 62 6c 65 6d 2c | 20 6f 66 20 63 6f 75 72 |problem,| of cour|
|00001d70| 73 65 2c 20 69 73 20 74 | 68 61 74 20 66 75 6c 6c |se, is t|hat full|
|00001d80| 20 7c 6f 5f 63 6f 72 72 | 65 63 74 69 6f 6e 7c 20 | |o_corr|ection| |
|00001d90| 69 73 20 73 75 70 70 6f | 73 65 64 20 74 6f 0a 25 |is suppo|sed to.%|
|00001da0| 20 20 20 6f 63 63 75 72 | 20 6f 6e 6c 79 20 61 74 | occur| only at|
|00001db0| 20 74 68 65 20 7a 65 6e | 69 74 68 20 61 6e 64 20 | the zen|ith and |
|00001dc0| 6e 61 64 69 72 20 6f 66 | 20 74 68 65 20 63 75 72 |nadir of| the cur|
|00001dd0| 76 65 20 6f 66 20 60 6f | 27 2c 20 77 68 69 63 68 |ve of `o|', which|
|00001de0| 20 69 73 20 61 0a 25 20 | 20 20 73 6d 61 6c 6c 20 | is a.% | small |
|00001df0| 72 65 67 69 6f 6e 20 61 | 74 20 68 69 67 68 20 72 |region a|t high r|
|00001e00| 65 73 6f 6c 75 74 69 6f | 6e 2c 20 62 75 74 20 6d |esolutio|n, but m|
|00001e10| 61 79 20 62 65 20 61 20 | 6c 6f 6e 67 20 6c 69 6e |ay be a |long lin|
|00001e20| 65 20 6f 66 0a 25 20 20 | 20 68 6f 72 69 7a 6f 6e |e of.% | horizon|
|00001e30| 74 61 6c 20 70 69 78 65 | 6c 73 20 61 74 20 6d 65 |tal pixe|ls at me|
|00001e40| 64 69 75 6d 20 72 65 73 | 6f 6c 75 74 69 6f 6e 2e |dium res|olution.|
|00001e50| 20 20 54 68 65 20 66 75 | 6c 6c 20 7c 6f 5f 63 6f | The fu|ll |o_co|
|00001e60| 72 72 65 63 74 69 6f 6e | 7c 0a 25 20 20 20 64 6f |rrection||.% do|
|00001e70| 65 73 20 6e 6f 74 20 63 | 68 61 6e 67 65 20 61 20 |es not c|hange a |
|00001e80| 33 30 30 24 5c 2c 24 64 | 70 69 20 7b 5c 74 74 20 |300$\,$d|pi {\tt |
|00001e90| 63 6d 72 31 30 7d 2c 20 | 62 75 74 20 69 74 20 63 |cmr10}, |but it c|
|00001ea0| 68 61 6e 67 65 73 20 61 | 20 32 31 2d 70 69 78 65 |hanges a| 21-pixe|
|00001eb0| 6c 0a 25 20 20 20 68 69 | 67 68 20 7b 5c 74 74 20 |l.% hi|gh {\tt |
|00001ec0| 63 6d 72 31 32 7d 20 74 | 6f 20 62 65 20 32 33 20 |cmr12} t|o be 23 |
|00001ed0| 70 69 78 65 6c 73 20 68 | 69 67 68 2e 20 20 54 68 |pixels h|igh. Th|
|00001ee0| 65 20 65 78 74 72 61 20 | 68 65 69 67 68 74 20 61 |e extra |height a|
|00001ef0| 6e 64 20 64 65 70 74 68 | 0a 25 20 20 20 69 73 20 |nd depth|.% is |
|00001f00| 73 65 65 6e 20 61 6c 6f | 6e 67 20 61 20 6c 69 6e |seen alo|ng a lin|
|00001f10| 65 20 6f 66 20 73 65 76 | 65 6e 20 70 69 78 65 6c |e of sev|en pixel|
|00001f20| 73 20 61 74 20 74 68 65 | 20 62 6f 74 74 6f 6d 20 |s at the| bottom |
|00001f30| 61 6e 64 20 66 69 76 65 | 20 61 74 20 74 68 65 0a |and five| at the.|
|00001f40| 25 20 20 20 74 6f 70 2e | 20 20 54 68 69 73 20 69 |% top.| This i|
|00001f50| 73 20 61 20 70 72 6f 6e | 6f 75 6e 63 65 64 20 6f |s a pron|ounced o|
|00001f60| 76 65 72 73 68 6f 6f 74 | 20 69 6e 64 65 65 64 2e |vershoot| indeed.|
|00001f70| 0a 25 0a 25 20 20 20 46 | 6f 72 20 68 69 67 68 2d |.%.% F|or high-|
|00001f80| 72 65 73 6f 6c 75 74 69 | 6f 6e 20 64 65 76 69 63 |resoluti|on devic|
|00001f90| 65 73 2c 20 73 75 63 68 | 20 61 73 20 70 68 6f 74 |es, such| as phot|
|00001fa0| 6f 74 79 70 65 73 65 74 | 74 65 72 73 2c 20 74 68 |otypeset|ters, th|
|00001fb0| 65 20 76 61 6c 75 65 73 | 0a 25 20 20 20 66 6f 72 |e values|.% for|
|00001fc0| 20 7c 62 6c 61 63 6b 65 | 72 7c 2c 20 7c 66 69 6c | |blacke|r|, |fil|
|00001fd0| 6c 69 6e 7c 2c 20 61 6e | 64 20 7c 6f 5f 63 6f 72 |lin|, an|d |o_cor|
|00001fe0| 72 65 63 74 69 6f 6e 7c | 20 64 6f 6e 27 74 20 6d |rection|| don't m|
|00001ff0| 61 74 74 65 72 20 61 6c | 6c 20 74 68 61 74 0a 25 |atter al|l that.%|
|00002000| 20 20 20 6d 75 63 68 2c | 20 73 6f 20 6c 6f 6e 67 | much,| so long|
|00002010| 20 61 73 20 74 68 65 20 | 76 61 6c 75 65 73 20 61 | as the |values a|
|00002020| 72 65 20 77 69 74 68 69 | 6e 20 74 68 65 69 72 20 |re withi|n their |
|00002030| 6e 6f 72 6d 61 6c 20 72 | 61 6e 67 65 73 3a 20 62 |normal r|anges: b|
|00002040| 65 74 77 65 65 6e 0a 25 | 20 20 20 30 20 61 6e 64 |etween.%| 0 and|
|00002050| 20 31 2c 20 77 69 74 68 | 20 74 68 65 20 76 61 6c | 1, with| the val|
|00002060| 75 65 73 20 61 70 70 72 | 6f 61 63 68 69 6e 67 20 |ues appr|oaching |
|00002070| 30 2c 20 30 2c 20 61 6e | 64 20 31 20 72 65 73 70 |0, 0, an|d 1 resp|
|00002080| 65 63 74 69 76 65 6c 79 | 2e 0a 25 0a 25 20 7c 70 |ectively|..%.% |p|
|00002090| 69 78 65 6c 73 5f 70 65 | 72 5f 69 6e 63 68 7c 3a |ixels_pe|r_inch|:|
|000020a0| 20 74 68 65 20 68 6f 72 | 69 7a 6f 6e 74 61 6c 20 | the hor|izontal |
|000020b0| 72 65 73 6f 6c 75 74 69 | 6f 6e 3b 20 74 68 65 20 |resoluti|on; the |
|000020c0| 5c 4d 46 5c 20 70 72 69 | 6d 69 74 69 76 65 0a 25 |\MF\ pri|mitive.%|
|000020d0| 20 20 20 7c 68 70 70 70 | 7c 20 28 77 68 69 63 68 | |hppp|| (which|
|000020e0| 20 69 73 20 77 68 61 74 | 20 64 65 74 65 72 6d 69 | is what| determi|
|000020f0| 6e 65 73 20 74 68 65 20 | 65 78 74 65 6e 73 69 6f |nes the |extensio|
|00002100| 6e 20 6f 6e 20 74 68 65 | 20 47 46 20 66 69 6c 65 |n on the| GF file|
|00002110| 6e 61 6d 65 2c 0a 25 20 | 20 20 61 73 20 61 6d 6f |name,.% | as amo|
|00002120| 6e 67 20 6f 74 68 65 72 | 20 74 68 69 6e 67 73 29 |ng other| things)|
|00002130| 20 69 73 20 63 6f 6d 70 | 75 74 65 64 20 66 72 6f | is comp|uted fro|
|00002140| 6d 20 74 68 69 73 20 28 | 70 61 67 65 20 39 34 29 |m this (|page 94)|
|00002150| 2e 20 20 28 41 6e 0a 25 | 20 20 20 60 60 69 6e 63 |. (An.%| ``inc|
|00002160| 68 27 27 20 69 73 20 37 | 32 2e 32 37 5c 74 68 69 |h'' is 7|2.27\thi|
|00002170| 6e 73 70 61 63 65 20 70 | 74 20 69 6e 20 74 68 65 |nspace p|t in the|
|00002180| 20 5c 54 65 58 5c 20 77 | 6f 72 6c 64 2e 29 0a 25 | \TeX\ w|orld.).%|
|00002190| 20 20 20 0a 25 20 20 20 | 54 6f 20 62 65 20 6d 6f | .% |To be mo|
|000021a0| 72 65 20 70 72 65 63 69 | 73 65 2c 20 79 6f 75 20 |re preci|se, you |
|000021b0| 63 61 6e 20 64 65 74 65 | 72 6d 69 6e 65 20 74 68 |can dete|rmine th|
|000021c0| 65 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 6f 66 20 |e resolu|tion of |
|000021d0| 61 20 66 6f 6e 74 20 67 | 69 76 65 6e 20 61 0a 25 |a font g|iven a.%|
|000021e0| 20 20 20 7c 6d 6f 64 65 | 5f 64 65 66 7c 20 61 6e | |mode|_def| an|
|000021f0| 64 20 61 20 6d 61 67 6e | 69 66 69 63 61 74 69 6f |d a magn|ificatio|
|00002200| 6e 20 7c 6d 7c 20 62 79 | 20 73 69 6d 70 6c 79 20 |n |m| by| simply |
|00002210| 6d 75 6c 74 69 70 6c 79 | 69 6e 67 0a 25 20 20 20 |multiply|ing.% |
|00002220| 7c 70 69 78 65 6c 73 5f | 70 65 72 5f 69 6e 63 68 ||pixels_|per_inch|
|00002230| 7c 20 66 6f 72 20 74 68 | 61 74 20 7c 6d 6f 64 65 || for th|at |mode|
|00002240| 5f 64 65 66 7c 20 62 79 | 20 7c 6d 7c 2e 20 20 28 |_def| by| |m|. (|
|00002250| 59 6f 75 72 20 72 65 73 | 75 6c 74 73 20 6d 61 79 |Your res|ults may|
|00002260| 0a 25 20 20 20 64 69 66 | 66 65 72 20 66 72 6f 6d |.% dif|fer from|
|00002270| 20 5c 4d 46 27 73 20 69 | 66 20 79 6f 75 20 64 6f | \MF's i|f you do|
|00002280| 6e 27 74 20 75 73 65 20 | 65 71 75 69 76 61 6c 65 |n't use |equivale|
|00002290| 6e 74 20 66 69 78 65 64 | 2d 70 6f 69 6e 74 0a 25 |nt fixed|-point.%|
|000022a0| 20 20 20 61 72 69 74 68 | 6d 65 74 69 63 2e 29 20 | arith|metic.) |
|000022b0| 20 54 68 65 6e 20 79 6f | 75 20 63 61 6e 20 64 65 | Then yo|u can de|
|000022c0| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 6e 75 6d 62 |termine |the numb|
|000022d0| 65 72 20 75 73 65 64 20 | 69 6e 20 74 68 65 20 6e |er used |in the n|
|000022e0| 61 6d 65 20 6f 66 0a 25 | 20 20 20 74 68 65 20 47 |ame of.%| the G|
|000022f0| 46 20 66 6f 6e 74 20 6f | 75 74 70 75 74 20 62 79 |F font o|utput by|
|00002300| 20 72 6f 75 6e 64 69 6e | 67 2e 20 20 46 6f 72 20 | roundin|g. For |
|00002310| 65 78 61 6d 70 6c 65 2c | 20 61 20 66 6f 6e 74 20 |example,| a font |
|00002320| 67 65 6e 65 72 61 74 65 | 64 20 61 74 0a 25 20 20 |generate|d at.% |
|00002330| 20 7c 6d 61 67 73 74 65 | 70 28 2e 35 29 7c 20 28 | |magste|p(.5)| (|
|00002340| 77 68 69 63 68 20 69 73 | 20 24 5c 73 71 72 74 7b |which is| $\sqrt{|
|00002350| 31 2e 32 7d 24 2c 20 77 | 68 69 63 68 20 5c 4d 46 |1.2}$, w|hich \MF|
|00002360| 20 63 6f 6d 70 75 74 65 | 73 20 61 73 20 31 2e 30 | compute|s as 1.0|
|00002370| 39 35 34 34 29 0a 25 20 | 20 20 66 6f 72 20 61 20 |9544).% | for a |
|00002380| 70 72 69 6e 74 65 72 20 | 77 69 74 68 20 7c 70 69 |printer |with |pi|
|00002390| 78 65 6c 73 5f 70 65 72 | 5f 69 6e 63 68 3d 33 30 |xels_per|_inch=30|
|000023a0| 30 7c 20 77 69 6c 6c 20 | 68 61 76 65 20 61 20 72 |0| will |have a r|
|000023b0| 65 73 6f 6c 75 74 69 6f | 6e 20 6f 66 0a 25 20 20 |esolutio|n of.% |
|000023c0| 20 33 32 38 2e 36 33 33 | 31 32 20 64 6f 74 73 20 | 328.633|12 dots |
|000023d0| 70 65 72 20 69 6e 63 68 | 2c 20 61 6e 64 20 74 68 |per inch|, and th|
|000023e0| 65 20 47 46 20 66 69 6c | 65 6e 61 6d 65 20 77 69 |e GF fil|ename wi|
|000023f0| 6c 6c 20 69 6e 63 6c 75 | 64 65 20 74 68 65 20 6e |ll inclu|de the n|
|00002400| 75 6d 62 65 72 0a 25 20 | 20 20 7b 5c 74 74 20 33 |umber.% | {\tt 3|
|00002410| 32 39 7d 2e 0a 25 0a 25 | 20 7c 70 72 6f 6f 66 69 |29}..%.%| |proofi|
|00002420| 6e 67 7c 3a 20 73 61 79 | 73 20 77 68 65 74 68 65 |ng|: say|s whethe|
|00002430| 72 20 74 6f 20 70 75 74 | 20 61 64 64 69 74 69 6f |r to put| additio|
|00002440| 6e 61 6c 20 73 70 65 63 | 69 61 6c 73 20 69 6e 20 |nal spec|ials in |
|00002450| 74 68 65 20 47 46 20 66 | 69 6c 65 20 66 6f 72 0a |the GF f|ile for.|
|00002460| 25 20 20 20 75 73 65 20 | 69 6e 20 6d 61 6b 69 6e |% use |in makin|
|00002470| 67 20 70 72 6f 6f 66 73 | 68 65 65 74 73 20 76 69 |g proofs|heets vi|
|00002480| 61 2c 20 65 2e 67 2e 2c | 20 74 68 65 20 75 74 69 |a, e.g.,| the uti|
|00002490| 6c 69 74 79 20 70 72 6f | 67 72 61 6d 20 7b 5c 74 |lity pro|gram {\t|
|000024a0| 74 0a 25 20 20 20 47 46 | 74 6f 44 56 49 7d 20 28 |t.% GF|toDVI} (|
|000024b0| 70 61 67 65 20 33 32 33 | 2d 2d 34 29 2e 0a 25 0a |page 323|--4)..%.|
|000024c0| 25 20 7c 74 72 61 63 69 | 6e 67 74 69 74 6c 65 73 |% |traci|ngtitles|
|000024d0| 7c 3a 20 69 66 20 6e 6f | 6e 7a 65 72 6f 2c 20 73 ||: if no|nzero, s|
|000024e0| 74 72 69 6e 67 73 20 74 | 68 61 74 20 61 70 70 65 |trings t|hat appe|
|000024f0| 61 72 20 61 73 20 5c 4d | 46 5c 20 73 74 61 74 65 |ar as \M|F\ state|
|00002500| 6d 65 6e 74 73 0a 25 20 | 20 20 61 72 65 20 74 79 |ments.% | are ty|
|00002510| 70 65 64 20 6f 6e 20 74 | 68 65 20 74 65 72 6d 69 |ped on t|he termi|
|00002520| 6e 61 6c 20 28 70 61 67 | 65 20 31 38 37 29 2e 0a |nal (pag|e 187)..|
|00002530| 25 0a 25 20 4e 65 65 6e | 69 65 20 42 69 6c 6c 61 |%.% Neen|ie Billa|
|00002540| 77 61 6c 61 27 73 20 61 | 72 74 69 63 6c 65 20 69 |wala's a|rticle i|
|00002550| 6e 20 74 68 65 20 41 70 | 72 69 6c 20 31 39 38 37 |n the Ap|ril 1987|
|00002560| 20 69 73 73 75 65 20 6f | 66 20 7b 5c 73 6c 20 54 | issue o|f {\sl T|
|00002570| 55 47 62 6f 61 74 7d 0a | 25 20 64 65 73 63 72 69 |UGboat}.|% descri|
|00002580| 62 65 73 20 68 6f 77 20 | 74 6f 20 74 65 73 74 20 |bes how |to test |
|00002590| 79 6f 75 72 20 70 72 69 | 6e 74 65 72 20 66 6f 72 |your pri|nter for|
|000025a0| 20 74 68 65 20 62 65 73 | 74 20 73 65 74 20 6f 66 | the bes|t set of|
|000025b0| 20 76 61 6c 75 65 73 20 | 66 6f 72 20 74 68 65 0a | values |for the.|
|000025c0| 25 20 6d 61 67 69 63 20 | 6e 75 6d 62 65 72 73 20 |% magic |numbers |
|000025d0| 61 62 6f 76 65 2e 20 20 | 48 65 72 65 20 61 72 65 |above. |Here are|
|000025e0| 20 73 6f 6d 65 20 62 72 | 69 65 66 20 63 6f 6d 6d | some br|ief comm|
|000025f0| 65 6e 74 73 20 6f 6e 20 | 74 68 65 20 73 75 62 6a |ents on |the subj|
|00002600| 65 63 74 2c 0a 25 20 63 | 6f 75 72 74 65 73 79 20 |ect,.% c|ourtesy |
|00002610| 6f 66 20 52 6f 63 6b 79 | 20 42 65 72 6e 73 74 65 |of Rocky| Bernste|
|00002620| 69 6e 2c 20 61 67 61 69 | 6e 20 65 64 69 74 65 64 |in, agai|n edited|
|00002630| 20 62 79 20 4b 61 72 6c | 3a 0a 25 0a 25 20 46 6f | by Karl|:.%.% Fo|
|00002640| 72 20 6d 65 64 69 75 6d | 2d 74 6f 2d 6c 6f 77 20 |r medium|-to-low |
|00002650| 72 65 73 6f 6c 75 74 69 | 6f 6e 20 64 65 76 69 63 |resoluti|on devic|
|00002660| 65 73 2c 20 79 6f 75 20 | 63 61 6e 20 66 69 72 73 |es, you |can firs|
|00002670| 74 20 73 65 74 20 74 68 | 65 20 7c 62 6c 61 63 6b |t set th|e |black|
|00002680| 65 72 7c 0a 25 20 61 6e | 64 20 7c 6f 5f 63 6f 72 |er|.% an|d |o_cor|
|00002690| 72 65 63 74 69 6f 6e 7c | 20 74 6f 7e 30 20 61 6e |rection|| to~0 an|
|000026a0| 64 20 64 65 63 69 64 65 | 20 6f 6e 20 61 20 7c 66 |d decide| on a |f|
|000026b0| 69 6c 6c 69 6e 7c 20 76 | 61 6c 75 65 20 62 79 20 |illin| v|alue by |
|000026c0| 6c 6f 6f 6b 69 6e 67 20 | 61 74 0a 25 20 74 68 65 |looking |at.% the|
|000026d0| 20 64 69 61 67 6f 6e 61 | 6c 20 6f 66 20 61 20 6c | diagona|l of a l|
|000026e0| 6f 77 65 72 63 61 73 65 | 20 60 7a 27 20 69 6e 20 |owercase| `z' in |
|000026f0| 7b 5c 74 74 20 63 6d 74 | 74 31 30 7d 2c 20 6f 72 |{\tt cmt|t10}, or|
|00002700| 20 76 61 72 69 6f 75 73 | 0a 25 20 6c 69 6e 65 73 | various|.% lines|
|00002710| 20 69 6e 20 4c 61 54 65 | 58 27 73 20 6c 69 6e 65 | in LaTe|X's line|
|00002720| 31 30 20 66 6f 6e 74 2e | 20 54 68 65 20 64 69 61 |10 font.| The dia|
|00002730| 67 6f 6e 61 6c 20 73 68 | 6f 75 6c 64 20 62 65 20 |gonal sh|ould be |
|00002740| 74 68 65 20 73 61 6d 65 | 0a 25 20 74 68 69 63 6b |the same|.% thick|
|00002750| 6e 65 73 73 20 61 73 20 | 74 68 65 20 68 6f 72 69 |ness as |the hori|
|00002760| 7a 6f 6e 74 61 6c 20 62 | 61 72 73 20 6f 66 20 74 |zontal b|ars of t|
|00002770| 68 65 20 60 7a 27 2e 20 | 54 68 65 6e 20 49 20 64 |he `z'. |Then I d|
|00002780| 65 63 69 64 65 20 6f 6e | 20 74 68 65 0a 25 20 7c |ecide on| the.% ||
|00002790| 62 6c 61 63 6b 65 72 7c | 20 76 61 6c 75 65 2c 20 |blacker|| value, |
|000027a0| 67 65 6e 65 72 61 6c 6c | 79 20 62 79 20 63 68 65 |generall|y by che|
|000027b0| 63 6b 69 6e 67 20 74 68 | 65 20 73 6d 61 6c 6c 65 |cking th|e smalle|
|000027c0| 72 20 66 6f 6e 74 73 20 | 66 6f 72 20 74 6f 6f 20 |r fonts |for too |
|000027d0| 6d 75 63 68 0a 25 20 66 | 69 6c 6c 69 6e 67 20 69 |much.% f|illing i|
|000027e0| 6e 2e 20 20 46 69 6e 61 | 6c 6c 79 2c 20 79 6f 75 |n. Fina|lly, you|
|000027f0| 20 63 61 6e 20 73 65 74 | 20 74 68 65 20 7c 6f 5f | can set| the |o_|
|00002800| 63 6f 72 72 65 63 74 69 | 6f 6e 7c 20 75 73 69 6e |correcti|on| usin|
|00002810| 67 20 74 68 65 0a 25 20 | 67 75 69 64 65 6c 69 6e |g the.% |guidelin|
|00002820| 65 73 20 73 75 67 67 65 | 73 74 65 64 20 61 62 6f |es sugge|sted abo|
|00002830| 76 65 2e 0a 25 22 0a 25 | 20 7d 0a 0a 25 20 49 64 |ve..%".%| }..% Id|
|00002840| 65 6e 74 69 66 79 20 6f | 75 72 73 65 6c 76 65 73 |entify o|urselves|
|00002850| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 61 74 20 66 | in the |format f|
|00002860| 69 6c 65 2e 0a 62 61 73 | 65 5f 76 65 72 73 69 6f |ile..bas|e_versio|
|00002870| 6e 20 3a 3d 20 62 61 73 | 65 5f 76 65 72 73 69 6f |n := bas|e_versio|
|00002880| 6e 20 26 20 22 2f 6d 6f | 64 65 73 20 32 2e 32 22 |n & "/mo|des 2.2"|
|00002890| 3b 0a 0a 0a 25 20 48 65 | 72 65 20 61 72 65 20 75 |;...% He|re are u|
|000028a0| 73 65 66 75 6c 20 6d 61 | 63 72 6f 73 20 28 61 6c |seful ma|cros (al|
|000028b0| 73 6f 20 63 61 6c 6c 65 | 64 20 64 65 66 69 6e 69 |so calle|d defini|
|000028c0| 74 69 6f 6e 73 29 20 77 | 65 20 75 73 65 20 74 68 |tions) w|e use th|
|000028d0| 72 6f 75 67 68 6f 75 74 | 2e 0a 0a 25 20 46 69 72 |roughout|...% Fir|
|000028e0| 73 74 2c 20 73 6f 6d 65 | 20 63 6f 6d 6d 65 6e 74 |st, some| comment|
|000028f0| 73 20 61 62 6f 75 74 20 | 68 6f 77 20 74 68 65 20 |s about |how the |
|00002900| 7c 6d 6f 64 65 5f 64 65 | 66 73 7c 20 61 72 65 20 ||mode_de|fs| are |
|00002910| 63 6f 6e 73 74 72 75 63 | 74 65 64 20 28 66 72 6f |construc|ted (fro|
|00002920| 6d 0a 25 20 7b 5c 74 74 | 20 72 6f 63 6b 79 40 70 |m.% {\tt| rocky@p|
|00002930| 61 6e 69 78 2e 63 6f 6d | 7d 29 2e 20 20 49 6e 20 |anix.com|}). In |
|00002940| 74 68 65 20 70 61 73 74 | 2c 20 7c 6d 6f 64 65 5f |the past|, |mode_|
|00002950| 64 65 66 73 7c 20 75 6e | 63 6f 6e 64 69 74 69 6f |defs| un|conditio|
|00002960| 6e 61 6c 6c 79 0a 25 20 | 61 73 73 69 67 6e 65 64 |nally.% |assigned|
|00002970| 20 61 20 76 61 6c 75 65 | 20 74 6f 20 74 68 65 20 | a value| to the |
|00002980| 76 61 72 69 6f 75 73 20 | 6d 6f 64 65 2d 64 65 70 |various |mode-dep|
|00002990| 65 6e 64 65 6e 74 20 70 | 61 72 61 6d 65 74 65 72 |endent p|arameter|
|000029a0| 73 2e 20 46 6f 72 0a 25 | 20 65 78 61 6d 70 6c 65 |s. For.%| example|
|000029b0| 2c 20 74 68 65 79 20 63 | 6f 6e 74 61 69 6e 65 64 |, they c|ontained|
|000029c0| 20 61 6e 20 61 73 73 69 | 67 6e 6d 65 6e 74 20 7c | an assi|gnment ||
|000029d0| 66 6f 6e 74 6d 61 6b 69 | 6e 67 3a 3d 31 7c 2c 20 |fontmaki|ng:=1|, |
|000029e0| 77 68 69 63 68 20 74 65 | 6c 6c 73 0a 25 20 5c 4d |which te|lls.% \M|
|000029f0| 46 5c 20 74 6f 20 77 72 | 69 74 65 20 61 20 54 46 |F\ to wr|ite a TF|
|00002a00| 4d 20 66 69 6c 65 2e 0a | 25 0a 25 20 42 75 74 20 |M file..|%.% But |
|00002a10| 73 75 70 70 6f 73 65 20 | 79 6f 75 20 77 61 6e 74 |suppose |you want|
|00002a20| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 61 20 66 | to gene|rate a f|
|00002a30| 6f 6e 74 20 75 73 69 6e | 67 20 61 6c 6c 20 6f 66 |ont usin|g all of|
|00002a40| 20 74 68 65 20 73 65 74 | 75 70 20 66 6f 72 0a 25 | the set|up for.%|
|00002a50| 20 73 6f 6d 65 20 6d 6f | 64 65 20 7c 6d 7c 2c 20 | some mo|de |m|, |
|00002a60| 62 75 74 20 64 6f 20 6e | 6f 74 20 77 61 6e 74 20 |but do n|ot want |
|00002a70| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 61 20 54 46 |to gener|ate a TF|
|00002a80| 4d 3f 20 4f 6e 65 20 63 | 6f 75 6c 64 20 63 72 65 |M? One c|ould cre|
|00002a90| 61 74 65 0a 25 20 61 6e | 6f 74 68 65 72 20 6d 6f |ate.% an|other mo|
|00002aa0| 64 65 20 74 68 61 74 20 | 64 6f 65 73 6e 27 74 20 |de that |doesn't |
|00002ab0| 68 61 76 65 20 74 68 65 | 20 61 73 73 69 67 6e 6d |have the| assignm|
|00002ac0| 65 6e 74 2c 20 62 75 74 | 20 74 68 69 73 20 73 65 |ent, but| this se|
|00002ad0| 65 6d 73 20 61 20 62 69 | 74 0a 25 20 77 61 73 74 |ems a bi|t.% wast|
|00002ae0| 65 66 75 6c 20 73 69 6e | 63 65 20 74 68 65 20 72 |eful sin|ce the r|
|00002af0| 65 73 74 20 6f 66 20 74 | 68 65 20 63 6f 64 65 20 |est of t|he code |
|00002b00| 69 6e 20 74 68 65 20 6d | 6f 64 65 20 77 6f 75 6c |in the m|ode woul|
|00002b10| 64 20 62 65 20 64 75 70 | 6c 69 63 61 74 65 64 2e |d be dup|licated.|
|00002b20| 0a 25 20 46 75 72 74 68 | 65 72 6d 6f 72 65 2c 20 |.% Furth|ermore, |
|00002b30| 67 69 76 65 6e 20 74 68 | 65 20 77 61 79 20 74 68 |given th|e way th|
|00002b40| 65 20 6d 6f 64 65 20 64 | 65 66 69 6e 69 74 69 6f |e mode d|efinitio|
|00002b50| 6e 73 20 77 65 72 65 20 | 77 72 69 74 74 65 6e 2c |ns were |written,|
|00002b60| 20 69 74 20 77 61 73 0a | 25 20 6e 6f 74 20 70 6f | it was.|% not po|
|00002b70| 73 73 69 62 6c 65 20 74 | 6f 20 63 68 61 6e 67 65 |ssible t|o change|
|00002b80| 20 74 68 65 20 6d 6f 64 | 65 20 70 61 72 61 6d 65 | the mod|e parame|
|00002b90| 74 65 72 73 2e 20 20 54 | 6f 20 73 65 65 20 77 68 |ters. T|o see wh|
|00002ba0| 79 2c 20 49 20 72 65 76 | 69 65 77 20 68 6f 77 0a |y, I rev|iew how.|
|00002bb0| 25 20 61 20 5c 4d 46 5c | 20 72 75 6e 20 74 79 70 |% a \MF\| run typ|
|00002bc0| 69 63 61 6c 6c 79 20 77 | 6f 72 6b 73 2e 0a 25 0a |ically w|orks..%.|
|00002bd0| 25 20 46 69 72 73 74 2c | 20 5c 4d 46 5c 20 69 73 |% First,| \MF\ is|
|00002be0| 20 69 6e 76 6f 6b 65 64 | 20 77 69 74 68 20 73 6f | invoked| with so|
|00002bf0| 6d 65 20 62 61 73 65 20 | 66 69 6c 65 20 74 6f 20 |me base |file to |
|00002c00| 6c 6f 61 64 2e 20 20 54 | 68 65 6e 20 79 6f 75 20 |load. T|hen you |
|00002c10| 6d 69 67 68 74 0a 25 20 | 77 61 6e 74 20 67 69 76 |might.% |want giv|
|00002c20| 65 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 69 6e 73 |e additi|onal ins|
|00002c30| 74 72 75 63 74 69 6f 6e | 73 2c 20 73 75 63 68 20 |truction|s, such |
|00002c40| 61 73 20 7c 73 63 72 6f | 6c 6c 6d 6f 64 65 7c 2c |as |scro|llmode|,|
|00002c50| 20 6f 72 20 7c 6d 6f 64 | 65 3a 3d 63 78 7c 2e 0a | or |mod|e:=cx|..|
|00002c60| 25 20 4e 65 78 74 2c 20 | 79 6f 75 20 69 6e 70 75 |% Next, |you inpu|
|00002c70| 74 20 61 20 70 61 72 61 | 6d 65 74 65 72 20 66 69 |t a para|meter fi|
|00002c80| 6c 65 2c 20 73 61 79 20 | 7b 5c 74 74 20 63 6d 72 |le, say |{\tt cmr|
|00002c90| 31 30 7d 2e 20 20 54 68 | 65 20 70 61 72 61 6d 65 |10}. Th|e parame|
|00002ca0| 74 65 72 20 66 69 6c 65 | 0a 25 20 63 61 6c 6c 73 |ter file|.% calls|
|00002cb0| 20 61 20 64 72 69 76 65 | 72 20 66 69 6c 65 2c 20 | a drive|r file, |
|00002cc0| 73 75 63 68 20 61 73 20 | 7b 5c 74 74 20 72 6f 6d |such as |{\tt rom|
|00002cd0| 61 6e 7d 2c 20 77 69 74 | 68 20 74 68 65 20 63 6f |an}, wit|h the co|
|00002ce0| 6d 6d 61 6e 64 20 7c 67 | 65 6e 65 72 61 74 65 0a |mmand |g|enerate.|
|00002cf0| 25 20 72 6f 6d 61 6e 7c | 2e 20 20 46 69 6e 61 6c |% roman||. Final|
|00002d00| 6c 79 2c 20 74 68 65 20 | 64 72 69 76 65 72 20 66 |ly, the |driver f|
|00002d10| 69 6e 69 73 68 65 64 20 | 62 79 20 73 61 79 69 6e |inished |by sayin|
|00002d20| 67 20 7c 62 79 65 7c 20 | 6f 72 20 7c 65 6e 64 7c |g |bye| |or |end||
|00002d30| 2e 20 20 54 68 75 73 2c | 0a 25 20 61 6e 79 20 61 |. Thus,|.% any a|
|00002d40| 64 64 69 74 69 6f 6e 61 | 6c 20 63 6f 6d 6d 61 6e |dditiona|l comman|
|00002d50| 64 73 20 79 6f 75 20 67 | 69 76 65 20 61 66 74 65 |ds you g|ive afte|
|00002d60| 72 20 74 68 65 20 69 6e | 70 75 74 20 6f 66 20 74 |r the in|put of t|
|00002d70| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 66 69 6c |he param|eter fil|
|00002d80| 65 0a 25 20 61 72 65 20 | 69 67 6e 6f 72 65 64 2e |e.% are |ignored.|
|00002d90| 0a 25 0a 25 20 55 73 75 | 61 6c 6c 79 2c 20 6f 6e |.%.% Usu|ally, on|
|00002da0| 65 20 6f 66 20 74 68 65 | 20 66 69 72 73 74 20 74 |e of the| first t|
|00002db0| 68 69 6e 67 73 20 61 20 | 64 72 69 76 65 72 20 66 |hings a |driver f|
|00002dc0| 69 6c 65 20 64 6f 65 73 | 20 69 73 20 74 6f 20 63 |ile does| is to c|
|00002dd0| 61 6c 6c 0a 25 20 7c 6d | 6f 64 65 5f 73 65 74 75 |all.% |m|ode_setu|
|00002de0| 70 7c 2e 20 49 74 20 69 | 73 20 68 65 72 65 20 74 |p|. It i|s here t|
|00002df0| 68 61 74 20 74 68 65 20 | 6d 6f 64 65 20 70 61 72 |hat the |mode par|
|00002e00| 61 6d 65 74 65 72 73 20 | 61 72 65 20 73 65 74 2e |ameters |are set.|
|00002e10| 20 20 28 49 6e 20 6f 75 | 72 0a 25 20 68 79 70 6f | (In ou|r.% hypo|
|00002e20| 74 68 65 74 69 63 61 6c | 20 6d 6f 64 65 2c 20 69 |thetical| mode, i|
|00002e30| 74 20 77 6f 75 6c 64 20 | 62 65 20 68 65 72 65 20 |t would |be here |
|00002e40| 74 68 61 74 20 7c 66 6f | 6e 74 6d 61 6b 69 6e 67 |that |fo|ntmaking|
|00002e50| 7c 20 69 73 20 61 73 73 | 69 67 6e 65 64 2e 29 0a || is ass|igned.).|
|00002e60| 25 0a 25 20 54 6f 20 61 | 6c 6c 6f 77 20 61 20 66 |%.% To a|llow a f|
|00002e70| 6c 65 78 69 62 6c 65 20 | 73 65 74 74 69 6e 67 20 |lexible |setting |
|00002e80| 6f 66 20 7c 66 6f 6e 74 | 6d 61 6b 69 6e 67 7c 2c |of |font|making|,|
|00002e90| 20 77 65 20 63 61 6e 20 | 6d 61 6b 65 20 61 20 73 | we can |make a s|
|00002ea0| 69 6d 70 6c 65 0a 25 20 | 63 68 61 6e 67 65 3a 20 |imple.% |change: |
|00002eb0| 69 6e 20 74 68 65 20 7c | 6d 6f 64 65 5f 64 65 66 |in the ||mode_def|
|00002ec0| 7c 2c 20 66 69 72 73 74 | 20 74 65 73 74 20 74 6f ||, first| test to|
|00002ed0| 20 73 65 65 20 69 66 20 | 61 20 76 61 6c 75 65 20 | see if |a value |
|00002ee0| 68 61 73 20 62 65 65 6e | 0a 25 20 64 65 66 69 6e |has been|.% defin|
|00002ef0| 65 64 20 70 72 69 6f 72 | 20 61 6e 64 20 6f 6e 6c |ed prior| and onl|
|00002f00| 79 20 6d 61 6b 65 20 74 | 68 65 20 61 73 73 69 67 |y make t|he assig|
|00002f10| 6e 6d 65 6e 74 20 69 66 | 20 6e 6f 74 2e 20 54 68 |nment if| not. Th|
|00002f20| 61 74 20 69 73 3a 0a 25 | 20 7c 69 66 20 75 6e 6b |at is:.%| |if unk|
|00002f30| 6e 6f 77 6e 20 66 6f 6e | 74 6d 61 6b 69 6e 67 3a |nown fon|tmaking:|
|00002f40| 20 66 6f 6e 74 6d 61 6b | 69 6e 67 20 3a 3d 20 31 | fontmak|ing := 1|
|00002f50| 3b 20 66 69 7c 2e 0a 25 | 20 0a 25 20 41 6c 61 73 |; fi|..%| .% Alas|
|00002f60| 2c 20 74 68 69 73 20 64 | 6f 65 73 6e 27 74 20 77 |, this d|oesn't w|
|00002f70| 6f 72 6b 2e 20 20 50 72 | 69 6d 69 74 69 76 65 73 |ork. Pr|imitives|
|00002f80| 2c 20 6c 69 6b 65 20 7c | 66 6f 6e 74 6d 61 6b 69 |, like ||fontmaki|
|00002f90| 6e 67 7c 2c 20 61 72 65 | 20 61 6c 77 61 79 73 0a |ng|, are| always.|
|00002fa0| 25 20 7c 6b 6e 6f 77 6e | 7c 2e 20 20 53 6f 20 69 |% |known||. So i|
|00002fb0| 6e 73 74 65 61 64 20 77 | 65 20 63 72 65 61 74 65 |nstead w|e create|
|00002fc0| 20 60 60 67 75 61 72 64 | 27 27 20 76 61 72 69 61 | ``guard|'' varia|
|00002fd0| 62 6c 65 73 2c 20 73 70 | 65 63 69 66 69 63 61 6c |bles, sp|ecifical|
|00002fe0| 6c 79 2c 0a 25 20 7c 6d | 6f 64 65 5f 67 75 61 72 |ly,.% |m|ode_guar|
|00002ff0| 64 5f 2e 66 6f 6e 74 6d | 61 6b 69 6e 67 7c 3b 20 |d_.fontm|aking|; |
|00003000| 77 65 20 73 65 74 20 74 | 68 65 20 67 75 61 72 64 |we set t|he guard|
|00003010| 20 77 68 65 6e 20 77 65 | 20 61 73 73 69 67 6e 20 | when we| assign |
|00003020| 74 68 65 0a 25 20 70 61 | 72 61 6d 65 74 65 72 2e |the.% pa|rameter.|
|00003030| 20 20 54 68 65 6e 20 77 | 65 20 74 65 73 74 20 77 | Then w|e test w|
|00003040| 68 65 74 68 65 72 20 74 | 68 65 20 67 75 61 72 64 |hether t|he guard|
|00003050| 20 69 73 20 7c 6b 6e 6f | 77 6e 7c 20 62 65 66 6f | is |kno|wn| befo|
|00003060| 72 65 20 77 65 0a 25 20 | 61 63 74 75 61 6c 6c 79 |re we.% |actually|
|00003070| 20 64 6f 20 61 6e 20 61 | 73 73 69 67 6e 6d 65 6e | do an a|ssignmen|
|00003080| 74 2e 20 20 54 68 69 73 | 20 61 6c 6c 6f 77 73 20 |t. This| allows |
|00003090| 6d 6f 72 65 20 66 6c 65 | 78 69 62 6c 65 20 64 65 |more fle|xible de|
|000030a0| 66 69 6e 69 74 69 6f 6e | 73 3a 20 79 6f 75 0a 25 |finition|s: you.%|
|000030b0| 20 63 61 6e 20 73 70 65 | 63 69 66 79 20 73 6f 6d | can spe|cify som|
|000030c0| 65 20 6f 66 20 74 68 65 | 20 70 61 72 61 6d 65 74 |e of the| paramet|
|000030d0| 65 72 73 2c 20 61 6e 64 | 20 6b 65 65 70 20 74 68 |ers, and| keep th|
|000030e0| 65 20 64 65 66 61 75 6c | 74 73 20 66 6f 72 20 6f |e defaul|ts for o|
|000030f0| 74 68 65 72 73 2e 0a 25 | 0a 25 20 49 74 20 69 73 |thers..%|.% It is|
|00003100| 20 61 6c 73 6f 20 70 6f | 73 73 69 62 6c 65 20 74 | also po|ssible t|
|00003110| 6f 20 77 72 69 74 65 20 | 61 20 70 72 6f 67 72 61 |o write |a progra|
|00003120| 6d 20 74 68 61 74 20 63 | 72 65 61 74 65 73 20 61 |m that c|reates a|
|00003130| 20 7c 6d 6f 64 65 5f 64 | 65 66 7c 20 6f 6e 0a 25 | |mode_d|ef| on.%|
|00003140| 20 74 68 65 20 66 6c 79 | 2e 20 41 6c 74 68 6f 75 | the fly|. Althou|
|00003150| 67 68 20 75 73 65 66 75 | 6c 2c 20 74 68 69 73 20 |gh usefu|l, this |
|00003160| 68 61 73 20 61 20 73 6c | 69 67 68 74 6c 79 20 64 |has a sl|ightly d|
|00003170| 69 66 66 65 72 65 6e 74 | 20 66 6f 63 75 73 20 74 |ifferent| focus t|
|00003180| 68 61 6e 0a 25 20 73 74 | 61 72 74 69 6e 67 20 77 |han.% st|arting w|
|00003190| 69 74 68 20 61 6e 20 65 | 78 69 73 74 69 6e 67 20 |ith an e|xisting |
|000031a0| 7c 6d 6f 64 65 5f 64 65 | 66 7c 20 61 6e 64 20 63 ||mode_de|f| and c|
|000031b0| 68 61 6e 67 69 6e 67 20 | 61 20 63 6f 75 70 6c 65 |hanging |a couple|
|000031c0| 20 6f 66 0a 25 20 70 61 | 72 61 6d 65 74 65 72 73 | of.% pa|rameters|
|000031d0| 2e 20 49 6e 20 70 61 72 | 74 69 63 75 6c 61 72 2c |. In par|ticular,|
|000031e0| 20 6f 6e 65 20 73 74 69 | 6c 6c 20 68 61 73 20 74 | one sti|ll has t|
|000031f0| 6f 20 70 65 65 6b 20 69 | 6e 73 69 64 65 20 74 68 |o peek i|nside th|
|00003200| 65 0a 25 20 66 69 6c 65 | 20 74 6f 20 73 65 65 20 |e.% file| to see |
|00003210| 77 68 61 74 20 74 68 65 | 20 6f 6c 64 20 76 61 6c |what the| old val|
|00003220| 75 65 73 20 77 65 72 65 | 20 61 6e 64 20 73 65 74 |ues were| and set|
|00003230| 20 74 68 65 6d 20 61 67 | 61 69 6e 20 28 69 6e 20 | them ag|ain (in |
|00003240| 74 68 65 0a 25 20 6e 65 | 77 20 63 6f 6e 74 65 78 |the.% ne|w contex|
|00003250| 74 29 2e 20 41 6c 73 6f | 2c 20 73 75 63 68 20 6f |t). Also|, such o|
|00003260| 6e 2d 74 68 65 2d 66 6c | 79 20 7c 6d 6f 64 65 5f |n-the-fl|y |mode_|
|00003270| 64 65 66 7c 20 67 65 6e | 65 72 61 74 69 6f 6e 20 |def| gen|eration |
|00003280| 70 72 6f 67 72 61 6d 73 | 20 61 72 65 0a 25 20 69 |programs| are.% i|
|00003290| 6e 68 65 72 65 6e 74 6c | 79 20 6c 65 73 73 20 6d |nherentl|y less m|
|000032a0| 61 63 68 69 6e 65 2d 69 | 6e 64 65 70 65 6e 64 65 |achine-i|ndepende|
|000032b0| 6e 74 20 74 68 61 6e 20 | 61 20 73 63 68 65 6d 65 |nt than |a scheme|
|000032c0| 20 74 68 61 74 20 64 6f | 65 73 0a 25 20 65 76 65 | that do|es.% eve|
|000032d0| 72 79 74 68 69 6e 67 20 | 69 6e 20 5c 4d 46 5c 20 |rything |in \MF\ |
|000032e0| 69 74 73 65 6c 66 2e 0a | 25 20 0a 25 20 54 68 65 |itself..|% .% The|
|000032f0| 20 75 70 73 68 6f 74 20 | 6f 66 20 61 6c 6c 20 74 | upshot |of all t|
|00003300| 68 69 73 20 69 73 20 74 | 68 65 20 66 6f 6c 6c 6f |his is t|he follo|
|00003310| 77 69 6e 67 3a 20 77 65 | 20 73 61 79 2c 20 65 2e |wing: we| say, e.|
|00003320| 67 2e 2c 0a 25 20 7c 6d | 6f 64 65 5f 70 61 72 61 |g.,.% |m|ode_para|
|00003330| 6d 20 28 66 6f 6e 74 6d | 61 6b 69 6e 67 2c 20 31 |m (fontm|aking, 1|
|00003340| 29 7c 20 62 65 6c 6f 77 | 2c 20 69 6e 73 74 65 61 |)| below|, instea|
|00003350| 64 20 6f 66 20 75 73 69 | 6e 67 20 74 68 65 20 61 |d of usi|ng the a|
|00003360| 73 73 69 67 6e 6d 65 6e | 74 0a 25 20 70 72 69 6d |ssignmen|t.% prim|
|00003370| 69 74 69 76 65 20 64 69 | 72 65 63 74 6c 79 2e 20 |itive di|rectly. |
|00003380| 20 54 68 65 20 6e 61 6d | 65 20 28 60 60 7c 6d 6f | The nam|e (``|mo|
|00003390| 64 65 5f 70 61 72 61 6d | 7c 27 27 29 20 69 73 20 |de_param||'') is |
|000033a0| 6b 65 70 74 20 73 6f 6d | 65 77 68 61 74 0a 25 20 |kept som|ewhat.% |
|000033b0| 73 68 6f 72 74 20 62 65 | 63 61 75 73 65 20 79 6f |short be|cause yo|
|000033c0| 75 20 63 61 6e 20 61 6c | 73 6f 20 75 73 65 20 74 |u can al|so use t|
|000033d0| 68 69 73 20 74 6f 20 6f | 76 65 72 72 69 64 65 20 |his to o|verride |
|000033e0| 61 20 6d 6f 64 65 20 61 | 73 73 69 67 6e 6d 65 6e |a mode a|ssignmen|
|000033f0| 74 20 6f 6e 0a 25 20 74 | 68 65 20 63 6f 6d 6d 61 |t on.% t|he comma|
|00003400| 6e 64 20 6c 69 6e 65 20 | 6f 72 20 69 6e 20 72 65 |nd line |or in re|
|00003410| 73 70 6f 6e 73 65 20 74 | 6f 20 74 68 65 20 7b 5c |sponse t|o the {\|
|00003420| 74 74 20 2a 2a 7d 20 70 | 72 6f 6d 70 74 2e 0a 25 |tt **} p|rompt..%|
|00003430| 20 0a 64 65 66 20 6d 6f | 64 65 5f 70 61 72 61 6d | .def mo|de_param|
|00003440| 20 28 73 75 66 66 69 78 | 20 76 29 20 28 65 78 70 | (suffix| v) (exp|
|00003450| 72 20 65 29 20 3d 0a 20 | 20 69 66 20 75 6e 6b 6e |r e) =. | if unkn|
|00003460| 6f 77 6e 20 6d 6f 64 65 | 5f 67 75 61 72 64 5f 2e |own mode|_guard_.|
|00003470| 76 3a 0a 20 20 20 20 76 | 20 3a 3d 20 65 3b 0a 20 |v:. v| := e;. |
|00003480| 20 20 20 6d 6f 64 65 5f | 67 75 61 72 64 5f 2e 76 | mode_|guard_.v|
|00003490| 20 3a 3d 20 31 3b 0a 20 | 20 66 69 0a 65 6e 64 64 | := 1;. | fi.endd|
|000034a0| 65 66 3b 0a 0a 25 20 54 | 68 69 73 20 6d 61 63 72 |ef;..% T|his macr|
|000034b0| 6f 20 69 73 20 69 6e 76 | 6f 6b 65 64 20 62 79 20 |o is inv|oked by |
|000034c0| 61 6c 6c 20 74 68 65 20 | 6d 6f 64 65 73 2c 20 61 |all the |modes, a|
|000034d0| 66 74 65 72 20 7c 70 69 | 78 65 6c 73 5f 70 65 72 |fter |pi|xels_per|
|000034e0| 5f 69 6e 63 68 7c 0a 25 | 20 68 61 73 20 62 65 65 |_inch|.%| has bee|
|000034f0| 6e 20 64 65 66 69 6e 65 | 64 2c 20 74 68 75 73 20 |n define|d, thus |
|00003500| 73 61 76 69 6e 67 20 73 | 6f 6d 65 20 73 70 61 63 |saving s|ome spac|
|00003510| 65 20 61 6e 64 20 74 69 | 6d 65 2e 0a 64 65 66 20 |e and ti|me..def |
|00003520| 6d 6f 64 65 5f 63 6f 6d | 6d 6f 6e 5f 73 65 74 75 |mode_com|mon_setu|
|00003530| 70 5f 20 3d 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |p_ =. m|ode_para|
|00003540| 6d 20 28 70 72 6f 6f 66 | 69 6e 67 2c 20 30 29 3b |m (proof|ing, 0);|
|00003550| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 66 |. mode_|param (f|
|00003560| 6f 6e 74 6d 61 6b 69 6e | 67 2c 20 31 29 3b 0a 20 |ontmakin|g, 1);. |
|00003570| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 74 72 61 | mode_pa|ram (tra|
|00003580| 63 69 6e 67 74 69 74 6c | 65 73 2c 20 69 66 20 70 |cingtitl|es, if p|
|00003590| 69 78 65 6c 73 5f 70 65 | 72 5f 69 6e 63 68 20 3e |ixels_pe|r_inch >|
|000035a0| 20 37 30 30 3a 20 31 20 | 65 6c 73 65 3a 20 30 20 | 700: 1 |else: 0 |
|000035b0| 66 69 29 3b 0a 65 6e 64 | 64 65 66 3b 0a 0a 0a 25 |fi);.end|def;...%|
|000035c0| 20 49 6e 20 61 20 73 69 | 6d 69 6c 61 72 20 73 70 | In a si|milar sp|
|000035d0| 69 72 69 74 2c 20 68 65 | 72 65 20 61 72 65 20 64 |irit, he|re are d|
|000035e0| 65 66 69 6e 69 74 69 6f | 6e 73 20 74 6f 20 63 68 |efinitio|ns to ch|
|000035f0| 61 6e 67 65 20 74 6f 20 | 60 60 6c 61 6e 64 73 63 |ange to |``landsc|
|00003600| 61 70 65 27 27 0a 25 20 | 6d 6f 64 65 2e 20 20 59 |ape''.% |mode. Y|
|00003610| 6f 75 20 6a 75 73 74 20 | 73 61 79 20 7b 5c 74 74 |ou just |say {\tt|
|00003620| 20 6d 6f 64 65 20 3a 3d | 20 77 68 61 74 65 76 65 | mode :=| whateve|
|00003630| 72 3b 20 6c 61 6e 64 73 | 63 61 70 65 3b 20 2e 2e |r; lands|cape; ..|
|00003640| 2e 7d 2c 20 61 6e 64 20 | 77 68 65 6e 0a 25 20 7c |.}, and |when.% ||
|00003650| 6d 6f 64 65 5f 73 65 74 | 75 70 7c 20 69 73 20 65 |mode_set|up| is e|
|00003660| 78 65 63 75 74 65 64 2c | 20 74 68 65 20 7c 61 73 |xecuted,| the |as|
|00003670| 70 65 63 74 5f 72 61 74 | 69 6f 7c 20 77 69 6c 6c |pect_rat|io| will|
|00003680| 20 62 65 20 69 6e 76 65 | 72 74 65 64 2c 20 61 6e | be inve|rted, an|
|00003690| 64 0a 25 20 7c 70 69 78 | 65 6c 73 5f 70 65 72 5f |d.% |pix|els_per_|
|000036a0| 69 6e 63 68 7c 20 63 68 | 61 6e 67 65 64 2e 0a 64 |inch| ch|anged..d|
|000036b0| 65 66 20 6c 61 6e 64 73 | 63 61 70 65 20 3d 0a 20 |ef lands|cape =. |
|000036c0| 20 65 78 74 72 61 5f 73 | 65 74 75 70 20 3a 3d 20 | extra_s|etup := |
|000036d0| 65 78 74 72 61 5f 73 65 | 74 75 70 20 26 20 22 6c |extra_se|tup & "l|
|000036e0| 61 6e 64 73 63 61 70 65 | 5f 3b 22 0a 65 6e 64 64 |andscape|_;".endd|
|000036f0| 65 66 3b 0a 0a 64 65 66 | 20 6c 61 6e 64 73 63 61 |ef;..def| landsca|
|00003700| 70 65 5f 20 3d 0a 20 20 | 62 65 67 69 6e 67 72 6f |pe_ =. |begingro|
|00003710| 75 70 0a 20 20 20 20 69 | 6e 74 65 72 69 6d 20 77 |up. i|nterim w|
|00003720| 61 72 6e 69 6e 67 63 68 | 65 63 6b 20 3a 3d 20 30 |arningch|eck := 0|
|00003730| 3b 0a 20 20 20 20 70 69 | 78 65 6c 73 5f 70 65 72 |;. pi|xels_per|
|00003740| 5f 69 6e 63 68 20 3a 3d | 20 61 73 70 65 63 74 5f |_inch :=| aspect_|
|00003750| 72 61 74 69 6f 20 2a 20 | 70 69 78 65 6c 73 5f 70 |ratio * |pixels_p|
|00003760| 65 72 5f 69 6e 63 68 3b | 0a 20 20 20 20 61 73 70 |er_inch;|. asp|
|00003770| 65 63 74 5f 72 61 74 69 | 6f 20 3a 3d 20 31 20 2f |ect_rati|o := 1 /|
|00003780| 20 61 73 70 65 63 74 5f | 72 61 74 69 6f 3b 0a 20 | aspect_|ratio;. |
|00003790| 20 20 20 66 69 78 5f 75 | 6e 69 74 73 3b 20 25 20 | fix_u|nits; % |
|000037a0| 54 6f 6f 20 62 61 64 20 | 77 65 20 63 61 6e 27 74 |Too bad |we can't|
|000037b0| 20 64 6f 20 74 68 69 73 | 20 61 66 74 65 72 20 61 | do this| after a|
|000037c0| 6e 79 20 7c 65 78 74 72 | 61 5f 73 65 74 75 70 7c |ny |extr|a_setup||
|000037d0| 2e 0a 20 20 65 6e 64 67 | 72 6f 75 70 0a 65 6e 64 |.. endg|roup.end|
|000037e0| 64 65 66 3b 0a 0a 0a 25 | 20 48 65 72 65 20 61 72 |def;...%| Here ar|
|000037f0| 65 20 6d 61 63 72 6f 73 | 20 74 6f 20 61 64 64 20 |e macros| to add |
|00003800| 73 70 65 63 69 61 6c 73 | 20 77 69 74 68 20 6d 6f |specials| with mo|
|00003810| 64 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 74 |de infor|mation t|
|00003820| 6f 20 74 68 65 20 47 46 | 20 66 69 6c 65 2e 0a 25 |o the GF| file..%|
|00003830| 0a 25 20 53 70 65 63 69 | 66 69 63 61 6c 6c 79 2c |.% Speci|fically,|
|00003840| 20 77 65 20 61 64 64 20 | 74 68 65 20 7c 70 69 78 | we add |the |pix|
|00003850| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 7c 2c 20 7c |els_per_|inch|, ||
|00003860| 6f 5f 63 6f 72 72 65 63 | 74 69 6f 6e 7c 2c 0a 25 |o_correc|tion|,.%|
|00003870| 20 7c 61 73 70 65 63 74 | 5f 72 61 74 69 6f 7c 20 | |aspect|_ratio| |
|00003880| 28 69 66 20 6e 6f 74 20 | 31 29 2c 20 7c 6d 61 67 |(if not |1), |mag|
|00003890| 7c 2c 20 7c 66 69 6c 6c | 69 6e 7c 2c 20 61 6e 64 ||, |fill|in|, and|
|000038a0| 20 7c 6d 6f 64 65 5f 64 | 65 66 7c 20 6e 61 6d 65 | |mode_d|ef| name|
|000038b0| 2e 20 20 54 68 69 73 0a | 25 20 69 6e 66 6f 72 6d |. This.|% inform|
|000038c0| 61 74 69 6f 6e 20 63 61 | 6e 20 62 65 20 75 73 65 |ation ca|n be use|
|000038d0| 64 20 74 6f 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |d to aut|omatical|
|000038e0| 6c 79 20 76 65 72 69 66 | 79 20 74 68 61 74 20 61 |ly verif|y that a|
|000038f0| 20 66 6f 6e 74 20 66 69 | 6c 65 20 6e 61 6d 65 0a | font fi|le name.|
|00003900| 25 20 6d 61 74 63 68 65 | 73 20 74 68 65 20 73 70 |% matche|s the sp|
|00003910| 65 63 69 66 69 63 61 74 | 69 6f 6e 20 77 69 74 68 |ecificat|ion with|
|00003920| 69 6e 20 74 68 65 20 66 | 69 6c 65 2e 20 20 46 6f |in the f|ile. Fo|
|00003930| 72 20 65 78 61 6d 70 6c | 65 2c 20 79 6f 75 20 63 |r exampl|e, you c|
|00003940| 6f 75 6c 64 0a 25 20 63 | 68 65 63 6b 20 74 68 61 |ould.% c|heck tha|
|00003950| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 69 6e 20 |t the nu|mber in |
|00003960| 74 68 65 20 66 69 6c 65 | 6e 61 6d 65 20 6d 61 74 |the file|name mat|
|00003970| 63 68 65 73 20 7c 6d 61 | 67 2a 70 69 78 65 6c 73 |ches |ma|g*pixels|
|00003980| 5f 70 65 72 5f 69 6e 63 | 68 7c 2e 0a 25 20 4f 72 |_per_inc|h|..% Or|
|00003990| 2c 20 69 66 20 74 68 65 | 20 7c 6d 6f 64 65 5f 64 |, if the| |mode_d|
|000039a0| 65 66 7c 20 6e 61 6d 65 | 20 69 73 20 70 61 72 74 |ef| name| is part|
|000039b0| 20 6f 66 20 74 68 65 20 | 66 6f 6e 74 20 64 69 72 | of the |font dir|
|000039c0| 65 63 74 6f 72 79 20 70 | 61 74 68 20 28 65 2e 67 |ectory p|ath (e.g|
|000039d0| 2e 2c 0a 25 20 79 6f 75 | 20 70 75 74 20 66 6f 6e |.,.% you| put fon|
|000039e0| 74 73 20 69 6e 20 7b 5c | 74 74 20 24 5c 6c 64 6f |ts in {\|tt $\ldo|
|000039f0| 74 73 24 2f 74 65 78 2f | 66 6f 6e 74 73 2f 43 61 |ts$/tex/|fonts/Ca|
|00003a00| 6e 6f 6e 43 58 7d 29 2c | 20 74 68 61 74 20 61 6c |nonCX}),| that al|
|00003a10| 6c 20 6f 66 20 74 68 65 | 0a 25 20 62 69 74 6d 61 |l of the|.% bitma|
|00003a20| 70 20 66 69 6c 65 73 20 | 69 6e 20 74 68 65 20 64 |p files |in the d|
|00003a30| 69 72 65 63 74 6f 72 79 | 20 68 61 76 65 20 74 68 |irectory| have th|
|00003a40| 65 20 65 78 70 65 63 74 | 65 64 20 7c 6d 6f 64 65 |e expect|ed |mode|
|00003a50| 5f 64 65 66 7c 20 6e 61 | 6d 65 2e 0a 64 65 66 20 |_def| na|me..def |
|00003a60| 6d 6f 64 65 5f 73 70 65 | 63 69 61 6c 5f 20 28 73 |mode_spe|cial_ (s|
|00003a70| 75 66 66 69 78 20 24 29 | 20 3d 0a 20 20 73 74 72 |uffix $)| =. str|
|00003a80| 69 6e 67 20 73 2c 20 64 | 3b 0a 20 20 73 20 3a 3d |ing s, d|;. s :=|
|00003a90| 20 73 74 72 20 24 3b 0a | 20 20 64 20 3a 3d 20 64 | str $;.| d := d|
|00003aa0| 65 63 69 6d 61 6c 20 73 | 63 61 6e 74 6f 6b 65 6e |ecimal s|cantoken|
|00003ab0| 73 20 73 3b 0a 20 20 73 | 70 65 63 69 61 6c 20 73 |s s;. s|pecial s|
|00003ac0| 20 26 20 22 3d 22 20 26 | 20 64 3b 0a 65 6e 64 64 | & "=" &| d;.endd|
|00003ad0| 65 66 3b 0a 0a 64 65 66 | 20 6d 6f 64 65 5f 6f 75 |ef;..def| mode_ou|
|00003ae0| 74 70 75 74 5f 73 70 65 | 63 69 61 6c 73 5f 20 3d |tput_spe|cials_ =|
|00003af0| 0a 20 20 62 65 67 69 6e | 67 72 6f 75 70 0a 20 20 |. begin|group. |
|00003b00| 20 20 73 61 76 65 20 64 | 2c 20 73 2c 20 70 2c 20 | save d|, s, p, |
|00003b10| 70 5f 70 5f 69 3b 0a 20 | 20 20 20 73 74 72 69 6e |p_p_i;. | strin|
|00003b20| 67 20 70 3b 0a 0a 20 20 | 20 20 69 6e 74 65 72 69 |g p;.. | interi|
|00003b30| 6d 20 77 61 72 6e 69 6e | 67 63 68 65 63 6b 20 3a |m warnin|gcheck :|
|00003b40| 3d 20 30 3b 20 25 20 49 | 6e 20 63 61 73 65 20 7c |= 0; % I|n case ||
|00003b50| 70 69 78 65 6c 73 5f 70 | 65 72 5f 69 6e 63 68 3e |pixels_p|er_inch>|
|00003b60| 34 30 39 36 7c 2e 0a 0a | 20 20 20 20 25 20 57 65 |4096|...| % We|
|00003b70| 20 6e 65 65 64 20 74 68 | 65 20 6f 6c 64 20 7c 70 | need th|e old |p|
|00003b80| 69 78 65 6c 73 5f 70 65 | 72 5f 69 6e 63 68 7c 20 |ixels_pe|r_inch| |
|00003b90| 74 6f 20 63 6f 6d 70 75 | 74 65 20 74 68 65 20 74 |to compu|te the t|
|00003ba0| 72 75 65 20 64 65 76 69 | 63 65 0a 20 20 20 20 25 |rue devi|ce. %|
|00003bb0| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 2e 0a 20 20 20 | resolut|ion.. |
|00003bc0| 20 70 5f 70 5f 69 20 3d | 20 70 69 78 65 6c 73 5f | p_p_i =| pixels_|
|00003bd0| 70 65 72 5f 69 6e 63 68 | 20 2f 20 6d 61 67 3b 0a |per_inch| / mag;.|
|00003be0| 0a 20 20 20 20 25 20 42 | 75 74 20 6e 6f 77 20 77 |. % B|ut now w|
|00003bf0| 65 20 77 61 6e 74 20 74 | 6f 20 63 68 61 6e 67 65 |e want t|o change|
|00003c00| 20 7c 70 69 78 65 6c 73 | 5f 70 65 72 5f 69 6e 63 | |pixels|_per_inc|
|00003c10| 68 7c 2c 20 73 6f 20 7c | 73 61 76 65 7c 20 74 68 |h|, so ||save| th|
|00003c20| 65 20 6f 6c 64 20 76 61 | 6c 75 65 2e 0a 20 20 20 |e old va|lue.. |
|00003c30| 20 73 61 76 65 20 70 69 | 78 65 6c 73 5f 70 65 72 | save pi|xels_per|
|00003c40| 5f 69 6e 63 68 3b 0a 20 | 20 20 20 70 69 78 65 6c |_inch;. | pixel|
|00003c50| 73 5f 70 65 72 5f 69 6e | 63 68 20 3a 3d 20 70 5f |s_per_in|ch := p_|
|00003c60| 70 5f 69 3b 0a 0a 20 20 | 20 20 73 70 65 63 69 61 |p_i;.. | specia|
|00003c70| 6c 20 22 6a 6f 62 6e 61 | 6d 65 3d 22 20 26 20 6a |l "jobna|me=" & j|
|00003c80| 6f 62 6e 61 6d 65 3b 0a | 20 20 20 20 6d 6f 64 65 |obname;.| mode|
|00003c90| 5f 73 70 65 63 69 61 6c | 5f 20 28 6d 61 67 29 3b |_special|_ (mag);|
|00003ca0| 0a 0a 20 20 20 20 70 20 | 3a 3d 20 69 66 20 73 74 |.. p |:= if st|
|00003cb0| 72 69 6e 67 20 6d 6f 64 | 65 3a 0a 20 20 20 20 20 |ring mod|e:. |
|00003cc0| 20 20 20 20 20 20 6d 6f | 64 65 0a 20 20 20 20 20 | mo|de. |
|00003cd0| 20 20 20 20 65 6c 73 65 | 3a 0a 20 20 20 20 20 20 | else|:. |
|00003ce0| 20 20 20 20 20 73 75 62 | 73 74 72 69 6e 67 20 28 | sub|string (|
|00003cf0| 30 2c 20 6c 65 6e 67 74 | 68 20 28 6d 6f 64 65 5f |0, lengt|h (mode_|
|00003d00| 6e 61 6d 65 5b 6d 6f 64 | 65 5d 29 20 2d 20 31 29 |name[mod|e]) - 1)|
|00003d10| 20 6f 66 20 6d 6f 64 65 | 5f 6e 61 6d 65 5b 6d 6f | of mode|_name[mo|
|00003d20| 64 65 5d 0a 20 20 20 20 | 20 20 20 20 20 66 69 3b |de]. | fi;|
|00003d30| 0a 20 20 20 20 73 70 65 | 63 69 61 6c 20 22 6d 6f |. spe|cial "mo|
|00003d40| 64 65 3d 22 20 26 20 70 | 3b 0a 0a 20 20 20 20 6d |de=" & p|;.. m|
|00003d50| 6f 64 65 5f 73 70 65 63 | 69 61 6c 5f 20 28 70 69 |ode_spec|ial_ (pi|
|00003d60| 78 65 6c 73 5f 70 65 72 | 5f 69 6e 63 68 29 3b 0a |xels_per|_inch);.|
|00003d70| 20 20 20 20 69 66 20 61 | 73 70 65 63 74 5f 72 61 | if a|spect_ra|
|00003d80| 74 69 6f 20 3c 3e 20 31 | 3a 0a 20 20 20 20 20 20 |tio <> 1|:. |
|00003d90| 6d 6f 64 65 5f 73 70 65 | 63 69 61 6c 5f 20 28 61 |mode_spe|cial_ (a|
|00003da0| 73 70 65 63 74 5f 72 61 | 74 69 6f 29 3b 0a 20 20 |spect_ra|tio);. |
|00003db0| 20 20 66 69 3b 0a 20 20 | 20 20 6d 6f 64 65 5f 73 | fi;. | mode_s|
|00003dc0| 70 65 63 69 61 6c 5f 20 | 28 62 6c 61 63 6b 65 72 |pecial_ |(blacker|
|00003dd0| 29 3b 0a 20 20 20 20 6d | 6f 64 65 5f 73 70 65 63 |);. m|ode_spec|
|00003de0| 69 61 6c 5f 20 28 66 69 | 6c 6c 69 6e 29 3b 0a 20 |ial_ (fi|llin);. |
|00003df0| 20 20 20 6d 6f 64 65 5f | 73 70 65 63 69 61 6c 5f | mode_|special_|
|00003e00| 20 28 6f 5f 63 6f 72 72 | 65 63 74 69 6f 6e 29 3b | (o_corr|ection);|
|00003e10| 0a 20 20 65 6e 64 67 72 | 6f 75 70 0a 65 6e 64 64 |. endgr|oup.endd|
|00003e20| 65 66 3b 0a 0a 0a 25 20 | 48 65 72 65 20 61 72 65 |ef;...% |Here are|
|00003e30| 20 6d 61 63 72 6f 73 20 | 66 6f 72 20 58 65 72 6f | macros |for Xero|
|00003e40| 78 2d 77 6f 72 6c 64 20 | 66 6f 6e 74 20 69 6e 66 |x-world |font inf|
|00003e50| 6f 2c 20 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |o, which| can be |
|00003e60| 75 73 65 66 75 6c 20 65 | 76 65 6e 0a 25 20 69 66 |useful e|ven.% if|
|00003e70| 20 79 6f 75 20 6e 65 76 | 65 72 20 75 73 65 20 61 | you nev|er use a|
|00003e80| 20 58 65 72 6f 78 20 70 | 72 69 6e 74 65 72 2e 20 | Xerox p|rinter. |
|00003e90| 20 46 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 7b | For ins|tance, {|
|00003ea0| 5c 74 74 20 63 72 75 64 | 65 74 79 70 65 7d 20 75 |\tt crud|etype} u|
|00003eb0| 73 65 73 0a 25 20 74 68 | 65 20 7c 63 6f 64 69 6e |ses.% th|e |codin|
|00003ec0| 67 5f 73 63 68 65 6d 65 | 7c 20 61 6e 64 20 69 74 |g_scheme|| and it|
|00003ed0| 20 69 73 20 6e 69 63 65 | 20 74 6f 20 68 61 76 65 | is nice| to have|
|00003ee0| 20 74 68 65 20 66 6f 6e | 74 20 66 61 6d 69 6c 79 | the fon|t family|
|00003ef0| 20 6f 6e 20 72 65 63 6f | 72 64 2e 0a 25 20 54 68 | on reco|rd..% Th|
|00003f00| 69 73 20 67 6f 65 73 20 | 69 6e 74 6f 20 62 6f 74 |is goes |into bot|
|00003f10| 68 20 74 68 65 20 54 46 | 4d 20 66 69 6c 65 20 28 |h the TF|M file (|
|00003f20| 61 73 20 7c 68 65 61 64 | 65 72 62 79 74 65 7c 20 |as |head|erbyte| |
|00003f30| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 29 2c 20 61 6e |informat|ion), an|
|00003f40| 64 0a 25 20 69 6e 74 6f | 20 74 68 65 20 47 46 20 |d.% into| the GF |
|00003f50| 66 69 6c 65 20 28 61 73 | 20 61 20 7c 73 70 65 63 |file (as| a |spec|
|00003f60| 69 61 6c 7c 29 2e 0a 0a | 25 20 4d 61 6b 65 20 74 |ial|)...|% Make t|
|00003f70| 68 65 20 73 74 72 69 6e | 67 20 7c 73 7c 20 62 65 |he strin|g |s| be|
|00003f80| 20 7c 6e 7c 20 62 79 74 | 65 73 20 6c 6f 6e 67 2e | |n| byt|es long.|
|00003f90| 0a 64 65 66 20 42 43 50 | 4c 5f 73 74 72 69 6e 67 |.def BCP|L_string|
|00003fa0| 20 28 65 78 70 72 20 73 | 2c 20 6e 29 20 3d 0a 20 | (expr s|, n) =. |
|00003fb0| 20 66 6f 72 20 6c 20 3a | 3d 20 69 66 20 6c 65 6e | for l :|= if len|
|00003fc0| 67 74 68 20 28 73 29 20 | 3e 3d 20 6e 3a 20 6e 2d |gth (s) |>= n: n-|
|00003fd0| 31 20 65 6c 73 65 3a 20 | 6c 65 6e 67 74 68 20 28 |1 else: |length (|
|00003fe0| 73 29 20 66 69 3a 20 6c | 0a 20 20 20 20 66 6f 72 |s) fi: l|. for|
|00003ff0| 20 6b 20 3a 3d 20 31 20 | 75 70 74 6f 20 6c 3a 20 | k := 1 |upto l: |
|00004000| 2c 20 73 75 62 73 74 72 | 69 6e 67 20 28 6b 20 2d |, substr|ing (k -|
|00004010| 20 31 2c 20 6b 29 20 6f | 66 20 73 20 65 6e 64 66 | 1, k) o|f s endf|
|00004020| 6f 72 0a 20 20 20 20 66 | 6f 72 20 6b 20 3a 3d 20 |or. f|or k := |
|00004030| 6c 20 2b 20 32 20 75 70 | 74 6f 20 6e 3a 20 2c 20 |l + 2 up|to n: , |
|00004040| 30 20 65 6e 64 66 6f 72 | 0a 20 20 65 6e 64 66 6f |0 endfor|. endfo|
|00004050| 72 0a 65 6e 64 64 65 66 | 3b 0a 0a 25 20 54 68 65 |r.enddef|;..% The|
|00004060| 20 73 74 72 69 6e 67 20 | 7c 73 7c 20 6e 61 6d 65 | string ||s| name|
|00004070| 73 20 74 68 65 20 65 6e | 63 6f 64 69 6e 67 20 73 |s the en|coding s|
|00004080| 63 68 65 6d 65 2c 20 65 | 2e 67 2e 2c 20 7b 5c 74 |cheme, e|.g., {\t|
|00004090| 74 20 54 65 58 20 74 65 | 78 74 7d 2e 0a 64 65 66 |t TeX te|xt}..def|
|000040a0| 20 63 6f 64 69 6e 67 5f | 73 63 68 65 6d 65 20 65 | coding_|scheme e|
|000040b0| 78 70 72 20 73 20 3d 0a | 20 20 68 65 61 64 65 72 |xpr s =.| header|
|000040c0| 62 79 74 65 20 39 3a 20 | 42 43 50 4c 5f 73 74 72 |byte 9: |BCPL_str|
|000040d0| 69 6e 67 20 28 73 2c 20 | 34 30 29 3b 0a 20 20 73 |ing (s, |40);. s|
|000040e0| 70 65 63 69 61 6c 20 22 | 63 6f 64 69 6e 67 73 63 |pecial "|codingsc|
|000040f0| 68 65 6d 65 3d 22 20 26 | 20 73 0a 65 6e 64 64 65 |heme=" &| s.endde|
|00004100| 66 3b 0a 0a 25 20 54 68 | 65 20 73 74 72 69 6e 67 |f;..% Th|e string|
|00004110| 20 7c 73 7c 20 6e 61 6d | 65 73 20 74 68 65 20 66 | |s| nam|es the f|
|00004120| 6f 6e 74 20 66 61 6d 69 | 6c 79 2c 20 65 2e 67 2e |ont fami|ly, e.g.|
|00004130| 2c 20 7b 5c 74 74 20 43 | 4d 52 7d 2e 0a 64 65 66 |, {\tt C|MR}..def|
|00004140| 20 66 6f 6e 74 5f 66 61 | 6d 69 6c 79 20 65 78 70 | font_fa|mily exp|
|00004150| 72 20 73 20 3d 0a 20 20 | 68 65 61 64 65 72 62 79 |r s =. |headerby|
|00004160| 74 65 20 34 39 3a 20 42 | 43 50 4c 5f 73 74 72 69 |te 49: B|CPL_stri|
|00004170| 6e 67 20 28 73 2c 20 32 | 30 29 3b 0a 20 20 73 70 |ng (s, 2|0);. sp|
|00004180| 65 63 69 61 6c 20 22 66 | 6f 6e 74 69 64 3d 22 20 |ecial "f|ontid=" |
|00004190| 26 20 73 0a 65 6e 64 64 | 65 66 3b 0a 0a 25 20 54 |& s.endd|ef;..% T|
|000041a0| 68 65 20 69 6e 74 65 67 | 65 72 20 7c 78 7c 20 67 |he integ|er |x| g|
|000041b0| 69 76 65 73 20 74 68 65 | 20 66 61 6d 69 6c 79 20 |ives the| family |
|000041c0| 6d 65 6d 62 65 72 20 6e | 75 6d 62 65 72 2c 20 77 |member n|umber, w|
|000041d0| 68 69 63 68 20 73 68 6f | 75 6c 64 20 62 65 0a 25 |hich sho|uld be.%|
|000041e0| 20 62 65 74 77 65 65 6e | 20 30 20 61 6e 64 20 32 | between| 0 and 2|
|000041f0| 35 35 2e 0a 64 65 66 20 | 66 6f 6e 74 5f 66 61 63 |55..def |font_fac|
|00004200| 65 5f 62 79 74 65 20 65 | 78 70 72 20 78 20 3d 0a |e_byte e|xpr x =.|
|00004210| 20 20 68 65 61 64 65 72 | 62 79 74 65 20 37 32 3a | header|byte 72:|
|00004220| 20 78 3b 0a 20 20 73 70 | 65 63 69 61 6c 20 22 66 | x;. sp|ecial "f|
|00004230| 6f 6e 74 66 61 63 65 62 | 79 74 65 22 3b 0a 20 20 |ontfaceb|yte";. |
|00004240| 6e 75 6d 73 70 65 63 69 | 61 6c 20 78 0a 65 6e 64 |numspeci|al x.end|
|00004250| 64 65 66 3b 0a 0a 25 20 | 53 6f 20 75 73 65 72 73 |def;..% |So users|
|00004260| 20 63 61 6e 20 73 61 79 | 20 7c 69 66 20 6b 6e 6f | can say| |if kno|
|00004270| 77 6e 20 58 65 72 6f 78 | 5f 77 6f 72 6c 64 3a 20 |wn Xerox|_world: |
|00004280| 24 5c 6c 64 6f 74 73 24 | 20 66 69 7c 2c 20 70 65 |$\ldots$| fi|, pe|
|00004290| 72 20 74 68 65 20 7b 5c | 73 6c 20 4d 46 62 6f 6f |r the {\|sl MFboo|
|000042a0| 6b 7d 2e 0a 58 65 72 6f | 78 5f 77 6f 72 6c 64 20 |k}..Xero|x_world |
|000042b0| 3a 3d 20 31 3b 0a 0a 25 | 20 52 65 64 65 66 69 6e |:= 1;..%| Redefin|
|000042c0| 65 20 7c 65 6e 64 7c 20 | 74 6f 20 70 75 74 20 74 |e |end| |to put t|
|000042d0| 68 65 20 65 78 74 72 61 | 20 69 6e 66 6f 72 6d 61 |he extra| informa|
|000042e0| 74 69 6f 6e 20 61 62 6f | 76 65 20 69 6e 20 74 68 |tion abo|ve in th|
|000042f0| 65 20 47 46 20 61 6e 64 | 20 54 46 4d 0a 25 20 66 |e GF and| TFM.% f|
|00004300| 69 6c 65 73 2e 20 20 54 | 68 69 73 20 63 6f 64 65 |iles. T|his code|
|00004310| 20 69 73 20 62 61 73 65 | 64 20 6f 6e 20 74 68 61 | is base|d on tha|
|00004320| 74 20 6f 6e 20 70 61 67 | 65 20 33 32 31 2e 0a 69 |t on pag|e 321..i|
|00004330| 6e 6e 65 72 20 65 6e 64 | 3b 0a 6c 65 74 20 70 72 |nner end|;.let pr|
|00004340| 69 6d 69 74 69 76 65 5f | 65 6e 64 5f 20 3d 20 65 |imitive_|end_ = e|
|00004350| 6e 64 3b 0a 64 65 66 20 | 65 6e 64 20 3d 0a 20 20 |nd;.def |end =. |
|00004360| 69 66 20 66 6f 6e 74 6d | 61 6b 69 6e 67 20 3e 20 |if fontm|aking > |
|00004370| 30 3a 0a 20 20 20 20 66 | 6f 6e 74 5f 66 61 6d 69 |0:. f|ont_fami|
|00004380| 6c 79 20 66 6f 6e 74 5f | 69 64 65 6e 74 69 66 69 |ly font_|identifi|
|00004390| 65 72 5f 3b 0a 20 20 20 | 20 63 6f 64 69 6e 67 5f |er_;. | coding_|
|000043a0| 73 63 68 65 6d 65 20 66 | 6f 6e 74 5f 63 6f 64 69 |scheme f|ont_codi|
|000043b0| 6e 67 5f 73 63 68 65 6d | 65 5f 3b 0a 20 20 20 20 |ng_schem|e_;. |
|000043c0| 66 6f 6e 74 5f 66 61 63 | 65 5f 62 79 74 65 20 6d |font_fac|e_byte m|
|000043d0| 61 78 20 28 30 2c 20 32 | 35 34 20 2d 20 72 6f 75 |ax (0, 2|54 - rou|
|000043e0| 6e 64 20 32 64 65 73 69 | 67 6e 73 69 7a 65 29 3b |nd 2desi|gnsize);|
|000043f0| 0a 20 20 20 20 6d 6f 64 | 65 5f 6f 75 74 70 75 74 |. mod|e_output|
|00004400| 5f 73 70 65 63 69 61 6c | 73 5f 3b 0a 20 20 66 69 |_special|s_;. fi|
|00004410| 3b 0a 20 20 70 72 69 6d | 69 74 69 76 65 5f 65 6e |;. prim|itive_en|
|00004420| 64 5f 2e 0a 65 6e 64 64 | 65 66 3b 0a 0a 25 20 54 |d_..endd|ef;..% T|
|00004430| 68 65 20 7b 5c 73 6c 20 | 5c 4d 46 20 62 6f 6f 6b |he {\sl |\MF book|
|00004440| 7d 20 67 69 76 65 73 20 | 7c 62 79 65 7c 20 74 77 |} gives ||bye| tw|
|00004450| 6f 20 64 69 66 66 65 72 | 65 6e 74 20 64 65 66 69 |o differ|ent defi|
|00004460| 6e 69 74 69 6f 6e 73 20 | 28 6f 6e 20 70 61 67 65 |nitions |(on page|
|00004470| 73 20 32 37 38 0a 25 20 | 61 6e 64 20 33 32 31 29 |s 278.% |and 321)|
|00004480| 2e 20 54 68 65 20 66 69 | 72 73 74 20 69 73 20 75 |. The fi|rst is u|
|00004490| 73 65 64 20 69 6e 20 7b | 5c 74 74 20 70 6c 61 69 |sed in {|\tt plai|
|000044a0| 6e 2e 6d 66 7d 20 61 6e | 64 20 69 73 20 6d 65 72 |n.mf} an|d is mer|
|000044b0| 65 6c 79 20 61 20 73 79 | 6e 6f 79 6e 79 6d 0a 25 |ely a sy|noynym.%|
|000044c0| 20 66 6f 72 20 74 68 65 | 20 70 72 69 6d 69 74 69 | for the| primiti|
|000044d0| 76 65 20 7c 65 6e 64 7c | 2e 20 20 54 68 65 20 73 |ve |end||. The s|
|000044e0| 65 63 6f 6e 64 2c 20 77 | 68 69 63 68 20 69 73 20 |econd, w|hich is |
|000044f0| 6e 6f 74 20 70 61 72 74 | 20 6f 66 20 7b 5c 74 74 |not part| of {\tt|
|00004500| 0a 25 20 70 6c 61 69 6e | 2e 6d 66 7d 2c 20 69 73 |.% plain|.mf}, is|
|00004510| 20 73 69 6d 69 6c 61 72 | 20 74 6f 20 74 68 65 20 | similar| to the |
|00004520| 63 6f 64 65 20 67 69 76 | 65 6e 20 61 62 6f 76 65 |code giv|en above|
|00004530| 2e 20 57 65 20 77 61 6e | 74 20 74 68 65 20 65 78 |. We wan|t the ex|
|00004540| 74 72 61 0a 25 20 69 6e | 66 6f 72 6d 61 74 69 6f |tra.% in|formatio|
|00004550| 6e 20 74 6f 20 67 65 74 | 20 69 6e 74 6f 20 74 68 |n to get| into th|
|00004560| 65 20 6f 75 74 70 75 74 | 20 66 69 6c 65 73 20 72 |e output| files r|
|00004570| 65 67 61 72 64 6c 65 73 | 73 20 6f 66 20 77 68 65 |egardles|s of whe|
|00004580| 74 68 65 72 20 74 68 65 | 0a 25 20 5c 4d 46 5c 20 |ther the|.% \MF\ |
|00004590| 73 6f 75 72 63 65 20 75 | 73 65 64 20 7c 65 6e 64 |source u|sed |end|
|000045a0| 7c 20 6f 72 20 7c 62 79 | 65 7c 2e 20 20 54 68 65 || or |by|e|. The|
|000045b0| 20 61 62 6f 76 65 20 63 | 68 61 6e 67 65 64 20 7c | above c|hanged ||
|000045c0| 65 6e 64 7c 3b 20 6e 6f | 77 20 77 65 20 68 61 76 |end|; no|w we hav|
|000045d0| 65 0a 25 20 74 6f 20 72 | 65 64 65 66 69 6e 65 20 |e.% to r|edefine |
|000045e0| 7c 62 79 65 7c 20 61 67 | 61 69 6e 20 28 61 73 20 ||bye| ag|ain (as |
|000045f0| 6f 6e 20 70 61 67 65 20 | 32 37 38 29 2e 0a 6f 75 |on page |278)..ou|
|00004600| 74 65 72 20 65 6e 64 2c | 20 70 72 69 6d 69 74 69 |ter end,| primiti|
|00004610| 76 65 5f 65 6e 64 5f 3b | 0a 6c 65 74 20 62 79 65 |ve_end_;|.let bye|
|00004620| 20 3d 20 65 6e 64 3b 0a | 0a 0a 25 20 48 65 72 65 | = end;.|..% Here|
|00004630| 20 61 72 65 20 6d 61 63 | 72 6f 73 20 74 6f 20 68 | are mac|ros to h|
|00004640| 61 6e 64 6c 65 20 77 72 | 69 74 65 2d 77 68 69 74 |andle wr|ite-whit|
|00004650| 65 20 64 65 76 69 63 65 | 73 2e 0a 25 0a 25 20 54 |e device|s..%.% T|
|00004660| 68 65 20 62 61 73 69 63 | 20 63 6f 72 72 65 63 74 |he basic| correct|
|00004670| 69 6f 6e 20 66 6f 72 20 | 77 72 69 74 65 2d 77 68 |ion for |write-wh|
|00004680| 69 74 65 20 66 6f 6e 74 | 73 20 6f 63 63 75 72 73 |ite font|s occurs|
|00004690| 20 69 6e 20 74 68 65 20 | 64 65 66 69 6e 69 74 69 | in the |definiti|
|000046a0| 6f 6e 20 6f 66 0a 25 20 | 7c 66 6f 6e 74 5f 73 65 |on of.% ||font_se|
|000046b0| 74 75 70 7c 2e 20 20 54 | 68 69 73 20 63 61 6e 20 |tup|. T|his can |
|000046c0| 62 65 20 75 73 65 64 20 | 74 6f 20 65 78 74 65 6e |be used |to exten|
|000046d0| 64 20 6f 72 20 63 68 61 | 6e 67 65 20 74 68 65 20 |d or cha|nge the |
|000046e0| 77 72 69 74 65 2d 62 6c | 61 63 6b 0a 25 20 64 65 |write-bl|ack.% de|
|000046f0| 66 69 6e 69 74 69 6f 6e | 20 69 6e 20 43 6f 6d 70 |finition| in Comp|
|00004700| 75 74 65 72 20 4d 6f 64 | 65 72 6e 27 73 20 7b 5c |uter Mod|ern's {\|
|00004710| 74 74 20 63 6d 62 61 73 | 65 2e 6d 66 7d 20 6f 72 |tt cmbas|e.mf} or|
|00004720| 20 6f 74 68 65 72 20 62 | 61 73 65 20 66 69 6c 65 | other b|ase file|
|00004730| 73 0a 25 20 62 61 73 65 | 64 20 6f 6e 20 43 4d 2c |s.% base|d on CM,|
|00004740| 20 73 75 63 68 20 61 73 | 20 7b 5c 74 74 20 64 78 | such as| {\tt dx|
|00004750| 62 61 73 65 2e 6d 66 7d | 2e 20 20 54 68 69 73 20 |base.mf}|. This |
|00004760| 68 61 73 20 6e 6f 20 65 | 66 66 65 63 74 20 61 74 |has no e|ffect at|
|00004770| 20 31 32 30 30 24 5c 2c | 24 64 70 69 2e 0a 64 65 | 1200$\,|$dpi..de|
|00004780| 66 20 6d 6f 64 65 5f 77 | 72 69 74 65 5f 77 68 69 |f mode_w|rite_whi|
|00004790| 74 65 5f 73 65 74 75 70 | 5f 20 3d 0a 20 20 62 65 |te_setup|_ =. be|
|000047a0| 67 69 6e 67 72 6f 75 70 | 0a 20 20 20 20 6c 65 74 |gingroup|. let|
|000047b0| 20 62 6c 61 63 6b 5f 73 | 65 74 75 70 20 3d 20 66 | black_s|etup = f|
|000047c0| 6f 6e 74 5f 73 65 74 75 | 70 3b 0a 20 20 20 20 64 |ont_setu|p;. d|
|000047d0| 65 66 20 66 6f 6e 74 5f | 73 65 74 75 70 20 3d 0a |ef font_|setup =.|
|000047e0| 20 20 20 20 20 20 62 6c | 61 63 6b 5f 73 65 74 75 | bl|ack_setu|
|000047f0| 70 3b 0a 20 20 20 20 20 | 20 6d 69 6e 5f 56 72 6f |p;. | min_Vro|
|00004800| 75 6e 64 3a 3d 6d 61 78 | 28 66 69 6e 65 2e 62 72 |und:=max|(fine.br|
|00004810| 65 61 64 74 68 2c 63 72 | 69 73 70 2e 62 72 65 61 |eadth,cr|isp.brea|
|00004820| 64 74 68 2c 74 69 6e 79 | 2e 62 72 65 61 64 74 68 |dth,tiny|.breadth|
|00004830| 2c 32 29 3b 0a 20 20 20 | 20 20 20 69 66 20 6d 69 |,2);. | if mi|
|00004840| 6e 5f 56 72 6f 75 6e 64 | 3c 76 72 6f 75 6e 64 20 |n_Vround|<vround |
|00004850| 6d 69 6e 5f 56 72 6f 75 | 6e 64 3a 20 6d 69 6e 5f |min_Vrou|nd: min_|
|00004860| 56 72 6f 75 6e 64 3a 3d | 76 72 6f 75 6e 64 20 6d |Vround:=|vround m|
|00004870| 69 6e 5f 56 72 6f 75 6e | 64 3b 20 66 69 0a 20 20 |in_Vroun|d; fi. |
|00004880| 20 20 20 20 69 66 20 66 | 6c 61 72 65 3c 76 72 6f | if f|lare<vro|
|00004890| 75 6e 64 20 66 6c 61 72 | 65 3a 20 66 6c 61 72 65 |und flar|e: flare|
|000048a0| 3a 3d 76 72 6f 75 6e 64 | 20 66 6c 61 72 65 3b 20 |:=vround| flare; |
|000048b0| 66 69 0a 20 20 20 20 20 | 20 66 6f 72 73 75 66 66 |fi. | forsuff|
|000048c0| 69 78 65 73 20 24 3d 76 | 61 69 72 2c 62 61 72 2c |ixes $=v|air,bar,|
|000048d0| 73 6c 61 62 2c 63 61 70 | 5f 62 61 72 2c 63 61 70 |slab,cap|_bar,cap|
|000048e0| 5f 62 61 6e 64 2c 76 61 | 69 72 27 2c 76 73 74 65 |_band,va|ir',vste|
|000048f0| 6d 2c 63 61 70 5f 76 73 | 74 65 6d 2c 62 6f 6c 64 |m,cap_vs|tem,bold|
|00004900| 3a 0a 20 20 20 20 20 20 | 20 20 69 66 20 24 3c 6d |:. | if $<m|
|00004910| 69 6e 5f 56 72 6f 75 6e | 64 3a 20 24 3a 3d 6d 69 |in_Vroun|d: $:=mi|
|00004920| 6e 5f 56 72 6f 75 6e 64 | 3b 20 66 69 20 65 6e 64 |n_Vround|; fi end|
|00004930| 66 6f 72 0a 20 20 20 20 | 20 20 66 6f 72 73 75 66 |for. | forsuf|
|00004940| 66 69 78 65 73 20 24 3d | 74 68 69 6e 5f 6a 6f 69 |fixes $=|thin_joi|
|00004950| 6e 2c 68 61 69 72 2c 63 | 75 72 76 65 2c 66 6c 61 |n,hair,c|urve,fla|
|00004960| 72 65 2c 64 6f 74 5f 73 | 69 7a 65 2c 63 61 70 5f |re,dot_s|ize,cap_|
|00004970| 68 61 69 72 2c 63 61 70 | 5f 63 75 72 76 65 2c 0a |hair,cap|_curve,.|
|00004980| 20 20 20 20 20 20 20 76 | 61 69 72 2c 62 61 72 2c | v|air,bar,|
|00004990| 73 6c 61 62 2c 63 61 70 | 5f 62 61 72 2c 63 61 70 |slab,cap|_bar,cap|
|000049a0| 5f 62 61 6e 64 2c 73 74 | 65 6d 27 2c 63 61 70 5f |_band,st|em',cap_|
|000049b0| 73 74 65 6d 27 2c 76 61 | 69 72 27 2c 66 75 64 67 |stem',va|ir',fudg|
|000049c0| 65 64 2e 68 61 69 72 2c | 0a 20 20 20 20 20 20 20 |ed.hair,|. |
|000049d0| 66 75 64 67 65 64 2e 73 | 74 65 6d 2c 66 75 64 67 |fudged.s|tem,fudg|
|000049e0| 65 64 2e 63 61 70 5f 73 | 74 65 6d 3a 20 24 3a 3d |ed.cap_s|tem: $:=|
|000049f0| 6d 61 78 28 24 2c 32 29 | 3b 20 65 6e 64 66 6f 72 |max($,2)|; endfor|
|00004a00| 0a 20 20 20 20 65 6e 64 | 64 65 66 3b 0a 20 20 65 |. end|def;. e|
|00004a10| 6e 64 67 72 6f 75 70 3b | 0a 20 20 25 0a 20 20 25 |ndgroup;|. %. %|
|00004a20| 20 4f 6e 6c 79 20 64 6f | 20 74 68 65 20 61 62 6f | Only do| the abo|
|00004a30| 76 65 20 6f 6e 63 65 2c | 20 69 6e 20 63 61 73 65 |ve once,| in case|
|00004a40| 20 61 20 66 6f 6e 74 20 | 66 69 6c 65 20 28 75 6e | a font |file (un|
|00004a50| 6e 65 63 65 73 73 61 72 | 69 6c 79 29 20 63 61 6c |necessar|ily) cal|
|00004a60| 6c 73 0a 20 20 25 20 7c | 6d 6f 64 65 5f 73 65 74 |ls. % ||mode_set|
|00004a70| 75 70 7c 20 6d 6f 72 65 | 20 74 68 61 6e 20 6f 6e |up| more| than on|
|00004a80| 63 65 2e 0a 20 20 6c 65 | 74 20 6d 6f 64 65 5f 77 |ce.. le|t mode_w|
|00004a90| 72 69 74 65 5f 77 68 69 | 74 65 5f 73 65 74 75 70 |rite_whi|te_setup|
|00004aa0| 5f 20 3d 20 72 65 6c 61 | 78 0a 65 6e 64 64 65 66 |_ = rela|x.enddef|
|00004ab0| 3b 0a 0a 0a 25 20 48 65 | 72 65 20 61 72 65 20 74 |;...% He|re are t|
|00004ac0| 68 65 20 6d 6f 64 65 73 | 2c 20 67 69 76 65 6e 20 |he modes|, given |
|00004ad0| 6d 6f 73 74 6c 79 20 69 | 6e 20 61 6c 70 68 61 62 |mostly i|n alphab|
|00004ae0| 65 74 69 63 61 6c 20 6f | 72 64 65 72 2e 0a 0a 25 |etical o|rder...%|
|00004af0| 20 46 72 6f 6d 20 7b 5c | 74 74 20 63 75 64 61 74 | From {\|tt cudat|
|00004b00| 40 63 75 2e 77 61 72 77 | 69 63 6b 2e 61 63 2e 75 |@cu.warw|ick.ac.u|
|00004b10| 6b 7d 2e 0a 6d 6f 64 65 | 5f 64 65 66 20 61 67 66 |k}..mode|_def agf|
|00004b20| 61 66 7a 7a 20 3d 20 20 | 20 20 20 20 20 20 20 20 |afzz = | |
|00004b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 25 20 41 47 | | % AG|
|00004b40| 46 41 20 34 30 30 50 53 | 0a 20 20 6d 6f 64 65 5f |FA 400PS|. mode_|
|00004b50| 70 61 72 61 6d 20 28 70 | 69 78 65 6c 73 5f 70 65 |param (p|ixels_pe|
|00004b60| 72 5f 69 6e 63 68 2c 20 | 34 30 36 29 3b 0a 20 20 |r_inch, |406);. |
|00004b70| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 62 6c 61 63 |mode_par|am (blac|
|00004b80| 6b 65 72 2c 20 2e 32 29 | 3b 0a 20 20 6d 6f 64 65 |ker, .2)|;. mode|
|00004b90| 5f 70 61 72 61 6d 20 28 | 66 69 6c 6c 69 6e 2c 20 |_param (|fillin, |
|00004ba0| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|00004bb0| 20 28 6f 5f 63 6f 72 72 | 65 63 74 69 6f 6e 2c 20 | (o_corr|ection, |
|00004bc0| 2e 36 29 3b 0a 20 20 6d | 6f 64 65 5f 63 6f 6d 6d |.6);. m|ode_comm|
|00004bd0| 6f 6e 5f 73 65 74 75 70 | 5f 3b 0a 65 6e 64 64 65 |on_setup|_;.endde|
|00004be0| 66 3b 0a 41 67 66 61 46 | 6f 75 72 5a 65 72 6f 5a |f;.AgfaF|ourZeroZ|
|00004bf0| 65 72 6f 20 3a 3d 20 61 | 67 66 61 66 7a 7a 3b 0a |ero := a|gfafzz;.|
|00004c00| 0a 25 20 46 72 6f 6d 20 | 7b 5c 74 74 20 72 6f 6b |.% From |{\tt rok|
|00004c10| 69 63 6b 69 40 6e 65 6f | 6e 2e 73 74 61 6e 66 6f |icki@neo|n.stanfo|
|00004c20| 72 64 2e 65 64 75 7d 2e | 0a 6d 6f 64 65 5f 64 65 |rd.edu}.|.mode_de|
|00004c30| 66 20 61 6d 69 67 61 20 | 3d 20 20 20 20 20 20 20 |f amiga |= |
|00004c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c50| 20 25 20 43 6f 6d 6d 6f | 64 6f 72 65 20 41 6d 69 | % Commo|dore Ami|
|00004c60| 67 61 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |ga. mod|e_param |
|00004c70| 28 70 69 78 65 6c 73 5f | 70 65 72 5f 69 6e 63 68 |(pixels_|per_inch|
|00004c80| 2c 20 31 30 30 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |, 100);.| mode_p|
|00004c90| 61 72 61 6d 20 28 62 6c | 61 63 6b 65 72 2c 20 30 |aram (bl|acker, 0|
|00004ca0| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|00004cb0| 28 66 69 6c 6c 69 6e 2c | 20 30 29 3b 0a 20 20 6d |(fillin,| 0);. m|
|00004cc0| 6f 64 65 5f 70 61 72 61 | 6d 20 28 6f 5f 63 6f 72 |ode_para|m (o_cor|
|00004cd0| 72 65 63 74 69 6f 6e 2c | 20 2e 32 29 3b 0a 20 20 |rection,| .2);. |
|00004ce0| 6d 6f 64 65 5f 63 6f 6d | 6d 6f 6e 5f 73 65 74 75 |mode_com|mon_setu|
|00004cf0| 70 5f 3b 0a 65 6e 64 64 | 65 66 3b 0a 0a 6d 6f 64 |p_;.endd|ef;..mod|
|00004d00| 65 5f 64 65 66 20 61 70 | 73 20 3d 20 20 20 20 20 |e_def ap|s = |
|00004d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d20| 20 20 20 20 20 25 20 41 | 75 74 6f 6c 6f 67 69 63 | % A|utologic|
|00004d30| 20 41 50 53 2d 4d 69 63 | 72 6f 35 0a 20 20 6d 6f | APS-Mic|ro5. mo|
|00004d40| 64 65 5f 70 61 72 61 6d | 20 28 70 69 78 65 6c 73 |de_param| (pixels|
|00004d50| 5f 70 65 72 5f 69 6e 63 | 68 2c 20 37 32 32 2e 39 |_per_inc|h, 722.9|
|00004d60| 30 39 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |09);. m|ode_para|
|00004d70| 6d 20 28 62 6c 61 63 6b | 65 72 2c 20 2e 32 29 3b |m (black|er, .2);|
|00004d80| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 66 |. mode_|param (f|
|00004d90| 69 6c 6c 69 6e 2c 20 2e | 32 29 3b 0a 20 20 6d 6f |illin, .|2);. mo|
|00004da0| 64 65 5f 70 61 72 61 6d | 20 28 6f 5f 63 6f 72 72 |de_param| (o_corr|
|00004db0| 65 63 74 69 6f 6e 2c 20 | 31 29 3b 0a 20 20 6d 6f |ection, |1);. mo|
|00004dc0| 64 65 5f 63 6f 6d 6d 6f | 6e 5f 73 65 74 75 70 5f |de_commo|n_setup_|
|00004dd0| 3b 0a 65 6e 64 64 65 66 | 3b 0a 0a 25 20 46 72 6f |;.enddef|;..% Fro|
|00004de0| 6d 20 7b 5c 74 74 20 72 | 6f 63 6b 79 40 70 61 6e |m {\tt r|ocky@pan|
|00004df0| 69 78 2e 63 6f 6d 7d 2e | 20 20 54 65 73 74 65 64 |ix.com}.| Tested|
|00004e00| 20 6f 6e 20 74 68 65 20 | 73 69 6e 67 6c 65 20 41 | on the |single A|
|00004e10| 50 53 2d 36 20 61 74 20 | 49 42 4d 20 52 65 73 65 |PS-6 at |IBM Rese|
|00004e20| 61 72 63 68 2e 0a 6d 6f | 64 65 5f 64 65 66 20 61 |arch..mo|de_def a|
|00004e30| 70 73 73 69 78 68 69 20 | 3d 20 20 20 20 20 20 20 |pssixhi |= |
|00004e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 25 20 | | % |
|00004e50| 41 75 74 6f 6c 6f 67 69 | 63 20 41 50 53 2d 4d 69 |Autologi|c APS-Mi|
|00004e60| 63 72 6f 36 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |cro6. m|ode_para|
|00004e70| 6d 20 28 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e |m (pixel|s_per_in|
|00004e80| 63 68 2c 20 31 30 31 36 | 29 3b 0a 20 20 6d 6f 64 |ch, 1016|);. mod|
|00004e90| 65 5f 70 61 72 61 6d 20 | 28 62 6c 61 63 6b 65 72 |e_param |(blacker|
|00004ea0| 2c 20 30 29 3b 0a 20 20 | 6d 6f 64 65 5f 70 61 72 |, 0);. |mode_par|
|00004eb0| 61 6d 20 28 66 69 6c 6c | 69 6e 2c 20 30 29 3b 0a |am (fill|in, 0);.|
|00004ec0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 6f 5f | mode_p|aram (o_|
|00004ed0| 63 6f 72 72 65 63 74 69 | 6f 6e 2c 20 31 29 3b 0a |correcti|on, 1);.|
|00004ee0| 20 20 6d 6f 64 65 5f 63 | 6f 6d 6d 6f 6e 5f 73 65 | mode_c|ommon_se|
|00004ef0| 74 75 70 5f 3b 0a 65 6e | 64 64 65 66 3b 0a 0a 25 |tup_;.en|ddef;..%|
|00004f00| 20 46 72 6f 6d 20 7b 5c | 74 74 20 65 65 40 64 61 | From {\|tt ee@da|
|00004f10| 63 74 68 35 31 2e 62 69 | 74 6e 65 74 7d 2e 0a 6d |cth51.bi|tnet}..m|
|00004f20| 6f 64 65 5f 64 65 66 20 | 61 74 61 72 69 65 7a 66 |ode_def |atariezf|
|00004f30| 20 3d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | = | |
|00004f40| 20 20 20 20 20 20 20 25 | 20 41 74 61 72 69 20 53 | %| Atari S|
|00004f50| 54 20 53 4c 4d 20 38 30 | 34 20 70 72 69 6e 74 65 |T SLM 80|4 printe|
|00004f60| 72 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |r. mode|_param (|
|00004f70| 70 69 78 65 6c 73 5f 70 | 65 72 5f 69 6e 63 68 2c |pixels_p|er_inch,|
|00004f80| 20 33 30 30 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 | 300);. | mode_pa|
|00004f90| 72 61 6d 20 28 62 6c 61 | 63 6b 65 72 2c 20 2d 2e |ram (bla|cker, -.|
|00004fa0| 32 35 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |25);. m|ode_para|
|00004fb0| 6d 20 28 66 69 6c 6c 69 | 6e 2c 20 2e 35 29 3b 0a |m (filli|n, .5);.|
|00004fc0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 6f 5f | mode_p|aram (o_|
|00004fd0| 63 6f 72 72 65 63 74 69 | 6f 6e 2c 20 30 29 3b 0a |correcti|on, 0);.|
|00004fe0| 20 20 6d 6f 64 65 5f 63 | 6f 6d 6d 6f 6e 5f 73 65 | mode_c|ommon_se|
|00004ff0| 74 75 70 5f 3b 0a 20 20 | 6d 6f 64 65 5f 77 72 69 |tup_;. |mode_wri|
|00005000| 74 65 5f 77 68 69 74 65 | 5f 73 65 74 75 70 5f 3b |te_white|_setup_;|
|00005010| 0a 65 6e 64 64 65 66 3b | 0a 41 74 61 72 69 53 4c |.enddef;|.AtariSL|
|00005020| 4d 45 69 67 68 74 5a 65 | 72 6f 46 6f 75 72 20 3a |MEightZe|roFour :|
|00005030| 3d 20 61 74 61 72 69 65 | 7a 66 3b 0a 0a 25 20 46 |= atarie|zf;..% F|
|00005040| 72 6f 6d 20 7b 5c 74 74 | 20 57 2e 53 70 69 74 40 |rom {\tt| W.Spit@|
|00005050| 66 79 73 2e 72 75 75 2e | 6e 6c 7d 2e 20 20 7b 5c |fys.ruu.|nl}. {\|
|00005060| 74 74 20 4e 2e 50 6f 70 | 70 65 6c 69 65 72 40 65 |tt N.Pop|pelier@e|
|00005070| 6c 73 65 76 69 65 72 2e | 6e 6c 7d 20 73 61 79 73 |lsevier.|nl} says|
|00005080| 20 74 68 61 74 0a 25 20 | 64 69 66 66 65 72 65 6e | that.% |differen|
|00005090| 74 20 70 72 65 76 69 65 | 77 65 72 73 20 75 73 65 |t previe|wers use|
|000050a0| 20 64 69 66 66 65 72 65 | 6e 74 20 72 65 73 6f 6c | differe|nt resol|
|000050b0| 75 74 69 6f 6e 73 20 28 | 39 35 20 64 70 69 2c 20 |utions (|95 dpi, |
|000050c0| 39 36 20 64 70 69 2c 20 | 6f 72 20 31 30 31 0a 25 |96 dpi, |or 101.%|
|000050d0| 20 64 70 69 29 2c 20 62 | 75 74 20 6e 6f 20 6f 6e | dpi), b|ut no on|
|000050e0| 65 20 73 65 65 6d 73 20 | 74 6f 20 6b 6e 6f 77 20 |e seems |to know |
|000050f0| 77 68 61 74 20 74 68 65 | 20 72 65 61 6c 20 72 65 |what the| real re|
|00005100| 73 6f 6c 75 74 69 6f 6e | 20 69 73 2e 0a 6d 6f 64 |solution| is..mod|
|00005110| 65 5f 64 65 66 20 61 74 | 61 72 69 6e 66 20 3d 20 |e_def at|arinf = |
|00005120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005130| 20 20 20 20 20 25 20 41 | 74 61 72 69 20 39 35 64 | % A|tari 95d|
|00005140| 70 69 20 70 72 65 76 69 | 65 77 65 72 0a 20 20 6d |pi previ|ewer. m|
|00005150| 6f 64 65 5f 70 61 72 61 | 6d 20 28 70 69 78 65 6c |ode_para|m (pixel|
|00005160| 73 5f 70 65 72 5f 69 6e | 63 68 2c 20 39 35 29 3b |s_per_in|ch, 95);|
|00005170| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 62 |. mode_|param (b|
|00005180| 6c 61 63 6b 65 72 2c 20 | 30 29 3b 0a 20 20 6d 6f |lacker, |0);. mo|
|00005190| 64 65 5f 70 61 72 61 6d | 20 28 66 69 6c 6c 69 6e |de_param| (fillin|
|000051a0| 2c 20 30 29 3b 0a 20 20 | 6d 6f 64 65 5f 70 61 72 |, 0);. |mode_par|
|000051b0| 61 6d 20 28 6f 5f 63 6f | 72 72 65 63 74 69 6f 6e |am (o_co|rrection|
|000051c0| 2c 20 30 2e 31 29 3b 0a | 20 20 6d 6f 64 65 5f 63 |, 0.1);.| mode_c|
|000051d0| 6f 6d 6d 6f 6e 5f 73 65 | 74 75 70 5f 3b 0a 65 6e |ommon_se|tup_;.en|
|000051e0| 64 64 65 66 3b 0a 41 74 | 61 72 69 4e 69 6e 65 46 |ddef;.At|ariNineF|
|000051f0| 69 76 65 20 3a 3d 20 61 | 74 61 72 69 6e 66 3b 0a |ive := a|tarinf;.|
|00005200| 0a 6d 6f 64 65 5f 64 65 | 66 20 61 74 61 72 69 6e |.mode_de|f atarin|
|00005210| 73 20 3d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s = | |
|00005220| 20 20 20 20 20 20 20 20 | 20 25 20 41 74 61 72 69 | | % Atari|
|00005230| 20 39 36 78 39 36 20 70 | 72 65 76 69 65 77 65 72 | 96x96 p|reviewer|
|00005240| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 70 |. mode_|param (p|
|00005250| 69 78 65 6c 73 5f 70 65 | 72 5f 69 6e 63 68 2c 20 |ixels_pe|r_inch, |
|00005260| 39 36 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |96);. m|ode_para|
|00005270| 6d 20 28 62 6c 61 63 6b | 65 72 2c 20 30 29 3b 0a |m (black|er, 0);.|
|00005280| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 66 69 | mode_p|aram (fi|
|00005290| 6c 6c 69 6e 2c 20 30 29 | 3b 0a 20 20 6d 6f 64 65 |llin, 0)|;. mode|
|000052a0| 5f 70 61 72 61 6d 20 28 | 6f 5f 63 6f 72 72 65 63 |_param (|o_correc|
|000052b0| 74 69 6f 6e 2c 20 30 2e | 31 29 3b 0a 20 20 6d 6f |tion, 0.|1);. mo|
|000052c0| 64 65 5f 63 6f 6d 6d 6f | 6e 5f 73 65 74 75 70 5f |de_commo|n_setup_|
|000052d0| 3b 0a 65 6e 64 64 65 66 | 3b 0a 41 74 61 72 69 4e |;.enddef|;.AtariN|
|000052e0| 69 6e 65 53 69 78 20 3a | 3d 20 61 74 61 72 69 6e |ineSix :|= atarin|
|000052f0| 73 3b 0a 0a 25 20 46 72 | 6f 6d 20 7b 5c 74 74 20 |s;..% Fr|om {\tt |
|00005300| 65 65 40 64 61 63 74 68 | 35 31 2e 62 69 74 6e 65 |ee@dacth|51.bitne|
|00005310| 74 7d 2e 0a 6d 6f 64 65 | 5f 64 65 66 20 61 74 61 |t}..mode|_def ata|
|00005320| 72 69 6f 74 66 20 3d 20 | 20 20 20 20 20 20 20 20 |riotf = | |
|00005330| 20 20 20 20 20 20 20 20 | 20 20 20 20 25 20 41 74 | | % At|
|00005340| 61 72 69 20 53 54 20 53 | 4d 20 31 32 34 20 73 63 |ari ST S|M 124 sc|
|00005350| 72 65 65 6e 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |reen. m|ode_para|
|00005360| 6d 20 28 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e |m (pixel|s_per_in|
|00005370| 63 68 2c 20 31 30 31 29 | 3b 0a 20 20 6d 6f 64 65 |ch, 101)|;. mode|
|00005380| 5f 70 61 72 61 6d 20 28 | 62 6c 61 63 6b 65 72 2c |_param (|blacker,|
|00005390| 20 30 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 | 0);. m|ode_para|
|000053a0| 6d 20 28 66 69 6c 6c 69 | 6e 2c 20 30 29 3b 0a 20 |m (filli|n, 0);. |
|000053b0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 6f 5f 63 | mode_pa|ram (o_c|
|000053c0| 6f 72 72 65 63 74 69 6f | 6e 2c 20 2e 34 29 3b 0a |orrectio|n, .4);.|
|000053d0| 20 20 6d 6f 64 65 5f 63 | 6f 6d 6d 6f 6e 5f 73 65 | mode_c|ommon_se|
|000053e0| 74 75 70 5f 3b 0a 65 6e | 64 64 65 66 3b 0a 41 74 |tup_;.en|ddef;.At|
|000053f0| 61 72 69 53 4d 4f 6e 65 | 54 77 6f 46 6f 75 72 20 |ariSMOne|TwoFour |
|00005400| 3a 3d 20 61 74 61 72 69 | 6f 74 66 3b 0a 0a 6d 6f |:= atari|otf;..mo|
|00005410| 64 65 5f 64 65 66 20 62 | 69 74 67 72 61 70 68 20 |de_def b|itgraph |
|00005420| 3d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |= | |
|00005430| 20 20 20 20 20 20 25 20 | 42 42 4e 20 42 69 74 67 | % |BBN Bitg|
|00005440| 72 61 70 68 20 61 74 20 | 31 31 38 64 70 69 0a 20 |raph at |118dpi. |
|00005450| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 70 69 78 | mode_pa|ram (pix|
|00005460| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 2c 20 31 31 |els_per_|inch, 11|
|00005470| 38 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |8);. mo|de_param|
|00005480| 20 28 62 6c 61 63 6b 65 | 72 2c 20 2e 35 35 29 3b | (blacke|r, .55);|
|00005490| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 66 |. mode_|param (f|
|000054a0| 69 6c 6c 69 6e 2c 20 2e | 31 29 3b 0a 20 20 6d 6f |illin, .|1);. mo|
|000054b0| 64 65 5f 70 61 72 61 6d | 20 28 6f 5f 63 6f 72 72 |de_param| (o_corr|
|000054c0| 65 63 74 69 6f 6e 2c 20 | 2e 33 29 3b 0a 20 20 6d |ection, |.3);. m|
|000054d0| 6f 64 65 5f 63 6f 6d 6d | 6f 6e 5f 73 65 74 75 70 |ode_comm|on_setup|
|000054e0| 5f 3b 0a 65 6e 64 64 65 | 66 3b 0a 0a 25 20 46 72 |_;.endde|f;..% Fr|
|000054f0| 6f 6d 20 7b 5c 74 74 20 | 73 6a 77 72 69 67 68 74 |om {\tt |sjwright|
|00005500| 40 63 69 78 2e 63 6f 6d | 70 75 6c 69 6e 6b 2e 63 |@cix.com|pulink.c|
|00005510| 6f 2e 75 6b 7d 2c 20 39 | 20 46 65 62 72 75 61 72 |o.uk}, 9| Februar|
|00005520| 79 20 31 39 39 34 2e 0a | 6d 6f 64 65 5f 64 65 66 |y 1994..|mode_def|
|00005530| 20 62 6a 74 65 6e 65 78 | 20 3d 20 20 20 20 20 20 | bjtenex| = |
|00005540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005550| 25 20 43 61 6e 6f 6e 20 | 42 75 62 62 6c 65 4a 65 |% Canon |BubbleJe|
|00005560| 74 20 31 30 65 78 0a 20 | 20 6d 6f 64 65 5f 70 61 |t 10ex. | mode_pa|
|00005570| 72 61 6d 20 28 70 69 78 | 65 6c 73 5f 70 65 72 5f |ram (pix|els_per_|
|00005580| 69 6e 63 68 2c 20 33 36 | 30 29 3b 0a 20 20 6d 6f |inch, 36|0);. mo|
|00005590| 64 65 5f 70 61 72 61 6d | 20 28 62 6c 61 63 6b 65 |de_param| (blacke|
|000055a0| 72 2c 20 2e 36 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |r, .6);.| mode_p|
|000055b0| 61 72 61 6d 20 28 66 69 | 6c 6c 69 6e 2c 20 30 29 |aram (fi|llin, 0)|
|000055c0| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|000055d0| 6f 5f 63 6f 72 72 65 63 | 74 69 6f 6e 2c 20 2e 36 |o_correc|tion, .6|
|000055e0| 29 3b 0a 20 20 6d 6f 64 | 65 5f 63 6f 6d 6d 6f 6e |);. mod|e_common|
|000055f0| 5f 73 65 74 75 70 5f 3b | 0a 65 6e 64 64 65 66 3b |_setup_;|.enddef;|
|00005600| 0a 0a 6d 6f 64 65 5f 64 | 65 66 20 62 6f 69 73 65 |..mode_d|ef boise|
|00005610| 20 3d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | = | |
|00005620| 20 20 20 20 20 20 20 20 | 20 20 25 20 48 50 20 32 | | % HP 2|
|00005630| 36 38 30 41 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |680A. m|ode_para|
|00005640| 6d 20 28 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e |m (pixel|s_per_in|
|00005650| 63 68 2c 20 31 38 30 29 | 3b 0a 20 20 6d 6f 64 65 |ch, 180)|;. mode|
|00005660| 5f 70 61 72 61 6d 20 28 | 62 6c 61 63 6b 65 72 2c |_param (|blacker,|
|00005670| 20 2e 35 35 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 | .55);. | mode_pa|
|00005680| 72 61 6d 20 28 66 69 6c | 6c 69 6e 2c 20 2e 31 29 |ram (fil|lin, .1)|
|00005690| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|000056a0| 6f 5f 63 6f 72 72 65 63 | 74 69 6f 6e 2c 20 2e 33 |o_correc|tion, .3|
|000056b0| 29 3b 0a 20 20 6d 6f 64 | 65 5f 63 6f 6d 6d 6f 6e |);. mod|e_common|
|000056c0| 5f 73 65 74 75 70 5f 3b | 0a 65 6e 64 64 65 66 3b |_setup_;|.enddef;|
|000056d0| 0a 0a 25 20 46 72 6f 6d | 20 7b 5c 74 74 20 73 77 |..% From| {\tt sw|
|000056e0| 61 72 74 7a 40 63 73 2e | 77 69 73 63 2e 65 64 75 |artz@cs.|wisc.edu|
|000056f0| 7d 2c 20 38 20 41 70 72 | 69 6c 20 31 39 39 33 2e |}, 8 Apr|il 1993.|
|00005700| 20 20 54 68 65 20 73 74 | 72 61 69 67 68 74 66 6f | The st|raightfo|
|00005710| 72 77 61 72 64 20 6d 6f | 64 65 0a 25 20 77 69 74 |rward mo|de.% wit|
|00005720| 68 20 7c 62 6c 61 63 6b | 65 72 3d 30 7c 2c 20 7c |h |black|er=0|, ||
|00005730| 66 69 6c 6c 69 6e 3d 30 | 7c 2c 20 7c 6f 5f 63 6f |fillin=0||, |o_co|
|00005740| 72 72 65 63 74 69 6f 6e | 3d 31 7c 20 73 65 65 6d |rrection|=1| seem|
|00005750| 73 20 74 6f 20 77 6f 72 | 6b 20 66 69 6e 65 20 66 |s to wor|k fine f|
|00005760| 6f 72 0a 25 20 74 68 65 | 20 43 61 6e 6f 6e 20 45 |or.% the| Canon E|
|00005770| 58 20 65 6e 67 69 6e 65 | 20 69 6e 73 69 64 65 20 |X engine| inside |
|00005780| 41 70 70 6c 65 27 73 20 | 4c 61 73 65 72 57 72 69 |Apple's |LaserWri|
|00005790| 74 65 72 20 50 72 6f 20 | 36 33 30 2e 20 20 49 74 |ter Pro |630. It|
|000057a0| 20 70 72 6f 64 75 63 65 | 73 0a 25 20 6c 69 67 68 | produce|s.% ligh|
|000057b0| 74 2c 20 63 6c 65 61 72 | 20 6c 69 6e 65 73 20 61 |t, clear| lines a|
|000057c0| 6e 64 20 74 79 70 65 2e | 20 42 75 74 20 7b 5c 74 |nd type.| But {\t|
|000057d0| 74 20 61 6a 63 61 72 72 | 40 63 63 76 61 78 2e 75 |t ajcarr|@ccvax.u|
|000057e0| 63 64 2e 69 65 7d 20 73 | 65 6e 74 20 69 6e 20 74 |cd.ie} s|ent in t|
|000057f0| 68 65 0a 25 20 72 65 76 | 69 73 65 64 20 76 61 6c |he.% rev|ised val|
|00005800| 75 65 73 20 62 65 6c 6f | 77 20 6f 6e 20 31 32 20 |ues belo|w on 12 |
|00005810| 44 65 63 65 6d 62 65 72 | 20 31 39 39 33 2c 20 74 |December| 1993, t|
|00005820| 65 73 74 65 64 20 6f 6e | 20 74 68 65 20 6d 61 6a |ested on| the maj|
|00005830| 6f 72 20 43 4d 20 66 6f | 6e 74 73 0a 25 20 61 74 |or CM fo|nts.% at|
|00005840| 20 35 2c 20 37 2c 20 61 | 6e 64 20 31 30 70 74 20 | 5, 7, a|nd 10pt |
|00005850| 61 6e 64 20 70 72 6f 64 | 75 63 69 6e 67 20 73 6c |and prod|ucing sl|
|00005860| 69 67 68 74 6c 79 20 62 | 65 74 74 65 72 20 72 65 |ightly b|etter re|
|00005870| 73 75 6c 74 73 2e 0a 6d | 6f 64 65 5f 64 65 66 20 |sults..m|ode_def |
|00005880| 63 61 6e 6f 6e 65 78 20 | 3d 20 20 20 20 20 20 20 |canonex |= |
|00005890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 25 | | %|
|000058a0| 20 43 61 6e 6f 6e 45 58 | 20 69 6e 20 4c 61 73 65 | CanonEX| in Lase|
|000058b0| 72 57 72 69 74 65 72 20 | 50 72 6f 20 36 33 30 0a |rWriter |Pro 630.|
|000058c0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 70 69 | mode_p|aram (pi|
|000058d0| 78 65 6c 73 5f 70 65 72 | 5f 69 6e 63 68 2c 20 36 |xels_per|_inch, 6|
|000058e0| 30 30 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |00);. m|ode_para|
|000058f0| 6d 20 28 62 6c 61 63 6b | 65 72 2c 20 2e 32 29 3b |m (black|er, .2);|
|00005900| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 66 |. mode_|param (f|
|00005910| 69 6c 6c 69 6e 2c 20 2e | 31 29 3b 0a 20 20 6d 6f |illin, .|1);. mo|
|00005920| 64 65 5f 70 61 72 61 6d | 20 28 6f 5f 63 6f 72 72 |de_param| (o_corr|
|00005930| 65 63 74 69 6f 6e 2c 20 | 2e 38 35 29 3b 0a 20 20 |ection, |.85);. |
|00005940| 6d 6f 64 65 5f 63 6f 6d | 6d 6f 6e 5f 73 65 74 75 |mode_com|mon_setu|
|00005950| 70 5f 3b 0a 65 6e 64 64 | 65 66 3b 0a 43 61 6e 6f |p_;.endd|ef;.Cano|
|00005960| 6e 45 58 20 3a 3d 20 63 | 61 6e 6f 6e 65 78 3b 0a |nEX := c|anonex;.|
|00005970| 0a 6d 6f 64 65 5f 64 65 | 66 20 63 61 6e 6f 6e 6c |.mode_de|f canonl|
|00005980| 62 70 20 3d 20 20 20 20 | 20 20 20 20 20 20 20 20 |bp = | |
|00005990| 20 20 20 20 20 20 20 20 | 20 25 20 65 2e 67 2e 2c | | % e.g.,|
|000059a0| 20 53 79 6d 62 6f 6c 69 | 63 73 20 4c 47 50 2d 31 | Symboli|cs LGP-1|
|000059b0| 30 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |0. mode|_param (|
|000059c0| 70 69 78 65 6c 73 5f 70 | 65 72 5f 69 6e 63 68 2c |pixels_p|er_inch,|
|000059d0| 20 32 34 30 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 | 240);. | mode_pa|
|000059e0| 72 61 6d 20 28 62 6c 61 | 63 6b 65 72 2c 20 2e 32 |ram (bla|cker, .2|
|000059f0| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|00005a00| 28 66 69 6c 6c 69 6e 2c | 20 2e 32 29 3b 0a 20 20 |(fillin,| .2);. |
|00005a10| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 6f 5f 63 6f |mode_par|am (o_co|
|00005a20| 72 72 65 63 74 69 6f 6e | 2c 20 2e 34 29 3b 0a 20 |rrection|, .4);. |
|00005a30| 20 6d 6f 64 65 5f 63 6f | 6d 6d 6f 6e 5f 73 65 74 | mode_co|mmon_set|
|00005a40| 75 70 5f 3b 0a 65 6e 64 | 64 65 66 3b 0a 43 61 6e |up_;.end|def;.Can|
|00005a50| 6f 6e 4c 42 50 54 65 6e | 20 3a 3d 20 63 61 6e 6f |onLBPTen| := cano|
|00005a60| 6e 6c 62 70 3b 0a 0a 6d | 6f 64 65 5f 64 65 66 20 |nlbp;..m|ode_def |
|00005a70| 63 67 20 3d 20 20 20 20 | 20 20 20 20 20 20 20 20 |cg = | |
|00005a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 25 | | %|
|00005a90| 20 43 6f 6d 70 75 67 72 | 61 70 68 69 63 20 38 36 | Compugr|aphic 86|
|00005aa0| 30 30 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |00. mod|e_param |
|00005ab0| 28 70 69 78 65 6c 73 5f | 70 65 72 5f 69 6e 63 68 |(pixels_|per_inch|
|00005ac0| 2c 20 31 33 30 31 2e 35 | 29 3b 0a 20 20 6d 6f 64 |, 1301.5|);. mod|
|00005ad0| 65 5f 70 61 72 61 6d 20 | 28 61 73 70 65 63 74 5f |e_param |(aspect_|
|00005ae0| 72 61 74 69 6f 2c 20 31 | 35 36 39 20 2f 20 70 69 |ratio, 1|569 / pi|
|00005af0| 78 65 6c 73 5f 70 65 72 | 5f 69 6e 63 68 29 3b 0a |xels_per|_inch);.|
|00005b00| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 62 6c | mode_p|aram (bl|
|00005b10| 61 63 6b 65 72 2c 20 2e | 32 29 3b 0a 20 20 6d 6f |acker, .|2);. mo|
|00005b20| 64 65 5f 70 61 72 61 6d | 20 28 66 69 6c 6c 69 6e |de_param| (fillin|
|00005b30| 2c 20 2e 32 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 |, .2);. | mode_pa|
|00005b40| 72 61 6d 20 28 6f 5f 63 | 6f 72 72 65 63 74 69 6f |ram (o_c|orrectio|
|00005b50| 6e 2c 20 31 29 3b 0a 20 | 20 6d 6f 64 65 5f 63 6f |n, 1);. | mode_co|
|00005b60| 6d 6d 6f 6e 5f 73 65 74 | 75 70 5f 3b 0a 65 6e 64 |mmon_set|up_;.end|
|00005b70| 64 65 66 3b 0a 43 6f 6d | 70 75 67 72 61 70 68 69 |def;.Com|pugraphi|
|00005b80| 63 45 69 67 68 74 53 69 | 78 5a 65 72 6f 5a 65 72 |cEightSi|xZeroZer|
|00005b90| 6f 20 3a 3d 20 63 67 3b | 0a 0a 6d 6f 64 65 5f 64 |o := cg;|..mode_d|
|00005ba0| 65 66 20 63 67 6c 20 3d | 20 20 20 20 20 20 20 20 |ef cgl =| |
|00005bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005bc0| 20 20 25 20 43 6f 6d 70 | 75 67 72 61 70 68 69 63 | % Comp|ugraphic|
|00005bd0| 20 38 36 30 30 20 6c 61 | 6e 64 73 63 61 70 65 0a | 8600 la|ndscape.|
|00005be0| 20 20 63 67 5f 3b 0a 20 | 20 6c 61 6e 64 73 63 61 | cg_;. | landsca|
|00005bf0| 70 65 3b 0a 65 6e 64 64 | 65 66 3b 0a 0a 25 20 54 |pe;.endd|ef;..% T|
|00005c00| 68 65 73 65 20 76 61 6c | 75 65 73 20 66 72 6f 6d |hese val|ues from|
|00005c10| 20 4c 69 6e 6f 74 79 70 | 65 20 4c 69 6e 6f 74 72 | Linotyp|e Linotr|
|00005c20| 6f 6e 69 63 20 5b 31 33 | 5d 30 30 20 6d 6f 64 69 |onic [13|]00 modi|
|00005c30| 66 69 65 64 20 74 6f 20 | 31 32 30 30 64 70 69 2e |fied to |1200dpi.|
|00005c40| 0a 25 20 46 72 6f 6d 20 | 7b 5c 74 74 20 77 61 67 |.% From |{\tt wag|
|00005c50| 6d 61 6e 5c 25 6d 75 73 | 65 2e 68 65 70 6e 65 74 |man\%mus|e.hepnet|
|00005c60| 40 43 73 61 32 2e 4c 42 | 4c 2e 47 6f 76 7d 2e 0a |@Csa2.LB|L.Gov}..|
|00005c70| 6d 6f 64 65 5f 64 65 66 | 20 63 67 6e 73 7a 7a 20 |mode_def| cgnszz |
|00005c80| 3d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |= | |
|00005c90| 20 20 20 20 20 20 20 20 | 25 20 43 6f 6d 70 75 67 | |% Compug|
|00005ca0| 72 61 70 68 69 63 20 39 | 36 30 30 0a 20 20 6d 6f |raphic 9|600. mo|
|00005cb0| 64 65 5f 70 61 72 61 6d | 20 28 70 69 78 65 6c 73 |de_param| (pixels|
|00005cc0| 5f 70 65 72 5f 69 6e 63 | 68 2c 20 31 32 30 30 29 |_per_inc|h, 1200)|
|00005cd0| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|00005ce0| 62 6c 61 63 6b 65 72 2c | 20 2e 36 35 29 3b 0a 20 |blacker,| .65);. |
|00005cf0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 66 69 6c | mode_pa|ram (fil|
|00005d00| 6c 69 6e 2c 20 2d 2e 31 | 29 3b 0a 20 20 6d 6f 64 |lin, -.1|);. mod|
|00005d10| 65 5f 70 61 72 61 6d 20 | 28 6f 5f 63 6f 72 72 65 |e_param |(o_corre|
|00005d20| 63 74 69 6f 6e 2c 20 2e | 35 29 3b 0a 20 20 6d 6f |ction, .|5);. mo|
|00005d30| 64 65 5f 63 6f 6d 6d 6f | 6e 5f 73 65 74 75 70 5f |de_commo|n_setup_|
|00005d40| 3b 0a 65 6e 64 64 65 66 | 3b 0a 43 6f 6d 70 75 67 |;.enddef|;.Compug|
|00005d50| 72 61 70 68 69 63 4e 69 | 6e 65 53 69 78 5a 65 72 |raphicNi|neSixZer|
|00005d60| 6f 5a 65 72 6f 20 3a 3d | 20 63 67 6e 73 7a 7a 3b |oZero :=| cgnszz;|
|00005d70| 0a 0a 25 20 54 68 69 73 | 20 68 61 73 20 61 20 72 |..% This| has a r|
|00005d80| 65 73 6f 6c 75 74 69 6f | 6e 20 6f 66 20 7c 35 33 |esolutio|n of |53|
|00005d90| 33 33 20 2b 20 31 2f 33 | 7c 20 70 69 78 65 6c 73 |33 + 1/3|| pixels|
|00005da0| 20 70 65 72 20 69 6e 63 | 68 2e 0a 6d 6f 64 65 5f | per inc|h..mode_|
|00005db0| 64 65 66 20 63 72 73 20 | 3d 20 20 20 20 20 20 20 |def crs |= |
|00005dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005dd0| 20 20 20 25 20 41 6c 70 | 68 61 74 79 70 65 20 43 | % Alp|hatype C|
|00005de0| 52 53 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |RS. mod|e_param |
|00005df0| 28 70 69 78 65 6c 73 5f | 70 65 72 5f 69 6e 63 68 |(pixels_|per_inch|
|00005e00| 2c 20 34 30 30 30 20 2b | 20 34 30 30 30 2f 33 29 |, 4000 +| 4000/3)|
|00005e10| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|00005e20| 62 6c 61 63 6b 65 72 2c | 20 34 29 3b 0a 20 20 6d |blacker,| 4);. m|
|00005e30| 6f 64 65 5f 70 61 72 61 | 6d 20 28 66 69 6c 6c 69 |ode_para|m (filli|
|00005e40| 6e 2c 20 30 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 |n, 0);. | mode_pa|
|00005e50| 72 61 6d 20 28 6f 5f 63 | 6f 72 72 65 63 74 69 6f |ram (o_c|orrectio|
|00005e60| 6e 2c 20 31 29 3b 0a 20 | 20 6d 6f 64 65 5f 63 6f |n, 1);. | mode_co|
|00005e70| 6d 6d 6f 6e 5f 73 65 74 | 75 70 5f 3b 0a 65 6e 64 |mmon_set|up_;.end|
|00005e80| 64 65 66 3b 0a 0a 25 20 | 54 68 69 73 20 61 70 70 |def;..% |This app|
|00005e90| 6c 69 65 73 20 74 6f 20 | 74 68 65 20 4c 61 73 65 |lies to |the Lase|
|00005ea0| 72 57 72 69 74 65 72 20 | 50 6c 75 73 2c 20 48 50 |rWriter |Plus, HP|
|00005eb0| 20 4c 61 73 65 72 6a 65 | 74 2c 20 48 50 20 4c 61 | Laserje|t, HP La|
|00005ec0| 73 65 72 6a 65 74 20 50 | 6c 75 73 2c 0a 25 20 61 |serjet P|lus,.% a|
|00005ed0| 6e 64 20 61 6c 73 6f 20 | 74 68 65 20 43 61 6e 6f |nd also |the Cano|
|00005ee0| 6e 20 4c 42 50 2d 4c 58 | 20 65 6e 67 69 6e 65 2c |n LBP-LX| engine,|
|00005ef0| 20 69 6e 20 74 68 65 20 | 4c 61 73 65 72 6a 65 74 | in the |Laserjet|
|00005f00| 20 49 49 50 2c 20 51 4d | 53 20 34 31 30 2c 20 61 | IIP, QM|S 410, a|
|00005f10| 6e 64 0a 25 20 41 70 70 | 6c 65 20 50 65 72 73 6f |nd.% App|le Perso|
|00005f20| 6e 61 6c 20 4c 61 73 65 | 72 57 72 69 74 65 72 2c |nal Lase|rWriter,|
|00005f30| 20 61 6e 64 20 61 6c 73 | 6f 20 74 6f 20 74 68 65 | and als|o to the|
|00005f40| 20 43 61 6e 6f 6e 53 58 | 20 65 6e 67 69 6e 65 2c | CanonSX| engine,|
|00005f50| 20 69 6e 20 74 68 65 0a | 25 20 4c 61 73 65 72 57 | in the.|% LaserW|
|00005f60| 72 69 74 65 72 20 49 49 | 20 66 61 6d 69 6c 79 2e |riter II| family.|
|00005f70| 20 20 41 6e 64 20 7b 5c | 74 74 20 68 61 6d 6d 6f | And {\|tt hammo|
|00005f80| 6e 64 40 6a 69 6c 61 30 | 32 2e 43 6f 6c 6f 72 61 |nd@jila0|2.Colora|
|00005f90| 64 6f 2e 45 44 55 7d 20 | 73 61 79 73 20 69 74 0a |do.EDU} |says it.|
|00005fa0| 25 20 77 6f 72 6b 73 20 | 77 65 6c 6c 20 66 6f 72 |% works |well for|
|00005fb0| 20 74 68 65 20 60 60 65 | 6e 68 61 6e 63 65 64 2d | the ``e|nhanced-|
|00005fc0| 72 65 73 6f 6c 75 74 69 | 6f 6e 27 27 20 4c 61 73 |resoluti|on'' Las|
|00005fd0| 65 72 4a 65 74 20 49 49 | 49 2e 0a 25 20 7b 5c 74 |erJet II|I..% {\t|
|00005fe0| 74 20 73 77 61 72 74 7a | 40 63 73 2e 77 69 73 63 |t swartz|@cs.wisc|
|00005ff0| 2e 65 64 75 7d 20 69 73 | 20 64 65 76 65 6c 6f 70 |.edu} is| develop|
|00006000| 69 6e 67 20 61 20 6d 6f | 64 65 20 66 6f 72 20 74 |ing a mo|de for t|
|00006010| 68 65 20 43 61 6e 6f 6e | 20 45 58 20 65 6e 67 69 |he Canon| EX engi|
|00006020| 6e 65 0a 25 20 69 6e 73 | 69 64 65 20 61 6e 20 41 |ne.% ins|ide an A|
|00006030| 70 70 6c 65 20 50 72 6f | 20 36 33 30 20 70 72 69 |pple Pro| 630 pri|
|00006040| 6e 74 65 72 2e 0a 6d 6f | 64 65 5f 64 65 66 20 63 |nter..mo|de_def c|
|00006050| 78 20 3d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |x = | |
|00006060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 25 20 | | % |
|00006070| 43 61 6e 6f 6e 20 43 58 | 2c 20 53 58 2c 20 4c 42 |Canon CX|, SX, LB|
|00006080| 50 2d 4c 58 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |P-LX. m|ode_para|
|00006090| 6d 20 28 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e |m (pixel|s_per_in|
|000060a0| 63 68 2c 20 33 30 30 29 | 3b 0a 20 20 6d 6f 64 65 |ch, 300)|;. mode|
|000060b0| 5f 70 61 72 61 6d 20 28 | 62 6c 61 63 6b 65 72 2c |_param (|blacker,|
|000060c0| 20 30 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 | 0);. m|ode_para|
|000060d0| 6d 20 28 66 69 6c 6c 69 | 6e 2c 20 2e 32 29 3b 0a |m (filli|n, .2);.|
|000060e0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 6f 5f | mode_p|aram (o_|
|000060f0| 63 6f 72 72 65 63 74 69 | 6f 6e 2c 20 2e 36 29 3b |correcti|on, .6);|
|00006100| 0a 20 20 6d 6f 64 65 5f | 63 6f 6d 6d 6f 6e 5f 73 |. mode_|common_s|
|00006110| 65 74 75 70 5f 3b 0a 65 | 6e 64 64 65 66 3b 0a 43 |etup_;.e|nddef;.C|
|00006120| 61 6e 6f 6e 43 58 20 3a | 3d 20 63 78 3b 0a 63 6f |anonCX :|= cx;.co|
|00006130| 72 6f 6e 61 20 3a 3d 20 | 63 78 3b 0a 64 70 20 3a |rona := |cx;.dp :|
|00006140| 3d 20 63 78 3b 20 25 20 | 73 6f 6d 65 20 6b 69 6e |= cx; % |some kin|
|00006150| 64 20 6f 66 20 44 61 74 | 61 50 72 6f 64 75 63 74 |d of Dat|aProduct|
|00006160| 73 0a 68 70 6c 61 73 65 | 72 20 3a 3d 20 63 78 3b |s.hplase|r := cx;|
|00006170| 0a 69 6d 61 67 65 6e 20 | 3a 3d 20 63 78 3b 0a 6b |.imagen |:= cx;.k|
|00006180| 79 6f 63 65 72 61 20 3a | 3d 20 63 78 3b 0a 6c 61 |yocera :|= cx;.la|
|00006190| 73 65 72 77 72 69 74 65 | 72 20 3a 3d 20 63 78 3b |serwrite|r := cx;|
|000061a0| 0a 25 20 49 20 68 61 76 | 65 20 73 65 65 6e 20 61 |.% I hav|e seen a|
|000061b0| 20 63 6c 61 69 6d 20 74 | 68 65 20 4c 61 73 65 72 | claim t|he Laser|
|000061c0| 4a 65 74 20 49 49 20 77 | 61 73 20 74 68 65 20 43 |Jet II w|as the C|
|000061d0| 61 6e 6f 6e 20 53 58 0a | 25 20 77 72 69 74 65 2d |anon SX.|% write-|
|000061e0| 77 68 69 74 65 20 65 6e | 67 69 6e 65 2c 20 62 75 |white en|gine, bu|
|000061f0| 74 20 49 20 64 6f 6e 27 | 74 20 74 68 69 6e 6b 20 |t I don'|t think |
|00006200| 74 68 61 74 27 73 20 72 | 69 67 68 74 2e 0a 6c 61 |that's r|ight..la|
|00006210| 73 65 72 6a 65 74 68 69 | 20 3a 3d 20 63 78 3b 0a |serjethi| := cx;.|
|00006220| 6c 61 73 65 72 6a 65 74 | 20 3a 3d 20 63 78 3b 0a |laserjet| := cx;.|
|00006230| 25 20 7b 5c 74 74 20 6f | 67 61 77 61 40 6f 72 69 |% {\tt o|gawa@ori|
|00006240| 6f 6e 2e 61 72 63 2e 6e | 61 73 61 2e 67 6f 76 7d |on.arc.n|asa.gov}|
|00006250| 20 73 61 79 73 20 74 68 | 61 74 20 74 68 69 73 20 | says th|at this |
|00006260| 69 73 20 64 65 66 69 6e | 69 74 65 6c 79 20 6e 6f |is defin|itely no|
|00006270| 74 20 61 0a 25 20 77 72 | 69 74 65 2d 77 68 69 74 |t a.% wr|ite-whit|
|00006280| 65 20 65 6e 67 69 6e 65 | 2c 20 64 65 73 70 69 74 |e engine|, despit|
|00006290| 65 20 65 61 72 6c 69 65 | 72 20 76 65 72 73 69 6f |e earlie|r versio|
|000062a0| 6e 73 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |ns of th|is file |
|000062b0| 63 6c 61 69 6d 69 6e 67 | 20 74 68 65 0a 25 20 63 |claiming| the.% c|
|000062c0| 6f 6e 74 72 61 72 79 2e | 20 20 54 68 75 73 2c 20 |ontrary.| Thus, |
|000062d0| 70 72 6f 62 61 62 6c 79 | 20 74 68 65 20 73 61 6d |probably| the sam|
|000062e0| 65 20 70 61 72 61 6d 65 | 74 65 72 73 20 61 73 20 |e parame|ters as |
|000062f0| 7c 63 78 7c 20 77 69 6c | 6c 20 64 6f 2e 0a 43 61 ||cx| wil|l do..Ca|
|00006300| 6e 6f 6e 53 58 20 3a 3d | 20 63 78 3b 0a 43 61 6e |nonSX :=| cx;.Can|
|00006310| 6f 6e 4c 42 50 4c 58 20 | 3a 3d 20 63 78 3b 0a 0a |onLBPLX |:= cx;..|
|00006320| 25 20 41 74 20 6c 65 61 | 73 74 20 6d 61 67 73 74 |% At lea|st magst|
|00006330| 65 70 20 32 20 69 73 20 | 72 65 63 6f 6d 6d 65 6e |ep 2 is |recommen|
|00006340| 64 65 64 20 61 74 20 74 | 68 69 73 20 6c 6f 77 20 |ded at t|his low |
|00006350| 72 65 73 6f 6c 75 74 69 | 6f 6e 2e 0a 6d 6f 64 65 |resoluti|on..mode|
|00006360| 5f 64 65 66 20 64 61 74 | 61 64 69 73 63 20 3d 20 |_def dat|adisc = |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006380| 20 20 20 20 25 20 44 61 | 74 61 44 69 73 63 0a 20 | % Da|taDisc. |
|00006390| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 70 69 78 | mode_pa|ram (pix|
|000063a0| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 2c 20 37 30 |els_per_|inch, 70|
|000063b0| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|000063c0| 28 62 6c 61 63 6b 65 72 | 2c 20 30 29 3b 0a 20 20 |(blacker|, 0);. |
|000063d0| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 66 69 6c 6c |mode_par|am (fill|
|000063e0| 69 6e 2c 20 30 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |in, 0);.| mode_p|
|000063f0| 61 72 61 6d 20 28 6f 5f | 63 6f 72 72 65 63 74 69 |aram (o_|correcti|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.