home *** CD-ROM | disk | FTP | other *** search
- /* Copyright 1985, 1986, 1987, 1988 Chris Lewis
- All Rights Reserved
-
- Permission to copy and further distribute is freely given provided
- this copyright notice remains intact and that this software is not
- sold for profit.
-
- Project: Generic Troff drivers
- Module: ljtables.c
- Author: Chris Lewis
- Specs: Contains character tables for various fonts.
- */
- /*
- * woods@cpi - Wed Feb 1 10:56:58 EST 1989
- *
- * This has now been tested. (on a DataProducts LZR1230)
- *
- * The destination printer must have a resident TimesRoman font.
- * I would also suggested that the MathSymbol font be loaded, though
- * since I do not have such a cartidge, I have not tried this.
- *
- * The symbol character definitions do require re-writing.
- *
- * The troff font description files were obtained from another
- * similar package (troff2lj by Sverre Froyen <froyen@nmfecc.arpa>).
- * He generated them with an awk script from the HP font width tables.
- *
- * I have somewhat mangled with the tables below, with some success.
- *
- * There is no suggested placing for DOWNLOAD.
- *
- * I've removed the orientation setting from the font sequences.
- * Orientation should be selected at initialization
- */
-
- #include "defs.h"
-
- #if defined(LJ) || defined(LK)
-
- #ifndef SVR3
- #ifndef lint
- static char SCCSid[] = "@(#)ljtables.c: 1.2 Copyright 89/06/14 16:29:46 Chris Lewis";
- #endif
- #else
- #ident "@(#)ljtables.c: 1.2 Copyright 89/06/14 16:29:46 Chris Lewis" /*(SVR3)*/
- #endif
-
- #include "lj.h"
-
- /* Used for characters not in Roman8 Character set */
- #define NOPE "\377"
-
- #ifdef LJ
- struct troff2befont ljStdFont[108] = {
-
- /* +-------------------------------- Troff character number
- |
- | +--------------------------- U: standard fonts
- | | S: symbol font
- | | D: draw macro
- | | n: new font
- | |
- | | +------------------------ X-shift (scaled by deci-point)
- | | |
- | | | +--------------------- Y-shift (scaled by deci-point)
- | | | |
- | | | | +------------------ Point-scale
- | | | | |
- | | | | | +-------------- Sequence
- | | | | | |
- | | | | | | Printable sequence title
- | | | | | | |
- | | | | | | |
- v v v v v v v */
- /* 1*/ {U, 0, 0, 1, "h", "h"},
- /* 2*/ {U, 0, 0, 1, "t", "t"},
- /* 3*/ {U, 0, 0, 1, "n", "n"},
- /* 4*/ {U, 0.5, 0, 1, "m", "m"},
- /* 5*/ {U, 0, 0, 1, "l", "l"},
- /* 6*/ {U, 0, 0, 1, "i", "i"},
- /* 7*/ {U, 0, 0, 1, "z", "z"},
- /* 8*/ {U, 0, 0, 1, "s", "s"},
- /* 9*/ {U, 0, 0, 1, "d", "d"},
- /* 10*/ {U, 0, 0, 1, "b", "b"},
- /* 11*/ {U, 0.5, 0, 1, "x", "x"},
- /* 12*/ {U, 0, 0, 1, "f", "f"},
- /* 13*/ {U, 0, 0, 1, "j", "j"},
- /* 14*/ {U, 0, 0, 1, "u", "u"},
- /* 15*/ {U, 0, 0, 1, "k", "k"},
- /* 16*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 17*/ {U, 0, 0, 1, "p", "p"},
- /* 18*/ {S, 2.0, 0, 1, "\366", "3/4 em"},
- /* 19*/ {U, 0, 0, 1, ";", ";"},
- /* 20*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 21*/ {U, 0, 0, 1, "a", "a"},
- /* 22*/ {U, 0, 0, 1, "_", "horizontal rule"},
- /* 23*/ {U, 0, 0, 1, "c", "c"},
- /* 24*/ {U, 0, 0, 1, "`", "` open"},
- /* 25*/ {U, 0, 0, 1, "e", "e"},
- /* 26*/ {U, 0, 0, 1, "'", "' close"},
- /* 27*/ {U, 0, 0, 1, "o", "o"},
- /* 28*/ {S, 0, 0, 1, "\367", "1/4"},
- /* 29*/ {U, 0, 0, 1, "r", "r"},
- /* 30*/ {S, 0, 0, 1, "\370", "1/2"},
- /* 31*/ {U, 0.5, 0, 1, "v", "v"},
- /* 32*/ {U, 0, 0, 1, "-", "- (hyphen)"},
- /* 33*/ {U, 0, 0, 1, "w", "w"},
- /* 34*/ {U, 0, 0, 1, "q", "q"},
- /* 35*/ {U, 0, 0, 1, "/", "/"},
- /* 36*/ {U, 0, 0, 1, ".", "."},
- /* 37*/ {U, 0, 0, 1, "g", "g"},
- /* 38*/ {U, 0, 0, 1, "3/4", "3/4"},
- /* 39*/ {U, 0, 0, 1, ",", ","},
- /* 40*/ {U, 0, 0, 1, "&", "&"},
- /* 41*/ {U, 0, 0, 1, "y", "y"},
- /* 42*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 43*/ {U, 0, 0, 1, "\%", "%"},
- /* 44*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 45*/ {U, 0, 0, 1, "Q", "Q"},
- /* 46*/ {U, 0, 0, 1, "T", "T"},
- /* 47*/ {U, 0, 0, 1, "O", "O"},
- /* 48*/ {U, 0, 0, 1, "H", "H"},
- /* 49*/ {U, 0, 0, 1, "N", "N"},
- /* 50*/ {U, 0, 0, 1, "M", "M"},
- /* 51*/ {U, 0, 0, 1, "L", "L"},
- /* 52*/ {U, 0, 0, 1, "R", "R"},
- /* 53*/ {U, 0, 0, 1, "G", "G"},
- /* 54*/ {U, 0, 0, 1, "I", "I"},
- /* 55*/ {U, 0, 0, 1, "P", "P"},
- /* 56*/ {U, 0, 0, 1, "C", "C"},
- /* 57*/ {U, 0, 0, 1, "V", "V"},
- /* 58*/ {U, 0, 0, 1, "E", "E"},
- /* 59*/ {U, 0, 0, 1, "Z", "Z"},
- /* 60*/ {U, 0, 0, 1, "D", "D"},
- /* 61*/ {U, 0, 0, 1, "B", "B"},
- /* 62*/ {U, 0, 0, 1, "S", "S"},
- /* 63*/ {U, 0, 0, 1, "Y", "Y"},
- /*from here on are actually code 1-45, upper half of font */
- /* 64*/ {U, 0, 0, 1, "F", "F"},
- /* 65*/ {U, 0, 0, 1, "X", "X"},
- /* 66*/ {U, 0, 0, 1, "A", "A"},
- /* 67*/ {U, 0, 0, 1, "W", "W"},
- /* 68*/ {U, 0, 0, 1, "J", "J"},
- /* 69*/ {U, 0, 0, 1, "U", "U"},
- /* 70*/ {U, 0, 0, 1, "K", "K"},
- /* 71*/ {U, 0, 0, 1, "0", "0"},
- /* 72*/ {U, 0, 0, 1, "1", "1"},
- /* 73*/ {U, 0, 0, 1, "2", "2"},
- /* 74*/ {U, 0, 0, 1, "3", "3"},
- /* 75*/ {U, 0, 0, 1, "4", "4"},
- /* 76*/ {U, 0, 0, 1, "5", "5"},
- /* 77*/ {U, 0, 0, 1, "6", "6"},
- /* 78*/ {U, 0, 0, 1, "7", "7"},
- /* 79*/ {U, 0, 0, 1, "8", "8"},
- /* 80*/ {U, 0, 0, 1, "9", "9"},
- /* 81*/ {U, 0, 0, 1, "*", "*"},
- /* 82*/ {S, 2.0, 0, 1, "\366", "minus"},
- /* 83*/ {U, 0, 0, 1, "fi", "fi"},
- /* 84*/ {U, 0, 0, 1, "fl", "fl"},
- /* 85*/ {U, 0, 0, 1, "ff", "ff"},
- /* 86*/ {S, 0, 0, 1, "\277", "cent sign"},
- /* 87*/ {U, 0, 0, 1, "ffl", "ffl"},
- /* 88*/ {U, 0, 0, 1, "ffi", "ffi"},
- /* 89*/ {U, 0, 0, 1, "(", "("},
- /* 90*/ {U, 0, 0, 1, ")", ")"},
- /* 91*/ {U, 0, 0, 1, "[", "["},
- /* 92*/ {U, 0, 0, 1, "]", "]"},
- /* 93*/ {S, 0, 0, 1, "\263", "degree"},
- /* 94*/ {S, 0, 0, 1, "\275", "dagger"}, /* */
- /* 95*/ {U, 0, 0, 1, "=", "="},
- /* 96*/ {S, 0, 0, 1, "O\br", "registered"},
- /* 97*/ {U, 0, 0, 1, ":", ":"},
- /* 98*/ {U, 0, 0, 1, "+", "+"},
- /* 99*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /*100*/ {U, 0, 0, 1, "!", "!"},
- /*101*/ {S, 0, 0, 1, "\272", "bullet"},
- /*102*/ {U, 0, 0, 1, "?", "?"},
- /*103*/ {S, 0, 0, 1, "'", "foot mark"},
- /*104*/ {U, 0, 0, 1, "|", "|"},
- /*105*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /*106*/ {S, 0, 0, 1, "O\bc", "copyright"},
- /*107*/ {S, 0, 0, 1, "\374", "square"},
- /*108*/ {U, 0, 0, 1, "$", "$"}
- };
-
- struct troff2befont ljSymFont[] = {
- /* +-------------------------------- Troff character number
- |
- | +--------------------------- U: standard fonts
- | | S: symbol font
- | | D: draw macro
- | |
- | | +------------------------ X-shift (scaled by deci-point)
- | | |
- | | | +--------------------- Y-shift (scaled by deci-point)
- | | | |
- | | | | +------------------ Point-scale
- | | | | |
- | | | | | +-------------- Sequence
- | | | | | |
- | | | | | | Printable sequence title
- | | | | | | |
- | | | | | | |
- v v v v v v v */
- /**** 0 {S, 0, 0, 1, NOCODE, "unassigned"}, /* in htroff */
- /* 1*/ {S, 0, 0, 1, NOPE, "psi"},
- /* 2*/ {S, 0, 0, 1, NOPE, "theta"},
- /* 3*/ {S, 0, 0, 1, NOPE, "nu"},
- /* 4*/ {S, 0, 0, 1, NOPE, "mu"},
- /* 5*/ {S, 0, 0, 1, NOPE, "lambda"},
- /* 6*/ {S, 0, 0, 1, NOPE, "iota"},
- /* 7*/ {S, 0, 0, 1, NOPE, "zeta"},
- /* 8*/ {S, 0, 0, 1, NOPE, "sigma"},
- /* 9*/ {S, 0, 0, 1, NOPE, "delta"},
- /* 10*/ {S, 0, 0, 1, NOPE, "beta"},
- /* 11*/ {S, 0, 0, 1, NOPE, "xi"},
- /* 12*/ {S, 0, 0, 1, NOPE, "eta"},
- /* 13*/ {S, 0, 0, 1, NOPE, "phi"},
- /* 14*/ {S, 0, 0, 1, NOPE, "upsilon"},
- /* 15*/ {S, 0, 0, 1, NOPE, "kappa"},
- /* 16*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 17*/ {S, 0, 0, 1, NOPE, "pi"},
- /* 18*/ {U, 0, 0, 1, "@", "@"},
- /* 19*/ {S, 0, 0, 1, NOPE, "down arrow"},
- /* 20*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 21*/ {S, 0, 0, 1, NOPE, "alpha"},
- /* 22*/ {S, -2.0, 0, 1, "|", "or (was star)"},
- /* 23*/ {S, 0, 0, 1, NOPE, "chi"},
- /* 24*/ {U, 0, 0, 1, "\042", "double quote"},
- /* 25*/ {S, 0, 0, 1, NOPE, "epsilon"},
- /* 26*/ {S, 0, 0, 1, "=", "equation equal"},
- /* 27*/ {S, 0, 0, 1, NOPE, "omicron"},
- /* 28*/ {S, 0, 0, 1, NOPE, "left arrow"},
- /* 29*/ {S, 0, 0, 1, NOPE, "rho"},
- /* 30*/ {S, 0, 0, 1, NOPE, "up arrow"},
- /* 31*/ {S, 0, 0, 1, NOPE, "tau"},
- /* 32*/ {S, 0.1, 0.7, 1, "_", "_ underrule"},
- /* 33*/ {U, 0, 0, 1, "\\", "\\"},
- /* 34*/ {S, 0, 0, 1, NOPE, "Psi"},
- /* 35*/ {S, 0, 0, 1, "\273", "bell system sign"},
- /* 36*/ {S, 0, 0, 1, NOPE, "infinity"},
- /* 37*/ {S, 0, 0, 1, NOPE, "gamma"},
- /* 38*/ {S, 0, 0, 1, NOPE, "improper superset"},
- /* 39*/ {S, 0, 0, 1, NOPE, "proportional to"},
- /* 40*/ {S, 0, 0, 1, NOPE, "right hand"},
- /* 41*/ {S, 0, 0, 1, NOPE, "omega"},
- /* 42*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 43*/ {S, 0, 0, 1, NOPE, "gradient"},
- /* 44*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 45*/ {S, 0, 0, 1, NOPE, "Phi"},
- /* 46*/ {S, 0, 0, 1, NOPE, "Theta"},
- /* 47*/ {S, 0, 0, 1, NOPE, "Omega"},
- /* 48*/ {S, 0, 0, 1, NOPE, "union"},
- /* 49*/ {S, -9.0, -3.0, 1, "\260", "root en extender (and horiz. box rule)"},
- /* 50*/ {S, 0, 0, 1, "\245", "terminal sigma (was root em)"},
- /* 51*/ {S, 0, 0, 1, NOPE, "Lambda"},
- /* 52*/ {S, 0, 0, 1, "\366", "equation minus"},
- /* 53*/ {S, 0, 0, 1, NOPE, "Gamma"},
- /* 54*/ {S, 0, 0, 1, NOPE, "integral sign"},
- /* 55*/ {S, 0, 0, 1, NOPE, "Pi"},
- /* 56*/ {S, 0, 0, 1, NOPE, "subset of"},
- /* 57*/ {S, 0, 0, 1, NOPE, "superset of"},
- /* 58*/ {S, -1.8, 0, 1, "~", "approximates"},
- /* 59*/ {S, 0, 0, 1, NOPE, "partial derivative"},
- /* 60*/ {S, 0, 0, 1, NOPE, "Delta"},
- /* 61*/ {S, 0, -1.5, 1.2, NOPE, "square root"},
- /* 62*/ {S, 0, 0, 1, NOPE, "Sigma"},
- /* 63*/ {S, 0, 0, 1, "\254\b=", "approx ="},
- /* 64*/ {U, 0, 0, 1, ">", ">"},
- /* 65*/ {S, 0, 0, 1, NOPE, "Xi"},
- /* 66*/ {U, 0, 0, 1, "<", "<"},
- /* 67*/ {S, 0, 0, 1, "/", "long slash (longer)"},
- /* 68*/ {S, 0, 0, 1, NOPE, "intersect"},
- /* 69*/ {S, 0, 0, 1, NOPE, "Upsilon"},
- /* 70*/ {S, -1.8, 0, 1, "^", "logical not"},
- /* 71*/ {S, -3.0, 0, 1, NOPE, "right ceiling"},
- /* 72*/ {S, -2.0, 0, 1, NOPE, "left top brace"},
- /* 73*/ {S, -2.0, 0, 1, "|\b|\b|", "bold vertical"},
- /* 74*/ {S, -2.0, 0, 1, "|", "left ctr brace"},
- /* 75*/ {S, -2.0, 0, 1, NOPE, "left bot brace"},
- /* 76*/ {S, -2.0, 0, 1, NOPE, "right top brace"},
- /* 77*/ {S, -2.0, 0, 1, "|", "right ctr brace"},
- /* 78*/ {S, -2.0, 0, 1, NOPE, "right bot brace"},
- /* 79*/ {S, -3.0, 0, 1, NOPE, "right floor"},
- /* 80*/ {S, 0, 0, 1, NOPE, "left floor"},
- /* 81*/ {S, 0, 0, 1, NOPE, "left ceiling"},
- /* 82*/ {U, 0, -1.0, 1, "*", "multiply"},
- /* 83*/ {S, 0, 0, 1, ":\b\366", "divide"},
- /* 84*/ {S, 0, 0, 1, "\376", "plus-minus"},
- /* 85*/ {S, 0, 0, 1, "<=", "<="},
- /* 86*/ {S, 0, 0, 1, ">=", ">="},
- /* 87*/ {S, 0, 0, 1, NOPE, "identically equal"},
- /* 88*/ {S, 0, 0, 1, "=\b/", "not equal"},
- /* 89*/ {U, 0, 0, 1, "{", "{"},
- /* 90*/ {U, 0, 0, 1, "}", "}"},
- /* 91*/ {S, 0, 0, 1, "\250", "acute accent"},
- /* 92*/ {S, 0, 0, 1, "\251", "grave accent"},
- /* 93*/ {S, -1.8, 0, 1, "^", "^"},
- /* 94*/ {U, 0, 0, 1, "#", "#"},
- /* 95*/ {S, 0, 0, 1, NOPE, "left hand"},
- /* 96*/ {S, 0, 0, 1, NOPE, "member of"},
- /* 97*/ {S, -1.8, 0, 1, "~", "~"},
- /* 98*/ {S, 0, 0, 1, NOPE, "empty set"},
- /* 99*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /*100*/ {S, 0, 0, 1, "\275\b|", "dbl dagger"},
- /*101*/ {S, -3.0, 0, 1, "|", "box rule (was parallel sign)"},
- /*102*/ {U, 0, 0, 1, "*", "math * "},
- /*103*/ {S, 0, 0, 1, NOPE, "improper subset"},
- /*104*/ {S, 0, 0, 1, NOPE, "circle"},
- /*105*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /*106*/ {S, 0, 0, 1, "+", "equation plus"},
- /*107*/ {S, 0, 0, 1, NOPE, "right arrow"},
- /*108*/ {S, 0, 0, 1, NOPE, "section"}
- };
- #endif
-
- #ifdef LK
-
- #define CF(x) ((x) - 'A')
-
- struct troff2befont lkStdFont[108] = {
-
- /* +-------------------------------- Troff character number
- |
- | +--------------------------- U: standard fonts
- | | S: symbol font
- | | D: draw macro
- | | n: new font
- | |
- | | +------------------------ X-shift (scaled by point)
- | | |
- | | | +--------------------- Y-shift (scaled by point)
- | | | |
- | | | | +------------------ Point-scale
- | | | | |
- | | | | | +-------------- Sequence
- | | | | | |
- | | | | | | Printable sequence title
- | | | | | | |
- | | | | | | |
- v v v v v v v */
- /* 1*/ {U, 0, 0, 1, "h", "h"},
- /* 2*/ {U, 0, 0, 1, "t", "t"},
- /* 3*/ {U, 0, 0, 1, "n", "n"},
- /* 4*/ {U, 0, 0, 1, "m", "m"},
- /* 5*/ {U, 0, 0, 1, "l", "l"},
- /* 6*/ {U, 0, 0, 1, "i", "i"},
- /* 7*/ {U, 0, 0, 1, "z", "z"},
- /* 8*/ {U, 0, 0, 1, "s", "s"},
- /* 9*/ {U, 0, 0, 1, "d", "d"},
- /* 10*/ {U, 0, 0, 1, "b", "b"},
- /* 11*/ {U, 0, 0, 1, "x", "x"},
- /* 12*/ {U, 0, 0, 1, "f", "f"},
- /* 13*/ {U, 0, 0, 1, "j", "j"},
- /* 14*/ {U, 0, 0, 1, "u", "u"},
- /* 15*/ {U, 0, 0, 1, "k", "k"},
- /* 16*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 17*/ {U, 0, 0, 1, "p", "p"},
- /* 18*/ {S, 0, 0, 1, "v", "3/4 em"},
- /* 19*/ {U, 0, 0, 1, ";", ";"},
- /* 20*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 21*/ {U, 0, 0, 1, "a", "a"},
- /* 22*/ {U, 0, 0, 1, "_", "horizontal rule"},
- /* 23*/ {U, 0, 0, 1, "c", "c"},
- /* 24*/ {U, 0, 0, 1, "`", "` open"},
- /* 25*/ {U, 0, 0, 1, "e", "e"},
- /* 26*/ {U, 0, 0, 1, "'", "' close"},
- /* 27*/ {U, 0, 0, 1, "o", "o"},
- /* 28*/ {S, 0, 0, 1, "w", "1/4"},
- /* 29*/ {U, 0, 0, 1, "r", "r"},
- /* 30*/ {S, 0, 0, 1, "x", "1/2"},
- /* 31*/ {U, 0, 0, 1, "v", "v"},
- /* 32*/ {U, 0, 0, 1, "-", "- (hyphen)"},
- /* 33*/ {U, 0, 0, 1, "w", "w"},
- /* 34*/ {U, 0, 0, 1, "q", "q"},
- /* 35*/ {U, 0, 0, 1, "/", "/"},
- /* 36*/ {U, 0, 0, 1, ".", "."},
- /* 37*/ {U, 0, 0, 1, "g", "g"},
- /* 38*/ {U, 0, 0, 1, NOPE, "3/4"},
- /* 39*/ {U, 0, 0, 1, ",", ","},
- /* 40*/ {U, 0, 0, 1, "&", "&"},
- /* 41*/ {U, 0, 0, 1, "y", "y"},
- /* 42*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 43*/ {U, 0, 0, 1, "\%", "%"},
- /* 44*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /* 45*/ {U, 0, 0, 1, "Q", "Q"},
- /* 46*/ {U, 0, 0, 1, "T", "T"},
- /* 47*/ {U, 0, 0, 1, "O", "O"},
- /* 48*/ {U, 0, 0, 1, "H", "H"},
- /* 49*/ {U, 0, 0, 1, "N", "N"},
- /* 50*/ {U, 0, 0, 1, "M", "M"},
- /* 51*/ {U, 0, 0, 1, "L", "L"},
- /* 52*/ {U, 0, 0, 1, "R", "R"},
- /* 53*/ {U, 0, 0, 1, "G", "G"},
- /* 54*/ {U, 0, 0, 1, "I", "I"},
- /* 55*/ {U, 0, 0, 1, "P", "P"},
- /* 56*/ {U, 0, 0, 1, "C", "C"},
- /* 57*/ {U, 0, 0, 1, "V", "V"},
- /* 58*/ {U, 0, 0, 1, "E", "E"},
- /* 59*/ {U, 0, 0, 1, "Z", "Z"},
- /* 60*/ {U, 0, 0, 1, "D", "D"},
- /* 61*/ {U, 0, 0, 1, "B", "B"},
- /* 62*/ {U, 0, 0, 1, "S", "S"},
- /* 63*/ {U, 0, 0, 1, "Y", "Y"},
- /*from here on are actually code 1-45, upper half of font */
- /* 64*/ {U, 0, 0, 1, "F", "F"},
- /* 65*/ {U, 0, 0, 1, "X", "X"},
- /* 66*/ {U, 0, 0, 1, "A", "A"},
- /* 67*/ {U, 0, 0, 1, "W", "W"},
- /* 68*/ {U, 0, 0, 1, "J", "J"},
- /* 69*/ {U, 0, 0, 1, "U", "U"},
- /* 70*/ {U, 0, 0, 1, "K", "K"},
- /* 71*/ {U, 0, 0, 1, "0", "0"},
- /* 72*/ {U, 0, 0, 1, "1", "1"},
- /* 73*/ {U, 0, 0, 1, "2", "2"},
- /* 74*/ {U, 0, 0, 1, "3", "3"},
- /* 75*/ {U, 0, 0, 1, "4", "4"},
- /* 76*/ {U, 0, 0, 1, "5", "5"},
- /* 77*/ {U, 0, 0, 1, "6", "6"},
- /* 78*/ {U, 0, 0, 1, "7", "7"},
- /* 79*/ {U, 0, 0, 1, "8", "8"},
- /* 80*/ {U, 0, 0, 1, "9", "9"},
- /* 81*/ {U, 0, 0, 1, "*", "*"},
- /* 82*/ {U, 0, 0, 1, "-", "minus"},
- /* 83*/ {U, 0, 0, 1, NOPE, "fi"},
- /* 84*/ {U, 0, 0, 1, NOPE, "fl"},
- /* 85*/ {U, 0, 0, 1, NOPE, "ff"},
- /* 86*/ {S, 0, 0, 1, "?", "cent sign"},
- /* 87*/ {U, 0, 0, 1, NOPE, "ffl"},
- /* 88*/ {U, 0, 0, 1, NOPE, "ffi"},
- /* 89*/ {U, 0, 0, 1, "(", "("},
- /* 90*/ {U, 0, 0, 1, ")", ")"},
- /* 91*/ {U, 0, 0, 1, "[", "["},
- /* 92*/ {U, 0, 0, 1, "]", "]"},
- /* 93*/ {S, 0, 0, 1, "3", "degree"},
- /* 94*/ {CF('J'), 0, 0, 1, "N", "dagger"}, /* Math 8b */
- /* 95*/ {U, 0, 0, 1, "=", "="},
- /* 96*/ {CF('L'), 0, 0, 1, ",", "registered"}, /* PiFonta */
- /* 97*/ {U, 0, 0, 1, ":", ":"},
- /* 98*/ {U, 0, 0, 1, "+", "+"},
- /* 99*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /*100*/ {U, 0, 0, 1, "!", "!"},
- /*** /*101 {U, 0, 0, 1, "*", "bullet"}, /* faked! */
- /***/ /*101*/ {CF('J'), 0, 0, 1, "K", "bullet"}, /* Math 8b */
- /*102*/ {U, 0, 0, 1, "?", "?"},
- /*** /*103 {U, 0, 0, 1, "'", "foot mark"}, /* ' */
- /***/ /*103*/ {CF('I'), 0, 0, 1, "'", "foot mark"}, /* Math 8a */
- /*104*/ {U, 0, 0, 1, "|", "|"},
- /*105*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /*106*/ {CF('L'), 0, 0, 1, "-", "copyright"}, /* PiFonta */
- /*107*/ {CF('L'), 0, 0, 1, "l", "square"}, /* PiFonta */
- /*108*/ {U, 0, 0, 1, "$", "$"}
- };
-
- struct troff2befont lkSymFont[] = {
- /* +-------------------------------- Troff character number
- |
- | +--------------------------- U: standard fonts
- | | S: symbol font
- | | D: draw macro
- | |
- | | +------------------------ X-shift (scaled by point)
- | | |
- | | | +--------------------- Y-shift (scaled by point)
- | | | |
- | | | | +------------------ Point-scale
- | | | | |
- | | | | | +-------------- Sequence
- | | | | | |
- | | | | | | Printable sequence title
- | | | | | | |
- | | | | | | |
- v v v v v v v */
- /**** {S, 0, 0, 1, NOCODE, "unassigned"}, /* in htroff table */
- /* 1*/ {S, 0, 0, 1, "w", "psi"},
- /* 2*/ {S, 0, 0, 1, "h", "theta"},
- /* 3*/ {S, 0, 0, 1, "m", "nu"},
- /* 4*/ {S, 0, 0, 1, "l", "mu"},
- /* 5*/ {S, 0, 0, 1, "k", "lambda"},
- /* 6*/ {S, 0, 0, 1, "i", "iota"},
- /* 7*/ {S, 0, 0, 1, "f", "zeta"},
- /* 8*/ {S, 0, 0, 1, "r", "sigma"},
- /* 9*/ {S, 0, 0, 1, "d", "delta"},
- /* 10*/ {S, 0, 0, 1, "b", "beta"},
- /* 11*/ {S, 0, 0, 1, "n", "xi"},
- /* 12*/ {S, 0, 0, 1, "g", "eta"},
- /* 13*/ {S, 0, 0, 1, "u", "phi"},
- /* 14*/ {S, 0, 0, 1, "t", "upsilon"},
- /* 15*/ {S, 0, 0, 1, "j", "kappa"},
- /* 16*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 17*/ {S, 0, 0, 1, "p", "pi"},
- /* 18*/ {U, 0, 0, 1, "@", "@"},
- /* 19*/ {CF('J'), 0, 0, 1, "#", "down arrow"},
- /* 20*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 21*/ {S, 0, 0, 1, "a", "alpha"},
- /* 22*/ {S, 0, 0, 1, "|", "or (was star)"},
- /* 23*/ {S, 0, 0, 1, "v", "chi"},
- /* 24*/ {U, 0, 0, 1, "\042", "double quote"},
- /* 25*/ {S, 0, 0, 1, "e", "epsilon"},
- /* 26*/ {S, 0, 0, 1, "=", "equation equal"},
- /* 27*/ {S, 0, 0, 1, "o", "omicron"},
- /* 28*/ {CF('J'), 0, 0, 1, "$", "left arrow"},
- /* 29*/ {S, 0, 0, 1, "q", "rho"},
- /* 30*/ {CF('J'), 0, 0, 1, "!", "up arrow"},
- /* 31*/ {S, 0, 0, 1, "s", "tau"},
- /* 32*/ {S, .01, .14, 1, "_", "_ underrule"},
- /* 33*/ {U, 0, 0, 1, "\\", "\\"},
- /* 34*/ {S, 0, 0, 1, "W", "Psi"},
- /* 35*/ {CF('L'), 0, 0, 1, "H", "bell system sign"},
- /* 36*/ {S, 0, 0, 1, "$", "infinity"},
- /* 37*/ {S, 0, 0, 1, "c", "gamma"},
- /* 38*/ {CF('J'), 0, 0, 1, "?", "improper superset"},
- /* 39*/ {S, 0, 0, 1, "&", "proportional to"},
- /* 40*/ {CF('J'), 0, 0, 1, "&", "right hand"},
- /* 41*/ {S, 0, 0, 1, "x", "omega"},
- /* 42*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 43*/ {S, 0, 0, 1, "Y", "gradient"},
- /* 44*/ {S, 0, 0, 1, NOCODE, "unassigned"},
- /* 45*/ {S, 0, 0, 1, "U", "Phi"},
- /* 46*/ {S, 0, 0, 1, "H", "Theta"},
- /* 47*/ {S, 0, 0, 1, "X", "Omega"},
- /* 48*/ {CF('J'), 0, 0, 1, "5", "union"},
- /* 49*/ {CF('J'), -.70, 0, 1, "0", "root en extender"},
- /* 50*/ {S, 0, 0, 1, "[", "terminal sigma (was root em)"},
- /* 51*/ {S, 0, 0, 1, "K", "Lambda"},
- /* 52*/ {S, 0, 0, 1, "-", "equation minus"},
- /* 53*/ {S, 0, 0, 1, "C", "Gamma"},
- /* 54*/ {CF('J'), 0, 0, 1, "U", "integral sign"},
- /* 55*/ {S, 0, 0, 1, "P", "Pi"},
- /* 56*/ {CF('J'), 0, 0, 1, ":", "subset of"},
- /* 57*/ {CF('J'), 0, 0, 1, ";", "superset of"},
- /* 58*/ {U, 0, 0, 1, "~", "approximates"},
- /* 59*/ {S, 0, 0, 1, "Z", "partial derivative"},
- /* 60*/ {S, 0, 0, 1, "D", "Delta"},
- /* 61*/ {S, 0, -.15, 1.2, "!", "square root"},
- /* 62*/ {S, 0, 0, 1, "R", "Sigma"},
- /* 63*/ {S, 0, 0, 1, "?", "approx ="},
- /* 64*/ {U, 0, 0, 1, ">", ">"},
- /* 65*/ {S, 0, 0, 1, "N", "Xi"},
- /* 66*/ {U, 0, 0, 1, "<", "<"},
- /* 67*/ {S, 0, 0, 1, "/", "long slash (longer)"},
- /* 68*/ {CF('J'), 0, 0, 1, "6", "intersect"},
- /* 69*/ {S, 0, 0, 1, "T", "Upsilon"},
- /* 70*/ {CF('J'), 0, 0, 1, "H", "logical not"},
- /* 71*/ {CF('J'), -.3, 0, 1, "p", "right ceiling"},
- /* 72*/ {CF('J'), -.2, 0, 1, "b", "left top brace"},
- /* 73*/ {CF('J'), 0, 0, 1, "v", "bold vertical"},
- /* 74*/ {CF('J'), -.2, 0, 1, "c", "left ctr brace"},
- /* 75*/ {CF('J'), -.2, 0, 1, "d", "left bot brace"},
- /* 76*/ {CF('J'), -.2, 0, 1, "r", "right top brace"},
- /* 77*/ {CF('J'), -.2, 0, 1, "s", "right ctr brace"},
- /* 78*/ {CF('J'), -.2, 0, 1, "t", "right bot brace"},
- /* 79*/ {CF('J'), -.3, 0, 1, "q", "right floor"},
- /* 80*/ {CF('J'), 0, 0, 1, "a", "left floor"},
- /* 81*/ {CF('J'), 0, 0, 1, "'", "left ceiling"},
- /* 82*/ {S, 0, 0, 1, "*", "multiply"},
- /* 83*/ {S, 0, 0, 1, "%", "divide"},
- /* 84*/ {CF('J'), 0, 0, 1, "~", "plus-minus"},
- /* 85*/ {S, 0, 0, 1, "\\", "<="},
- /* 86*/ {S, 0, 0, 1, "^", ">="},
- /* 87*/ {S, 0, 0, 1, "}", "identically equal"},
- /* 88*/ {S, 0, 0, 1, "]", "not equal"},
- /* 89*/ {U, 0, 0, 1, "{", "{"},
- /* 90*/ {U, 0, 0, 1, "}", "}"},
- /* 91*/ {S, 0, 0, 1, "(", "acute accent"},
- /* 92*/ {S, 0, 0, 1, ")", "grave accent"},
- /* 93*/ {S, 0, 0, 1, "*", "^"},
- /* 94*/ {U, 0, 0, 1, "#", "#"},
- /* 95*/ {CF('J'), 0, 0, 1, "(", "left hand"},
- /* 96*/ {CF('J'), 0, 0, 1, "7", "member of"},
- /* 97*/ {S, 0, 0, 1, ",", "~"},
- /* 98*/ {CF('J'), 0, 0, 1, "X", "empty set"},
- /* 99*/ {U, 0, 0, 1, NOCODE, "unassigned"},
- /*100*/ {CF('J'), 0, 0, 1, "O", "dbl dagger"},
- /*101*/ {CF('J'), -.2, 0, 1, "v", "box rule (was parallel sign)"},
- /*102*/ {U, 0, 0, 1, "*", "math * "},
- /*103*/ {CF('J'), 0, 0, 1, ">", "improper subset"},
- /*104*/ {CF('J'), 0, 0, 1, "M", "circle"},
- /*105*/ {CF('I'), 0, 0, 1, NOCODE, "unassigned"},
- /*106*/ {CF('I'), 0, 0, 1, "+", "equation plus"},
- /*107*/ {CF('J'), 0, 0, 1, "\042", "right arrow"},
- /*108*/ {S, 0, 0, 1, "=", "section"}
- };
- #endif
- #endif
-