home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 74 61 | 6c 63 6f 74 74 21 74 6f |From: ta|lcott!to|
|00000010| 70 61 7a 21 70 79 72 61 | 6d 69 64 21 6f 63 74 6f |paz!pyra|mid!octo|
|00000020| 70 75 73 21 70 65 74 65 | 20 28 50 65 74 65 20 48 |pus!pete| (Pete H|
|00000030| 6f 6c 7a 6d 61 6e 6e 29 | 0a 53 75 62 6a 65 63 74 |olzmann)|.Subject|
|00000040| 3a 20 48 65 72 73 68 65 | 79 20 46 6f 6e 74 73 2c |: Hershe|y Fonts,|
|00000050| 20 50 61 72 74 20 31 20 | 6f 66 20 35 0a 4e 65 77 | Part 1 |of 5.New|
|00000060| 73 67 72 6f 75 70 73 3a | 20 6d 6f 64 2e 73 6f 75 |sgroups:| mod.sou|
|00000070| 72 63 65 73 0a 41 70 70 | 72 6f 76 65 64 3a 20 6a |rces.App|roved: j|
|00000080| 70 6e 40 70 61 6e 64 61 | 2e 55 55 43 50 0a 0a 4d |pn@panda|.UUCP..M|
|00000090| 6f 64 2e 73 6f 75 72 63 | 65 73 3a 20 20 56 6f 6c |od.sourc|es: Vol|
|000000a0| 75 6d 65 20 34 2c 20 49 | 73 73 75 65 20 34 32 0a |ume 4, I|ssue 42.|
|000000b0| 53 75 62 6d 69 74 74 65 | 64 20 62 79 3a 20 70 79 |Submitte|d by: py|
|000000c0| 72 61 6d 69 64 21 6f 63 | 74 6f 70 75 73 21 70 65 |ramid!oc|topus!pe|
|000000d0| 74 65 20 28 50 65 74 65 | 20 48 6f 6c 7a 6d 61 6e |te (Pete| Holzman|
|000000e0| 6e 29 0a 0a 0a 54 68 69 | 73 20 69 73 20 70 61 72 |n)...Thi|s is par|
|000000f0| 74 20 31 20 6f 66 20 66 | 69 76 65 20 70 61 72 74 |t 1 of f|ive part|
|00000100| 73 20 6f 66 20 74 68 65 | 20 66 69 72 73 74 20 55 |s of the| first U|
|00000110| 73 65 6e 65 74 20 64 69 | 73 74 72 69 62 75 74 69 |senet di|stributi|
|00000120| 6f 6e 20 6f 66 0a 74 68 | 65 20 48 65 72 73 68 65 |on of.th|e Hershe|
|00000130| 79 20 46 6f 6e 74 73 2e | 20 53 65 65 20 74 68 65 |y Fonts.| See the|
|00000140| 20 52 45 41 44 4d 45 20 | 66 69 6c 65 20 66 6f 72 | README |file for|
|00000150| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 0a | more de|tails...|
|00000160| 0a 50 65 74 65 72 20 48 | 6f 6c 7a 6d 61 6e 6e 2c |.Peter H|olzmann,|
|00000170| 20 4f 63 74 6f 70 75 73 | 20 45 6e 74 65 72 70 72 | Octopus| Enterpr|
|00000180| 69 73 65 73 0a 55 53 50 | 53 3a 20 31 39 36 31 31 |ises.USP|S: 19611|
|00000190| 20 4c 61 20 4d 61 72 20 | 43 6f 75 72 74 2c 20 43 | La Mar |Court, C|
|000001a0| 75 70 65 72 74 69 6e 6f | 2c 20 43 41 20 39 35 30 |upertino|, CA 950|
|000001b0| 31 34 0a 55 55 43 50 3a | 20 7b 68 70 6c 61 62 73 |14.UUCP:| {hplabs|
|000001c0| 21 68 70 64 73 64 2c 70 | 79 72 61 6d 69 64 7d 21 |!hpdsd,p|yramid}!|
|000001d0| 6f 63 74 6f 70 75 73 21 | 70 65 74 65 0a 50 68 6f |octopus!|pete.Pho|
|000001e0| 6e 65 3a 20 34 30 38 2f | 39 39 36 2d 37 37 34 36 |ne: 408/|996-7746|
|000001f0| 0a 0a 0a 23 21 2f 62 69 | 6e 2f 73 68 0a 23 20 54 |...#!/bi|n/sh.# T|
|00000200| 68 69 73 20 69 73 20 61 | 20 73 68 65 6c 6c 20 61 |his is a| shell a|
|00000210| 72 63 68 69 76 65 2c 20 | 6d 65 61 6e 69 6e 67 3a |rchive, |meaning:|
|00000220| 0a 23 20 31 2e 20 52 65 | 6d 6f 76 65 20 65 76 65 |.# 1. Re|move eve|
|00000230| 72 79 74 68 69 6e 67 20 | 61 62 6f 76 65 20 74 68 |rything |above th|
|00000240| 65 20 23 21 2f 62 69 6e | 2f 73 68 20 6c 69 6e 65 |e #!/bin|/sh line|
|00000250| 2e 0a 23 20 32 2e 20 53 | 61 76 65 20 74 68 65 20 |..# 2. S|ave the |
|00000260| 72 65 73 75 6c 74 69 6e | 67 20 74 65 78 74 20 69 |resultin|g text i|
|00000270| 6e 20 61 20 66 69 6c 65 | 2e 0a 23 20 33 2e 20 45 |n a file|..# 3. E|
|00000280| 78 65 63 75 74 65 20 74 | 68 65 20 66 69 6c 65 20 |xecute t|he file |
|00000290| 77 69 74 68 20 2f 62 69 | 6e 2f 73 68 20 28 6e 6f |with /bi|n/sh (no|
|000002a0| 74 20 63 73 68 29 20 74 | 6f 20 63 72 65 61 74 65 |t csh) t|o create|
|000002b0| 20 74 68 65 20 66 69 6c | 65 73 3a 0a 23 09 52 45 | the fil|es:.#.RE|
|000002c0| 41 44 4d 45 0a 23 09 68 | 65 72 73 68 65 79 2e 64 |ADME.#.h|ershey.d|
|000002d0| 6f 63 0a 23 09 68 65 72 | 73 68 65 79 2e 66 37 37 |oc.#.her|shey.f77|
|000002e0| 0a 23 09 68 65 72 73 68 | 65 79 2e 63 0a 23 09 63 |.#.hersh|ey.c.#.c|
|000002f0| 79 72 69 6c 63 2e 68 6d | 70 0a 23 09 67 6f 74 68 |yrilc.hm|p.#.goth|
|00000300| 67 62 74 2e 68 6d 70 0a | 23 09 67 6f 74 68 67 72 |gbt.hmp.|#.gothgr|
|00000310| 74 2e 68 6d 70 0a 23 09 | 67 6f 74 68 69 74 74 2e |t.hmp.#.|gothitt.|
|00000320| 68 6d 70 0a 23 09 67 72 | 65 65 6b 63 2e 68 6d 70 |hmp.#.gr|eekc.hmp|
|00000330| 0a 23 09 67 72 65 65 6b | 63 73 2e 68 6d 70 0a 23 |.#.greek|cs.hmp.#|
|00000340| 09 67 72 65 65 6b 70 2e | 68 6d 70 0a 23 09 67 72 |.greekp.|hmp.#.gr|
|00000350| 65 65 6b 73 2e 68 6d 70 | 0a 23 09 69 74 61 6c 69 |eeks.hmp|.#.itali|
|00000360| 63 63 2e 68 6d 70 0a 23 | 09 69 74 61 6c 69 63 63 |cc.hmp.#|.italicc|
|00000370| 73 2e 68 6d 70 0a 23 09 | 69 74 61 6c 69 63 74 2e |s.hmp.#.|italict.|
|00000380| 68 6d 70 0a 23 09 72 6f | 6d 61 6e 63 2e 68 6d 70 |hmp.#.ro|manc.hmp|
|00000390| 0a 23 09 72 6f 6d 61 6e | 63 73 2e 68 6d 70 0a 23 |.#.roman|cs.hmp.#|
|000003a0| 09 72 6f 6d 61 6e 64 2e | 68 6d 70 0a 23 09 72 6f |.romand.|hmp.#.ro|
|000003b0| 6d 61 6e 70 2e 68 6d 70 | 0a 23 09 72 6f 6d 61 6e |manp.hmp|.#.roman|
|000003c0| 73 2e 68 6d 70 0a 23 09 | 72 6f 6d 61 6e 74 2e 68 |s.hmp.#.|romant.h|
|000003d0| 6d 70 0a 23 09 73 63 72 | 69 70 74 63 2e 68 6d 70 |mp.#.scr|iptc.hmp|
|000003e0| 0a 23 09 73 63 72 69 70 | 74 73 2e 68 6d 70 0a 23 |.#.scrip|ts.hmp.#|
|000003f0| 20 54 68 69 73 20 61 72 | 63 68 69 76 65 20 63 72 | This ar|chive cr|
|00000400| 65 61 74 65 64 3a 20 54 | 68 75 20 4d 61 72 20 32 |eated: T|hu Mar 2|
|00000410| 37 20 31 37 3a 35 30 3a | 32 34 20 31 39 38 36 0a |7 17:50:|24 1986.|
|00000420| 65 78 70 6f 72 74 20 50 | 41 54 48 3b 20 50 41 54 |export P|ATH; PAT|
|00000430| 48 3d 2f 62 69 6e 3a 24 | 50 41 54 48 0a 69 66 20 |H=/bin:$|PATH.if |
|00000440| 74 65 73 74 20 2d 66 20 | 27 52 45 41 44 4d 45 27 |test -f |'README'|
|00000450| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000460| 3a 20 6f 76 65 72 2d 77 | 72 69 74 69 6e 67 20 65 |: over-w|riting e|
|00000470| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 52 |xisting |file "'R|
|00000480| 45 41 44 4d 45 27 22 0a | 66 69 0a 63 61 74 20 3c |EADME'".|fi.cat <|
|00000490| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 52 |< \SHAR_|EOF > 'R|
|000004a0| 45 41 44 4d 45 27 0a 54 | 68 69 73 20 64 69 73 74 |EADME'.T|his dist|
|000004b0| 72 69 62 75 74 69 6f 6e | 20 69 73 20 6d 61 64 65 |ribution| is made|
|000004c0| 20 70 6f 73 73 69 62 6c | 65 20 74 68 72 6f 75 67 | possibl|e throug|
|000004d0| 68 20 74 68 65 20 63 6f | 6c 6c 65 63 74 69 76 65 |h the co|llective|
|000004e0| 20 65 6e 63 6f 75 72 61 | 67 65 6d 65 6e 74 0a 6f | encoura|gement.o|
|000004f0| 66 20 74 68 65 20 55 73 | 65 6e 65 74 20 46 6f 6e |f the Us|enet Fon|
|00000500| 74 20 43 6f 6e 73 6f 72 | 74 69 75 6d 2c 20 61 20 |t Consor|tium, a |
|00000510| 6d 61 69 6c 69 6e 67 20 | 6c 69 73 74 20 74 68 61 |mailing |list tha|
|00000520| 74 20 73 70 72 61 6e 67 | 20 74 6f 20 6c 69 66 65 |t sprang| to life|
|00000530| 20 74 6f 20 67 65 74 0a | 74 68 69 73 20 61 63 63 | to get.|this acc|
|00000540| 6f 6d 70 6c 69 73 68 65 | 64 20 61 6e 64 20 74 68 |omplishe|d and th|
|00000550| 61 74 20 77 69 6c 6c 20 | 6e 6f 77 20 6d 6f 73 74 |at will |now most|
|00000560| 20 6c 69 6b 65 6c 79 20 | 64 69 73 61 70 70 65 61 | likely |disappea|
|00000570| 72 20 69 6e 74 6f 20 74 | 68 65 20 6d 69 73 74 73 |r into t|he mists|
|00000580| 0a 6f 66 20 74 69 6d 65 | 2e 2e 2e 20 54 68 61 6e |.of time|... Than|
|00000590| 6b 73 20 61 72 65 20 65 | 73 70 65 63 69 61 6c 6c |ks are e|speciall|
|000005a0| 79 20 64 75 65 20 74 6f | 20 4a 69 6d 20 48 75 72 |y due to| Jim Hur|
|000005b0| 74 2c 20 77 68 6f 20 70 | 72 6f 76 69 64 65 64 20 |t, who p|rovided |
|000005c0| 74 68 65 20 70 61 63 6b | 65 64 0a 66 6f 6e 74 20 |the pack|ed.font |
|000005d0| 64 61 74 61 20 66 6f 72 | 20 74 68 65 20 64 69 73 |data for| the dis|
|000005e0| 74 72 69 62 75 74 69 6f | 6e 2c 20 61 6c 6f 6e 67 |tributio|n, along|
|000005f0| 20 77 69 74 68 20 61 20 | 6c 6f 74 20 6f 66 20 6f | with a |lot of o|
|00000600| 74 68 65 72 20 68 65 6c | 70 2e 0a 0a 54 68 69 73 |ther hel|p...This|
|00000610| 20 66 69 6c 65 20 64 65 | 73 63 72 69 62 65 73 20 | file de|scribes |
|00000620| 74 68 65 20 48 65 72 73 | 68 65 79 20 46 6f 6e 74 |the Hers|hey Font|
|00000630| 73 20 69 6e 20 67 65 6e | 65 72 61 6c 2c 20 61 6c |s in gen|eral, al|
|00000640| 6f 6e 67 20 77 69 74 68 | 20 61 20 64 65 73 63 72 |ong with| a descr|
|00000650| 69 70 74 69 6f 6e 20 6f | 66 0a 74 68 65 20 6f 74 |iption o|f.the ot|
|00000660| 68 65 72 20 66 69 6c 65 | 73 20 69 6e 20 74 68 69 |her file|s in thi|
|00000670| 73 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 61 |s distri|bution a|
|00000680| 6e 64 20 61 20 73 69 6d | 70 6c 65 20 72 65 2d 64 |nd a sim|ple re-d|
|00000690| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 72 65 73 74 |istribut|ion rest|
|000006a0| 72 69 63 74 69 6f 6e 2e | 0a 0a 55 53 45 20 52 45 |riction.|..USE RE|
|000006b0| 53 54 52 49 43 54 49 4f | 4e 3a 0a 09 54 68 69 73 |STRICTIO|N:..This|
|000006c0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 6f 66 | distrib|ution of|
|000006d0| 20 74 68 65 20 48 65 72 | 73 68 65 79 20 46 6f 6e | the Her|shey Fon|
|000006e0| 74 73 20 6d 61 79 20 62 | 65 20 75 73 65 64 20 62 |ts may b|e used b|
|000006f0| 79 20 61 6e 79 6f 6e 65 | 20 66 6f 72 0a 09 61 6e |y anyone| for..an|
|00000700| 79 20 70 75 72 70 6f 73 | 65 2c 20 63 6f 6d 6d 65 |y purpos|e, comme|
|00000710| 72 63 69 61 6c 20 6f 72 | 20 6f 74 68 65 72 77 69 |rcial or| otherwi|
|00000720| 73 65 2c 20 70 72 6f 76 | 69 64 69 6e 67 20 74 68 |se, prov|iding th|
|00000730| 61 74 3a 0a 09 09 31 2e | 20 54 68 65 20 66 6f 6c |at:...1.| The fol|
|00000740| 6c 6f 77 69 6e 67 20 61 | 63 6b 6e 6f 77 6c 65 64 |lowing a|cknowled|
|00000750| 67 65 6d 65 6e 74 73 20 | 6d 75 73 74 20 62 65 20 |gements |must be |
|00000760| 64 69 73 74 72 69 62 75 | 74 65 64 20 77 69 74 68 |distribu|ted with|
|00000770| 0a 09 09 09 74 68 65 20 | 66 6f 6e 74 20 64 61 74 |....the |font dat|
|00000780| 61 3a 0a 09 09 09 2d 20 | 54 68 65 20 48 65 72 73 |a:....- |The Hers|
|00000790| 68 65 79 20 46 6f 6e 74 | 73 20 77 65 72 65 20 6f |hey Font|s were o|
|000007a0| 72 69 67 69 6e 61 6c 6c | 79 20 63 72 65 61 74 65 |riginall|y create|
|000007b0| 64 20 62 79 20 44 72 2e | 0a 09 09 09 09 41 2e 20 |d by Dr.|.....A. |
|000007c0| 56 2e 20 48 65 72 73 68 | 65 79 20 77 68 69 6c 65 |V. Hersh|ey while|
|000007d0| 20 77 6f 72 6b 69 6e 67 | 20 61 74 20 74 68 65 20 | working| at the |
|000007e0| 55 2e 20 53 2e 0a 09 09 | 09 09 4e 61 74 69 6f 6e |U. S....|..Nation|
|000007f0| 61 6c 20 42 75 72 65 61 | 75 20 6f 66 20 53 74 61 |al Burea|u of Sta|
|00000800| 6e 64 61 72 64 73 2e 0a | 09 09 09 2d 20 54 68 65 |ndards..|...- The|
|00000810| 20 66 6f 72 6d 61 74 20 | 6f 66 20 74 68 65 20 46 | format |of the F|
|00000820| 6f 6e 74 20 64 61 74 61 | 20 69 6e 20 74 68 69 73 |ont data| in this|
|00000830| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 0a 09 09 | distrib|ution...|
|00000840| 09 09 77 61 73 20 6f 72 | 69 67 69 6e 61 6c 6c 79 |..was or|iginally|
|00000850| 20 63 72 65 61 74 65 64 | 20 62 79 0a 09 09 09 09 | created| by.....|
|00000860| 09 4a 61 6d 65 73 20 48 | 75 72 74 0a 09 09 09 09 |.James H|urt.....|
|00000870| 09 43 6f 67 6e 69 74 69 | 6f 6e 2c 20 49 6e 63 2e |.Cogniti|on, Inc.|
|00000880| 0a 09 09 09 09 09 39 30 | 30 20 54 65 63 68 6e 6f |......90|0 Techno|
|00000890| 6c 6f 67 79 20 50 61 72 | 6b 20 44 72 69 76 65 0a |logy Par|k Drive.|
|000008a0| 09 09 09 09 09 42 69 6c | 6c 65 72 69 63 61 2c 20 |.....Bil|lerica, |
|000008b0| 4d 41 20 30 31 38 32 31 | 0a 09 09 09 09 09 28 6d |MA 01821|......(m|
|000008c0| 69 74 2d 65 64 64 69 65 | 21 63 69 2d 64 61 6e 64 |it-eddie|!ci-dand|
|000008d0| 65 6c 69 6f 6e 21 68 75 | 72 74 29 0a 09 09 32 2e |elion!hu|rt)...2.|
|000008e0| 20 54 68 65 20 66 6f 6e | 74 20 64 61 74 61 20 69 | The fon|t data i|
|000008f0| 6e 20 74 68 69 73 20 64 | 69 73 74 72 69 62 75 74 |n this d|istribut|
|00000900| 69 6f 6e 20 6d 61 79 20 | 62 65 20 63 6f 6e 76 65 |ion may |be conve|
|00000910| 72 74 65 64 20 69 6e 74 | 6f 0a 09 09 09 61 6e 79 |rted int|o....any|
|00000920| 20 6f 74 68 65 72 20 66 | 6f 72 6d 61 74 20 2a 45 | other f|ormat *E|
|00000930| 58 43 45 50 54 2a 20 74 | 68 65 20 66 6f 72 6d 61 |XCEPT* t|he forma|
|00000940| 74 20 64 69 73 74 72 69 | 62 75 74 65 64 20 62 79 |t distri|buted by|
|00000950| 0a 09 09 09 74 68 65 20 | 55 2e 53 2e 20 4e 54 49 |....the |U.S. NTI|
|00000960| 53 20 28 77 68 69 63 68 | 20 6f 72 67 61 6e 69 7a |S (which| organiz|
|00000970| 61 74 69 6f 6e 20 68 6f | 6c 64 73 20 74 68 65 20 |ation ho|lds the |
|00000980| 72 69 67 68 74 73 0a 09 | 09 09 74 6f 20 74 68 65 |rights..|..to the|
|00000990| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 61 6e | distrib|ution an|
|000009a0| 64 20 75 73 65 20 6f 66 | 20 74 68 65 20 66 6f 6e |d use of| the fon|
|000009b0| 74 20 64 61 74 61 20 69 | 6e 20 74 68 61 74 0a 09 |t data i|n that..|
|000009c0| 09 09 70 61 72 74 69 63 | 75 6c 61 72 20 66 6f 72 |..partic|ular for|
|000009d0| 6d 61 74 29 2e 20 4e 6f | 74 20 74 68 61 74 20 61 |mat). No|t that a|
|000009e0| 6e 79 62 6f 64 79 20 77 | 6f 75 6c 64 20 72 65 61 |nybody w|ould rea|
|000009f0| 6c 6c 79 0a 09 09 09 2a | 77 61 6e 74 2a 20 74 6f |lly....*|want* to|
|00000a00| 20 75 73 65 20 74 68 65 | 69 72 20 66 6f 72 6d 61 | use the|ir forma|
|00000a10| 74 2e 2e 2e 20 65 61 63 | 68 20 70 6f 69 6e 74 20 |t... eac|h point |
|00000a20| 69 73 20 64 65 73 63 72 | 69 62 65 64 0a 09 09 09 |is descr|ibed....|
|00000a30| 69 6e 20 65 69 67 68 74 | 20 62 79 74 65 73 20 61 |in eight| bytes a|
|00000a40| 73 20 22 78 78 78 20 79 | 79 79 3a 22 2c 20 77 68 |s "xxx y|yy:", wh|
|00000a50| 65 72 65 20 78 78 78 20 | 61 6e 64 20 79 79 79 20 |ere xxx |and yyy |
|00000a60| 61 72 65 0a 09 09 09 74 | 68 65 20 63 6f 6f 72 64 |are....t|he coord|
|00000a70| 69 6e 61 74 65 20 76 61 | 6c 75 65 73 20 61 73 20 |inate va|lues as |
|00000a80| 41 53 43 49 49 20 6e 75 | 6d 62 65 72 73 2e 0a 0a |ASCII nu|mbers...|
|00000a90| 2a 50 4c 45 41 53 45 2a | 20 62 65 20 72 65 61 73 |*PLEASE*| be reas|
|00000aa0| 73 75 72 65 64 3a 20 54 | 68 65 20 6c 65 67 61 6c |sured: T|he legal|
|00000ab0| 20 69 6d 70 6c 69 63 61 | 74 69 6f 6e 73 20 6f 66 | implica|tions of|
|00000ac0| 20 4e 54 49 53 27 20 61 | 74 74 65 6d 70 74 20 74 | NTIS' a|ttempt t|
|00000ad0| 6f 20 63 6f 6e 74 72 6f | 6c 0a 61 20 70 61 72 74 |o contro|l.a part|
|00000ae0| 69 63 75 6c 61 72 20 66 | 6f 72 6d 20 6f 66 20 74 |icular f|orm of t|
|00000af0| 68 65 20 48 65 72 73 68 | 65 79 20 46 6f 6e 74 73 |he Hersh|ey Fonts|
|00000b00| 20 2a 61 72 65 2a 20 74 | 72 6f 75 62 6c 69 6e 67 | *are* t|roubling|
|00000b10| 2e 20 48 4f 57 45 56 45 | 52 3a 20 57 65 20 68 61 |. HOWEVE|R: We ha|
|00000b20| 76 65 0a 62 65 65 6e 20 | 65 6e 64 6c 65 73 73 6c |ve.been |endlessl|
|00000b30| 79 20 61 6e 64 20 72 65 | 70 65 61 74 65 64 6c 79 |y and re|peatedly|
|00000b40| 20 61 73 73 75 72 65 64 | 20 62 79 20 4e 54 49 53 | assured| by NTIS|
|00000b50| 20 74 68 61 74 20 74 68 | 65 79 20 64 6f 20 6e 6f | that th|ey do no|
|00000b60| 74 20 63 61 72 65 20 77 | 68 61 74 0a 77 65 20 64 |t care w|hat.we d|
|00000b70| 6f 20 77 69 74 68 20 6f | 75 72 20 76 65 72 73 69 |o with o|ur versi|
|00000b80| 6f 6e 20 6f 66 20 74 68 | 65 20 66 6f 6e 74 20 64 |on of th|e font d|
|00000b90| 61 74 61 2c 20 74 68 65 | 79 20 64 6f 20 6e 6f 74 |ata, the|y do not|
|00000ba0| 20 77 61 6e 74 20 74 6f | 20 6b 6e 6f 77 20 61 62 | want to| know ab|
|00000bb0| 6f 75 74 20 69 74 2c 0a | 74 68 65 79 20 75 6e 64 |out it,.|they und|
|00000bc0| 65 72 73 74 61 6e 64 20 | 74 68 61 74 20 77 65 20 |erstand |that we |
|00000bd0| 61 72 65 20 64 69 73 74 | 72 69 62 75 74 69 6e 67 |are dist|ributing|
|00000be0| 20 74 68 69 73 20 69 6e | 66 6f 72 6d 61 74 69 6f | this in|formatio|
|00000bf0| 6e 20 61 6c 6c 20 6f 76 | 65 72 20 74 68 65 20 77 |n all ov|er the w|
|00000c00| 6f 72 6c 64 2c 0a 65 74 | 63 20 65 74 63 20 65 74 |orld,.et|c etc et|
|00000c10| 63 2e 2e 2e 20 62 75 74 | 20 62 65 63 61 75 73 65 |c... but| because|
|00000c20| 20 69 74 20 69 73 6e 27 | 74 20 69 6e 20 74 68 65 | it isn'|t in the|
|00000c30| 69 72 20 2a 65 78 61 63 | 74 2a 20 64 69 73 74 72 |ir *exac|t* distr|
|00000c40| 69 62 75 74 69 6f 6e 20 | 66 6f 72 6d 61 74 2c 20 |ibution |format, |
|00000c50| 74 68 65 79 0a 6a 75 73 | 74 20 64 6f 6e 27 74 20 |they.jus|t don't |
|00000c60| 63 61 72 65 21 21 21 20 | 53 6f 20 67 6f 20 61 68 |care!!! |So go ah|
|00000c70| 65 61 64 20 61 6e 64 20 | 75 73 65 20 74 68 65 20 |ead and |use the |
|00000c80| 64 61 74 61 20 77 69 74 | 68 20 61 20 63 6c 65 61 |data wit|h a clea|
|00000c90| 72 20 63 6f 6e 73 63 69 | 65 6e 63 65 21 20 28 49 |r consci|ence! (I|
|00000ca0| 66 0a 79 6f 75 20 66 65 | 65 6c 20 62 61 64 20 61 |f.you fe|el bad a|
|00000cb0| 62 6f 75 74 20 69 74 2c | 20 74 61 6b 65 20 61 20 |bout it,| take a |
|00000cc0| 73 6d 61 6c 6c 65 72 20 | 64 65 64 75 63 74 69 6f |smaller |deductio|
|00000cd0| 6e 20 66 6f 72 20 73 6f | 6d 65 74 68 69 6e 67 20 |n for so|mething |
|00000ce0| 6f 6e 20 79 6f 75 72 20 | 74 61 78 65 73 0a 6e 65 |on your |taxes.ne|
|00000cf0| 78 74 20 77 65 65 6b 2e | 2e 2e 29 0a 0a 54 68 65 |xt week.|..)..The|
|00000d00| 20 48 65 72 73 68 65 79 | 20 46 6f 6e 74 73 3a 0a | Hershey| Fonts:.|
|00000d10| 09 2d 20 61 72 65 20 61 | 20 73 65 74 20 6f 66 20 |.- are a| set of |
|00000d20| 6d 6f 72 65 20 74 68 61 | 6e 20 32 30 30 30 20 67 |more tha|n 2000 g|
|00000d30| 6c 79 70 68 20 28 73 79 | 6d 62 6f 6c 29 20 64 65 |lyph (sy|mbol) de|
|00000d40| 73 63 72 69 70 74 69 6f | 6e 73 20 69 6e 20 76 65 |scriptio|ns in ve|
|00000d50| 63 74 6f 72 20 0a 09 09 | 28 20 3c 78 2c 79 3e 20 |ctor ...|( <x,y> |
|00000d60| 70 6f 69 6e 74 2d 74 6f | 2d 70 6f 69 6e 74 20 29 |point-to|-point )|
|00000d70| 20 66 6f 72 6d 61 74 0a | 09 2d 20 63 61 6e 20 62 | format.|.- can b|
|00000d80| 65 20 67 72 6f 75 70 65 | 64 20 61 73 20 61 6c 6d |e groupe|d as alm|
|00000d90| 6f 73 74 20 32 30 20 27 | 6f 63 63 69 64 65 6e 74 |ost 20 '|occident|
|00000da0| 61 6c 27 20 28 65 6e 67 | 6c 69 73 68 2c 20 67 72 |al' (eng|lish, gr|
|00000db0| 65 65 6b 2c 0a 09 09 63 | 79 72 69 6c 6c 69 63 29 |eek,...c|yrillic)|
|00000dc0| 20 66 6f 6e 74 73 2c 20 | 33 20 6f 72 20 6d 6f 72 | fonts, |3 or mor|
|00000dd0| 65 20 27 6f 72 69 65 6e | 74 61 6c 27 20 28 4b 61 |e 'orien|tal' (Ka|
|00000de0| 6e 6a 69 2c 20 48 69 72 | 61 67 61 6e 61 2c 0a 09 |nji, Hir|agana,..|
|00000df0| 09 61 6e 64 20 4b 61 74 | 61 6b 61 6e 61 29 20 66 |.and Kat|akana) f|
|00000e00| 6f 6e 74 73 2c 20 61 6e | 64 20 61 20 66 65 77 20 |onts, an|d a few |
|00000e10| 68 75 6e 64 72 65 64 20 | 6d 69 73 63 65 6c 6c 61 |hundred |miscella|
|00000e20| 6e 65 6f 75 73 0a 09 09 | 73 79 6d 62 6f 6c 73 20 |neous...|symbols |
|00000e30| 28 6d 61 74 68 65 6d 61 | 74 69 63 61 6c 2c 20 6d |(mathema|tical, m|
|00000e40| 75 73 69 63 61 6c 2c 20 | 63 61 72 74 6f 67 72 61 |usical, |cartogra|
|00000e50| 70 68 69 63 2c 20 65 74 | 63 20 65 74 63 29 0a 09 |phic, et|c etc)..|
|00000e60| 2d 20 61 72 65 20 73 75 | 69 74 61 62 6c 65 20 66 |- are su|itable f|
|00000e70| 6f 72 20 74 79 70 6f 67 | 72 61 70 68 69 63 20 71 |or typog|raphic q|
|00000e80| 75 61 6c 69 74 79 20 6f | 75 74 70 75 74 20 6f 6e |uality o|utput on|
|00000e90| 20 61 20 76 65 63 74 6f | 72 20 64 65 76 69 63 65 | a vecto|r device|
|00000ea0| 0a 09 09 28 73 75 63 68 | 20 61 73 20 61 20 70 6c |...(such| as a pl|
|00000eb0| 6f 74 74 65 72 29 20 77 | 68 65 6e 20 75 73 65 64 |otter) w|hen used|
|00000ec0| 20 61 74 20 61 6e 20 61 | 70 70 72 6f 70 72 69 61 | at an a|ppropria|
|00000ed0| 74 65 20 73 63 61 6c 65 | 2e 0a 09 2d 20 77 65 72 |te scale|...- wer|
|00000ee0| 65 20 64 69 67 69 74 69 | 7a 65 64 20 62 79 20 44 |e digiti|zed by D|
|00000ef0| 72 2e 20 41 2e 20 56 2e | 20 48 65 72 73 68 65 79 |r. A. V.| Hershey|
|00000f00| 20 77 68 69 6c 65 20 77 | 6f 72 6b 69 6e 67 20 66 | while w|orking f|
|00000f10| 6f 72 20 74 68 65 20 55 | 2e 53 2e 0a 09 09 47 6f |or the U|.S....Go|
|00000f20| 76 65 72 6e 6d 65 6e 74 | 20 4e 61 74 69 6f 6e 61 |vernment| Nationa|
|00000f30| 6c 20 42 75 72 65 61 75 | 20 6f 66 20 53 74 61 6e |l Bureau| of Stan|
|00000f40| 64 61 72 64 73 20 28 4e | 42 53 29 2e 0a 09 2d 20 |dards (N|BS)...- |
|00000f50| 61 72 65 20 69 6e 20 74 | 68 65 20 70 75 62 6c 69 |are in t|he publi|
|00000f60| 63 20 64 6f 6d 61 69 6e | 2c 20 77 69 74 68 20 61 |c domain|, with a|
|00000f70| 20 66 65 77 20 63 61 76 | 65 61 74 73 3a 0a 09 09 | few cav|eats:...|
|00000f80| 2d 20 54 68 65 79 20 61 | 72 65 20 61 76 61 69 6c |- They a|re avail|
|00000f90| 61 62 6c 65 20 66 72 6f | 6d 20 4e 54 49 53 20 28 |able fro|m NTIS (|
|00000fa0| 4e 61 74 69 6f 6e 61 6c | 20 54 65 63 68 6e 69 63 |National| Technic|
|00000fb0| 61 6c 20 49 6e 66 6f 2e | 0a 09 09 09 53 65 72 76 |al Info.|....Serv|
|00000fc0| 69 63 65 29 20 69 6e 20 | 61 20 63 6f 6d 70 75 74 |ice) in |a comput|
|00000fd0| 65 72 2d 72 65 61 64 61 | 62 6c 65 20 66 72 6f 6d |er-reada|ble from|
|00000fe0| 20 77 68 69 63 68 20 69 | 73 20 2a 6e 6f 74 2a 0a | which i|s *not*.|
|00000ff0| 09 09 09 69 6e 20 74 68 | 65 20 70 75 62 6c 69 63 |...in th|e public|
|00001000| 20 64 6f 6d 61 69 6e 2e | 20 54 68 69 73 20 66 6f | domain.| This fo|
|00001010| 72 6d 61 74 20 69 73 20 | 64 65 73 63 72 69 62 65 |rmat is |describe|
|00001020| 64 20 69 6e 0a 09 09 09 | 61 20 68 61 72 64 63 6f |d in....|a hardco|
|00001030| 70 79 20 70 75 62 6c 69 | 63 61 74 69 6f 6e 20 22 |py publi|cation "|
|00001040| 54 61 62 6c 65 73 20 6f | 66 20 43 6f 6f 72 64 69 |Tables o|f Coordi|
|00001050| 6e 61 74 65 73 20 66 6f | 72 0a 09 09 09 48 65 72 |nates fo|r....Her|
|00001060| 73 68 65 79 27 73 20 52 | 65 70 65 72 74 6f 72 79 |shey's R|epertory|
|00001070| 20 6f 66 20 4f 63 63 69 | 64 65 6e 74 61 6c 20 54 | of Occi|dental T|
|00001080| 79 70 65 20 46 6f 6e 74 | 73 20 61 6e 64 0a 09 09 |ype Font|s and...|
|00001090| 09 47 72 61 70 68 69 63 | 20 53 79 6d 62 6f 6c 73 |.Graphic| Symbols|
|000010a0| 22 20 61 76 61 69 6c 61 | 62 6c 65 20 66 72 6f 6d |" availa|ble from|
|000010b0| 20 4e 54 49 53 20 66 6f | 72 20 6c 65 73 73 20 74 | NTIS fo|r less t|
|000010c0| 68 61 6e 0a 09 09 09 24 | 32 30 20 55 53 20 28 70 |han....$|20 US (p|
|000010d0| 68 6f 6e 65 20 6e 75 6d | 62 65 72 20 2b 31 20 37 |hone num|ber +1 7|
|000010e0| 30 33 20 34 38 37 20 34 | 37 36 33 29 2e 0a 09 09 |03 487 4|763)....|
|000010f0| 2d 20 4e 54 49 53 20 64 | 6f 65 73 20 6e 6f 74 20 |- NTIS d|oes not |
|00001100| 63 61 72 65 20 61 62 6f | 75 74 20 61 6e 64 20 64 |care abo|ut and d|
|00001110| 6f 65 73 6e 27 74 20 77 | 61 6e 74 20 74 6f 20 6b |oesn't w|ant to k|
|00001120| 6e 6f 77 20 61 62 6f 75 | 74 0a 09 09 09 77 68 61 |now abou|t....wha|
|00001130| 74 20 68 61 70 70 65 6e | 73 20 74 6f 20 48 65 72 |t happen|s to Her|
|00001140| 73 68 65 79 20 46 6f 6e | 74 20 64 61 74 61 20 74 |shey Fon|t data t|
|00001150| 68 61 74 20 69 73 20 6e | 6f 74 0a 09 09 09 64 69 |hat is n|ot....di|
|00001160| 73 74 72 69 62 75 74 65 | 64 20 69 6e 20 74 68 65 |stribute|d in the|
|00001170| 69 72 20 65 78 61 63 74 | 20 66 6f 72 6d 61 74 2e |ir exact| format.|
|00001180| 0a 09 09 2d 20 54 68 69 | 73 20 64 69 73 74 72 69 |...- Thi|s distri|
|00001190| 62 75 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 69 6e |bution i|s not in|
|000011a0| 20 74 68 65 20 4e 54 49 | 53 20 66 6f 72 6d 61 74 | the NTI|S format|
|000011b0| 2c 20 61 6e 64 20 74 68 | 75 73 20 69 73 0a 09 09 |, and th|us is...|
|000011c0| 09 6f 6e 6c 79 20 73 75 | 62 6a 65 63 74 20 74 6f |.only su|bject to|
|000011d0| 20 74 68 65 20 73 69 6d | 70 6c 65 20 72 65 73 74 | the sim|ple rest|
|000011e0| 72 69 63 74 69 6f 6e 20 | 64 65 73 63 72 69 62 65 |riction |describe|
|000011f0| 64 0a 09 09 09 61 74 20 | 74 68 65 20 74 6f 70 20 |d....at |the top |
|00001200| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 2e 0a 0a 48 |of this |file...H|
|00001210| 61 72 64 20 43 6f 70 79 | 20 73 61 6d 70 6c 65 73 |ard Copy| samples|
|00001220| 20 6f 66 20 74 68 65 20 | 48 65 72 73 68 65 79 20 | of the |Hershey |
|00001230| 46 6f 6e 74 73 20 61 72 | 65 20 62 65 73 74 20 6f |Fonts ar|e best o|
|00001240| 62 74 61 69 6e 65 64 20 | 62 79 20 70 75 72 63 68 |btained |by purch|
|00001250| 61 73 69 6e 67 20 74 68 | 65 0a 62 6f 6f 6b 20 64 |asing th|e.book d|
|00001260| 65 73 63 72 69 62 65 64 | 20 61 62 6f 76 65 20 66 |escribed| above f|
|00001270| 72 6f 6d 20 4e 54 49 53 | 2e 20 49 74 20 63 6f 6e |rom NTIS|. It con|
|00001280| 74 61 69 6e 73 20 61 20 | 73 61 6d 70 6c 65 20 6f |tains a |sample o|
|00001290| 66 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 4f 63 63 |f all of| the Occ|
|000012a0| 69 64 65 6e 74 61 6c 0a | 73 79 6d 62 6f 6c 73 20 |idental.|symbols |
|000012b0| 28 62 75 74 20 6e 6f 6e | 65 20 6f 66 20 74 68 65 |(but non|e of the|
|000012c0| 20 4f 72 69 65 6e 74 61 | 6c 20 73 79 6d 62 6f 6c | Orienta|l symbol|
|000012d0| 73 29 2e 0a 0a 54 68 69 | 73 20 64 69 73 74 72 69 |s)...Thi|s distri|
|000012e0| 62 75 74 69 6f 6e 3a 0a | 09 2d 20 63 6f 6e 74 61 |bution:.|.- conta|
|000012f0| 69 6e 73 0a 09 09 2a 20 | 61 20 63 6f 6d 70 6c 65 |ins...* |a comple|
|00001300| 74 65 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 46 |te copy |of the F|
|00001310| 6f 6e 74 20 64 61 74 61 | 20 75 73 69 6e 67 20 74 |ont data| using t|
|00001320| 68 65 20 6f 72 69 67 69 | 6e 61 6c 0a 09 09 09 67 |he origi|nal....g|
|00001330| 6c 79 70 68 2d 6e 75 6d | 62 65 72 69 6e 67 20 73 |lyph-num|bering s|
|00001340| 65 71 75 65 6e 63 65 0a | 09 09 2a 20 61 20 73 65 |equence.|..* a se|
|00001350| 74 20 6f 66 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |t of tra|nslation|
|00001360| 20 74 61 62 6c 65 73 20 | 74 68 61 74 20 63 6f 75 | tables |that cou|
|00001370| 6c 64 20 62 65 20 75 73 | 65 64 20 74 6f 20 67 65 |ld be us|ed to ge|
|00001380| 6e 65 72 61 74 65 0a 09 | 09 09 41 53 43 49 49 2d |nerate..|..ASCII-|
|00001390| 73 65 71 75 65 6e 63 65 | 20 66 6f 6e 74 73 20 69 |sequence| fonts i|
|000013a0| 6e 20 76 61 72 69 6f 75 | 73 20 74 79 70 65 73 74 |n variou|s typest|
|000013b0| 79 6c 65 73 0a 09 09 2a | 20 61 20 63 6f 75 70 6c |yles...*| a coupl|
|000013c0| 65 20 6f 66 20 73 61 6d | 70 6c 65 20 70 72 6f 67 |e of sam|ple prog|
|000013d0| 72 61 6d 73 20 69 6e 20 | 43 20 61 6e 64 20 46 6f |rams in |C and Fo|
|000013e0| 72 74 72 61 6e 20 74 68 | 61 74 20 61 72 65 0a 09 |rtran th|at are..|
|000013f0| 09 09 63 61 70 61 62 6c | 65 20 6f 66 20 70 61 72 |..capabl|e of par|
|00001400| 73 69 6e 67 20 74 68 65 | 20 66 6f 6e 74 20 64 61 |sing the| font da|
|00001410| 74 61 20 61 6e 64 20 64 | 69 73 70 6c 61 79 69 6e |ta and d|isplayin|
|00001420| 67 20 69 74 0a 09 09 09 | 6f 6e 20 61 20 67 72 61 |g it....|on a gra|
|00001430| 70 68 69 63 20 64 65 76 | 69 63 65 20 28 77 65 20 |phic dev|ice (we |
|00001440| 72 65 63 6f 6d 6d 65 6e | 64 20 74 68 61 74 20 69 |recommen|d that i|
|00001450| 66 20 79 6f 75 0a 09 09 | 09 77 69 73 68 20 74 6f |f you...|.wish to|
|00001460| 20 77 72 69 74 65 20 70 | 72 6f 67 72 61 6d 73 20 | write p|rograms |
|00001470| 75 73 69 6e 67 20 74 68 | 65 20 66 6f 6e 74 73 2c |using th|e fonts,|
|00001480| 20 79 6f 75 20 73 68 6f | 75 6c 64 0a 09 09 09 68 | you sho|uld....h|
|00001490| 61 63 6b 20 75 70 20 6f | 6e 65 20 6f 66 20 74 68 |ack up o|ne of th|
|000014a0| 65 73 65 20 75 6e 74 69 | 6c 20 69 74 20 77 6f 72 |ese unti|l it wor|
|000014b0| 6b 73 20 6f 6e 20 79 6f | 75 72 20 73 79 73 74 65 |ks on yo|ur syste|
|000014c0| 6d 29 0a 09 09 09 0a 09 | 2d 20 63 6f 6e 73 69 73 |m)......|- consis|
|000014d0| 74 73 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ts of th|e follow|
|000014e0| 69 6e 67 20 66 69 6c 65 | 73 2e 2e 2e 0a 09 09 68 |ing file|s......h|
|000014f0| 65 72 73 68 65 79 2e 64 | 6f 63 20 2d 20 64 65 74 |ershey.d|oc - det|
|00001500| 61 69 6c 73 20 6f 66 20 | 74 68 65 20 66 6f 6e 74 |ails of |the font|
|00001510| 20 64 61 74 61 20 66 6f | 72 6d 61 74 2c 20 74 79 | data fo|rmat, ty|
|00001520| 70 65 73 74 79 6c 65 73 | 20 61 6e 64 0a 09 09 09 |pestyles| and....|
|00001530| 09 73 79 6d 62 6f 6c 73 | 20 69 6e 63 6c 75 64 65 |.symbols| include|
|00001540| 64 2c 20 65 74 63 2e 0a | 09 09 68 65 72 73 68 2e |d, etc..|..hersh.|
|00001550| 6f 63 5b 31 2d 34 5d 20 | 2d 20 54 68 65 20 4f 63 |oc[1-4] |- The Oc|
|00001560| 63 69 64 65 6e 74 61 6c | 20 66 6f 6e 74 20 64 61 |cidental| font da|
|00001570| 74 61 20 28 74 68 65 73 | 65 20 66 69 6c 65 73 20 |ta (thes|e files |
|00001580| 63 61 6e 0a 09 09 09 09 | 09 62 65 20 63 61 74 65 |can.....|.be cate|
|00001590| 6e 61 74 65 64 20 69 6e | 74 6f 20 6f 6e 65 20 6c |nated in|to one l|
|000015a0| 61 72 67 65 20 64 61 74 | 61 62 61 73 65 29 0a 09 |arge dat|abase)..|
|000015b0| 09 68 65 72 73 68 2e 6f | 72 5b 31 2d 34 5d 20 2d |.hersh.o|r[1-4] -|
|000015c0| 20 54 68 65 20 4f 72 69 | 65 6e 74 61 6c 20 66 6f | The Ori|ental fo|
|000015d0| 6e 74 20 64 61 74 61 20 | 28 6c 69 6b 65 77 69 73 |nt data |(likewis|
|000015e0| 65 20 68 65 72 65 29 0a | 09 09 2a 2e 68 6d 70 20 |e here).|..*.hmp |
|000015f0| 2d 20 4f 63 63 69 64 65 | 6e 74 61 6c 20 66 6f 6e |- Occide|ntal fon|
|00001600| 74 20 6d 61 70 20 66 69 | 6c 65 73 2e 20 45 61 63 |t map fi|les. Eac|
|00001610| 68 20 66 69 6c 65 20 69 | 73 20 61 20 74 72 61 6e |h file i|s a tran|
|00001620| 73 6c 61 74 69 6f 6e 0a | 09 09 09 09 74 61 62 6c |slation.|....tabl|
|00001630| 65 20 66 72 6f 6d 20 48 | 65 72 73 68 65 79 20 67 |e from H|ershey g|
|00001640| 6c 79 70 68 20 6e 75 6d | 62 65 72 73 20 74 6f 20 |lyph num|bers to |
|00001650| 41 53 43 49 49 0a 09 09 | 09 09 73 65 71 75 65 6e |ASCII...|..sequen|
|00001660| 63 65 20 66 6f 72 20 61 | 20 70 61 72 74 69 63 75 |ce for a| particu|
|00001670| 6c 61 72 20 74 79 70 65 | 73 74 79 6c 65 2e 0a 09 |lar type|style...|
|00001680| 09 68 65 72 73 68 65 79 | 2e 66 37 37 20 2d 20 41 |.hershey|.f77 - A|
|00001690| 20 66 6f 72 74 72 61 6e | 20 70 72 6f 67 72 61 6d | fortran| program|
|000016a0| 20 74 68 61 74 20 72 65 | 61 64 73 20 61 6e 64 20 | that re|ads and |
|000016b0| 64 69 73 70 6c 61 79 73 | 20 61 6c 6c 0a 09 09 09 |displays| all....|
|000016c0| 09 6f 66 20 74 68 65 20 | 67 6c 79 70 68 73 20 69 |.of the |glyphs i|
|000016d0| 6e 20 61 20 48 65 72 73 | 68 65 79 20 66 6f 6e 74 |n a Hers|hey font|
|000016e0| 20 66 69 6c 65 2e 0a 09 | 09 68 65 72 73 68 65 79 | file...|.hershey|
|000016f0| 2e 63 20 20 20 2d 20 54 | 68 65 20 73 61 6d 65 2c |.c - T|he same,|
|00001700| 20 69 6e 20 43 2c 20 75 | 73 69 6e 67 20 47 4b 53 | in C, u|sing GKS|
|00001710| 2c 20 66 6f 72 20 4d 53 | 2d 44 4f 53 20 61 6e 64 |, for MS|-DOS and|
|00001720| 20 74 68 65 0a 09 09 09 | 09 50 43 2d 43 6f 6c 6f | the....|.PC-Colo|
|00001730| 72 20 47 72 61 70 68 69 | 63 73 20 41 64 61 70 74 |r Graphi|cs Adapt|
|00001740| 6f 72 2e 0a 0a 41 64 64 | 69 74 69 6f 6e 61 6c 20 |or...Add|itional |
|00001750| 57 6f 72 6b 20 54 6f 20 | 42 65 20 44 6f 6e 65 20 |Work To |Be Done |
|00001760| 28 76 6f 6c 75 6e 74 65 | 65 72 73 20 77 65 6c 63 |(volunte|ers welc|
|00001770| 6f 6d 65 21 29 3a 0a 0a | 09 2d 20 49 6e 74 65 67 |ome!):..|.- Integ|
|00001780| 72 61 74 65 20 74 68 69 | 73 20 63 6f 6d 70 6c 65 |rate thi|s comple|
|00001790| 74 65 20 73 65 74 20 6f | 66 20 64 61 74 61 20 77 |te set o|f data w|
|000017a0| 69 74 68 20 74 68 65 20 | 68 65 72 73 68 65 79 20 |ith the |hershey |
|000017b0| 66 6f 6e 74 20 74 79 70 | 65 73 65 74 74 69 6e 67 |font typ|esetting|
|000017c0| 0a 09 09 70 72 6f 67 72 | 61 6d 20 72 65 63 65 6e |...progr|am recen|
|000017d0| 74 6c 79 20 64 69 73 74 | 72 69 62 75 74 65 64 20 |tly dist|ributed |
|000017e0| 74 6f 20 6d 6f 64 2e 73 | 6f 75 72 63 65 73 0a 09 |to mod.s|ources..|
|000017f0| 2d 20 43 6f 6d 65 20 75 | 70 20 77 69 74 68 20 61 |- Come u|p with a|
|00001800| 6e 20 69 6e 74 65 67 72 | 61 74 65 64 20 64 61 74 |n integr|ated dat|
|00001810| 61 20 73 74 72 75 63 74 | 75 72 65 20 61 6e 64 20 |a struct|ure and |
|00001820| 73 75 70 70 6f 72 74 69 | 6e 67 20 72 6f 75 74 69 |supporti|ng routi|
|00001830| 6e 65 73 0a 09 09 74 68 | 61 74 20 6d 61 6b 65 20 |nes...th|at make |
|00001840| 75 73 65 20 6f 66 20 74 | 68 65 20 41 53 43 49 49 |use of t|he ASCII|
|00001850| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 20 74 61 62 | transla|tion tab|
|00001860| 6c 65 73 0a 09 2d 20 44 | 69 67 69 74 69 7a 65 20 |les..- D|igitize |
|00001870| 61 64 64 69 74 69 6f 6e | 61 6c 20 63 68 61 72 61 |addition|al chara|
|00001880| 63 74 65 72 73 20 66 6f | 72 20 74 68 65 20 66 65 |cters fo|r the fe|
|00001890| 77 20 70 6c 61 63 65 73 | 20 77 68 65 72 65 20 6e |w places| where n|
|000018a0| 6f 6e 2d 69 64 65 61 6c | 0a 09 09 73 79 6d 62 6f |on-ideal|...symbo|
|000018b0| 6c 20 73 75 62 73 74 69 | 74 75 74 69 6f 6e 73 20 |l substi|tutions |
|000018c0| 77 65 72 65 20 6d 61 64 | 65 20 69 6e 20 74 68 65 |were mad|e in the|
|000018d0| 20 41 53 43 49 49 20 74 | 72 61 6e 73 6c 61 74 69 | ASCII t|ranslati|
|000018e0| 6f 6e 20 74 61 62 6c 65 | 73 2e 0a 09 2d 20 4d 61 |on table|s...- Ma|
|000018f0| 6b 65 20 61 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |ke a ver|sion of |
|00001900| 74 68 65 20 64 65 6d 6f | 20 70 72 6f 67 72 61 6d |the demo| program|
|00001910| 20 28 68 65 72 73 68 65 | 79 2e 63 20 6f 72 20 68 | (hershe|y.c or h|
|00001920| 65 72 73 68 65 79 2e 66 | 37 37 29 20 74 68 61 74 |ershey.f|77) that|
|00001930| 0a 09 09 75 73 65 73 20 | 74 68 65 20 73 74 61 6e |...uses |the stan|
|00001940| 64 61 72 64 20 55 6e 2a | 78 20 70 6c 6f 74 20 72 |dard Un*|x plot r|
|00001950| 6f 75 74 69 6e 65 73 2e | 0a 09 2d 20 57 72 69 74 |outines.|..- Writ|
|00001960| 65 20 61 20 62 61 6e 6e | 65 72 2d 73 74 79 6c 65 |e a bann|er-style|
|00001970| 20 70 72 6f 67 72 61 6d | 20 75 73 69 6e 67 20 48 | program| using H|
|00001980| 65 72 73 68 65 79 20 46 | 6f 6e 74 73 20 66 6f 72 |ershey F|onts for|
|00001990| 20 69 6e 70 75 74 20 61 | 6e 64 0a 09 09 6e 6f 6e | input a|nd...non|
|000019a0| 2d 67 72 61 70 68 69 63 | 20 74 65 72 6d 69 6e 61 |-graphic| termina|
|000019b0| 6c 73 20 6f 72 20 70 72 | 69 6e 74 65 72 73 20 66 |ls or pr|inters f|
|000019c0| 6f 72 20 6f 75 74 70 75 | 74 2e 0a 09 2d 20 41 6e |or outpu|t...- An|
|000019d0| 79 74 68 69 6e 67 20 65 | 6c 73 65 20 79 6f 75 27 |ything e|lse you'|
|000019e0| 64 20 6c 69 6b 65 21 0a | 53 48 41 52 5f 45 4f 46 |d like!.|SHAR_EOF|
|000019f0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 68 65 72 |.if test| -f 'her|
|00001a00| 73 68 65 79 2e 64 6f 63 | 27 0a 74 68 65 6e 0a 09 |shey.doc|'.then..|
|00001a10| 65 63 68 6f 20 73 68 61 | 72 3a 20 6f 76 65 72 2d |echo sha|r: over-|
|00001a20| 77 72 69 74 69 6e 67 20 | 65 78 69 73 74 69 6e 67 |writing |existing|
|00001a30| 20 66 69 6c 65 20 22 27 | 68 65 72 73 68 65 79 2e | file "'|hershey.|
|00001a40| 64 6f 63 27 22 0a 66 69 | 0a 63 61 74 20 3c 3c 20 |doc'".fi|.cat << |
|00001a50| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 68 65 72 |\SHAR_EO|F > 'her|
|00001a60| 73 68 65 79 2e 64 6f 63 | 27 0a 54 68 69 73 20 66 |shey.doc|'.This f|
|00001a70| 69 6c 65 20 70 72 6f 76 | 69 64 65 73 20 61 20 62 |ile prov|ides a b|
|00001a80| 72 69 65 66 20 64 65 73 | 63 72 69 70 74 69 6f 6e |rief des|cription|
|00001a90| 20 6f 66 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 73 | of the |contents|
|00001aa0| 20 6f 66 20 74 68 65 20 | 4f 63 63 69 64 65 6e 74 | of the |Occident|
|00001ab0| 61 6c 0a 48 65 72 73 68 | 65 79 20 46 6f 6e 74 20 |al.Hersh|ey Font |
|00001ac0| 46 69 6c 65 73 2e 20 46 | 6f 72 20 61 20 63 6f 6d |Files. F|or a com|
|00001ad0| 70 6c 65 74 65 20 6c 69 | 73 74 69 6e 67 20 6f 66 |plete li|sting of|
|00001ae0| 20 74 68 65 20 66 6f 6e | 74 73 20 69 6e 20 68 61 | the fon|ts in ha|
|00001af0| 72 64 20 63 6f 70 79 2c | 20 6f 72 64 65 72 0a 4e |rd copy,| order.N|
|00001b00| 42 53 20 53 70 65 63 69 | 61 6c 20 50 75 62 6c 69 |BS Speci|al Publi|
|00001b10| 63 61 74 69 6f 6e 20 34 | 32 34 2c 20 22 41 20 63 |cation 4|24, "A c|
|00001b20| 6f 6e 74 72 69 62 75 74 | 69 6f 6e 20 74 6f 20 63 |ontribut|ion to c|
|00001b30| 6f 6d 70 75 74 65 72 20 | 74 79 70 65 73 65 74 74 |omputer |typesett|
|00001b40| 69 6e 67 20 0a 74 65 63 | 68 6e 69 71 75 65 73 3a |ing .tec|hniques:|
|00001b50| 20 54 61 62 6c 65 73 20 | 6f 66 20 43 6f 6f 72 64 | Tables |of Coord|
|00001b60| 69 6e 61 74 65 73 20 66 | 6f 72 20 48 65 72 73 68 |inates f|or Hersh|
|00001b70| 65 79 27 73 20 52 65 70 | 65 72 74 6f 72 79 20 6f |ey's Rep|ertory o|
|00001b80| 66 20 4f 63 63 69 64 65 | 6e 74 61 6c 0a 54 79 70 |f Occide|ntal.Typ|
|00001b90| 65 20 46 6f 6e 74 73 20 | 61 6e 64 20 47 72 61 70 |e Fonts |and Grap|
|00001ba0| 68 69 63 20 53 79 6d 62 | 6f 6c 73 22 2e 20 59 6f |hic Symb|ols". Yo|
|00001bb0| 75 20 63 61 6e 20 67 65 | 74 20 69 74 20 66 72 6f |u can ge|t it fro|
|00001bc0| 6d 20 4e 54 49 53 20 28 | 70 68 6f 6e 65 20 6e 75 |m NTIS (|phone nu|
|00001bd0| 6d 62 65 72 20 69 73 0a | 2b 31 20 37 30 33 20 34 |mber is.|+1 703 4|
|00001be0| 38 37 20 34 37 36 33 29 | 20 66 6f 72 20 6c 65 73 |87 4763)| for les|
|00001bf0| 73 20 74 68 61 6e 20 74 | 77 65 6e 74 79 20 64 6f |s than t|wenty do|
|00001c00| 6c 6c 61 72 73 20 55 53 | 2e 0a 0a 42 61 73 69 63 |llars US|...Basic|
|00001c10| 20 47 6c 79 70 68 20 28 | 73 79 6d 62 6f 6c 29 20 | Glyph (|symbol) |
|00001c20| 64 61 74 61 3a 0a 0a 20 | 20 20 20 20 20 20 20 68 |data:.. | h|
|00001c30| 65 72 73 68 2e 6f 63 31 | 20 20 20 20 20 20 20 2d |ersh.oc1| -|
|00001c40| 20 6e 75 6d 62 65 72 73 | 20 31 20 74 6f 20 31 31 | numbers| 1 to 11|
|00001c50| 39 39 0a 20 20 20 20 20 | 20 20 20 68 65 72 73 68 |99. | hersh|
|00001c60| 2e 6f 63 32 20 20 20 20 | 20 20 20 2d 20 6e 75 6d |.oc2 | - num|
|00001c70| 62 65 72 73 20 31 32 30 | 30 20 74 6f 20 32 34 39 |bers 120|0 to 249|
|00001c80| 39 0a 20 20 20 20 20 20 | 20 20 68 65 72 73 68 2e |9. | hersh.|
|00001c90| 6f 63 33 20 20 20 20 20 | 20 20 2d 20 6e 75 6d 62 |oc3 | - numb|
|00001ca0| 65 72 73 20 32 35 30 30 | 20 74 6f 20 33 31 39 39 |ers 2500| to 3199|
|00001cb0| 0a 20 20 20 20 20 20 20 | 20 68 65 72 73 68 2e 6f |. | hersh.o|
|00001cc0| 63 34 20 20 20 20 20 20 | 20 2d 20 6e 75 6d 62 65 |c4 | - numbe|
|00001cd0| 72 73 20 33 32 30 30 20 | 74 6f 20 33 39 39 39 0a |rs 3200 |to 3999.|
|00001ce0| 0a 20 20 20 20 20 20 20 | 20 54 68 65 73 65 20 66 |. | These f|
|00001cf0| 6f 75 72 20 66 69 6c 65 | 73 20 63 6f 6e 74 61 69 |our file|s contai|
|00001d00| 6e 20 61 70 70 72 6f 78 | 69 6d 61 74 65 6c 79 20 |n approx|imately |
|00001d10| 31 39 20 64 69 66 66 65 | 72 65 6e 74 20 66 6f 6e |19 diffe|rent fon|
|00001d20| 74 73 20 69 6e 0a 74 68 | 65 20 41 2d 5a 20 61 6c |ts in.th|e A-Z al|
|00001d30| 70 68 61 62 65 74 20 70 | 6c 75 73 20 67 72 65 65 |phabet p|lus gree|
|00001d40| 6b 20 61 6e 64 20 63 79 | 72 69 6c 6c 69 63 2c 20 |k and cy|rillic, |
|00001d50| 61 6c 6f 6e 67 20 77 69 | 74 68 20 68 75 6e 64 72 |along wi|th hundr|
|00001d60| 65 64 73 20 6f 66 20 73 | 70 65 63 69 61 6c 0a 73 |eds of s|pecial.s|
|00001d70| 79 6d 62 6f 6c 73 2c 20 | 64 65 73 63 72 69 62 65 |ymbols, |describe|
|00001d80| 64 20 67 65 6e 65 72 69 | 63 61 6c 6c 79 20 62 65 |d generi|cally be|
|00001d90| 6c 6f 77 2e 0a 0a 20 20 | 20 20 20 20 20 20 54 68 |low... | Th|
|00001da0| 65 72 65 20 61 72 65 20 | 61 6c 73 6f 20 66 6f 75 |ere are |also fou|
|00001db0| 72 20 66 69 6c 65 73 20 | 6f 66 20 4f 72 69 65 6e |r files |of Orien|
|00001dc0| 74 61 6c 20 66 6f 6e 74 | 73 20 28 68 65 72 73 68 |tal font|s (hersh|
|00001dd0| 2e 6f 72 5b 31 2d 34 5d | 29 2e 20 54 68 65 73 65 |.or[1-4]|). These|
|00001de0| 0a 66 69 6c 65 73 20 63 | 6f 6e 74 61 69 6e 20 73 |.files c|ontain s|
|00001df0| 79 6d 62 6f 6c 73 20 66 | 72 6f 6d 20 74 68 72 65 |ymbols f|rom thre|
|00001e00| 65 20 4a 61 70 61 6e 65 | 73 65 20 61 6c 70 68 61 |e Japane|se alpha|
|00001e10| 62 65 74 73 20 28 4b 61 | 6e 6a 69 2c 20 48 69 72 |bets (Ka|nji, Hir|
|00001e20| 61 67 61 6e 61 2c 20 61 | 6e 64 0a 4b 61 74 61 6b |agana, a|nd.Katak|
|00001e30| 61 6e 61 29 2e 20 49 74 | 20 69 73 20 75 6e 6b 6e |ana). It| is unkn|
|00001e40| 6f 77 6e 20 77 68 61 74 | 20 6f 74 68 65 72 20 73 |own what| other s|
|00001e50| 79 6d 62 6f 6c 73 20 6d | 61 79 20 62 65 20 63 6f |ymbols m|ay be co|
|00001e60| 6e 74 61 69 6e 65 64 20 | 74 68 65 72 65 69 6e 2c |ntained |therein,|
|00001e70| 20 6e 6f 72 0a 69 73 20 | 69 74 20 6b 6e 6f 77 6e | nor.is |it known|
|00001e80| 20 77 68 61 74 20 6f 72 | 64 65 72 20 74 68 65 20 | what or|der the |
|00001e90| 73 79 6d 62 6f 6c 73 20 | 61 72 65 20 69 6e 20 28 |symbols |are in (|
|00001ea0| 49 20 64 6f 6e 27 74 20 | 6b 6e 6f 77 20 4a 61 70 |I don't |know Jap|
|00001eb0| 61 6e 65 73 65 21 29 2e | 0a 0a 20 20 20 20 20 20 |anese!).|.. |
|00001ec0| 20 20 42 61 63 6b 20 74 | 6f 20 74 68 65 20 4f 63 | Back t|o the Oc|
|00001ed0| 63 69 64 65 6e 74 61 6c | 20 66 69 6c 65 73 3a 0a |cidental| files:.|
|00001ee0| 0a 46 6f 6e 74 73 3a 0a | 20 20 20 20 20 20 20 20 |.Fonts:.| |
|00001ef0| 52 6f 6d 61 6e 3a 20 50 | 6c 61 69 6e 2c 20 53 69 |Roman: P|lain, Si|
|00001f00| 6d 70 6c 65 78 2c 20 44 | 75 70 6c 65 78 2c 20 43 |mplex, D|uplex, C|
|00001f10| 6f 6d 70 6c 65 78 20 53 | 6d 61 6c 6c 2c 20 43 6f |omplex S|mall, Co|
|00001f20| 6d 70 6c 65 78 2c 20 54 | 72 69 70 6c 65 78 0a 20 |mplex, T|riplex. |
|00001f30| 20 20 20 20 20 20 20 49 | 74 61 6c 69 63 3a 20 43 | I|talic: C|
|00001f40| 6f 6d 70 6c 65 78 20 53 | 6d 61 6c 6c 2c 20 43 6f |omplex S|mall, Co|
|00001f50| 6d 70 6c 65 78 2c 20 54 | 72 69 70 6c 65 78 0a 20 |mplex, T|riplex. |
|00001f60| 20 20 20 20 20 20 20 53 | 63 72 69 70 74 3a 20 53 | S|cript: S|
|00001f70| 69 6d 70 6c 65 78 2c 20 | 43 6f 6d 70 6c 65 78 0a |implex, |Complex.|
|00001f80| 20 20 20 20 20 20 20 20 | 47 6f 74 68 69 63 3a 20 | |Gothic: |
|00001f90| 47 65 72 6d 61 6e 2c 20 | 45 6e 67 6c 69 73 68 2c |German, |English,|
|00001fa0| 20 49 74 61 6c 69 61 6e | 0a 20 20 20 20 20 20 20 | Italian|. |
|00001fb0| 20 47 72 65 65 6b 3a 20 | 50 6c 61 69 6e 2c 20 53 | Greek: |Plain, S|
|00001fc0| 69 6d 70 6c 65 78 2c 20 | 43 6f 6d 70 6c 65 78 20 |implex, |Complex |
|00001fd0| 53 6d 61 6c 6c 2c 20 43 | 6f 6d 70 6c 65 78 0a 20 |Small, C|omplex. |
|00001fe0| 20 20 20 20 20 20 20 43 | 79 72 69 6c 6c 69 63 3a | C|yrillic:|
|00001ff0| 20 43 6f 6d 70 6c 65 78 | 0a 0a 53 79 6d 62 6f 6c | Complex|..Symbol|
|00002000| 73 3a 0a 20 20 20 20 20 | 20 20 20 4d 61 74 68 65 |s:. | Mathe|
|00002010| 6d 61 74 69 63 61 6c 20 | 28 32 32 37 2d 32 32 39 |matical |(227-229|
|00002020| 2c 32 33 32 2c 37 32 37 | 2d 37 37 39 2c 37 33 32 |,232,727|-779,732|
|00002030| 2c 37 33 37 2d 37 34 30 | 2c 31 32 32 37 2d 31 32 |,737-740|,1227-12|
|00002040| 37 30 2c 32 32 32 37 2d | 32 32 37 30 2c 0a 20 20 |70,2227-|2270,. |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002060| 20 20 20 20 20 20 31 32 | 39 34 2d 31 34 31 32 2c | 12|94-1412,|
|00002070| 32 32 39 34 2d 32 32 39 | 35 2c 32 34 30 31 2d 32 |2294-229|5,2401-2|
|00002080| 34 31 32 29 0a 20 20 20 | 20 20 20 20 20 44 61 67 |412). | Dag|
|00002090| 67 65 72 73 20 28 66 6f | 72 20 66 6f 6f 74 6e 6f |gers (fo|r footno|
|000020a0| 74 65 73 2c 20 65 74 63 | 29 20 28 31 32 37 36 2d |tes, etc|) (1276-|
|000020b0| 31 32 37 39 2c 20 32 32 | 37 36 2d 32 32 37 39 29 |1279, 22|76-2279)|
|000020c0| 0a 20 20 20 20 20 20 20 | 20 41 73 74 72 6f 6e 6f |. | Astrono|
|000020d0| 6d 69 63 61 6c 20 28 31 | 32 38 31 2d 31 32 39 33 |mical (1|281-1293|
|000020e0| 2c 32 32 38 31 2d 32 32 | 39 33 29 0a 20 20 20 20 |,2281-22|93). |
|000020f0| 20 20 20 20 41 73 74 72 | 6f 6c 6f 67 69 63 61 6c | Astr|ological|
|00002100| 20 28 32 33 30 31 2d 32 | 33 31 32 29 0a 20 20 20 | (2301-2|312). |
|00002110| 20 20 20 20 20 4d 75 73 | 69 63 61 6c 20 28 32 33 | Mus|ical (23|
|00002120| 31 37 2d 32 33 38 32 29 | 0a 20 20 20 20 20 20 20 |17-2382)|. |
|00002130| 20 54 79 70 65 73 65 74 | 74 69 6e 67 20 28 66 66 | Typeset|ting (ff|
|00002140| 6c 2c 66 6c 2c 66 69 20 | 73 6f 72 74 73 20 6f 66 |l,fl,fi |sorts of|
|00002150| 20 74 68 69 6e 67 73 29 | 20 28 6d 69 73 63 65 6c | things)| (miscel|
|00002160| 6c 61 6e 65 6f 75 73 20 | 70 6c 61 63 65 73 29 0a |laneous |places).|
|00002170| 20 20 20 20 20 20 20 20 | 4d 69 73 63 65 6c 6c 61 | |Miscella|
|00002180| 6e 65 6f 75 73 20 28 6d | 6f 73 74 6c 79 20 69 6e |neous (m|ostly in|
|00002190| 20 37 34 31 2d 39 30 39 | 2c 20 62 75 74 20 61 6c | 741-909|, but al|
|000021a0| 73 6f 20 65 6c 73 65 77 | 68 65 72 65 29 3a 0a 20 |so elsew|here):. |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|000021c0| 20 50 6c 61 79 69 6e 67 | 20 63 61 72 64 20 73 75 | Playing| card su|
|000021d0| 69 74 73 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |its. | |
|000021e0| 20 20 20 20 2d 20 4d 65 | 74 65 6f 72 6f 6c 6f 67 | - Me|teorolog|
|000021f0| 79 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |y. | |
|00002200| 20 20 2d 20 47 72 61 70 | 68 69 63 73 20 28 6c 69 | - Grap|hics (li|
|00002210| 6e 65 73 2c 20 63 75 72 | 76 65 73 29 0a 20 20 20 |nes, cur|ves). |
|00002220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 20 45 | | - E|
|00002230| 6c 65 63 74 72 69 63 61 | 6c 0a 20 20 20 20 20 20 |lectrica|l. |
|00002240| 20 20 20 20 20 20 20 20 | 20 20 2d 20 47 65 6f 6d | | - Geom|
|00002250| 65 74 72 69 63 20 28 73 | 68 61 70 65 73 29 0a 20 |etric (s|hapes). |
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00002270| 20 43 61 72 74 6f 67 72 | 61 70 68 69 63 0a 20 20 | Cartogr|aphic. |
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 20 | | - |
|00002290| 4e 61 76 61 6c 0a 20 20 | 20 20 20 20 20 20 20 20 |Naval. | |
|000022a0| 20 20 20 20 20 20 2d 20 | 41 67 72 69 63 75 6c 74 | - |Agricult|
|000022b0| 75 72 61 6c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ural. | |
|000022c0| 20 20 20 20 20 2d 20 48 | 69 67 68 77 61 79 73 0a | - H|ighways.|
|000022d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022e0| 2d 20 45 74 63 2e 2e 2e | 0a 0a 0a 41 53 43 49 49 |- Etc...|...ASCII|
|000022f0| 20 73 65 71 75 65 6e 63 | 65 20 74 72 61 6e 73 6c | sequenc|e transl|
|00002300| 61 74 69 6f 6e 20 66 69 | 6c 65 73 3a 0a 0a 20 20 |ation fi|les:.. |
|00002310| 20 20 20 20 20 20 54 68 | 65 20 48 65 72 73 68 65 | Th|e Hershe|
|00002320| 79 20 67 6c 79 70 68 73 | 2c 20 77 68 69 6c 65 20 |y glyphs|, while |
|00002330| 69 6e 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |in a par|ticular |
|00002340| 6f 72 64 65 72 2c 20 61 | 72 65 20 6e 6f 74 20 69 |order, a|re not i|
|00002350| 6e 20 61 6e 0a 20 20 20 | 20 20 20 20 20 41 53 43 |n an. | ASC|
|00002360| 49 49 20 73 65 71 75 65 | 6e 63 65 2e 20 49 20 68 |II seque|nce. I h|
|00002370| 61 76 65 20 70 72 6f 76 | 69 64 65 64 20 74 72 61 |ave prov|ided tra|
|00002380| 6e 73 6c 61 74 69 6f 6e | 20 66 69 6c 65 73 20 74 |nslation| files t|
|00002390| 68 61 74 20 67 69 76 65 | 20 74 68 65 0a 20 20 20 |hat give| the. |
|000023a0| 20 20 20 20 20 73 65 71 | 75 65 6e 63 65 20 6f 66 | seq|uence of|
|000023b0| 20 67 6c 79 70 68 20 6e | 75 6d 62 65 72 73 20 74 | glyph n|umbers t|
|000023c0| 68 61 74 20 77 69 6c 6c | 20 6d 6f 73 74 20 63 6c |hat will| most cl|
|000023d0| 6f 73 65 6c 79 20 61 70 | 70 72 6f 78 69 6d 61 74 |osely ap|proximat|
|000023e0| 65 20 74 68 65 0a 20 20 | 20 20 20 20 20 20 41 53 |e the. | AS|
|000023f0| 43 49 49 20 70 72 69 6e | 74 69 6e 67 20 73 65 71 |CII prin|ting seq|
|00002400| 75 65 6e 63 65 20 28 66 | 72 6f 6d 20 73 70 61 63 |uence (f|rom spac|
|00002410| 65 20 74 68 72 6f 75 67 | 68 20 7e 2c 20 77 69 74 |e throug|h ~, wit|
|00002420| 68 20 74 68 65 20 64 65 | 67 72 65 65 0a 20 20 20 |h the de|gree. |
|00002430| 20 20 20 20 20 63 69 72 | 63 6c 65 20 74 61 63 6b | cir|cle tack|
|00002440| 65 64 20 6f 6e 20 61 74 | 20 74 68 65 20 65 6e 64 |ed on at| the end|
|00002450| 29 20 66 6f 72 20 65 61 | 63 68 20 6f 66 20 74 68 |) for ea|ch of th|
|00002460| 65 20 61 62 6f 76 65 20 | 66 6f 6e 74 73 3a 0a 0a |e above |fonts:..|
|00002470| 20 20 20 20 20 20 20 20 | 46 69 6c 65 20 6e 61 6d | |File nam|
|00002480| 65 73 20 61 72 65 20 6d | 61 64 65 20 75 70 20 6f |es are m|ade up o|
|00002490| 66 20 66 66 66 66 66 66 | 74 74 2e 68 6d 70 2c 0a |f ffffff|tt.hmp,.|
|000024a0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000024b0| 20 77 68 65 72 65 20 66 | 66 66 66 66 66 20 69 73 | where f|fffff is|
|000024c0| 20 74 68 65 20 66 6f 6e | 74 20 73 74 79 6c 65 2c | the fon|t style,|
|000024d0| 20 6f 6e 65 20 6f 66 3a | 0a 20 20 20 20 20 20 20 | one of:|. |
|000024e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024f0| 20 72 6f 6d 61 6e 20 20 | 20 52 6f 6d 61 6e 0a 20 | roman | Roman. |
|00002500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002510| 20 20 20 20 20 20 20 67 | 72 65 65 6b 20 20 20 47 | g|reek G|
|00002520| 72 65 65 6b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |reek. | |
|00002530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 74 61 | | ita|
|00002540| 6c 69 63 20 20 49 74 61 | 6c 69 63 0a 20 20 20 20 |lic Ita|lic. |
|00002550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002560| 20 20 20 20 73 63 72 69 | 70 74 20 20 53 63 72 69 | scri|pt Scri|
|00002570| 70 74 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |pt. | |
|00002580| 20 20 20 20 20 20 20 20 | 20 20 20 63 79 72 69 6c | | cyril|
|00002590| 20 20 20 43 79 72 69 6c | 6c 69 63 20 28 73 6f 6d | Cyril|lic (som|
|000025a0| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 6e 6f 74 |e charac|ters not|
|000025b0| 20 70 6c 61 63 65 64 20 | 69 6e 0a 20 20 20 20 20 | placed |in. |
|000025c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025e0| 20 20 20 20 20 20 74 68 | 65 20 41 53 43 49 49 20 | th|e ASCII |
|000025f0| 73 65 71 75 65 6e 63 65 | 29 0a 20 20 20 20 20 20 |sequence|). |
|00002600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002610| 20 20 67 6f 74 68 67 72 | 20 20 47 6f 74 68 69 63 | gothgr| Gothic|
|00002620| 20 47 65 72 6d 61 6e 0a | 20 20 20 20 20 20 20 20 | German.| |
|00002630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002640| 67 6f 74 68 67 62 20 20 | 47 6f 74 68 69 63 20 45 |gothgb |Gothic E|
|00002650| 6e 67 6c 69 73 68 0a 20 | 20 20 20 20 20 20 20 20 |nglish. | |
|00002660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 67 | | g|
|00002670| 6f 74 68 69 74 20 20 47 | 6f 74 68 69 63 20 49 74 |othit G|othic It|
|00002680| 61 6c 69 61 6e 0a 0a 20 | 20 20 20 20 20 20 20 20 |alian.. | |
|00002690| 20 20 20 20 20 20 20 61 | 6e 64 20 74 74 20 69 73 | a|nd tt is|
|000026a0| 20 74 68 65 20 66 6f 6e | 74 20 74 79 70 65 2c 20 | the fon|t type, |
|000026b0| 6f 6e 65 20 6f 66 3a 0a | 20 20 20 20 20 20 20 20 |one of:.| |
|000026c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 20 20 20 | | p |
|000026d0| 20 20 20 20 50 6c 61 69 | 6e 20 28 76 65 72 79 20 | Plai|n (very |
|000026e0| 73 6d 61 6c 6c 2c 20 6e | 6f 20 6c 6f 77 65 72 20 |small, n|o lower |
|000026f0| 63 61 73 65 29 0a 20 20 | 20 20 20 20 20 20 20 20 |case). | |
|00002700| 20 20 20 20 20 20 20 20 | 20 20 73 20 20 20 20 20 | | s |
|00002710| 20 20 53 69 6d 70 6c 65 | 78 20 28 70 6c 61 69 6e | Simple|x (plain|
|00002720| 2c 20 6e 6f 72 6d 61 6c | 20 73 69 7a 65 2c 20 6e |, normal| size, n|
|00002730| 6f 20 73 65 72 69 66 73 | 29 0a 20 20 20 20 20 20 |o serifs|). |
|00002740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 20 | | d |
|00002750| 20 20 20 20 20 20 44 75 | 70 6c 65 78 20 28 6e 6f | Du|plex (no|
|00002760| 72 6d 61 6c 20 73 69 7a | 65 2c 20 6e 6f 20 73 65 |rmal siz|e, no se|
|00002770| 72 69 66 73 2c 20 64 6f | 75 62 6c 65 64 20 6c 69 |rifs, do|ubled li|
|00002780| 6e 65 73 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |nes). | |
|00002790| 20 20 20 20 20 20 20 20 | 20 63 20 20 20 20 20 20 | | c |
|000027a0| 20 43 6f 6d 70 6c 65 78 | 20 28 6e 6f 72 6d 61 6c | Complex| (normal|
|000027b0| 20 73 69 7a 65 2c 20 73 | 65 72 69 66 73 2c 20 64 | size, s|erifs, d|
|000027c0| 6f 75 62 6c 65 64 20 6c | 69 6e 65 73 29 0a 20 20 |oubled l|ines). |
|000027d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027e0| 20 20 74 20 20 20 20 20 | 20 20 54 72 69 70 6c 65 | t | Triple|
|000027f0| 78 20 28 6e 6f 72 6d 61 | 6c 20 73 69 7a 65 2c 20 |x (norma|l size, |
|00002800| 73 65 72 69 66 73 2c 20 | 74 72 69 70 6c 65 64 20 |serifs, |tripled |
|00002810| 6c 69 6e 65 73 29 0a 20 | 20 20 20 20 20 20 20 20 |lines). | |
|00002820| 20 20 20 20 20 20 20 20 | 20 20 20 63 73 20 20 20 | | cs |
|00002830| 20 20 20 43 6f 6d 70 6c | 65 78 20 53 6d 61 6c 6c | Compl|ex Small|
|00002840| 20 28 43 6f 6d 70 6c 65 | 78 2c 20 73 6d 61 6c 6c | (Comple|x, small|
|00002850| 65 72 20 74 68 61 6e 20 | 6e 6f 72 6d 61 6c 20 73 |er than |normal s|
|00002860| 69 7a 65 29 0a 0a 54 68 | 65 20 74 68 72 65 65 20 |ize)..Th|e three |
|00002870| 73 69 7a 65 73 20 61 72 | 65 20 63 6f 64 65 64 20 |sizes ar|e coded |
|00002880| 77 69 74 68 20 70 61 72 | 74 69 63 75 6c 61 72 20 |with par|ticular |
|00002890| 62 61 73 65 20 6c 69 6e | 65 20 28 62 6f 74 74 6f |base lin|e (botto|
|000028a0| 6d 20 6f 66 20 61 20 63 | 61 70 69 74 61 6c 0a 20 |m of a c|apital. |
|000028b0| 20 20 20 20 20 20 20 6c | 65 74 74 65 72 29 20 61 | l|etter) a|
|000028c0| 6e 64 20 63 61 70 20 6c | 69 6e 65 20 28 74 6f 70 |nd cap l|ine (top|
|000028d0| 20 6f 66 20 61 20 63 61 | 70 69 74 61 6c 20 6c 65 | of a ca|pital le|
|000028e0| 74 74 65 72 29 20 76 61 | 6c 75 65 73 20 66 6f 72 |tter) va|lues for|
|000028f0| 20 27 79 27 3a 0a 0a 20 | 20 20 20 20 20 20 20 53 | 'y':.. | S|
|00002900| 69 7a 65 20 20 20 20 20 | 20 20 20 20 20 20 20 42 |ize | B|
|00002910| 61 73 65 20 4c 69 6e 65 | 20 20 20 20 20 20 20 43 |ase Line| C|
|00002920| 61 70 20 4c 69 6e 65 0a | 0a 20 20 20 20 20 20 20 |ap Line.|. |
|00002930| 20 56 65 72 79 20 53 6d | 61 6c 6c 20 20 20 20 20 | Very Sm|all |
|00002940| 20 20 20 20 2d 35 20 20 | 20 20 20 20 20 20 20 20 | -5 | |
|00002950| 20 20 20 20 2b 34 20 0a | 20 20 20 20 20 20 20 20 | +4 .| |
|00002960| 53 6d 61 6c 6c 20 20 20 | 20 20 20 20 20 20 20 20 |Small | |
|00002970| 20 20 20 2d 36 20 20 20 | 20 20 20 20 20 20 20 20 | -6 | |
|00002980| 20 20 20 2b 37 0a 20 20 | 20 20 20 20 20 20 4e 6f | +7. | No|
|00002990| 72 6d 61 6c 20 20 20 20 | 20 20 20 20 20 20 20 20 |rmal | |
|000029a0| 20 2d 39 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | -9 | |
|000029b0| 20 2b 31 32 0a 0a 20 20 | 20 20 20 20 20 20 28 4e | +12.. | (N|
|000029c0| 6f 74 65 3a 20 73 6f 6d | 65 20 67 6c 79 70 68 73 |ote: som|e glyphs|
|000029d0| 20 69 6e 20 74 68 65 20 | 27 56 65 72 79 20 53 6d | in the |'Very Sm|
|000029e0| 61 6c 6c 27 20 66 6f 6e | 74 73 20 61 72 65 20 61 |all' fon|ts are a|
|000029f0| 63 74 75 61 6c 6c 79 20 | 27 53 6d 61 6c 6c 27 29 |ctually |'Small')|
|00002a00| 0a 0a 54 68 65 20 74 6f | 70 20 6c 69 6e 65 20 61 |..The to|p line a|
|00002a10| 6e 64 20 62 6f 74 74 6f | 6d 20 6c 69 6e 65 2c 20 |nd botto|m line, |
|00002a20| 77 68 69 63 68 20 61 72 | 65 20 6e 6f 72 6d 61 6c |which ar|e normal|
|00002a30| 6c 79 20 75 73 65 64 20 | 74 6f 20 64 65 66 69 6e |ly used |to defin|
|00002a40| 65 20 76 65 72 74 69 63 | 61 6c 0a 20 20 20 20 20 |e vertic|al. |
|00002a50| 20 20 20 73 70 61 63 69 | 6e 67 2c 20 61 72 65 20 | spaci|ng, are |
|00002a60| 6e 6f 74 20 67 69 76 65 | 6e 2e 20 4d 61 79 62 65 |not give|n. Maybe|
|00002a70| 20 73 6f 6d 65 62 6f 64 | 79 20 63 61 6e 20 64 65 | somebod|y can de|
|00002a80| 74 65 72 6d 69 6e 65 20 | 61 70 70 72 6f 70 72 69 |termine |appropri|
|00002a90| 61 74 65 0a 20 20 20 20 | 20 20 20 20 76 61 6c 75 |ate. | valu|
|00002aa0| 65 73 20 66 6f 72 20 74 | 68 65 73 65 21 0a 0a 54 |es for t|hese!..T|
|00002ab0| 68 65 20 6c 65 66 74 20 | 6c 69 6e 65 20 61 6e 64 |he left |line and|
|00002ac0| 20 72 69 67 68 74 20 6c | 69 6e 65 2c 20 77 68 69 | right l|ine, whi|
|00002ad0| 63 68 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 64 |ch are u|sed to d|
|00002ae0| 65 66 69 6e 65 20 68 6f | 72 69 7a 6f 6e 74 61 6c |efine ho|rizontal|
|00002af0| 20 73 70 61 63 69 6e 67 | 2c 0a 20 20 20 20 20 20 | spacing|,. |
|00002b00| 20 20 61 72 65 20 70 72 | 6f 76 69 64 65 64 20 77 | are pr|ovided w|
|00002b10| 69 74 68 20 65 61 63 68 | 20 63 68 61 72 61 63 74 |ith each| charact|
|00002b20| 65 72 20 69 6e 20 74 68 | 65 20 64 61 74 61 62 61 |er in th|e databa|
|00002b30| 73 65 2e 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |se..SHAR|_EOF.if |
|00002b40| 74 65 73 74 20 2d 66 20 | 27 68 65 72 73 68 65 79 |test -f |'hershey|
|00002b50| 2e 66 37 37 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |.f77'.th|en..echo|
|00002b60| 20 73 68 61 72 3a 20 6f | 76 65 72 2d 77 72 69 74 | shar: o|ver-writ|
|00002b70| 69 6e 67 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ing exis|ting fil|
|00002b80| 65 20 22 27 68 65 72 73 | 68 65 79 2e 66 37 37 27 |e "'hers|hey.f77'|
|00002b90| 22 0a 66 69 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |".fi.cat| << \SHA|
|00002ba0| 52 5f 45 4f 46 20 3e 20 | 27 68 65 72 73 68 65 79 |R_EOF > |'hershey|
|00002bb0| 2e 66 37 37 27 0a 63 20 | 20 20 20 20 2e 2e 20 64 |.f77'.c | .. d|
|00002bc0| 69 73 70 6c 61 79 20 61 | 6c 6c 20 6f 66 20 74 68 |isplay a|ll of th|
|00002bd0| 65 20 48 65 72 73 68 65 | 79 20 66 6f 6e 74 20 64 |e Hershe|y font d|
|00002be0| 61 74 61 0a 63 0a 63 20 | 20 20 20 20 2e 2e 20 42 |ata.c.c | .. B|
|00002bf0| 79 20 4a 61 6d 65 73 20 | 48 75 72 74 20 77 68 65 |y James |Hurt whe|
|00002c00| 6e 20 77 69 74 68 0a 63 | 20 20 20 20 20 2e 2e 20 |n with.c| .. |
|00002c10| 20 20 20 44 65 65 72 65 | 20 61 6e 64 20 43 6f 6d | Deere| and Com|
|00002c20| 70 61 6e 79 0a 63 20 20 | 20 20 20 2e 2e 20 20 20 |pany.c | .. |
|00002c30| 20 4a 6f 68 6e 20 44 65 | 65 72 65 20 52 6f 61 64 | John De|ere Road|
|00002c40| 0a 63 20 20 20 20 20 2e | 2e 20 20 20 20 4d 6f 6c |.c .|. Mol|
|00002c50| 69 6e 65 2c 20 49 4c 20 | 36 31 32 36 35 0a 63 0a |ine, IL |61265.c.|
|00002c60| 63 20 20 20 20 20 2e 2e | 20 41 75 74 68 6f 72 20 |c ..| Author |
|00002c70| 6e 6f 77 20 77 69 74 68 | 20 43 6f 67 6e 69 74 69 |now with| Cogniti|
|00002c80| 6f 6e 2c 20 49 6e 63 2e | 0a 63 20 20 20 20 20 2e |on, Inc.|.c .|
|00002c90| 2e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002ca0| 20 20 39 30 30 20 54 65 | 63 68 6e 6f 6c 6f 67 79 | 900 Te|chnology|
|00002cb0| 20 50 61 72 6b 20 44 72 | 69 76 65 0a 63 20 20 20 | Park Dr|ive.c |
|00002cc0| 20 20 2e 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 | .. | |
|00002cd0| 20 20 20 20 20 42 69 6c | 6c 65 72 69 63 61 2c 20 | Bil|lerica, |
|00002ce0| 4d 41 20 30 31 38 32 31 | 0a 63 0a 63 20 20 20 20 |MA 01821|.c.c |
|00002cf0| 20 2e 2e 20 67 72 61 70 | 68 69 63 73 20 73 75 62 | .. grap|hics sub|
|00002d00| 72 6f 75 74 69 6e 65 73 | 0a 63 20 20 20 20 20 2e |routines|.c .|
|00002d10| 2e 20 69 64 65 6e 74 79 | 20 2d 20 69 6e 69 74 69 |. identy| - initi|
|00002d20| 61 6c 69 7a 65 20 67 72 | 61 70 68 69 63 73 0a 63 |alize gr|aphics.c|
|00002d30| 20 20 20 20 20 2e 2e 20 | 76 77 70 6f 72 74 20 2d | .. |vwport -|
|00002d40| 20 73 65 74 20 77 68 65 | 72 65 20 74 6f 20 64 69 | set whe|re to di|
|00002d50| 73 70 6c 61 79 20 69 6d | 61 67 65 20 6f 6e 20 73 |splay im|age on s|
|00002d60| 63 72 65 65 6e 0a 63 20 | 20 20 20 20 2e 2e 20 20 |creen.c | .. |
|00002d70| 20 20 20 20 20 20 2d 20 | 66 75 6c 6c 20 73 63 72 | - |full scr|
|00002d80| 65 65 6e 20 69 73 20 30 | 2e 30 20 74 6f 20 31 30 |een is 0|.0 to 10|
|00002d90| 30 2e 30 20 69 6e 20 76 | 65 72 74 69 63 61 6c 20 |0.0 in v|ertical |
|00002da0| 28 79 29 20 64 69 72 65 | 63 74 69 6f 6e 0a 63 20 |(y) dire|ction.c |
|00002db0| 20 20 20 20 2e 2e 20 20 | 20 20 20 20 20 20 2d 20 | .. | - |
|00002dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 30 | | 0|
|00002dd0| 2e 30 20 74 6f 20 3f 3f | 3f 2e 3f 20 69 6e 20 68 |.0 to ??|?.? in h|
|00002de0| 6f 72 69 7a 6f 6e 74 61 | 6c 20 28 78 29 20 64 69 |orizonta|l (x) di|
|00002df0| 72 65 63 74 69 6f 6e 0a | 63 20 20 20 20 20 2e 2e |rection.|c ..|
|00002e00| 20 20 20 20 20 20 20 20 | 2d 20 6f 72 69 67 69 6e | |- origin|
|00002e10| 20 69 73 20 6c 6f 77 65 | 72 20 6c 65 66 74 20 63 | is lowe|r left c|
|00002e20| 6f 72 6e 65 72 20 6f 66 | 20 73 63 72 65 65 6e 0a |orner of| screen.|
|00002e30| 63 20 20 20 20 20 2e 2e | 20 77 69 6e 64 6f 77 20 |c ..| window |
|00002e40| 2d 20 73 65 74 20 77 69 | 6e 64 6f 77 20 6c 69 6d |- set wi|ndow lim|
|00002e50| 69 74 73 20 69 6e 20 77 | 6f 72 6c 64 20 63 6f 6f |its in w|orld coo|
|00002e60| 72 64 69 6e 61 74 65 73 | 0a 63 20 20 20 20 20 2e |rdinates|.c .|
|00002e70| 2e 20 6e 65 77 70 61 67 | 20 2d 20 69 66 20 61 63 |. newpag| - if ac|
|00002e80| 74 69 6f 6e 20 6c 65 66 | 74 20 74 6f 20 62 65 20 |tion lef|t to be |
|00002e90| 74 61 6b 65 20 6f 6e 20 | 65 78 69 73 74 69 6e 67 |take on |existing|
|00002ea0| 20 73 63 72 65 65 6e 2c | 20 74 61 6b 65 20 69 74 | screen,| take it|
|00002eb0| 0a 63 20 20 20 20 20 2e | 2e 20 20 20 20 20 20 20 |.c .|. |
|00002ec0| 20 2d 20 74 68 65 6e 20 | 74 61 6b 65 20 61 63 74 | - then |take act|
|00002ed0| 69 6f 6e 73 20 74 6f 20 | 73 74 61 72 74 20 77 69 |ions to |start wi|
|00002ee0| 74 68 20 61 20 62 6c 61 | 6e 6b 20 73 63 72 65 65 |th a bla|nk scree|
|00002ef0| 6e 0a 63 20 20 20 20 20 | 2e 2e 20 6a 6e 75 6d 62 |n.c |.. jnumb|
|00002f00| 72 20 2d 20 64 69 73 70 | 6c 61 79 20 61 6e 20 69 |r - disp|lay an i|
|00002f10| 6e 74 65 67 65 72 20 28 | 63 6f 64 65 20 69 6e 63 |nteger (|code inc|
|00002f20| 6c 75 64 65 64 29 0a 63 | 20 20 20 20 20 2e 2e 20 |luded).c| .. |
|00002f30| 6d 6f 76 65 20 20 20 2d | 20 73 65 74 20 63 75 72 |move -| set cur|
|00002f40| 72 65 6e 74 20 63 75 72 | 73 6f 72 20 70 6f 73 69 |rent cur|sor posi|
|00002f50| 74 69 6f 6e 20 74 6f 20 | 28 78 2c 79 29 0a 63 20 |tion to |(x,y).c |
|00002f60| 20 20 20 20 2e 2e 20 64 | 72 61 77 20 20 20 2d 20 | .. d|raw - |
|00002f70| 64 72 61 77 20 66 72 6f | 6d 20 63 75 72 72 65 6e |draw fro|m curren|
|00002f80| 74 20 63 75 72 73 6f 72 | 20 70 6f 73 69 74 69 6f |t cursor| positio|
|00002f90| 6e 20 74 6f 20 28 78 2c | 79 29 0a 63 20 20 20 20 |n to (x,|y).c |
|00002fa0| 20 2e 2e 20 20 20 20 20 | 20 20 20 2d 20 74 68 65 | .. | - the|
|00002fb0| 6e 20 73 65 74 20 63 75 | 72 72 65 6e 74 20 63 75 |n set cu|rrent cu|
|00002fc0| 72 73 6f 72 20 70 6f 73 | 69 74 69 6f 6e 20 74 6f |rsor pos|ition to|
|00002fd0| 20 28 78 2c 79 29 0a 63 | 20 20 20 20 20 2e 2e 20 | (x,y).c| .. |
|00002fe0| 20 20 20 20 20 20 20 2d | 20 54 68 65 20 70 6f 69 | -| The poi|
|00002ff0| 6e 74 20 28 78 2c 79 29 | 20 69 73 20 61 6c 77 61 |nt (x,y)| is alwa|
|00003000| 79 73 20 69 6e 20 77 6f | 72 6c 64 20 63 6f 6f 72 |ys in wo|rld coor|
|00003010| 64 69 6e 61 74 65 73 0a | 63 20 20 20 20 20 2e 2e |dinates.|c ..|
|00003020| 20 73 6b 69 70 20 20 20 | 2d 20 4d 61 6b 65 20 74 | skip |- Make t|
|00003030| 68 65 20 6e 65 78 74 20 | 64 72 61 77 20 72 65 61 |he next |draw rea|
|00003040| 6c 6c 79 20 62 65 20 61 | 20 6d 6f 76 65 0a 63 20 |lly be a| move.c |
|00003050| 20 20 20 20 2e 2e 20 77 | 61 69 74 63 72 20 2d 20 | .. w|aitcr - |
|00003060| 66 69 6e 69 73 68 20 61 | 6c 6c 20 67 72 61 70 68 |finish a|ll graph|
|00003070| 69 63 73 20 61 63 74 69 | 6f 6e 73 20 74 68 65 6e |ics acti|ons then|
|00003080| 20 6c 65 74 20 74 68 65 | 20 75 73 65 72 20 6c 6f | let the| user lo|
|00003090| 6f 6b 20 61 74 0a 63 20 | 20 20 20 20 2e 2e 20 20 |ok at.c | .. |
|000030a0| 20 20 20 20 20 20 2d 20 | 74 68 65 20 69 6d 61 67 | - |the imag|
|000030b0| 65 2e 20 20 55 73 65 72 | 20 73 69 67 6e 61 6c 73 |e. User| signals|
|000030c0| 20 28 75 73 75 61 6c 6c | 79 20 62 79 20 70 72 65 | (usuall|y by pre|
|000030d0| 73 73 69 6e 67 20 52 45 | 54 55 52 4e 29 0a 63 20 |ssing RE|TURN).c |
|000030e0| 20 20 20 20 2e 2e 20 20 | 20 20 20 20 20 20 2d 20 | .. | - |
|000030f0| 77 68 65 6e 20 69 74 20 | 69 73 20 73 61 66 65 20 |when it |is safe |
|00003100| 74 6f 20 63 6f 6e 74 69 | 6e 75 65 2e 0a 63 20 20 |to conti|nue..c |
|00003110| 20 20 20 2e 2e 20 67 72 | 73 74 6f 70 20 2d 20 66 | .. gr|stop - f|
|00003120| 69 6e 69 73 68 20 61 6c | 6c 20 67 72 61 70 68 69 |inish al|l graphi|
|00003130| 63 73 20 72 6f 75 74 69 | 6e 65 73 20 28 6e 6f 20 |cs routi|nes (no |
|00003140| 6d 6f 72 65 20 67 72 61 | 70 68 69 63 73 20 74 6f |more gra|phics to|
|00003150| 20 66 6f 6c 6c 6f 77 29 | 0a 63 0a 20 20 20 20 20 | follow)|.c. |
|00003160| 20 65 78 74 65 72 6e 61 | 6c 20 69 64 65 6e 74 79 | externa|l identy|
|00003170| 2c 76 77 70 6f 72 74 2c | 77 69 6e 64 6f 77 2c 6e |,vwport,|window,n|
|00003180| 65 77 70 61 67 2c 6a 6e | 75 6d 62 72 2c 6d 6f 76 |ewpag,jn|umbr,mov|
|00003190| 65 20 2c 64 72 61 77 20 | 2c 73 6b 69 70 2c 0a 20 |e ,draw |,skip,. |
|000031a0| 20 20 20 20 78 20 20 20 | 20 20 20 20 20 20 77 61 | x | wa|
|000031b0| 69 74 63 72 2c 67 72 73 | 74 6f 70 0a 63 20 20 20 |itcr,grs|top.c |
|000031c0| 20 20 2e 2e 20 6c 6f 63 | 61 6c 20 76 61 72 69 61 | .. loc|al varia|
|000031d0| 62 6c 65 73 0a 20 20 20 | 20 20 20 72 65 61 6c 20 |bles. | real |
|000031e0| 64 65 6c 74 61 63 2c 20 | 64 65 6c 74 61 72 2c 20 |deltac, |deltar, |
|000031f0| 63 6f 6c 6d 61 78 0a 20 | 20 20 20 20 20 70 61 72 |colmax. | par|
|00003200| 61 6d 65 74 65 72 20 28 | 64 65 6c 74 61 63 20 3d |ameter (|deltac =|
|00003210| 20 36 2e 32 35 2c 20 64 | 65 6c 74 61 72 20 3d 20 | 6.25, d|eltar = |
|00003220| 36 2e 32 35 2c 20 63 6f | 6c 6d 61 78 20 3d 20 31 |6.25, co|lmax = 1|
|00003230| 30 30 2e 30 29 0a 63 20 | 20 20 20 20 2e 2e 20 66 |00.0).c | .. f|
|00003240| 6f 6e 74 20 64 61 74 61 | 20 66 69 6c 65 20 6e 61 |ont data| file na|
|00003250| 6d 65 0a 20 20 20 20 20 | 20 63 68 61 72 61 63 74 |me. | charact|
|00003260| 65 72 2a 38 30 20 6e 61 | 6d 65 0a 63 20 20 20 20 |er*80 na|me.c |
|00003270| 20 2e 2e 20 66 6f 6e 74 | 20 64 61 74 61 0a 20 20 | .. font| data. |
|00003280| 20 20 20 20 63 68 61 72 | 61 63 74 65 72 2a 31 20 | char|acter*1 |
|00003290| 6c 69 6e 65 28 32 2c 32 | 35 36 29 0a 63 20 20 20 |line(2,2|56).c |
|000032a0| 20 20 2e 2e 20 63 6f 2d | 6f 72 64 69 6e 61 74 65 | .. co-|ordinate|
|000032b0| 73 0a 20 20 20 20 20 20 | 72 65 61 6c 20 78 2c 79 |s. |real x,y|
|000032c0| 2c 63 6f 6c 2c 72 6f 77 | 0a 63 20 20 20 20 20 2e |,col,row|.c .|
|000032d0| 2e 20 77 68 69 63 68 20 | 64 61 74 61 20 70 6f 69 |. which |data poi|
|000032e0| 6e 74 20 61 6e 64 20 77 | 68 69 63 68 20 63 68 61 |nt and w|hich cha|
|000032f0| 72 61 63 74 65 72 0a 20 | 20 20 20 20 20 69 6e 74 |racter. | int|
|00003300| 65 67 65 72 20 69 70 6e | 74 2c 69 63 68 2c 6e 63 |eger ipn|t,ich,nc|
|00003310| 68 2c 69 0a 20 20 20 20 | 20 20 69 6e 74 72 69 6e |h,i. | intrin|
|00003320| 73 69 63 20 69 63 68 61 | 72 0a 63 65 78 65 63 75 |sic icha|r.cexecu|
|00003330| 74 61 62 6c 65 20 63 6f | 64 65 20 62 65 67 69 6e |table co|de begin|
|00003340| 73 0a 63 20 20 20 20 20 | 2e 2e 20 66 69 6c 65 20 |s.c |.. file |
|00003350| 75 6e 69 74 20 6e 75 6d | 62 65 72 0a 20 20 20 20 |unit num|ber. |
|00003360| 20 20 6b 66 69 6c 65 3d | 31 0a 63 20 20 20 20 20 | kfile=|1.c |
|00003370| 2e 2e 20 67 65 74 20 68 | 65 72 73 68 65 79 20 66 |.. get h|ershey f|
|00003380| 69 6c 65 20 6e 61 6d 65 | 0a 20 20 20 20 20 20 77 |ile name|. w|
|00003390| 72 69 74 65 28 2a 2c 27 | 28 61 29 27 29 20 27 20 |rite(*,'|(a)') ' |
|000033a0| 70 61 63 6b 65 64 20 68 | 65 72 73 68 65 79 20 66 |packed h|ershey f|
|000033b0| 6f 6e 74 20 66 69 6c 65 | 20 6e 61 6d 65 27 0a 20 |ont file| name'. |
|000033c0| 20 20 20 20 20 72 65 61 | 64 28 2a 2c 27 28 61 29 | rea|d(*,'(a)|
|000033d0| 27 29 20 6e 61 6d 65 0a | 20 20 20 20 20 20 6f 70 |') name.| op|
|000033e0| 65 6e 28 75 6e 69 74 3d | 6b 66 69 6c 65 2c 66 69 |en(unit=|kfile,fi|
|000033f0| 6c 65 3d 6e 61 6d 65 2c | 73 74 61 74 75 73 3d 27 |le=name,|status='|
|00003400| 6f 6c 64 27 29 0a 63 20 | 20 20 20 20 2e 2e 20 69 |old').c | .. i|
|00003410| 6e 69 74 69 61 6c 69 7a | 65 20 67 72 61 70 68 69 |nitializ|e graphi|
|00003420| 63 73 0a 20 20 20 20 20 | 20 63 61 6c 6c 20 69 64 |cs. | call id|
|00003430| 65 6e 74 79 0a 63 20 20 | 20 20 20 2e 2e 20 77 61 |enty.c | .. wa|
|00003440| 6e 74 20 73 71 75 61 72 | 65 20 70 69 63 74 75 72 |nt squar|e pictur|
|00003450| 65 20 66 6f 72 20 65 61 | 63 68 20 63 68 61 72 61 |e for ea|ch chara|
|00003460| 63 74 65 72 0a 63 20 20 | 20 20 20 2e 2e 20 4e 6f |cter.c | .. No|
|00003470| 74 65 3a 20 6d 6f 73 74 | 20 62 75 74 20 6e 6f 74 |te: most| but not|
|00003480| 20 61 6c 6c 20 48 65 72 | 73 68 65 79 20 66 6f 6e | all Her|shey fon|
|00003490| 74 20 63 68 61 72 61 63 | 74 65 72 73 20 66 69 74 |t charac|ters fit|
|000034a0| 20 69 6e 73 69 64 65 20 | 74 68 69 73 20 77 69 6e | inside |this win|
|000034b0| 64 6f 77 0a 20 20 20 20 | 20 20 63 61 6c 6c 20 77 |dow. | call w|
|000034c0| 69 6e 64 6f 77 28 2d 31 | 35 2e 30 2c 20 31 35 2e |indow(-1|5.0, 15.|
|000034d0| 30 2c 2d 31 35 2e 30 2c | 20 31 35 2e 30 29 0a 63 |0,-15.0,| 15.0).c|
|000034e0| 20 20 20 20 20 2e 2e 20 | 6c 6f 6f 70 20 70 65 72 | .. |loop per|
|000034f0| 20 73 63 72 65 65 6e 0a | 35 20 20 20 20 20 63 6f | screen.|5 co|
|00003500| 6e 74 69 6e 75 65 0a 63 | 20 20 20 20 20 2e 2e 20 |ntinue.c| .. |
|00003510| 73 74 61 72 74 20 77 69 | 74 68 20 61 20 63 6c 65 |start wi|th a cle|
|00003520| 61 6e 20 73 68 65 65 74 | 0a 20 20 20 20 20 20 63 |an sheet|. c|
|00003530| 61 6c 6c 20 6e 65 77 70 | 61 67 0a 63 20 20 20 20 |all newp|ag.c |
|00003540| 20 2e 2e 20 77 68 65 72 | 65 20 74 6f 20 64 69 73 | .. wher|e to dis|
|00003550| 70 6c 61 79 20 74 68 69 | 73 20 63 68 61 72 61 63 |play thi|s charac|
|00003560| 74 65 72 0a 20 20 20 20 | 20 20 63 6f 6c 20 3d 20 |ter. | col = |
|00003570| 30 2e 30 0a 20 20 20 20 | 20 20 72 6f 77 20 3d 20 |0.0. | row = |
|00003580| 31 30 30 2e 30 0a 63 20 | 20 20 20 20 2e 2e 20 6c |100.0.c | .. l|
|00003590| 6f 6f 70 20 70 65 72 20 | 63 68 61 72 61 63 74 65 |oop per |characte|
|000035a0| 72 0a 31 30 20 20 20 20 | 63 6f 6e 74 69 6e 75 65 |r.10 |continue|
|000035b0| 0a 63 20 20 20 20 20 2e | 2e 20 72 65 61 64 20 63 |.c .|. read c|
|000035c0| 68 61 72 61 63 74 65 72 | 20 6e 75 6d 62 65 72 20 |haracter| number |
|000035d0| 61 6e 64 20 64 61 74 61 | 0a 20 20 20 20 20 20 72 |and data|. r|
|000035e0| 65 61 64 28 75 6e 69 74 | 3d 6b 66 69 6c 65 2c 27 |ead(unit|=kfile,'|
|000035f0| 28 69 35 2c 69 33 2c 36 | 34 61 31 2f 28 37 32 61 |(i5,i3,6|4a1/(72a|
|00003600| 31 29 29 27 2c 65 6e 64 | 3d 39 30 29 20 69 63 68 |1))',end|=90) ich|
|00003610| 2c 6e 63 68 2c 0a 20 20 | 20 20 20 78 20 20 20 20 |,nch,. | x |
|00003620| 20 28 6c 69 6e 65 28 31 | 2c 69 29 2c 6c 69 6e 65 | (line(1|,i),line|
|00003630| 28 32 2c 69 29 2c 69 3d | 31 2c 6e 63 68 29 0a 63 |(2,i),i=|1,nch).c|
|00003640| 20 20 20 20 20 2e 2e 20 | 73 65 6c 65 63 74 20 76 | .. |select v|
|00003650| 69 65 77 20 70 6f 72 74 | 20 28 70 6c 61 63 65 20 |iew port| (place |
|00003660| 63 68 61 72 61 63 74 65 | 72 20 6f 6e 20 73 63 72 |characte|r on scr|
|00003670| 65 65 6e 29 0a 20 20 20 | 20 20 20 63 61 6c 6c 20 |een). | call |
|00003680| 76 77 70 6f 72 74 28 63 | 6f 6c 2c 63 6f 6c 2b 64 |vwport(c|ol,col+d|
|00003690| 65 6c 74 61 63 2c 72 6f | 77 2d 64 65 6c 74 61 72 |eltac,ro|w-deltar|
|000036a0| 2c 72 6f 77 29 0a 63 20 | 20 20 20 20 2e 2e 20 69 |,row).c | .. i|
|000036b0| 64 65 6e 74 69 66 79 20 | 63 68 61 72 61 63 74 65 |dentify |characte|
|000036c0| 72 0a 20 20 20 20 20 20 | 63 61 6c 6c 20 6a 6e 75 |r. |call jnu|
|000036d0| 6d 62 72 28 69 63 68 2c | 34 2c 2d 31 35 2e 30 2c |mbr(ich,|4,-15.0,|
|000036e0| 39 2e 30 2c 35 2e 30 29 | 0a 63 20 20 20 20 20 2e |9.0,5.0)|.c .|
|000036f0| 2e 20 64 72 61 77 20 63 | 68 61 72 61 63 74 65 72 |. draw c|haracter|
|00003700| 20 6c 69 6d 69 74 73 0a | 63 20 20 20 20 20 2e 2e | limits.|c ..|
|00003710| 20 4e 6f 74 65 3a 20 74 | 68 69 73 20 64 61 74 61 | Note: t|his data|
|00003720| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 66 6f 72 | can be |used for|
|00003730| 20 70 72 6f 70 6f 72 74 | 69 6f 6e 61 6c 20 73 70 | proport|ional sp|
|00003740| 61 63 69 6e 67 0a 20 20 | 20 20 20 20 78 3d 69 63 |acing. | x=ic|
|00003750| 68 61 72 28 6c 69 6e 65 | 28 31 2c 31 29 29 2d 69 |har(line|(1,1))-i|
|00003760| 63 68 61 72 28 27 52 27 | 29 0a 20 20 20 20 20 20 |char('R'|). |
|00003770| 79 3d 69 63 68 61 72 28 | 6c 69 6e 65 28 32 2c 31 |y=ichar(|line(2,1|
|00003780| 29 29 2d 69 63 68 61 72 | 28 27 52 27 29 0a 20 20 |))-ichar|('R'). |
|00003790| 20 20 20 20 63 61 6c 6c | 20 6d 6f 76 65 28 78 2c | call| move(x,|
|000037a0| 2d 31 30 2e 30 29 0a 20 | 20 20 20 20 20 63 61 6c |-10.0). | cal|
|000037b0| 6c 20 64 72 61 77 28 78 | 2c 31 30 2e 30 29 0a 20 |l draw(x|,10.0). |
|000037c0| 20 20 20 20 20 63 61 6c | 6c 20 6d 6f 76 65 28 79 | cal|l move(y|
|000037d0| 2c 2d 31 30 2e 30 29 0a | 20 20 20 20 20 20 63 61 |,-10.0).| ca|
|000037e0| 6c 6c 20 64 72 61 77 28 | 79 2c 31 30 2e 30 29 0a |ll draw(|y,10.0).|
|000037f0| 63 20 20 20 20 20 2e 2e | 20 66 69 72 73 74 20 64 |c ..| first d|
|00003800| 61 74 61 20 70 6f 69 6e | 74 20 69 73 20 61 20 6d |ata poin|t is a m|
|00003810| 6f 76 65 0a 20 20 20 20 | 20 20 63 61 6c 6c 20 73 |ove. | call s|
|00003820| 6b 69 70 0a 63 20 20 20 | 20 20 2e 2e 20 6c 6f 6f |kip.c | .. loo|
|00003830| 70 20 70 65 72 20 6c 69 | 6e 65 20 6f 66 20 64 61 |p per li|ne of da|
|00003840| 74 61 0a 20 20 20 20 20 | 20 64 6f 20 32 30 20 69 |ta. | do 20 i|
|00003850| 70 6e 74 20 3d 20 32 2c | 20 6e 63 68 0a 63 20 20 |pnt = 2,| nch.c |
|00003860| 20 20 20 2e 2e 20 70 72 | 6f 63 65 73 73 20 76 65 | .. pr|ocess ve|
|00003870| 63 74 6f 72 20 6e 75 6d | 62 65 72 20 69 70 6e 74 |ctor num|ber ipnt|
|00003880| 0a 20 20 20 20 20 20 69 | 66 28 6c 69 6e 65 28 31 |. i|f(line(1|
|00003890| 2c 69 70 6e 74 29 2e 65 | 71 2e 27 20 27 29 20 74 |,ipnt).e|q.' ') t|
|000038a0| 68 65 6e 0a 63 20 20 20 | 20 20 20 20 20 2e 2e 20 |hen.c | .. |
|000038b0| 6e 65 78 74 20 64 61 74 | 61 20 70 6f 69 6e 74 20 |next dat|a point |
|000038c0| 69 73 20 61 20 6d 6f 76 | 65 0a 20 20 20 20 20 20 |is a mov|e. |
|000038d0| 20 20 20 63 61 6c 6c 20 | 73 6b 69 70 0a 20 20 20 | call |skip. |
|000038e0| 20 20 20 65 6c 73 65 0a | 63 20 20 20 20 20 20 20 | else.|c |
|000038f0| 20 2e 2e 20 64 72 61 77 | 20 28 6f 72 20 6d 6f 76 | .. draw| (or mov|
|00003900| 65 29 20 74 6f 20 74 68 | 69 73 20 64 61 74 61 20 |e) to th|is data |
|00003910| 70 6f 69 6e 74 0a 20 20 | 20 20 20 20 20 20 20 78 |point. | x|
|00003920| 3d 69 63 68 61 72 28 6c | 69 6e 65 28 31 2c 69 70 |=ichar(l|ine(1,ip|
|00003930| 6e 74 29 29 2d 69 63 68 | 61 72 28 27 52 27 29 0a |nt))-ich|ar('R').|
|00003940| 20 20 20 20 20 20 20 20 | 20 79 3d 69 63 68 61 72 | | y=ichar|
|00003950| 28 6c 69 6e 65 28 32 2c | 69 70 6e 74 29 29 2d 69 |(line(2,|ipnt))-i|
|00003960| 63 68 61 72 28 27 52 27 | 29 0a 63 20 20 20 20 20 |char('R'|).c |
|00003970| 20 20 20 2e 2e 20 4e 6f | 74 65 20 74 68 61 74 20 | .. No|te that |
|00003980| 48 65 72 73 68 65 79 20 | 46 6f 6e 74 20 64 61 74 |Hershey |Font dat|
|00003990| 61 20 69 73 20 69 6e 20 | 54 56 20 63 6f 6f 72 64 |a is in |TV coord|
|000039a0| 69 6e 61 74 65 20 73 79 | 73 74 65 6d 0a 20 20 20 |inate sy|stem. |
|000039b0| 20 20 20 20 20 20 63 61 | 6c 6c 20 64 72 61 77 28 | ca|ll draw(|
|000039c0| 78 2c 2d 79 29 0a 20 20 | 20 20 20 20 65 6e 64 69 |x,-y). | endi|
|000039d0| 66 0a 32 30 20 20 20 20 | 63 6f 6e 74 69 6e 75 65 |f.20 |continue|
|000039e0| 0a 63 20 20 20 20 20 2e | 2e 20 65 6e 64 20 6f 66 |.c .|. end of|
|000039f0| 20 74 68 69 73 20 63 68 | 61 72 61 63 74 65 72 0a | this ch|aracter.|
|00003a00| 20 20 20 20 20 20 63 6f | 6c 20 3d 20 63 6f 6c 20 | co|l = col |
|00003a10| 2b 20 64 65 6c 74 61 63 | 0a 20 20 20 20 20 20 69 |+ deltac|. i|
|00003a20| 66 28 20 63 6f 6c 20 2e | 6c 74 2e 20 63 6f 6c 6d |f( col .|lt. colm|
|00003a30| 61 78 20 29 20 67 6f 20 | 74 6f 20 31 30 0a 20 20 |ax ) go |to 10. |
|00003a40| 20 20 20 20 63 6f 6c 20 | 3d 20 30 2e 30 0a 20 20 | col |= 0.0. |
|00003a50| 20 20 20 20 72 6f 77 20 | 3d 20 72 6f 77 20 2d 20 | row |= row - |
|00003a60| 64 65 6c 74 61 72 0a 20 | 20 20 20 20 20 69 66 28 |deltar. | if(|
|00003a70| 20 72 6f 77 20 2e 67 65 | 2e 20 64 65 6c 74 61 72 | row .ge|. deltar|
|00003a80| 20 29 20 67 6f 20 74 6f | 20 31 30 0a 20 20 20 20 | ) go to| 10. |
|00003a90| 20 20 63 61 6c 6c 20 77 | 61 69 74 63 72 0a 20 20 | call w|aitcr. |
|00003aa0| 20 20 20 20 67 6f 20 74 | 6f 20 35 0a 39 30 20 20 | go t|o 5.90 |
|00003ab0| 20 20 63 6f 6e 74 69 6e | 75 65 0a 20 20 20 20 20 | contin|ue. |
|00003ac0| 20 63 61 6c 6c 20 77 61 | 69 74 63 72 0a 63 20 20 | call wa|itcr.c |
|00003ad0| 20 20 20 2e 2e 20 61 6c | 6c 20 64 6f 6e 65 0a 20 | .. al|l done. |
|00003ae0| 20 20 20 20 20 63 61 6c | 6c 20 67 72 73 74 6f 70 | cal|l grstop|
|00003af0| 0a 20 20 20 20 20 20 65 | 6e 64 0a 20 20 20 20 20 |. e|nd. |
|00003b00| 20 73 75 62 72 6f 75 74 | 69 6e 65 20 6a 6e 75 6d | subrout|ine jnum|
|00003b10| 62 72 28 20 6e 75 6d 62 | 65 72 2c 20 69 77 69 64 |br( numb|er, iwid|
|00003b20| 74 68 2c 20 78 30 2c 20 | 79 30 2c 20 68 65 69 67 |th, x0, |y0, heig|
|00003b30| 68 74 20 29 0a 20 20 20 | 20 20 20 69 6e 74 65 67 |ht ). | integ|
|00003b40| 65 72 20 6e 75 6d 62 65 | 72 2c 20 69 77 69 64 74 |er numbe|r, iwidt|
|00003b50| 68 0a 20 20 20 20 20 20 | 72 65 61 6c 20 78 30 2c |h. |real x0,|
|00003b60| 20 79 30 2c 20 68 65 69 | 67 68 74 0a 63 20 20 20 | y0, hei|ght.c |
|00003b70| 20 20 2e 2e 20 64 72 61 | 77 20 6f 6e 65 20 6f 66 | .. dra|w one of|
|00003b80| 20 74 68 65 20 64 65 63 | 69 6d 61 6c 20 64 69 67 | the dec|imal dig|
|00003b90| 69 74 73 0a 63 20 20 20 | 20 20 2e 2e 20 6e 75 6d |its.c | .. num|
|00003ba0| 62 65 72 20 3d 20 74 68 | 65 20 69 6e 74 65 67 65 |ber = th|e intege|
|00003bb0| 72 20 74 6f 20 62 65 20 | 64 69 73 70 6c 61 79 65 |r to be |displaye|
|00003bc0| 64 0a 63 20 20 20 20 20 | 2e 2e 20 69 77 69 64 74 |d.c |.. iwidt|
|00003bd0| 68 20 3d 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |h = the |number o|
|00003be0| 66 20 63 68 61 72 61 63 | 74 65 72 73 0a 63 20 20 |f charac|ters.c |
|00003bf0| 20 20 20 2e 2e 20 28 78 | 30 2c 20 79 30 29 20 3d | .. (x|0, y0) =|
|00003c00| 20 74 68 65 20 6c 6f 77 | 65 72 20 6c 65 66 74 20 | the low|er left |
|00003c10| 63 6f 72 6e 65 72 0a 63 | 20 20 20 20 20 2e 2e 20 |corner.c| .. |
|00003c20| 68 65 69 67 68 74 20 3d | 20 68 65 69 67 68 74 20 |height =| height |
|00003c30| 6f 66 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |of the c|haracter|
|00003c40| 73 0a 63 0a 63 0a 63 20 | 20 20 20 20 2e 2e 20 42 |s.c.c.c | .. B|
|00003c50| 79 20 4a 61 6d 65 73 20 | 48 75 72 74 20 77 68 65 |y James |Hurt whe|
|00003c60| 6e 20 77 69 74 68 0a 63 | 20 20 20 20 20 2e 2e 20 |n with.c| .. |
|00003c70| 20 20 20 44 65 65 72 65 | 20 61 6e 64 20 43 6f 6d | Deere| and Com|
|00003c80| 70 61 6e 79 0a 63 20 20 | 20 20 20 2e 2e 20 20 20 |pany.c | .. |
|00003c90| 20 4a 6f 68 6e 20 44 65 | 65 72 65 20 52 6f 61 64 | John De|ere Road|
|00003ca0| 0a 63 20 20 20 20 20 2e | 2e 20 20 20 20 4d 6f 6c |.c .|. Mol|
|00003cb0| 69 6e 65 2c 20 49 4c 20 | 36 31 32 36 35 0a 63 0a |ine, IL |61265.c.|
|00003cc0| 63 20 20 20 20 20 2e 2e | 20 41 75 74 68 6f 72 20 |c ..| Author |
|00003cd0| 6e 6f 77 20 77 69 74 68 | 20 43 6f 67 6e 69 74 69 |now with| Cogniti|
|00003ce0| 6f 6e 2c 20 49 6e 63 2e | 0a 63 20 20 20 20 20 2e |on, Inc.|.c .|
|00003cf0| 2e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003d00| 20 20 39 30 30 20 54 65 | 63 68 6e 6f 6c 6f 67 79 | 900 Te|chnology|
|00003d10| 20 50 61 72 6b 20 44 72 | 69 76 65 0a 63 20 20 20 | Park Dr|ive.c |
|00003d20| 20 20 2e 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 | .. | |
|00003d30| 20 20 20 20 20 42 69 6c | 6c 65 72 69 63 61 2c 20 | Bil|lerica, |
|00003d40| 4d 41 20 30 31 38 32 31 | 0a 63 0a 63 20 20 20 20 |MA 01821|.c.c |
|00003d50| 20 2e 2e 20 67 72 61 70 | 68 69 63 73 20 28 67 72 | .. grap|hics (gr|
|00003d60| 61 70 68 69 63 73 29 20 | 72 6f 75 74 69 6e 65 73 |aphics) |routines|
|00003d70| 20 63 61 6c 6c 65 64 0a | 20 20 20 20 20 20 65 78 | called.| ex|
|00003d80| 74 65 72 6e 61 6c 20 73 | 6b 69 70 2c 64 72 61 77 |ternal s|kip,draw|
|00003d90| 0a 63 20 20 20 20 20 2e | 2e 20 6c 6f 63 61 6c 20 |.c .|. local |
|00003da0| 76 61 72 69 61 62 6c 65 | 73 20 75 73 65 64 0a 20 |variable|s used. |
|00003db0| 20 20 20 20 20 69 6e 74 | 65 67 65 72 20 69 70 6e | int|eger ipn|
|00003dc0| 74 2c 20 69 70 6f 73 2c | 20 69 76 61 6c 2c 20 69 |t, ipos,| ival, i|
|00003dd0| 64 69 67 69 74 0a 20 20 | 20 20 20 20 72 65 61 6c |digit. | real|
|00003de0| 20 78 2c 20 79 2c 20 73 | 63 61 6c 65 0a 20 20 20 | x, y, s|cale. |
|00003df0| 20 20 20 72 65 61 6c 20 | 78 6c 65 66 74 2c 20 79 | real |xleft, y|
|00003e00| 6c 6f 77 65 72 0a 63 20 | 20 20 20 20 2e 2e 20 63 |lower.c | .. c|
|00003e10| 68 61 72 61 63 74 65 72 | 20 64 61 74 61 20 66 6f |haracter| data fo|
|00003e20| 72 20 74 68 65 20 74 65 | 6e 20 64 65 63 69 6d 61 |r the te|n decima|
|00003e30| 6c 20 64 69 67 69 74 20 | 63 68 61 72 61 63 74 65 |l digit |characte|
|00003e40| 72 73 0a 63 20 20 20 20 | 20 2e 2e 20 64 61 74 61 |rs.c | .. data|
|00003e50| 20 65 78 74 72 61 63 74 | 65 64 20 66 72 6f 6d 20 | extract|ed from |
|00003e60| 6f 6e 65 20 6f 66 20 74 | 68 65 20 48 65 72 73 68 |one of t|he Hersh|
|00003e70| 65 79 20 66 6f 6e 74 73 | 0a 20 20 20 20 20 20 69 |ey fonts|. i|
|00003e80| 6e 74 65 67 65 72 20 73 | 74 61 72 74 28 30 3a 31 |nteger s|tart(0:1|
|00003e90| 30 29 2c 20 70 6f 77 65 | 72 28 30 3a 39 29 0a 20 |0), powe|r(0:9). |
|00003ea0| 20 20 20 20 20 63 68 61 | 72 61 63 74 65 72 2a 31 | cha|racter*1|
|00003eb0| 20 6c 69 6e 65 28 32 2c | 31 30 34 29 0a 20 20 20 | line(2,|104). |
|00003ec0| 20 20 20 64 61 74 61 20 | 70 6f 77 65 72 2f 20 31 | data |power/ 1|
|00003ed0| 2c 20 31 30 2c 20 31 30 | 30 2c 20 31 30 30 30 2c |, 10, 10|0, 1000,|
|00003ee0| 20 31 30 30 30 30 2c 20 | 31 30 30 30 30 30 2c 20 | 10000, |100000, |
|00003ef0| 31 30 30 30 30 30 30 2c | 20 31 30 30 30 30 30 30 |1000000,| 1000000|
|00003f00| 30 2c 0a 20 20 20 20 20 | 78 20 31 30 30 30 30 30 |0,. |x 100000|
|00003f10| 30 30 30 2c 20 31 30 30 | 30 30 30 30 30 30 30 20 |000, 100|0000000 |
|00003f20| 2f 0a 20 20 20 20 20 20 | 64 61 74 61 20 73 74 61 |/. |data sta|
|00003f30| 72 74 2f 30 2c 31 31 2c | 31 34 2c 32 32 2c 33 36 |rt/0,11,|14,22,36|
|00003f40| 2c 34 32 2c 35 35 2c 36 | 38 2c 37 33 2c 39 31 2c |,42,55,6|8,73,91,|
|00003f50| 31 30 34 2f 0a 63 20 30 | 3a 70 6f 6c 79 28 34 20 |104/.c 0|:poly(4 |
|00003f60| 39 2c 32 20 38 2c 31 20 | 36 2c 31 20 33 2c 32 20 |9,2 8,1 |6,1 3,2 |
|00003f70| 31 2c 34 20 30 2c 36 20 | 31 2c 37 20 33 2c 37 20 |1,4 0,6 |1,7 3,7 |
|00003f80| 36 2c 36 20 38 2c 34 20 | 39 29 0a 63 20 31 3a 70 |6,6 8,4 |9).c 1:p|
|00003f90| 6f 6c 79 28 32 20 37 2c | 34 20 39 2c 34 20 30 29 |oly(2 7,|4 9,4 0)|
|00003fa0| 0a 63 20 32 3a 70 6f 6c | 79 28 31 20 38 2c 33 20 |.c 2:pol|y(1 8,3 |
|00003fb0| 39 2c 35 20 39 2c 37 20 | 38 2c 37 20 36 2c 36 20 |9,5 9,7 |8,7 6,6 |
|00003fc0| 34 2c 31 20 30 2c 37 20 | 30 29 0a 63 20 33 3a 70 |4,1 0,7 |0).c 3:p|
|00003fd0| 6f 6c 79 28 31 20 38 2c | 33 20 39 2c 35 20 39 2c |oly(1 8,|3 9,5 9,|
|00003fe0| 37 20 38 2c 37 20 36 2c | 35 20 35 29 0a 63 20 20 |7 8,7 6,|5 5).c |
|00003ff0| 20 70 6f 6c 79 28 34 20 | 35 2c 35 20 35 2c 37 20 | poly(4 |5,5 5,7 |
|00004000| 34 2c 37 20 31 2c 35 20 | 30 2c 33 20 30 2c 31 20 |4,7 1,5 |0,3 0,1 |
|00004010| 31 29 0a 63 20 34 3a 70 | 6f 6c 79 28 35 20 39 2c |1).c 4:p|oly(5 9,|
|00004020| 35 20 30 29 0a 63 20 20 | 20 70 6f 6c 79 28 35 20 |5 0).c | poly(5 |
|00004030| 39 2c 30 20 33 2c 38 20 | 33 29 0a 63 20 35 3a 70 |9,0 3,8 |3).c 5:p|
|00004040| 6f 6c 79 28 32 20 39 2c | 31 20 35 2c 33 20 36 2c |oly(2 9,|1 5,3 6,|
|00004050| 34 20 36 2c 36 20 35 2c | 37 20 33 2c 36 20 31 2c |4 6,6 5,|7 3,6 1,|
|00004060| 34 20 30 2c 33 20 30 2c | 31 20 31 29 0a 63 20 20 |4 0,3 0,|1 1).c |
|00004070| 20 70 6f 6c 79 28 32 20 | 39 2c 36 20 39 29 0a 63 | poly(2 |9,6 9).c|
|00004080| 20 36 3a 70 6f 6c 79 28 | 36 20 39 2c 34 20 39 2c | 6:poly(|6 9,4 9,|
|00004090| 32 20 38 2c 31 20 36 2c | 31 20 33 2c 32 20 31 2c |2 8,1 6,|1 3,2 1,|
|000040a0| 34 20 30 2c 36 20 31 2c | 37 20 33 2c 36 20 35 2c |4 0,6 1,|7 3,6 5,|
|000040b0| 34 20 36 2c 32 20 35 2c | 31 20 33 29 0a 63 20 37 |4 6,2 5,|1 3).c 7|
|000040c0| 3a 70 6f 6c 79 28 37 20 | 39 2c 33 20 30 29 0a 63 |:poly(7 |9,3 0).c|
|000040d0| 20 20 20 70 6f 6c 79 28 | 31 20 39 2c 37 20 39 29 | poly(|1 9,7 9)|
|000040e0| 0a 63 20 38 3a 70 6f 6c | 79 28 33 20 39 2c 31 20 |.c 8:pol|y(3 9,1 |
|000040f0| 38 2c 31 20 36 2c 33 20 | 35 2c 35 20 35 2c 37 20 |8,1 6,3 |5,5 5,7 |
|00004100| 36 2c 37 20 38 2c 35 20 | 39 2c 33 20 39 29 0a 63 |6,7 8,5 |9,3 9).c|
|00004110| 20 20 20 70 6f 6c 79 28 | 33 20 35 2c 31 20 34 2c | poly(|3 5,1 4,|
|00004120| 31 20 31 2c 33 20 30 2c | 35 20 30 2c 37 20 31 2c |1 1,3 0,|5 0,7 1,|
|00004130| 37 20 34 2c 35 20 35 29 | 0a 63 20 39 3a 70 6f 6c |7 4,5 5)|.c 9:pol|
|00004140| 79 28 37 20 36 2c 36 20 | 34 2c 34 20 33 2c 32 20 |y(7 6,6 |4,4 3,2 |
|00004150| 34 2c 31 20 36 2c 32 20 | 38 2c 34 20 39 2c 36 20 |4,1 6,2 |8,4 9,6 |
|00004160| 38 2c 37 20 36 2c 37 20 | 33 2c 36 20 31 2c 34 20 |8,7 6,7 |3,6 1,4 |
|00004170| 30 2c 32 20 30 29 0a 63 | 0a 20 20 20 20 20 20 64 |0,2 0).c|. d|
|00004180| 61 74 61 20 6c 69 6e 65 | 2f 27 52 27 2c 27 4d 27 |ata line|/'R','M'|
|00004190| 2c 27 50 27 2c 27 4e 27 | 2c 27 4f 27 2c 27 50 27 |,'P','N'|,'O','P'|
|000041a0| 2c 27 4f 27 2c 27 53 27 | 2c 27 50 27 2c 27 55 27 |,'O','S'|,'P','U'|
|000041b0| 2c 27 52 27 2c 27 56 27 | 2c 27 54 27 2c 27 55 27 |,'R','V'|,'T','U'|
|000041c0| 2c 0a 20 20 20 20 20 41 | 27 55 27 2c 27 53 27 2c |,. A|'U','S',|
|000041d0| 27 55 27 2c 27 50 27 2c | 27 54 27 2c 27 4e 27 2c |'U','P',|'T','N',|
|000041e0| 27 52 27 2c 27 4d 27 2c | 27 50 27 2c 27 4f 27 2c |'R','M',|'P','O',|
|000041f0| 27 52 27 2c 27 4d 27 2c | 27 52 0a 20 20 20 20 20 |'R','M',|'R. |
|00004200| 42 27 2c 27 56 27 2c 27 | 4f 27 2c 27 4e 27 2c 27 |B','V','|O','N','|
|00004210| 51 27 2c 27 4d 27 2c 27 | 53 27 2c 27 4d 27 2c 27 |Q','M','|S','M','|
|00004220| 55 27 2c 27 4e 27 2c 27 | 55 27 2c 27 50 27 2c 27 |U','N','|U','P','|
|00004230| 54 27 2c 27 52 27 2c 27 | 4f 27 2c 0a 20 20 20 20 |T','R','|O',. |
|00004240| 20 43 27 56 27 2c 27 55 | 27 2c 27 56 27 2c 27 4f | C'V','U|','V','O|
|00004250| 27 2c 27 4e 27 2c 27 51 | 27 2c 27 4d 27 2c 27 53 |','N','Q|','M','S|
|00004260| 27 2c 27 4d 27 2c 27 55 | 27 2c 27 4e 27 2c 27 55 |','M','U|','N','U|
|00004270| 27 2c 27 50 27 2c 27 53 | 27 2c 27 51 0a 20 20 20 |','P','S|','Q. |
|00004280| 20 20 44 27 2c 27 20 27 | 2c 27 52 27 2c 27 52 27 | D',' '|,'R','R'|
|00004290| 2c 27 51 27 2c 27 53 27 | 2c 27 51 27 2c 27 55 27 |,'Q','S'|,'Q','U'|
|000042a0| 2c 27 52 27 2c 27 55 27 | 2c 27 55 27 2c 27 53 27 |,'R','U'|,'U','S'|
|000042b0| 2c 27 56 27 2c 27 51 27 | 2c 27 56 27 2c 27 4f 27 |,'V','Q'|,'V','O'|
|000042c0| 2c 27 55 27 2c 0a 20 20 | 20 20 20 45 27 53 27 2c |,'U',. | E'S',|
|000042d0| 27 4d 27 2c 27 53 27 2c | 27 56 27 2c 27 20 27 2c |'M','S',|'V',' ',|
|000042e0| 27 52 27 2c 27 53 27 2c | 27 4d 27 2c 27 4e 27 2c |'R','S',|'M','N',|
|000042f0| 27 53 27 2c 27 56 27 2c | 27 53 27 2c 27 50 0a 20 |'S','V',|'S','P. |
|00004300| 20 20 20 20 46 27 2c 27 | 4d 27 2c 27 4f 27 2c 27 | F','|M','O','|
|00004310| 51 27 2c 27 51 27 2c 27 | 50 27 2c 27 52 27 2c 27 |Q','Q','|P','R','|
|00004320| 50 27 2c 27 54 27 2c 27 | 51 27 2c 27 55 27 2c 27 |P','T','|Q','U','|
|00004330| 53 27 2c 27 54 27 2c 27 | 55 27 2c 27 52 27 2c 27 |S','T','|U','R','|
|00004340| 56 27 2c 27 51 27 2c 0a | 20 20 20 20 20 47 27 56 |V','Q',.| G'V|
|00004350| 27 2c 27 4f 27 2c 27 55 | 27 2c 27 20 27 2c 27 52 |','O','U|',' ','R|
|00004360| 27 2c 27 50 27 2c 27 4d | 27 2c 27 54 27 2c 27 4d |','P','M|','T','M|
|00004370| 27 2c 27 54 27 2c 27 4d | 27 2c 27 52 27 2c 27 4d |','T','M|','R','M|
|00004380| 27 2c 27 50 27 2c 27 4e | 0a 20 20 20 20 20 48 27 |','P','N|. H'|
|00004390| 2c 27 4f 27 2c 27 50 27 | 2c 27 4f 27 2c 27 53 27 |,'O','P'|,'O','S'|
|000043a0| 2c 27 50 27 2c 27 55 27 | 2c 27 52 27 2c 27 56 27 |,'P','U'|,'R','V'|
|000043b0| 2c 27 54 27 2c 27 55 27 | 2c 27 55 27 2c 27 53 27 |,'T','U'|,'U','S'|
|000043c0| 2c 27 54 27 2c 27 51 27 | 2c 27 52 27 2c 27 50 27 |,'T','Q'|,'R','P'|
|000043d0| 2c 0a 20 20 20 20 20 49 | 27 50 27 2c 27 51 27 2c |,. I|'P','Q',|
|000043e0| 27 4f 27 2c 27 53 27 2c | 27 55 27 2c 27 4d 27 2c |'O','S',|'U','M',|
|000043f0| 27 51 27 2c 27 56 27 2c | 27 20 27 2c 27 52 27 2c |'Q','V',|' ','R',|
|00004400| 27 4f 27 2c 27 4d 27 2c | 27 55 27 2c 27 4d 27 2c |'O','M',|'U','M',|
|00004410| 0a 20 20 20 20 20 4a 27 | 51 27 2c 27 4d 27 2c 27 |. J'|Q','M','|
|00004420| 4f 27 2c 27 4e 27 2c 27 | 4f 27 2c 27 50 27 2c 27 |O','N','|O','P','|
|00004430| 51 27 2c 27 51 27 2c 27 | 53 27 2c 27 51 27 2c 27 |Q','Q','|S','Q','|
|00004440| 55 27 2c 27 50 27 2c 27 | 55 27 2c 27 4e 27 2c 27 |U','P','|U','N','|
|00004450| 53 27 2c 0a 20 20 20 20 | 20 4b 27 4d 27 2c 27 51 |S',. | K'M','Q|
|00004460| 27 2c 27 4d 27 2c 27 20 | 27 2c 27 52 27 2c 27 51 |','M',' |','R','Q|
|00004470| 27 2c 27 51 27 2c 27 4f | 27 2c 27 52 27 2c 27 4f |','Q','O|','R','O|
|00004480| 27 2c 27 55 27 2c 27 51 | 27 2c 27 56 27 2c 27 53 |','U','Q|','V','S|
|00004490| 27 2c 27 56 27 2c 27 55 | 27 2c 27 55 0a 20 20 20 |','V','U|','U. |
|000044a0| 20 20 4c 27 2c 27 55 27 | 2c 27 52 27 2c 27 53 27 | L','U'|,'R','S'|
|000044b0| 2c 27 51 27 2c 27 55 27 | 2c 27 50 27 2c 27 54 27 |,'Q','U'|,'P','T'|
|000044c0| 2c 27 52 27 2c 27 52 27 | 2c 27 53 27 2c 27 50 27 |,'R','R'|,'S','P'|
|000044d0| 2c 27 52 27 2c 27 4f 27 | 2c 27 50 27 2c 0a 20 20 |,'R','O'|,'P',. |
|000044e0| 20 20 20 4d 27 50 27 2c | 27 4e 27 2c 27 52 27 2c | M'P',|'N','R',|
|000044f0| 27 4d 27 2c 27 54 27 2c | 27 4e 27 2c 27 55 27 2c |'M','T',|'N','U',|
|00004500| 27 50 27 2c 27 55 27 2c | 27 53 27 2c 27 54 27 2c |'P','U',|'S','T',|
|00004510| 27 55 27 2c 27 52 27 2c | 27 56 27 2c 27 50 27 2c |'U','R',|'V','P',|
|00004520| 27 56 27 2f 0a 63 20 20 | 20 20 20 2e 2e 20 63 6f |'V'/.c | .. co|
|00004530| 6d 70 75 74 65 20 73 63 | 61 6c 65 20 66 61 63 74 |mpute sc|ale fact|
|00004540| 6f 72 20 61 6e 64 20 6c | 6f 77 65 72 20 6c 65 66 |or and l|ower lef|
|00004550| 74 20 6f 66 20 66 69 72 | 73 74 20 64 69 67 69 74 |t of fir|st digit|
|00004560| 0a 20 20 20 20 20 20 73 | 63 61 6c 65 20 3d 20 68 |. s|cale = h|
|00004570| 65 69 67 68 74 2f 31 30 | 2e 30 0a 20 20 20 20 20 |eight/10|.0. |
|00004580| 20 78 6c 65 66 74 20 3d | 20 78 30 0a 20 20 20 20 | xleft =| x0. |
|00004590| 20 20 79 6c 6f 77 65 72 | 20 3d 20 79 30 0a 20 20 | ylower| = y0. |
|000045a0| 20 20 20 20 69 76 61 6c | 20 3d 20 6e 75 6d 62 65 | ival| = numbe|
|000045b0| 72 0a 63 20 20 20 20 20 | 2e 2e 20 6c 6f 6f 70 20 |r.c |.. loop |
|000045c0| 66 6f 72 20 65 61 63 68 | 20 70 6f 73 69 74 69 6f |for each| positio|
|000045d0| 6e 0a 20 20 20 20 20 20 | 64 6f 20 33 30 20 69 70 |n. |do 30 ip|
|000045e0| 6f 73 20 3d 20 69 77 69 | 64 74 68 2c 31 2c 2d 31 |os = iwi|dth,1,-1|
|000045f0| 0a 20 20 20 20 20 20 20 | 20 20 69 64 69 67 69 74 |. | idigit|
|00004600| 20 3d 20 6d 6f 64 28 20 | 69 76 61 6c 2f 70 6f 77 | = mod( |ival/pow|
|00004610| 65 72 28 69 70 6f 73 2d | 31 29 2c 20 31 30 20 29 |er(ipos-|1), 10 )|
|00004620| 0a 63 20 20 20 20 20 20 | 20 20 2e 2e 20 66 69 72 |.c | .. fir|
|00004630| 73 74 20 64 61 74 61 20 | 70 6f 69 6e 74 20 69 73 |st data |point is|
|00004640| 20 61 20 6d 6f 76 65 0a | 20 20 20 20 20 20 20 20 | a move.| |
|00004650| 20 63 61 6c 6c 20 73 6b | 69 70 0a 63 20 20 20 20 | call sk|ip.c |
|00004660| 20 20 20 20 2e 2e 20 6c | 6f 6f 70 20 6f 76 65 72 | .. l|oop over|
|00004670| 20 64 61 74 61 20 66 6f | 72 20 74 68 69 73 20 64 | data fo|r this d|
|00004680| 69 67 69 74 0a 20 20 20 | 20 20 20 20 20 20 64 6f |igit. | do|
|00004690| 20 32 30 20 69 70 6e 74 | 3d 73 74 61 72 74 28 69 | 20 ipnt|=start(i|
|000046a0| 64 69 67 69 74 29 2b 31 | 2c 73 74 61 72 74 28 69 |digit)+1|,start(i|
|000046b0| 64 69 67 69 74 2b 31 29 | 0a 20 20 20 20 20 20 20 |digit+1)|. |
|000046c0| 20 20 20 20 20 69 66 28 | 6c 69 6e 65 28 31 2c 69 | if(|line(1,i|
|000046d0| 70 6e 74 29 2e 65 71 2e | 27 20 27 29 20 74 68 65 |pnt).eq.|' ') the|
|000046e0| 6e 0a 63 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n.c | |
|000046f0| 20 2e 2e 20 6e 65 78 74 | 20 64 61 74 61 20 70 6f | .. next| data po|
|00004700| 69 6e 74 20 69 73 20 61 | 20 6d 6f 76 65 0a 20 20 |int is a| move. |
|00004710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 61 6c | | cal|
|00004720| 6c 20 73 6b 69 70 0a 20 | 20 20 20 20 20 20 20 20 |l skip. | |
|00004730| 20 20 20 65 6c 73 65 0a | 63 20 20 20 20 20 20 20 | else.|c |
|00004740| 20 20 20 20 20 20 20 2e | 2e 20 64 72 61 77 20 28 | .|. draw (|
|00004750| 6f 72 20 6d 6f 76 65 29 | 20 74 6f 20 74 68 69 73 |or move)| to this|
|00004760| 20 64 61 74 61 20 70 6f | 69 6e 74 0a 20 20 20 20 | data po|int. |
|00004770| 20 20 20 20 20 20 20 20 | 20 20 20 78 3d 69 63 68 | | x=ich|
|00004780| 61 72 28 6c 69 6e 65 28 | 31 2c 69 70 6e 74 29 29 |ar(line(|1,ipnt))|
|00004790| 2d 69 63 68 61 72 28 27 | 4e 27 29 0a 20 20 20 20 |-ichar('|N'). |
|000047a0| 20 20 20 20 20 20 20 20 | 20 20 20 79 3d 69 63 68 | | y=ich|
|000047b0| 61 72 28 6c 69 6e 65 28 | 32 2c 69 70 6e 74 29 29 |ar(line(|2,ipnt))|
|000047c0| 2d 69 63 68 61 72 28 27 | 56 27 29 0a 20 20 20 20 |-ichar('|V'). |
|000047d0| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 6c 6c 20 | | call |
|000047e0| 64 72 61 77 28 78 6c 65 | 66 74 2b 73 63 61 6c 65 |draw(xle|ft+scale|
|000047f0| 2a 78 2c 79 6c 6f 77 65 | 72 2d 73 63 61 6c 65 2a |*x,ylowe|r-scale*|
|00004800| 79 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 65 |y). | e|
|00004810| 6e 64 69 66 0a 32 30 20 | 20 20 20 20 20 20 63 6f |ndif.20 | co|
|00004820| 6e 74 69 6e 75 65 0a 63 | 20 20 20 20 20 20 20 20 |ntinue.c| |
|00004830| 2e 2e 20 6d 6f 76 65 20 | 66 6f 72 20 6e 65 78 74 |.. move |for next|
|00004840| 20 64 69 67 69 74 0a 20 | 20 20 20 20 20 20 20 20 | digit. | |
|00004850| 78 6c 65 66 74 20 3d 20 | 78 6c 65 66 74 20 2b 20 |xleft = |xleft + |
|00004860| 68 65 69 67 68 74 0a 33 | 30 20 20 20 20 63 6f 6e |height.3|0 con|
|00004870| 74 69 6e 75 65 0a 20 20 | 20 20 20 20 65 6e 64 0a |tinue. | end.|
|00004880| 0a 53 48 41 52 5f 45 4f | 46 0a 69 66 20 74 65 73 |.SHAR_EO|F.if tes|
|00004890| 74 20 2d 66 20 27 68 65 | 72 73 68 65 79 2e 63 27 |t -f 'he|rshey.c'|
|000048a0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|000048b0| 3a 20 6f 76 65 72 2d 77 | 72 69 74 69 6e 67 20 65 |: over-w|riting e|
|000048c0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 68 |xisting |file "'h|
|000048d0| 65 72 73 68 65 79 2e 63 | 27 22 0a 66 69 0a 63 61 |ershey.c|'".fi.ca|
|000048e0| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|000048f0| 20 27 68 65 72 73 68 65 | 79 2e 63 27 0a 23 69 6e | 'hershe|y.c'.#in|
|00004900| 63 6c 75 64 65 20 22 63 | 67 6b 73 69 6e 63 6c 2e |clude "c|gksincl.|
|00004910| 68 22 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 74 64 |h".#incl|ude <std|
|00004920| 69 6f 2e 68 3e 0a 0a 23 | 69 66 6e 64 65 66 20 54 |io.h>..#|ifndef T|
|00004930| 52 55 45 0a 23 64 65 66 | 69 6e 65 20 54 52 55 45 |RUE.#def|ine TRUE|
|00004940| 20 31 0a 23 64 65 66 69 | 6e 65 20 46 41 4c 53 45 | 1.#defi|ne FALSE|
|00004950| 20 30 0a 23 65 6e 64 69 | 66 0a 0a 2f 2a 0a 20 2a | 0.#endi|f../*. *|
|00004960| 20 68 65 72 73 68 65 79 | 2e 63 20 20 20 44 69 73 | hershey|.c Dis|
|00004970| 70 6c 61 79 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |play all| of the |
|00004980| 48 65 72 73 68 65 79 20 | 66 6f 6e 74 20 64 61 74 |Hershey |font dat|
|00004990| 61 20 69 6e 20 61 20 66 | 6f 6e 74 20 66 69 6c 65 |a in a f|ont file|
|000049a0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 61 6d 70 |. *. * T|his samp|
|000049b0| 6c 65 20 70 72 6f 67 72 | 61 6d 20 69 73 20 69 6e |le progr|am is in|
|000049c0| 74 65 6e 64 65 64 20 6d | 6f 72 65 20 73 6f 20 74 |tended m|ore so t|
|000049d0| 68 65 20 75 73 65 72 20 | 63 61 6e 20 73 65 65 20 |he user |can see |
|000049e0| 68 6f 77 20 74 68 65 0a | 20 2a 20 66 6f 6e 74 20 |how the.| * font |
|000049f0| 64 61 74 61 20 69 73 20 | 72 65 61 64 20 61 6e 64 |data is |read and|
|00004a00| 20 75 73 65 64 20 69 6e | 20 61 6e 20 28 61 64 6d | used in| an (adm|
|00004a10| 69 74 74 65 64 6c 79 20 | 6d 69 6e 69 6d 61 6c 29 |ittedly |minimal)|
|00004a20| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 0a 20 2a | applica|tion,. *|
|00004a30| 20 74 68 61 6e 20 61 73 | 20 61 20 75 73 65 61 62 | than as| a useab|
|00004a40| 6c 65 20 70 72 6f 67 72 | 61 6d 2e 0a 20 2a 0a 20 |le progr|am.. *. |
|00004a50| 2a 20 49 74 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 |* Its fu|nction i|
|00004a60| 73 20 74 6f 20 64 69 73 | 70 6c 61 79 20 61 6c 6c |s to dis|play all|
|00004a70| 20 6f 66 20 74 68 65 20 | 68 65 72 73 68 65 79 20 | of the |hershey |
|00004a80| 66 6f 6e 74 20 63 68 61 | 72 61 63 74 65 72 73 20 |font cha|racters |
|00004a90| 6f 6e 2d 73 63 72 65 65 | 6e 2c 0a 20 2a 20 69 6e |on-scree|n,. * in|
|00004aa0| 20 61 20 66 6f 72 6d 61 | 74 20 38 20 63 68 61 72 | a forma|t 8 char|
|00004ab0| 61 63 74 65 72 73 20 61 | 63 72 6f 73 73 20 61 6e |acters a|cross an|
|00004ac0| 64 20 38 20 76 65 72 74 | 69 63 61 6c 2e 0a 20 2a |d 8 vert|ical.. *|
|00004ad0| 0a 20 2a 20 75 73 61 67 | 65 3a 0a 20 2a 20 20 20 |. * usag|e:. * |
|00004ae0| 20 68 65 72 73 68 65 79 | 20 3c 64 65 76 69 63 65 | hershey| <device|
|00004af0| 3e 20 3c 66 6f 6e 74 66 | 69 6c 65 3e 0a 20 2a 0a |> <fontf|ile>. *.|
|00004b00| 20 2a 20 20 20 20 20 20 | 20 77 68 65 72 65 20 3c | * | where <|
|00004b10| 64 65 76 69 63 65 3e 20 | 69 73 20 61 20 73 75 70 |device> |is a sup|
|00004b20| 70 6f 72 74 65 64 20 64 | 65 76 69 63 65 20 28 27 |ported d|evice ('|
|00004b30| 63 27 20 66 6f 72 20 70 | 63 2d 63 67 61 20 69 73 |c' for p|c-cga is|
|00004b40| 20 61 6c 6c 0a 20 2a 20 | 20 20 20 20 20 20 20 20 | all. * | |
|00004b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 20 | | in |
|00004b60| 74 68 69 73 20 76 65 72 | 73 69 6f 6e 29 0a 20 2a |this ver|sion). *|
|00004b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3c 66 6f | | <fo|
|00004b80| 6e 74 66 69 6c 65 3e 20 | 69 73 20 74 68 65 20 6e |ntfile> |is the n|
|00004b90| 61 6d 65 20 6f 66 20 61 | 20 68 65 72 73 68 65 79 |ame of a| hershey|
|00004ba0| 20 66 6f 6e 74 20 66 69 | 6c 65 2c 20 65 2e 67 2e | font fi|le, e.g.|
|00004bb0| 0a 20 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. * | |
|00004bc0| 20 20 20 20 20 20 20 20 | 20 68 65 72 73 68 2e 6f | | hersh.o|
|00004bd0| 63 31 0a 20 2a 0a 20 2a | 20 54 72 61 6e 73 6c 61 |c1. *. *| Transla|
|00004be0| 74 65 64 20 66 72 6f 6d | 20 46 6f 72 74 72 61 6e |ted from| Fortran|
|00004bf0| 20 74 6f 20 43 20 61 6e | 64 20 47 4b 53 20 28 74 | to C an|d GKS (t|
|00004c00| 68 61 74 27 73 20 77 68 | 79 20 69 74 20 6c 6f 6f |hat's wh|y it loo|
|00004c10| 6b 73 20 77 69 65 72 64 | 21 29 0a 20 2a 20 20 20 |ks wierd|!). * |
|00004c20| 20 28 50 52 49 4f 52 20 | 44 61 74 61 20 53 63 69 | (PRIOR |Data Sci|
|00004c30| 65 6e 63 65 73 20 6e 6f | 6e 2d 41 4e 53 49 20 47 |ences no|n-ANSI G|
|00004c40| 4b 53 20 62 69 6e 64 69 | 6e 67 20 75 73 65 64 20 |KS bindi|ng used |
|00004c50| 68 65 72 65 2e 20 53 6f | 72 72 79 21 0a 20 2a 20 |here. So|rry!. * |
|00004c60| 20 20 20 20 53 6f 6d 65 | 62 6f 64 79 20 65 6c 73 | Some|body els|
|00004c70| 65 20 69 73 20 77 65 6c | 63 6f 6d 65 20 74 6f 20 |e is wel|come to |
|00004c80| 74 72 61 6e 73 6c 61 74 | 65 20 74 6f 20 74 68 65 |translat|e to the|
|00004c90| 20 41 4e 53 49 20 62 69 | 6e 64 69 6e 67 29 0a 20 | ANSI bi|nding). |
|00004ca0| 2a 0a 20 2a 2f 0a 0a 2f | 2a 0a 20 20 20 20 20 54 |*. */../|*. T|
|00004cb0| 72 61 6e 73 6c 61 74 65 | 64 20 62 79 20 50 65 74 |ranslate|d by Pet|
|00004cc0| 65 20 48 6f 6c 7a 6d 61 | 6e 6e 0a 20 20 20 20 20 |e Holzma|nn. |
|00004cd0| 20 20 20 20 4f 63 74 6f | 70 75 73 20 45 6e 74 65 | Octo|pus Ente|
|00004ce0| 72 70 72 69 73 65 73 0a | 20 20 20 20 20 20 20 20 |rprises.| |
|00004cf0| 20 31 39 36 31 31 20 4c | 61 20 4d 61 72 20 43 6f | 19611 L|a Mar Co|
|00004d00| 75 72 74 0a 20 20 20 20 | 20 20 20 20 20 43 75 70 |urt. | Cup|
|00004d10| 65 72 74 69 6e 6f 2c 20 | 43 41 20 39 35 30 31 34 |ertino, |CA 95014|
|00004d20| 0a 0a 20 20 20 20 20 20 | 4f 72 69 67 69 6e 61 6c |.. |Original|
|00004d30| 2e 2e 2e 20 20 0a 20 20 | 20 20 20 2e 2e 20 42 79 |... . | .. By|
|00004d40| 20 4a 61 6d 65 73 20 48 | 75 72 74 20 77 68 65 6e | James H|urt when|
|00004d50| 20 77 69 74 68 0a 20 20 | 20 20 20 2e 2e 20 20 20 | with. | .. |
|00004d60| 20 44 65 65 72 65 20 61 | 6e 64 20 43 6f 6d 70 61 | Deere a|nd Compa|
|00004d70| 6e 79 0a 20 20 20 20 20 | 2e 2e 20 20 20 20 4a 6f |ny. |.. Jo|
|00004d80| 68 6e 20 44 65 65 72 65 | 20 52 6f 61 64 0a 20 20 |hn Deere| Road. |
|00004d90| 20 20 20 2e 2e 20 20 20 | 20 4d 6f 6c 69 6e 65 2c | .. | Moline,|
|00004da0| 20 49 4c 20 36 31 32 36 | 35 0a 0a 20 20 20 20 20 | IL 6126|5.. |
|00004db0| 2e 2e 20 6e 6f 77 20 77 | 69 74 68 20 43 6f 67 6e |.. now w|ith Cogn|
|00004dc0| 69 74 69 6f 6e 2c 20 49 | 6e 63 2e 0a 20 20 20 20 |ition, I|nc.. |
|00004dd0| 20 2e 2e 20 20 20 20 20 | 20 20 20 20 20 39 30 30 | .. | 900|
|00004de0| 20 54 65 63 68 6e 6f 6c | 6f 67 79 20 50 61 72 6b | Technol|ogy Park|
|00004df0| 20 44 72 69 76 65 0a 20 | 20 20 20 20 2e 2e 20 20 | Drive. | .. |
|00004e00| 20 20 20 20 20 20 20 20 | 42 69 6c 6c 65 72 69 63 | |Billeric|
|00004e10| 61 2c 20 4d 41 20 30 31 | 38 32 31 0a 2a 2f 0a 0a |a, MA 01|821.*/..|
|00004e20| 2f 2a 20 6c 6f 63 61 6c | 20 76 61 72 69 61 62 6c |/* local| variabl|
|00004e30| 65 73 20 2a 2f 0a 20 20 | 20 2f 2a 20 74 68 65 20 |es */. | /* the |
|00004e40| 6e 65 78 74 20 76 61 72 | 69 61 62 6c 65 73 20 73 |next var|iables s|
|00004e50| 65 74 20 74 68 65 20 70 | 65 72 63 65 6e 74 2d 6f |et the p|ercent-o|
|00004e60| 66 2d 73 63 72 65 65 6e | 20 75 73 65 64 20 66 6f |f-screen| used fo|
|00004e70| 72 20 65 61 63 68 0a 20 | 20 20 20 20 20 63 68 61 |r each. | cha|
|00004e80| 72 61 63 74 65 72 2e 20 | 27 63 6f 6c 6d 61 78 27 |racter. |'colmax'|
|00004e90| 20 73 68 6f 75 6c 64 20 | 62 65 20 6c 65 66 74 20 | should |be left |
|00004ea0| 61 74 20 31 30 30 2e 20 | 2a 2f 0a 0a 20 20 20 20 |at 100. |*/.. |
|00004eb0| 20 20 66 6c 6f 61 74 20 | 64 65 6c 74 61 63 20 3d | float |deltac =|
|00004ec0| 20 31 32 2e 35 2c 20 64 | 65 6c 74 61 72 20 3d 20 | 12.5, d|eltar = |
|00004ed0| 31 32 2e 35 2c 20 63 6f | 6c 6d 61 78 20 3d 20 31 |12.5, co|lmax = 1|
|00004ee0| 30 30 2e 30 3b 0a 0a 20 | 20 20 09 46 49 4c 45 09 |00.0;.. | .FILE.|
|00004ef0| 2a 49 4e 66 69 6c 65 2c | 2a 4f 55 54 66 69 6c 65 |*INfile,|*OUTfile|
|00004f00| 2c 2a 66 6f 70 65 6e 28 | 29 3b 20 2f 2a 20 73 6f |,*fopen(|); /* so|
|00004f10| 6d 65 20 66 69 6c 65 73 | 20 2a 2f 0a 0a 20 20 20 |me files| */.. |
|00004f20| 20 20 20 2f 2a 20 73 6f | 6d 65 20 76 61 72 69 61 | /* so|me varia|
|00004f30| 62 6c 65 73 20 74 6f 20 | 72 65 63 6f 72 64 20 74 |bles to |record t|
|00004f40| 68 65 20 6c 61 72 67 65 | 73 74 20 62 6f 75 6e 64 |he large|st bound|
|00004f50| 69 6e 67 20 72 65 63 74 | 61 6e 67 6c 65 20 6f 66 |ing rect|angle of|
|00004f60| 0a 20 20 20 20 20 20 20 | 20 20 74 68 65 20 64 69 |. | the di|
|00004f70| 73 70 6c 61 79 65 64 20 | 63 68 61 72 61 63 74 65 |splayed |characte|
|00004f80| 72 73 2e 20 50 72 69 6e | 74 65 64 20 77 68 65 6e |rs. Prin|ted when|
|00004f90| 20 61 6c 6c 20 66 69 6e | 69 73 68 65 64 2e 20 2a | all fin|ished. *|
|00004fa0| 2f 0a 0a 20 20 20 20 20 | 20 69 6e 74 20 6d 69 6e |/.. | int min|
|00004fb0| 78 20 3d 20 39 39 39 2c | 6d 69 6e 79 20 3d 20 39 |x = 999,|miny = 9|
|00004fc0| 39 39 2c 6d 61 78 78 3d | 2d 39 39 39 2c 6d 61 78 |99,maxx=|-999,max|
|00004fd0| 79 3d 2d 39 39 39 3b 0a | 0a 2f 2a 20 20 20 20 2e |y=-999;.|./* .|
|00004fe0| 2e 20 66 6f 6e 74 20 64 | 61 74 61 20 66 69 6c 65 |. font d|ata file|
|00004ff0| 20 6e 61 6d 65 20 2a 2f | 0a 20 20 20 20 20 20 63 | name */|. c|
|00005000| 68 61 72 20 6e 61 6d 65 | 5b 38 30 5d 3b 0a 0a 2f |har name|[80];../|
|00005010| 2a 20 61 20 66 6f 72 77 | 61 72 64 20 72 65 66 65 |* a forw|ard refe|
|00005020| 72 65 6e 63 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |renced f|unction |
|00005030| 2a 2f 0a 20 20 20 20 20 | 20 76 6f 69 64 20 6a 6e |*/. | void jn|
|00005040| 75 6d 62 72 28 29 3b 0a | 0a 20 20 20 66 6c 6f 61 |umbr();.|. floa|
|00005050| 74 20 61 73 70 65 63 74 | 20 3d 20 31 2e 32 3b 20 |t aspect| = 1.2; |
|00005060| 20 2f 2a 20 50 43 20 67 | 72 61 70 68 69 63 73 20 | /* PC g|raphics |
|00005070| 73 63 72 65 65 6e 20 61 | 73 70 65 63 74 20 72 61 |screen a|spect ra|
|00005080| 74 69 6f 20 2a 2f 0a 0a | 2f 2a 20 47 4b 53 20 6c |tio */..|/* GKS l|
|00005090| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 73 20 2a |ocal var|iables *|
|000050a0| 2f 0a 0a 20 20 20 69 6e | 74 20 63 67 61 28 29 3b |/.. in|t cga();|
|000050b0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 64 65 | | /* de|
|000050c0| 76 69 63 65 20 69 6e 69 | 74 69 61 6c 69 7a 65 72 |vice ini|tializer|
|000050d0| 20 66 75 6e 63 74 69 6f | 6e 20 2a 2f 0a 09 69 6e | functio|n */..in|
|000050e0| 74 09 28 2a 77 73 69 6e | 69 74 66 29 28 29 3b 20 |t.(*wsin|itf)(); |
|000050f0| 20 2f 2a 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 | /* poin|ter to t|
|00005100| 68 65 20 69 6e 69 74 69 | 61 6c 69 7a 65 72 20 66 |he initi|alizer f|
|00005110| 75 6e 63 74 69 6f 6e 20 | 2a 2f 0a 09 57 73 5f 69 |unction |*/..Ws_i|
|00005120| 64 20 20 20 77 73 73 5f | 78 78 78 78 3b 20 20 20 |d wss_|xxxx; |
|00005130| 20 2f 2a 20 77 6f 72 6b | 73 74 61 74 69 6f 6e 20 | /* work|station |
|00005140| 69 64 20 28 61 6e 20 69 | 6e 74 29 20 2a 2f 0a 09 |id (an i|nt) */..|
|00005150| 49 6e 74 20 09 77 73 74 | 79 70 3b 20 20 20 20 20 |Int .wst|yp; |
|00005160| 20 20 20 20 2f 2a 20 77 | 73 20 74 79 70 65 2c 20 | /* w|s type, |
|00005170| 61 6e 64 20 73 6f 6d 65 | 20 76 61 72 73 20 2a 2f |and some| vars */|
|00005180| 0a 09 44 72 65 63 74 09 | 6d 61 78 73 75 72 66 3b |..Drect.|maxsurf;|
|00005190| 20 20 20 20 20 20 20 2f | 2a 20 6d 61 78 20 64 65 | /|* max de|
|000051a0| 76 69 63 65 20 73 75 72 | 66 61 63 65 20 72 65 63 |vice sur|face rec|
|000051b0| 74 61 6e 67 6c 65 20 2a | 2f 0a 09 49 6e 74 09 72 |tangle *|/..Int.r|
|000051c0| 61 73 74 75 6e 69 74 5b | 32 5d 3b 20 20 20 2f 2a |astunit[|2]; /*|
|000051d0| 20 64 65 76 69 63 65 20 | 73 75 72 66 61 63 65 20 | device |surface |
|000051e0| 69 6e 20 72 61 73 74 65 | 72 20 75 6e 69 74 73 20 |in raste|r units |
|000051f0| 2a 2f 0a 0a 09 57 63 09 | 70 31 5b 32 5d 3b 20 20 |*/...Wc.|p1[2]; |
|00005200| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 20 74 77 6f | | /* two|
|00005210| 20 77 6f 72 6c 64 20 63 | 6f 6f 72 64 69 6e 61 74 | world c|oordinat|
|00005220| 65 73 20 2a 2f 0a 0a 2f | 2a 20 77 6f 72 6c 64 20 |es */../|* world |
|00005230| 63 6f 6f 72 64 69 6e 61 | 74 65 20 77 69 6e 64 6f |coordina|te windo|
|00005240| 77 73 20 2a 2f 0a 09 57 | 72 65 63 74 09 77 72 65 |ws */..W|rect.wre|
|00005250| 63 74 20 20 3d 20 7b 2d | 31 37 2c 2d 31 37 2c 31 |ct = {-|17,-17,1|
|00005260| 37 2c 31 37 7d 3b 0a 2f | 2a 20 4e 44 43 20 63 6f |7,17};./|* NDC co|
|00005270| 6f 72 64 69 6e 61 74 65 | 20 76 69 65 77 70 6f 72 |ordinate| viewpor|
|00005280| 74 20 61 6e 64 20 77 69 | 6e 64 6f 77 73 20 2a 2f |t and wi|ndows */|
|00005290| 0a 09 4e 72 65 63 74 09 | 6e 72 65 63 74 20 3d 20 |..Nrect.|nrect = |
|000052a0| 7b 30 2e 30 2c 20 30 2e | 30 2c 20 31 2e 30 2c 20 |{0.0, 0.|0, 1.0, |
|000052b0| 31 2e 30 7d 3b 0a 2f 2a | 20 44 43 20 63 6f 6f 72 |1.0};./*| DC coor|
|000052c0| 64 69 6e 61 74 65 20 76 | 69 65 77 70 6f 72 74 20 |dinate v|iewport |
|000052d0| 2a 2f 0a 09 44 72 65 63 | 74 09 64 72 65 63 74 20 |*/..Drec|t.drect |
|000052e0| 3d 20 7b 30 2e 30 2c 20 | 30 2e 30 2c 20 33 31 39 |= {0.0, |0.0, 319|
|000052f0| 2e 30 2c 20 31 39 39 2e | 30 7d 3b 20 2f 2a 20 77 |.0, 199.|0}; /* w|
|00005300| 6f 72 6b 20 61 72 65 61 | 20 2a 2f 0a 0a 0a 2f 2a |ork area| */.../*|
|00005310| 0a 20 2a 20 73 63 61 6e | 69 6e 74 3a 20 61 20 66 |. * scan|int: a f|
|00005320| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 73 63 61 6e 20 |unction |to scan |
|00005330| 61 6e 20 69 6e 74 65 67 | 65 72 2c 20 75 73 69 6e |an integ|er, usin|
|00005340| 67 20 6e 20 63 68 61 72 | 61 63 74 65 72 73 20 6f |g n char|acters o|
|00005350| 66 0a 20 2a 20 20 20 20 | 20 20 20 20 20 20 74 68 |f. * | th|
|00005360| 65 20 69 6e 70 75 74 20 | 66 69 6c 65 2c 20 69 67 |e input |file, ig|
|00005370| 6e 6f 72 69 6e 67 20 6e | 65 77 6c 69 6e 65 73 2e |noring n|ewlines.|
|00005380| 20 28 73 63 61 6e 66 20 | 77 6f 6e 27 74 20 77 6f | (scanf |won't wo|
|00005390| 72 6b 0a 20 2a 20 20 20 | 20 20 20 20 20 20 20 62 |rk. * | b|
|000053a0| 65 63 61 75 73 65 20 69 | 74 20 61 6c 73 6f 20 69 |ecause i|t also i|
|000053b0| 67 6e 6f 72 65 73 20 62 | 6c 61 6e 6b 73 29 0a 20 |gnores b|lanks). |
|000053c0| 2a 2f 0a 69 6e 74 20 73 | 63 61 6e 69 6e 74 28 66 |*/.int s|canint(f|
|000053d0| 69 6c 65 2c 6e 29 0a 46 | 49 4c 45 20 2a 66 69 6c |ile,n).F|ILE *fil|
|000053e0| 65 3b 0a 69 6e 74 20 6e | 3b 0a 7b 0a 63 68 61 72 |e;.int n|;.{.char|
|000053f0| 20 62 75 66 5b 32 30 5d | 3b 0a 69 6e 74 20 69 2c | buf[20]|;.int i,|
|00005400| 63 3b 0a 0a 20 20 20 66 | 6f 72 20 28 69 3d 30 3b |c;.. f|or (i=0;|
|00005410| 69 3c 6e 3b 69 2b 2b 29 | 7b 0a 20 20 20 20 20 20 |i<n;i++)|{. |
|00005420| 77 68 69 6c 65 20 28 28 | 63 20 3d 20 66 67 65 74 |while ((|c = fget|
|00005430| 63 28 66 69 6c 65 29 29 | 20 3d 3d 20 27 5c 6e 27 |c(file))| == '\n'|
|00005440| 29 20 3b 20 2f 2a 20 64 | 69 73 63 61 72 64 20 73 |) ; /* d|iscard s|
|00005450| 70 61 72 65 20 6e 65 77 | 6c 69 6e 65 73 20 2a 2f |pare new|lines */|
|00005460| 0a 20 20 20 20 20 20 69 | 66 20 28 63 20 3d 3d 20 |. i|f (c == |
|00005470| 45 4f 46 29 20 72 65 74 | 75 72 6e 28 2d 31 29 3b |EOF) ret|urn(-1);|
|00005480| 0a 20 20 20 20 20 20 20 | 62 75 66 5b 69 5d 20 3d |. |buf[i] =|
|00005490| 20 63 3b 0a 20 20 20 7d | 0a 20 20 20 0a 20 20 20 | c;. }|. . |
|000054a0| 62 75 66 5b 69 5d 20 3d | 20 30 3b 0a 20 20 20 72 |buf[i] =| 0;. r|
|000054b0| 65 74 75 72 6e 28 61 74 | 6f 69 28 62 75 66 29 29 |eturn(at|oi(buf))|
|000054c0| 3b 0a 7d 0a 0a 2f 2a 0a | 20 2a 20 43 6f 6e 76 65 |;.}../*.| * Conve|
|000054d0| 72 74 20 64 65 73 69 72 | 65 64 20 76 69 65 77 70 |rt desir|ed viewp|
|000054e0| 6f 72 74 20 69 6e 20 70 | 65 72 63 65 6e 74 61 67 |ort in p|ercentag|
|000054f0| 65 73 20 69 6e 74 6f 20 | 4e 6f 72 6d 61 6c 69 7a |es into |Normaliz|
|00005500| 65 64 20 44 65 76 69 63 | 65 20 43 6f 6f 72 64 73 |ed Devic|e Coords|
|00005510| 0a 20 2a 20 28 4e 44 43 | 29 20 66 6f 72 20 47 4b |. * (NDC|) for GK|
|00005520| 53 0a 20 2a 2f 0a 0a 73 | 65 74 76 69 65 77 28 6d |S. */..s|etview(m|
|00005530| 69 6e 78 2c 6d 69 6e 79 | 2c 6d 61 78 78 2c 6d 61 |inx,miny|,maxx,ma|
|00005540| 78 79 29 0a 66 6c 6f 61 | 74 20 6d 69 6e 78 2c 6d |xy).floa|t minx,m|
|00005550| 69 6e 79 2c 6d 61 78 78 | 2c 6d 61 78 79 3b 0a 7b |iny,maxx|,maxy;.{|
|00005560| 0a 20 20 20 4e 72 65 63 | 74 20 6e 65 77 76 69 65 |. Nrec|t newvie|
|00005570| 77 3b 0a 0a 20 20 20 6e | 65 77 76 69 65 77 2e 6e |w;.. n|ewview.n|
|00005580| 5f 6c 6c 2e 6e 5f 78 20 | 3d 20 6d 69 6e 78 2a 6e |_ll.n_x |= minx*n|
|00005590| 72 65 63 74 2e 6e 5f 75 | 72 2e 6e 5f 78 2f 31 30 |rect.n_u|r.n_x/10|
|000055a0| 30 2e 30 3b 0a 20 20 20 | 6e 65 77 76 69 65 77 2e |0.0;. |newview.|
|000055b0| 6e 5f 6c 6c 2e 6e 5f 79 | 20 3d 20 6d 69 6e 79 2a |n_ll.n_y| = miny*|
|000055c0| 6e 72 65 63 74 2e 6e 5f | 75 72 2e 6e 5f 79 2f 31 |nrect.n_|ur.n_y/1|
|000055d0| 30 30 2e 30 3b 0a 20 20 | 20 6e 65 77 76 69 65 77 |00.0;. | newview|
|000055e0| 2e 6e 5f 75 72 2e 6e 5f | 78 20 3d 20 6d 61 78 78 |.n_ur.n_|x = maxx|
|000055f0| 2a 6e 72 65 63 74 2e 6e | 5f 75 72 2e 6e 5f 78 2f |*nrect.n|_ur.n_x/|
|00005600| 31 30 30 2e 30 3b 0a 20 | 20 20 6e 65 77 76 69 65 |100.0;. | newvie|
|00005610| 77 2e 6e 5f 75 72 2e 6e | 5f 79 20 3d 20 6d 61 78 |w.n_ur.n|_y = max|
|00005620| 79 2a 6e 72 65 63 74 2e | 6e 5f 75 72 2e 6e 5f 79 |y*nrect.|n_ur.n_y|
|00005630| 2f 31 30 30 2e 30 3b 0a | 20 20 20 2f 2a 20 75 73 |/100.0;.| /* us|
|00005640| 65 20 6e 6f 72 6d 61 6c | 69 7a 61 74 69 6f 6e 20 |e normal|ization |
|00005650| 74 72 61 6e 73 66 6f 72 | 6d 61 74 69 6f 6e 20 6e |transfor|mation n|
|00005660| 75 6d 62 65 72 20 31 20 | 2a 2f 0a 20 20 20 73 5f |umber 1 |*/. s_|
|00005670| 76 69 65 77 70 6f 72 74 | 28 31 2c 26 6e 65 77 76 |viewport|(1,&newv|
|00005680| 69 65 77 29 3b 0a 7d 0a | 0a 2f 2a 0a 20 2a 20 47 |iew);.}.|./*. * G|
|00005690| 4b 53 20 75 73 65 73 20 | 61 20 70 6f 6c 79 6c 69 |KS uses |a polyli|
|000056a0| 6e 65 20 66 75 6e 63 74 | 69 6f 6e 20 69 6e 73 74 |ne funct|ion inst|
|000056b0| 65 61 64 20 6f 66 20 73 | 6b 69 70 2c 20 64 72 61 |ead of s|kip, dra|
|000056c0| 77 20 61 6e 64 20 6d 6f | 76 65 0a 20 2a 20 20 20 |w and mo|ve. * |
|000056d0| 20 66 75 6e 63 74 69 6f | 6e 73 2e 20 54 68 65 20 | functio|ns. The |
|000056e0| 66 6f 6c 6c 6f 77 69 6e | 67 20 72 6f 75 74 69 6e |followin|g routin|
|000056f0| 65 73 20 74 72 61 6e 73 | 6c 61 74 65 20 66 72 6f |es trans|late fro|
|00005700| 6d 20 73 6b 69 70 2f 64 | 72 61 77 2f 6d 6f 76 65 |m skip/d|raw/move|
|00005710| 0a 20 2a 20 20 20 20 74 | 6f 20 70 6f 6c 79 6c 69 |. * t|o polyli|
|00005720| 6e 65 3a 0a 20 2a 2f 0a | 0a 69 6e 74 20 73 6b 69 |ne:. */.|.int ski|
|00005730| 70 66 6c 61 67 20 3d 20 | 31 3b 20 2f 2a 20 31 20 |pflag = |1; /* 1 |
|00005740| 69 66 20 6e 65 78 74 20 | 64 72 61 77 20 69 73 20 |if next |draw is |
|00005750| 27 70 65 6e 20 75 70 27 | 20 2a 2f 0a 69 6e 74 20 |'pen up'| */.int |
|00005760| 6f 6c 64 78 2c 6f 6c 64 | 79 3b 0a 0a 73 74 61 74 |oldx,old|y;..stat|
|00005770| 69 63 20 76 6f 69 64 0a | 73 6b 69 70 28 29 0a 7b |ic void.|skip().{|
|00005780| 0a 73 6b 69 70 66 6c 61 | 67 20 3d 20 54 52 55 45 |.skipfla|g = TRUE|
|00005790| 3b 0a 7d 0a 0a 73 74 61 | 74 69 63 20 76 6f 69 64 |;.}..sta|tic void|
|000057a0| 0a 64 72 61 77 28 6e 65 | 77 78 2c 6e 65 77 79 29 |.draw(ne|wx,newy)|
|000057b0| 0a 69 6e 74 20 6e 65 77 | 78 2c 6e 65 77 79 3b 0a |.int new|x,newy;.|
|000057c0| 7b 0a 20 20 20 69 66 20 | 28 21 73 6b 69 70 66 6c |{. if |(!skipfl|
|000057d0| 61 67 29 20 7b 0a 20 20 | 20 20 20 20 70 31 5b 30 |ag) {. | p1[0|
|000057e0| 5d 2e 77 5f 78 20 3d 20 | 6f 6c 64 78 3b 0a 20 20 |].w_x = |oldx;. |
|000057f0| 20 20 20 20 70 31 5b 30 | 5d 2e 77 5f 79 20 3d 20 | p1[0|].w_y = |
|00005800| 6f 6c 64 79 3b 0a 20 20 | 20 20 20 20 70 31 5b 31 |oldy;. | p1[1|
|00005810| 5d 2e 77 5f 78 20 3d 20 | 6e 65 77 78 3b 0a 20 20 |].w_x = |newx;. |
|00005820| 20 20 20 20 70 31 5b 31 | 5d 2e 77 5f 79 20 3d 20 | p1[1|].w_y = |
|00005830| 6e 65 77 79 3b 0a 20 20 | 20 20 20 20 70 6f 6c 79 |newy;. | poly|
|00005840| 6c 69 6e 65 28 32 2c 70 | 31 29 3b 0a 20 20 20 7d |line(2,p|1);. }|
|00005850| 0a 20 20 20 73 6b 69 70 | 66 6c 61 67 20 3d 20 46 |. skip|flag = F|
|00005860| 41 4c 53 45 3b 0a 20 20 | 20 6f 6c 64 78 20 3d 20 |ALSE;. | oldx = |
|00005870| 6e 65 77 78 3b 0a 20 20 | 20 6f 6c 64 79 20 3d 20 |newx;. | oldy = |
|00005880| 6e 65 77 79 3b 0a 7d 0a | 0a 2f 2a 0a 20 2a 20 54 |newy;.}.|./*. * T|
|00005890| 68 65 20 6d 61 69 6e 20 | 70 72 6f 67 72 61 6d 2e |he main |program.|
|000058a0| 2e 2e 0a 20 2a 2f 0a 0a | 6d 61 69 6e 28 61 72 67 |... */..|main(arg|
|000058b0| 63 2c 61 72 67 76 29 0a | 69 6e 74 20 61 72 67 63 |c,argv).|int argc|
|000058c0| 3b 0a 63 68 61 72 20 2a | 2a 61 72 67 76 3b 0a 7b |;.char *|*argv;.{|
|000058d0| 0a 2f 2a 20 20 20 20 2e | 2e 20 66 69 6c 65 20 75 |./* .|. file u|
|000058e0| 6e 69 74 20 6e 75 6d 62 | 65 72 20 2a 2f 0a 20 20 |nit numb|er */. |
|000058f0| 20 20 20 20 46 49 4c 45 | 20 2a 6b 66 69 6c 65 2c | FILE| *kfile,|
|00005900| 2a 66 31 2c 2a 66 32 3b | 0a 2f 2a 20 20 20 20 2e |*f1,*f2;|./* .|
|00005910| 2e 20 66 6f 6e 74 20 64 | 61 74 61 20 20 20 2a 2f |. font d|ata */|
|00005920| 0a 20 20 20 20 20 20 63 | 68 61 72 20 6c 69 6e 65 |. c|har line|
|00005930| 5b 32 5d 5b 32 35 36 5d | 3b 0a 20 20 20 20 20 20 |[2][256]|;. |
|00005940| 69 6e 74 20 78 2c 79 3b | 0a 20 20 20 20 20 20 66 |int x,y;|. f|
|00005950| 6c 6f 61 74 20 63 6f 6c | 2c 72 6f 77 3b 0a 2f 2a |loat col|,row;./*|
|00005960| 20 20 20 20 2e 2e 20 77 | 68 69 63 68 20 64 61 74 | .. w|hich dat|
|00005970| 61 20 70 6f 69 6e 74 20 | 61 6e 64 20 77 68 69 63 |a point |and whic|
|00005980| 68 20 63 68 61 72 61 63 | 74 65 72 20 2a 2f 0a 20 |h charac|ter */. |
|00005990| 20 20 20 20 20 69 6e 74 | 20 20 20 20 20 69 70 6e | int| ipn|
|000059a0| 74 2c 69 63 68 2c 6e 63 | 68 2c 69 2c 69 63 68 61 |t,ich,nc|h,i,icha|
|000059b0| 72 3b 0a 0a 20 20 20 20 | 09 69 66 20 28 61 72 67 |r;.. |.if (arg|
|000059c0| 63 20 21 3d 20 33 29 20 | 7b 0a 20 20 20 20 20 20 |c != 3) |{. |
|000059d0| 20 20 20 70 72 69 6e 74 | 66 28 22 75 73 61 67 65 | print|f("usage|
|000059e0| 3a 20 68 65 72 73 68 65 | 79 20 5b 63 2c 3c 6f 74 |: hershe|y [c,<ot|
|000059f0| 68 65 72 20 64 65 76 69 | 63 65 73 3f 3e 5d 20 66 |her devi|ces?>] f|
|00005a00| 69 6c 65 5c 6e 22 29 3b | 0a 20 20 20 20 20 20 20 |ile\n");|. |
|00005a10| 20 20 65 78 69 74 28 31 | 29 3b 0a 20 20 20 20 20 | exit(1|);. |
|00005a20| 20 7d 0a 0a 20 20 20 20 | 09 73 77 69 74 63 68 20 | }.. |.switch |
|00005a30| 28 2a 61 72 67 76 5b 31 | 5d 29 20 7b 0a 20 20 20 |(*argv[1|]) {. |
|00005a40| 20 20 20 20 20 20 63 61 | 73 65 20 27 63 27 3a 20 | ca|se 'c': |
|00005a50| 20 77 73 69 6e 69 74 66 | 20 3d 20 63 67 61 3b 20 | wsinitf| = cga; |
|00005a60| 62 72 65 61 6b 3b 0a 20 | 20 20 20 20 09 09 64 65 |break;. | ..de|
|00005a70| 66 61 75 6c 74 3a 0a 20 | 20 20 20 20 20 20 20 20 |fault:. | |
|00005a80| 20 20 20 20 20 20 20 20 | 20 20 20 70 72 69 6e 74 | | print|
|00005a90| 66 28 22 75 73 61 67 65 | 3a 20 68 65 72 73 68 65 |f("usage|: hershe|
|00005aa0| 79 20 5b 63 2c 3c 6f 74 | 68 65 72 20 64 65 76 69 |y [c,<ot|her devi|
|00005ab0| 63 65 73 3f 3e 5d 20 66 | 69 6c 65 5c 6e 22 29 3b |ces?>] f|ile\n");|
|00005ac0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005ad0| 20 20 20 20 20 65 78 69 | 74 28 31 29 3b 0a 20 20 | exi|t(1);. |
|00005ae0| 20 20 09 7d 0a 0a 20 20 | 20 2f 2a 20 67 65 74 20 | .}.. | /* get |
|00005af0| 47 4b 53 20 73 74 61 72 | 74 65 64 20 2a 2f 0a 0a |GKS star|ted */..|
|00005b00| 09 6f 70 65 6e 5f 67 6b | 73 28 28 45 72 63 6f 64 |.open_gk|s((Ercod|
|00005b10| 65 20 28 2a 29 28 29 29 | 4e 55 4c 4c 2c 28 45 72 |e (*)())|NULL,(Er|
|00005b20| 61 72 65 61 20 2a 29 4e | 55 4c 4c 2c 28 53 69 7a |area *)N|ULL,(Siz|
|00005b30| 65 29 4e 55 4c 4c 2c 28 | 53 74 72 69 6e 67 29 20 |e)NULL,(|String) |
|00005b40| 22 22 29 3b 0a 09 20 20 | 20 20 20 20 4f 55 54 66 |"");.. | OUTf|
|00005b50| 69 6c 65 3d 73 74 64 6f | 75 74 3b 0a 20 20 20 20 |ile=stdo|ut;. |
|00005b60| 20 20 20 20 20 49 4e 66 | 69 6c 65 20 3d 20 4e 55 | INf|ile = NU|
|00005b70| 4c 4c 3b 0a 0a 09 77 73 | 73 5f 78 78 78 78 20 3d |LL;...ws|s_xxxx =|
|00005b80| 20 6f 70 65 6e 5f 77 73 | 28 49 4e 66 69 6c 65 2c | open_ws|(INfile,|
|00005b90| 20 4f 55 54 66 69 6c 65 | 2c 20 77 73 69 6e 69 74 | OUTfile|, wsinit|
|00005ba0| 66 29 3b 0a 0a 09 61 63 | 74 69 76 61 74 65 28 77 |f);...ac|tivate(w|
|00005bb0| 73 73 5f 78 78 78 78 29 | 3b 0a 0a 20 20 20 6e 72 |ss_xxxx)|;.. nr|
|00005bc0| 65 63 74 2e 6e 5f 75 72 | 2e 6e 5f 79 20 2f 3d 20 |ect.n_ur|.n_y /= |
|00005bd0| 61 73 70 65 63 74 3b 20 | 20 2f 2a 20 63 6f 72 72 |aspect; | /* corr|
|00005be0| 65 63 74 20 4e 44 43 20 | 73 71 75 61 72 65 20 66 |ect NDC |square f|
|00005bf0| 6f 72 20 70 69 78 65 6c | 20 61 73 70 65 63 74 20 |or pixel| aspect |
|00005c00| 72 61 74 69 6f 20 2a 2f | 0a 0a 09 2f 2a 20 61 64 |ratio */|.../* ad|
|00005c10| 6a 75 73 74 20 64 72 65 | 63 74 20 74 6f 20 62 65 |just dre|ct to be|
|00005c20| 20 74 68 65 20 62 69 67 | 67 65 73 74 20 73 71 75 | the big|gest squ|
|00005c30| 61 72 65 20 70 6f 73 73 | 69 62 6c 65 2c 20 61 6e |are poss|ible, an|
|00005c40| 64 20 61 64 6a 75 73 74 | 20 66 6f 72 0a 20 20 20 |d adjust| for. |
|00005c50| 20 20 20 61 73 70 65 63 | 74 20 72 61 74 69 6f 20 | aspec|t ratio |
|00005c60| 2a 2f 0a 0a 20 20 20 64 | 72 65 63 74 2e 64 5f 75 |*/.. d|rect.d_u|
|00005c70| 72 2e 64 5f 78 20 3d 20 | 64 72 65 63 74 2e 64 5f |r.d_x = |drect.d_|
|00005c80| 75 72 2e 64 5f 79 20 2a | 20 61 73 70 65 63 74 3b |ur.d_y *| aspect;|
|00005c90| 0a 0a 2f 2a 20 73 65 74 | 20 75 70 20 74 68 65 20 |../* set| up the |
|00005ca0| 6e 6f 72 6d 61 6c 69 7a | 61 74 69 6f 6e 20 74 72 |normaliz|ation tr|
|00005cb0| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 20 28 6e 75 |ansforma|tion (nu|
|00005cc0| 6d 62 65 72 20 31 29 20 | 66 72 6f 6d 20 57 43 20 |mber 1) |from WC |
|00005cd0| 74 6f 20 4e 44 43 20 2a | 2f 0a 09 73 5f 77 69 6e |to NDC *|/..s_win|
|00005ce0| 64 6f 77 20 20 28 31 2c | 20 26 77 72 65 63 74 29 |dow (1,| &wrect)|
|00005cf0| 3b 0a 09 73 5f 76 69 65 | 77 70 6f 72 74 28 31 2c |;..s_vie|wport(1,|
|00005d00| 20 26 6e 72 65 63 74 29 | 3b 0a 20 20 20 73 5f 63 | &nrect)|;. s_c|
|00005d10| 6c 69 70 28 46 41 4c 53 | 45 29 3b 0a 09 73 65 6c |lip(FALS|E);..sel|
|00005d20| 5f 63 6e 74 72 61 6e 28 | 31 29 3b 0a 2f 2a 20 73 |_cntran(|1);./* s|
|00005d30| 65 74 20 75 70 20 74 68 | 65 20 77 6f 72 6b 73 74 |et up th|e workst|
|00005d40| 61 74 69 6f 6e 20 74 72 | 61 6e 73 66 6f 72 6d 61 |ation tr|ansforma|
|00005d50| 74 69 6f 6e 20 66 72 6f | 6d 20 4e 44 43 20 74 6f |tion fro|m NDC to|
|00005d60| 20 44 43 20 2a 2f 0a 09 | 73 5f 77 5f 77 69 6e 64 | DC */..|s_w_wind|
|00005d70| 28 77 73 73 5f 78 78 78 | 78 2c 20 26 6e 72 65 63 |(wss_xxx|x, &nrec|
|00005d80| 74 29 3b 0a 09 73 5f 77 | 5f 76 69 65 77 28 77 73 |t);..s_w|_view(ws|
|00005d90| 73 5f 78 78 78 78 2c 20 | 26 64 72 65 63 74 29 3b |s_xxxx, |&drect);|
|00005da0| 0a 09 75 70 64 61 74 65 | 28 77 73 73 5f 78 78 78 |..update|(wss_xxx|
|00005db0| 78 2c 31 29 3b 0a 0a 2f | 2a 0a 20 2a 20 47 4b 53 |x,1);../|*. * GKS|
|00005dc0| 20 69 73 20 61 6c 6c 20 | 73 65 74 20 75 70 20 6e | is all |set up n|
|00005dd0| 6f 77 2c 20 73 6f 20 6c | 65 74 27 73 20 67 65 74 |ow, so l|et's get|
|00005de0| 20 73 74 61 72 74 65 64 | 2e 2e 2e 0a 20 2a 2f 0a | started|.... */.|
|00005df0| 0a 2f 2a 20 20 20 20 2e | 2e 20 67 65 74 20 68 65 |./* .|. get he|
|00005e00| 72 73 68 65 79 20 66 69 | 6c 65 20 6e 61 6d 65 20 |rshey fi|le name |
|00005e10| 2a 2f 0a 20 20 20 20 20 | 20 69 66 20 28 21 28 6b |*/. | if (!(k|
|00005e20| 66 69 6c 65 20 3d 20 66 | 6f 70 65 6e 28 61 72 67 |file = f|open(arg|
|00005e30| 76 5b 32 5d 2c 22 72 22 | 29 29 29 20 7b 0a 20 20 |v[2],"r"|))) {. |
|00005e40| 20 20 20 20 20 20 20 66 | 70 72 69 6e 74 66 28 73 | f|printf(s|
|00005e50| 74 64 65 72 72 2c 22 43 | 61 6e 27 74 20 6f 70 65 |tderr,"C|an't ope|
|00005e60| 6e 20 66 6f 6e 74 20 66 | 69 6c 65 20 27 25 73 27 |n font f|ile '%s'|
|00005e70| 5c 6e 22 2c 61 72 67 76 | 5b 31 5d 29 3b 0a 20 20 |\n",argv|[1]);. |
|00005e80| 20 20 20 20 20 20 20 65 | 78 69 74 28 31 29 3b 0a | e|xit(1);.|
|00005e90| 20 20 20 20 20 20 20 20 | 20 7d 0a 0a 2f 2a 20 20 | | }../* |
|00005ea0| 20 20 2e 2e 20 6c 6f 6f | 70 20 70 65 72 20 73 63 | .. loo|p per sc|
|00005eb0| 72 65 65 6e 20 2a 2f 0a | 6c 61 62 65 6c 35 3a 0a |reen */.|label5:.|
|00005ec0| 2f 2a 09 09 20 20 20 20 | 20 2e 2e 20 73 74 61 72 |/*.. | .. star|
|00005ed0| 74 20 77 69 74 68 20 61 | 20 63 6c 65 61 6e 20 73 |t with a| clean s|
|00005ee0| 68 65 65 74 20 2a 2f 0a | 20 20 20 20 20 20 63 6c |heet */.| cl|
|00005ef0| 65 61 72 28 77 73 73 5f | 78 78 78 78 29 3b 0a 0a |ear(wss_|xxxx);..|
|00005f00| 2f 2a 20 20 20 20 2e 2e | 20 77 68 65 72 65 20 74 |/* ..| where t|
|00005f10| 6f 20 64 69 73 70 6c 61 | 79 20 74 68 69 73 20 63 |o displa|y this c|
|00005f20| 68 61 72 61 63 74 65 72 | 20 2a 2f 0a 20 20 20 20 |haracter| */. |
|00005f30| 20 20 63 6f 6c 20 3d 20 | 30 2e 30 3b 0a 20 20 20 | col = |0.0;. |
|00005f40| 20 20 20 72 6f 77 20 3d | 20 31 30 30 2e 30 3b 0a | row =| 100.0;.|
|00005f50| 0a 2f 2a 09 09 20 20 20 | 20 20 2e 2e 20 6c 6f 6f |./*.. | .. loo|
|00005f60| 70 20 70 65 72 20 63 68 | 61 72 61 63 74 65 72 20 |p per ch|aracter |
|00005f70| 2a 2f 0a 20 20 20 20 20 | 20 77 68 69 6c 65 20 28 |*/. | while (|
|00005f80| 54 52 55 45 29 20 7b 0a | 0a 2f 2a 09 09 20 20 20 |TRUE) {.|./*.. |
|00005f90| 20 20 2e 2e 20 72 65 61 | 64 20 63 68 61 72 61 63 | .. rea|d charac|
|00005fa0| 74 65 72 20 6e 75 6d 62 | 65 72 20 61 6e 64 20 64 |ter numb|er and d|
|00005fb0| 61 74 61 20 2a 2f 0a 20 | 20 20 20 20 20 69 66 20 |ata */. | if |
|00005fc0| 28 28 69 63 68 20 3d 20 | 73 63 61 6e 69 6e 74 28 |((ich = |scanint(|
|00005fd0| 6b 66 69 6c 65 2c 35 29 | 29 20 3c 20 31 29 20 7b |kfile,5)|) < 1) {|
|00005fe0| 0a 09 20 20 20 20 20 20 | 20 20 20 64 65 61 63 74 |.. | deact|
|00005ff0| 69 76 61 74 65 28 77 73 | 73 5f 78 78 78 78 29 3b |ivate(ws|s_xxxx);|
|00006000| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 67 65 74 |. | get|
|00006010| 63 68 61 72 28 29 3b 0a | 20 20 20 20 20 20 20 20 |char();.| |
|00006020| 20 09 63 6c 6f 73 65 5f | 77 73 28 77 73 73 5f 78 | .close_|ws(wss_x|
|00006030| 78 78 78 29 3b 0a 20 20 | 20 20 20 20 20 20 20 09 |xxx);. | .|
|00006040| 63 6c 6f 73 65 5f 67 6b | 73 28 29 3b 0a 20 20 20 |close_gk|s();. |
|00006050| 20 20 20 20 20 20 20 20 | 20 70 72 69 6e 74 66 28 | | printf(|
|00006060| 22 5c 6e 44 6f 6e 65 5c | 6e 22 29 3b 0a 20 20 20 |"\nDone\|n");. |
|00006070| 20 20 20 20 20 20 20 20 | 20 70 72 69 6e 74 66 28 | | printf(|
|00006080| 22 6d 69 6e 2c 6d 61 78 | 20 3d 20 28 25 64 2c 25 |"min,max| = (%d,%|
|00006090| 64 29 20 28 25 64 2c 25 | 64 29 5c 6e 22 2c 6d 69 |d) (%d,%|d)\n",mi|
|000060a0| 6e 78 2c 6d 69 6e 79 2c | 6d 61 78 78 2c 6d 61 78 |nx,miny,|maxx,max|
|000060b0| 79 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |y);. | |
|000060c0| 65 78 69 74 28 30 29 3b | 0a 20 20 20 20 20 20 7d |exit(0);|. }|
|000060d0| 0a 20 20 20 20 20 20 6e | 63 68 20 3d 20 73 63 61 |. n|ch = sca|
|000060e0| 6e 69 6e 74 28 6b 66 69 | 6c 65 2c 33 29 3b 0a 0a |nint(kfi|le,3);..|
|000060f0| 20 20 20 20 20 20 66 6f | 72 20 28 69 3d 30 3b 20 | fo|r (i=0; |
|00006100| 69 3c 6e 63 68 3b 69 2b | 2b 29 20 7b 0a 20 20 20 |i<nch;i+|+) {. |
|00006110| 20 20 20 20 20 20 69 66 | 20 28 28 69 3d 3d 33 32 | if| ((i==32|
|00006120| 29 20 7c 7c 28 69 3d 3d | 36 38 29 20 7c 7c 28 69 |) ||(i==|68) ||(i|
|00006130| 3d 3d 31 30 34 29 20 7c | 7c 28 69 3d 3d 31 34 30 |==104) |||(i==140|
|00006140| 29 29 20 66 67 65 74 63 | 28 6b 66 69 6c 65 29 3b |)) fgetc|(kfile);|
|00006150| 20 2f 2a 20 73 6b 69 70 | 20 6e 65 77 6c 69 6e 65 | /* skip| newline|
|00006160| 73 20 2a 2f 0a 20 20 20 | 20 20 20 20 20 20 6c 69 |s */. | li|
|00006170| 6e 65 5b 30 5d 5b 69 5d | 20 3d 20 66 67 65 74 63 |ne[0][i]| = fgetc|
|00006180| 28 6b 66 69 6c 65 29 3b | 0a 20 20 20 20 20 20 20 |(kfile);|. |
|00006190| 20 20 6c 69 6e 65 5b 31 | 5d 5b 69 5d 20 3d 20 66 | line[1|][i] = f|
|000061a0| 67 65 74 63 28 6b 66 69 | 6c 65 29 3b 0a 20 20 20 |getc(kfi|le);. |
|000061b0| 20 20 20 7d 0a 20 20 20 | 20 20 20 66 67 65 74 63 | }. | fgetc|
|000061c0| 28 6b 66 69 6c 65 29 3b | 0a 0a 2f 2a 09 09 20 20 |(kfile);|../*.. |
|000061d0| 20 20 20 2e 2e 20 73 65 | 6c 65 63 74 20 76 69 65 | .. se|lect vie|
|000061e0| 77 20 70 6f 72 74 20 28 | 70 6c 61 63 65 20 63 68 |w port (|place ch|
|000061f0| 61 72 61 63 74 65 72 20 | 6f 6e 20 73 63 72 65 65 |aracter |on scree|
|00006200| 6e 29 20 2a 2f 0a 20 20 | 20 20 20 20 73 65 74 76 |n) */. | setv|
|00006210| 69 65 77 28 63 6f 6c 2c | 72 6f 77 2d 64 65 6c 74 |iew(col,|row-delt|
|00006220| 61 72 2c 63 6f 6c 2b 64 | 65 6c 74 61 63 2c 72 6f |ar,col+d|eltac,ro|
|00006230| 77 29 3b 0a 0a 2f 2a 09 | 09 20 20 20 20 20 2e 2e |w);../*.|. ..|
|00006240| 20 69 64 65 6e 74 69 66 | 79 20 63 68 61 72 61 63 | identif|y charac|
|00006250| 74 65 72 20 2a 2f 0a 0a | 09 09 6a 6e 75 6d 62 72 |ter */..|..jnumbr|
|00006260| 28 69 63 68 2c 34 2c 2d | 31 35 2e 30 2c 2d 31 36 |(ich,4,-|15.0,-16|
|00006270| 2e 30 2c 36 2e 30 29 3b | 0a 0a 2f 2a 09 09 20 20 |.0,6.0);|../*.. |
|00006280| 20 20 20 2e 2e 20 64 72 | 61 77 20 6c 65 66 74 20 | .. dr|aw left |
|00006290| 61 6e 64 20 72 69 67 68 | 74 20 6c 69 6e 65 73 20 |and righ|t lines |
|000062a0| 2a 2f 0a 2f 2a 09 09 20 | 20 20 20 20 2e 2e 20 4e |*/./*.. | .. N|
|000062b0| 6f 74 65 3a 20 74 68 69 | 73 20 64 61 74 61 20 63 |ote: thi|s data c|
|000062c0| 61 6e 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 70 |an be us|ed for p|
|000062d0| 72 6f 70 6f 72 74 69 6f | 6e 61 6c 20 73 70 61 63 |roportio|nal spac|
|000062e0| 69 6e 67 20 2a 2f 0a 0a | 20 20 20 20 20 20 78 3d |ing */..| x=|
|000062f0| 28 69 6e 74 29 6c 69 6e | 65 5b 30 5d 5b 30 5d 20 |(int)lin|e[0][0] |
|00006300| 2d 20 28 69 6e 74 29 27 | 52 27 3b 0a 20 20 20 20 |- (int)'|R';. |
|00006310| 20 20 79 3d 28 69 6e 74 | 29 6c 69 6e 65 5b 31 5d | y=(int|)line[1]|
|00006320| 5b 30 5d 20 2d 20 28 69 | 6e 74 29 27 52 27 3b 0a |[0] - (i|nt)'R';.|
|00006330| 0a 20 20 20 20 20 20 73 | 6b 69 70 28 29 3b 0a 20 |. s|kip();. |
|00006340| 20 20 20 20 20 64 72 61 | 77 28 78 2c 2d 31 30 29 | dra|w(x,-10)|
|00006350| 3b 64 72 61 77 28 78 2c | 31 30 29 3b 0a 20 20 20 |;draw(x,|10);. |
|00006360| 20 20 20 73 6b 69 70 28 | 29 3b 0a 20 20 20 20 20 | skip(|);. |
|00006370| 20 64 72 61 77 28 79 2c | 2d 31 30 29 3b 64 72 61 | draw(y,|-10);dra|
|00006380| 77 28 79 2c 31 30 29 3b | 0a 0a 0a 2f 2a 09 09 20 |w(y,10);|.../*.. |
|00006390| 20 20 20 20 2e 2e 20 66 | 69 72 73 74 20 64 61 74 | .. f|irst dat|
|000063a0| 61 20 70 6f 69 6e 74 20 | 69 73 20 61 20 6d 6f 76 |a point |is a mov|
|000063b0| 65 20 2a 2f 0a 20 20 20 | 20 20 20 73 6b 69 70 28 |e */. | skip(|
|000063c0| 29 3b 0a 2f 2a 09 09 20 | 20 20 20 20 2e 2e 20 6c |);./*.. | .. l|
|000063d0| 6f 6f 70 20 70 65 72 20 | 6c 69 6e 65 20 6f 66 20 |oop per |line of |
|000063e0| 64 61 74 61 20 2a 2f 0a | 20 20 20 20 66 6f 72 20 |data */.| for |
|000063f0| 28 69 70 6e 74 3d 31 3b | 69 70 6e 74 3c 6e 63 68 |(ipnt=1;|ipnt<nch|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.