| 1 |
%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% % |
| 3 |
% A Handy Little Font % |
| 4 |
% % |
| 5 |
% This collection produces a series of "pointing hand" dingbats % |
| 6 |
% in various orientations, including pointing left and right, % |
| 7 |
% and "reverse video" versions in the same directions. % |
| 8 |
% % |
| 9 |
% Design work was originally by Georgia K.M. Tobin, and was % |
| 10 |
% published in TUGBoat Vol. 10, Number 1 (1989). Unfortunately, % |
| 11 |
% that publishing lost all of its braces, so as printed it would % |
| 12 |
% not work. This version corrects all of those problems. % |
| 13 |
% % |
| 14 |
% Assembled by Norman E. Powroz, with thanks to Don Hosek, who % |
| 15 |
% picked out all of the errors. % |
| 16 |
% % |
| 17 |
% -- 16 May 1989 % |
| 18 |
% % |
| 19 |
%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% |
| 20 |
|
| 21 |
%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% |
| 22 |
% % |
| 23 |
% Implementation consists of five files in total. Filenames % |
| 24 |
% have been shortened to fit on PCs and their ilk, as this work % |
| 25 |
% was done on such a beast. The filenames, and contents are: % |
| 26 |
% % |
| 27 |
% HANDS.MF -- driver file controlling all else (this file) % |
| 28 |
% HANDSDEF.MF -- contains the actual definition of the hand % |
| 29 |
% MIRROR.MF -- contains the macro to mirror-image the hand % |
| 30 |
% REVERSE.MF -- the macro to create "inverse video" version % |
| 31 |
% RVMIRROR.MF -- the macro for "inverse video mirror-image" % |
| 32 |
% % |
| 33 |
% Parameters such as size have been moved to this driver file, % |
| 34 |
% so that they may be changed without impacting the rest of the % |
| 35 |
% files. Default size is 48pt. To change it, just change the % |
| 36 |
% value of "size" below, and rerun this driver file. % |
| 37 |
% % |
| 38 |
% Have Fun!! % |
| 39 |
% % |
| 40 |
%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% |
| 41 |
|
| 42 |
% Setup basic parameters |
| 43 |
|
| 44 |
mode_setup; |
| 45 |
size=48pt#; |
| 46 |
font_size size; |
| 47 |
em#:=size; cap#:=7/10em#; desc#:=3/10em#; |
| 48 |
thinline#:=1/100em#; |
| 49 |
define_pixels(em,cap,desc); |
| 50 |
define_blacker_pixels(thinline); |
| 51 |
|
| 52 |
% Read the actual definition |
| 53 |
input handsdef; |
| 54 |
|
| 55 |
|
| 56 |
% The basic hand, pointing to the right |
| 57 |
beginchar("A",16/15em#,cap#,desc#); |
| 58 |
handpointing; |
| 59 |
endchar; |
| 60 |
|
| 61 |
% The basic hand, mirror-imaged |
| 62 |
beginchar("B",16/15em#,cap#,desc#); |
| 63 |
input mirror; |
| 64 |
pattern; |
| 65 |
handpointing; |
| 66 |
endchar; |
| 67 |
|
| 68 |
% The "inverse video" hand, pointing to the right |
| 69 |
beginchar("C",16/15em#,cap#,desc#); |
| 70 |
input reverse; |
| 71 |
pattern; |
| 72 |
handpointing; |
| 73 |
endchar; |
| 74 |
|
| 75 |
% And the "inverse video" hand, mirror-imaged |
| 76 |
beginchar("D",16/15em#,cap#,desc#); |
| 77 |
input rvmirror; |
| 78 |
pattern; |
| 79 |
handpointing; |
| 80 |
endchar; |
| 81 |
|
| 82 |
% That's all folks |
| 83 |
bye |