home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / mfinputs / texset / mf
Encoding:
Text File  |  1988-02-26  |  2.3 KB  |  57 lines

  1. % This is TEXSET.MF in text format, as of Mar 31, 1986.
  2. % Special version of Computer Modern for \TeX's extended ASCII character set
  3.  
  4. font_coding_scheme:="TeX extended ASCII";
  5.  
  6. mode_setup; font_setup; mono_charic#:=0;
  7.  
  8. input tsetsl;  % special symbols to be slanted
  9. slant:=0;  % the remaining characters will not be slanted
  10. currenttransform:=identity yscaled aspect_ratio scaled granularity;
  11.  
  12. input romanu;  % upper case (majuscules)
  13. input romanl;  % lower case (minuscules)
  14. input romand;  % numerals
  15. input romanp;  % ampersand, question marks, currency sign
  16. input punct;  % punctuation symbols common to roman and italic text
  17. input tset;  % remaining special symbols of extended ASCII
  18.  
  19. font_x_height x_height#;
  20. if monospace: font_normal_space 9u#; % no stretching or shrinking
  21.  font_quad 18u#;
  22.  font_extra_space 9u#;
  23. else: font_normal_space 6u#+2letter_fit#;
  24.  font_normal_stretch 3u#; font_normal_shrink 2u#;
  25.  font_quad 18u#+4letter_fit#;
  26.  font_extra_space 2u#;
  27.  k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
  28.  ligtable "k": if serifs: "v": "a" kern -u#, fi\\"w": "e" kern k#,
  29.   "a" kern k#, "o" kern k#, "c" kern k#;
  30.  ligtable "P": "A" kern kk#,
  31.   "y": "o" kern k#, "e" kern k#, "a" kern k#, "." kern kk#, "," kern kk#;
  32.  ligtable "F": "V": "W": if serifs: "o" kern kk#, "e" kern kk#, "u" kern kk#,
  33.     "r" kern kk#, "a" kern kk#, "A" kern kkk#,
  34.    else: "o" kern k#, "e" kern k#, "u" kern k#,
  35.     "r" kern k#, "a" kern k#, "A" kern kk#, fi
  36.   "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
  37.  ligtable "T": "y" kern if serifs: k# else: kk# fi,
  38.   "Y": "e" kern kk#, "o" kern kk#,
  39.    "r" kern kk#, "a" kern kk#, "A" kern kk#, "u" kern kk#;
  40.  ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
  41.    "V" kern k#, "Y" kern k#;
  42.  if serifs: ligtable "h": "m": "n":
  43.    "t" kern k#, "u" kern k#, "b" kern k#, "y" kern k#, "v" kern k#, "w" kern k#;
  44.   ligtable "c": "h" kern k#, "k" kern k#; fi
  45.  ligtable "o": "b": "p": "e" kern -k#, "o" kern -k#, "x" kern k#,
  46.    "d" kern -k#, "c" kern -k#, "q" kern -k#,
  47.   "a": if serifs: "v" kern k#, "j" kern u#, else: "r" kern k#, fi
  48.   "t": "y" kern k#,
  49.   "u": "w" kern k#;
  50.  ligtable "A": if serifs: "R": fi\\ "t" kern k#,
  51.   "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#,
  52.   "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#;
  53.  ligtable "g": "j" kern -k#; % logjam
  54.  ligtable "I": "I" kern -k#; % Richard III
  55. fi;
  56. bye.
  57.