g_cntrlify.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. /* This file is part of the GNU plotutils package. Copyright (C) 1995,
  2. 1996, 1997, 1998, 1999, 2000, 2005, 2008, Free Software Foundation, Inc.
  3. The GNU plotutils package is free software. You may redistribute it
  4. and/or modify it under the terms of the GNU General Public License as
  5. published by the Free Software foundation; either version 2, or (at your
  6. option) any later version.
  7. The GNU plotutils package is distributed in the hope that it will be
  8. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. General Public License for more details.
  11. You should have received a copy of the GNU General Public License along
  12. with the GNU plotutils package; see the file COPYING. If not, write to
  13. the Free Software Foundation, Inc., 51 Franklin St., Fifth Floor,
  14. Boston, MA 02110-1301, USA. */
  15. /* This header file is #include'd by g_cntrlify.c. It is a database rather
  16. than a true header file: it includes arrays of escape sequences,
  17. ligatures, etc., which govern the interpretation of a user-specified
  18. text string, or `label'.
  19. This database is used in `controlification': the mapping of a label (a
  20. string of unsigned chars) to a string of unsigned shorts, for further
  21. processing. This mapping accomplishes two things: first, it maps
  22. certain escape sequences, beginning with a backslash, to non-ASCII
  23. ISO-Latin-1 characters (e.g., \mu is mapped to `times'), and second, it
  24. maps certain escape sequences to internal control codes (e.g. \sp is
  25. mapped to `start superscript'). */
  26. /* Escape sequences that are mapped to internal control codes. The order
  27. in which these appear must agree with the order of internal control
  28. codes (e.g. C_BEGIN_SUBSCRIPT) appearing in g_control.h. */
  29. #define NUM_CONTROLS 18
  30. static const char * const _control_tbl[NUM_CONTROLS] =
  31. {
  32. /* \sp = start superscript */
  33. "sp",
  34. /* \ep = end superscript */
  35. "ep",
  36. /* \sb = start subscript */
  37. "sb",
  38. /* \eb = end subscript */
  39. "eb",
  40. /* \mk = mark location */
  41. "mk",
  42. /* \rt = return */
  43. "rt",
  44. /* \r1 = shift right by 1 em */
  45. "r1",
  46. /* \r2 = shift right by em/2 */
  47. "r2",
  48. /* \r4 = shift right by em/4 */
  49. "r4",
  50. /* \r6 = shift right by em/6 */
  51. "r6",
  52. /* \r8 = shift right by em/8 */
  53. "r8",
  54. /* \r^ = shift right by em/12 */
  55. "r^",
  56. /* \l1 = shift left by 1 em */
  57. "l1",
  58. /* \l2 = shift left by em/2 */
  59. "l2",
  60. /* \l4 = shift left by em/4 */
  61. "l4",
  62. /* \l6 = shift left by em/6 */
  63. "l6",
  64. /* \l8 = shift left by em/8 */
  65. "l8",
  66. /* \l^ = shift left by em/12 */
  67. "l^",
  68. };
  69. typedef struct
  70. {
  71. unsigned char byte;
  72. const char * string;
  73. const char * ps_name;
  74. } Escape;
  75. /* The basic translation table, applying to all ISO-Latin-1 fonts. */
  76. #define NUM_ISO_ESCAPES 95
  77. static const Escape _iso_escape_tbl[NUM_ISO_ESCAPES] =
  78. {
  79. /* escape sequences, taken from groff */
  80. {161, "r!", "exclamdown"},
  81. {162, "ct", "cent"},
  82. {163, "Po", "sterling"},
  83. {164, "Cs", "currency"},
  84. {165, "Ye", "yen"},
  85. {166, "bb", "brokenbar"},
  86. {167, "sc", "section"},
  87. {168, "ad", "dieresis"},
  88. {169, "co", "copyright"},
  89. {170, "Of", "ordfeminine"},
  90. {171, "Fo", "guillemotleft"},
  91. {172, "no", "logicalnot"},
  92. {173, "hy", "hyphen"},
  93. {174, "rg", "registered"},
  94. {175, "a-", "macron"},
  95. {176, "de", "degree"},
  96. {177, "+-", "plusminus"},
  97. {178, "S2", "twosuperior"},
  98. {179, "S3", "threesuperior"},
  99. {180, "aa", "acute"},
  100. {181, "*m", "mu"},
  101. {182, "ps", "paragraph"},
  102. {183, "md", "periodcentered"},
  103. {184, "ac", "cedilla"},
  104. {185, "S1", "onesuperior"},
  105. {186, "Om", "ordmasculine"},
  106. {187, "Fc", "guillemotright"},
  107. {188, "14", "onequarter"},
  108. {189, "12", "onehalf"},
  109. {190, "34", "threequarters"},
  110. {191, "r?", "questiondown"},
  111. {192, "`A", "Agrave"},
  112. {193, "'A", "Aacute"},
  113. {194, "^A", "Acircumflex"},
  114. {195, "~A", "Atilde"},
  115. {196, ":A", "Adieresis"},
  116. {197, "oA", "Aring"},
  117. {198, "AE", "AE"},
  118. {199, ",C", "Ccedilla"},
  119. {200, "`E", "Egrave"},
  120. {201, "'E", "Eacute"},
  121. {202, "^E", "Ecircumflex"},
  122. {203, ":E", "Edieresis"},
  123. {204, "`I", "Igrave"},
  124. {205, "'I", "Iacute"},
  125. {206, "^I", "Icircumflex"},
  126. {207, ":I", "Idieresis"},
  127. {208, "-D", "Eth"},
  128. {209, "~N", "Ntilde"},
  129. {210, "`O", "Ograve"},
  130. {211, "'O", "Oacute"},
  131. {212, "^O", "Ocircumflex"},
  132. {213, "~O", "Otilde"},
  133. {214, ":O", "Odieresis"},
  134. {215, "mu", "multiply"},
  135. {216, "/O", "Oslash"},
  136. {217, "`U", "Ugrave"},
  137. {218, "'U", "Uacute"},
  138. {219, "^U", "Ucircumflex"},
  139. {220, ":U", "Udieresis"},
  140. {221, "'Y", "Yacute"},
  141. {222, "TP", "Thorn"},
  142. {223, "ss", "germandbls"},
  143. {224, "`a", "agrave"},
  144. {225, "'a", "aacute"},
  145. {226, "^a", "acircumflex"},
  146. {227, "~a", "atilde"},
  147. {228, ":a", "adieresis"},
  148. {229, "oa", "aring"},
  149. {230, "ae", "ae"},
  150. {231, ",c", "ccedilla"},
  151. {232, "`e", "egrave"},
  152. {233, "'e", "eacute"},
  153. {234, "^e", "ecircumflex"},
  154. {235, ":e", "edieresis"},
  155. {236, "`i", "igrave"},
  156. {237, "'i", "iacute"},
  157. {238, "^i", "icircumflex"},
  158. {239, ":i", "idieresis"},
  159. {240, "Sd", "eth"},
  160. {241, "~n", "ntilde"},
  161. {242, "`o", "ograve"},
  162. {243, "'o", "oacute"},
  163. {244, "^o", "ocircumflex"},
  164. {245, "~o", "otilde"},
  165. {246, ":o", "odieresis"},
  166. {247, "di", "divide"},
  167. {248, "/o", "oslash"},
  168. {249, "`u", "ugrave"},
  169. {250, "'u", "uacute"},
  170. {251, "^u", "ucircumflex"},
  171. {252, ":u", "udieresis"},
  172. {253, "'y", "yacute"},
  173. {254, "Tp", "thorn"},
  174. {255, ":y", "ydieresis"},
  175. };
  176. /* For any standard PS font or Hershey font, the following additional
  177. translation table applies. It permits the use of symbols and Greek
  178. characters (taken from the Symbol font, for a PS font, or from the
  179. HersheySymbol font, for a Hershey font) without explicitly switching
  180. fonts. */
  181. #define NUM_SYMBOL_ESCAPES 161
  182. static const Escape _symbol_escape_tbl[NUM_SYMBOL_ESCAPES] =
  183. {
  184. /* escape sequences, taken from groff, except for (1) several characters
  185. for which the escape sequences were invented, because groff has no
  186. 2-letter escape sequence for them, and (2) three characters (flagged)
  187. that needed to have their escape sequences capitalized due to conflicts */
  188. {042, "fa", "universal"},
  189. {044, "te", "existential"},
  190. {047, "st", "suchthat"},
  191. {052, "**", "asteriskmath"},
  192. {0100, "=~", "congruent"},
  193. {0101, "*A", "Alpha"},
  194. {0102, "*B", "Beta"},
  195. {0103, "*X", "Chi"},
  196. {0104, "*D", "Delta"},
  197. {0105, "*E", "Epsilon"},
  198. {0106, "*F", "Phi"},
  199. {0107, "*G", "Gamma"},
  200. {0110, "*Y", "Eta"},
  201. {0111, "*I", "Iota"},
  202. {0112, "+h", "theta1"},
  203. {0113, "*K", "kappa"},
  204. {0114, "*L", "Lambda"},
  205. {0115, "*M", "Mu"},
  206. {0116, "*N", "Nu"},
  207. {0117, "*O", "Omicron"},
  208. {0120, "*P", "Pi"},
  209. {0121, "*H", "Theta"},
  210. {0122, "*R", "Rho"},
  211. {0123, "*S", "Sigma"},
  212. {0124, "*T", "Tau"},
  213. {0125, "*U", "Upsilon"},
  214. {0126, "ts", "sigma1"},
  215. {0127, "*W", "Omega"},
  216. {0130, "*C", "Xi"},
  217. {0131, "*Q", "Psi"},
  218. {0132, "*Z", "Zeta"},
  219. {0134, "tf", "therefore"},
  220. {0136, "pp", "perpendicular"},
  221. {0137, "ul", "underline"}, /* not the same as underscore */
  222. {0140, "rx", "radicalex"},
  223. {0141, "*a", "alpha"},
  224. {0142, "*b", "beta"},
  225. {0143, "*x", "chi"},
  226. {0144, "*d", "delta"},
  227. {0145, "*e", "epsilon"},
  228. {0146, "*f", "phi"},
  229. {0147, "*g", "gamma"},
  230. {0150, "*y", "eta"},
  231. {0151, "*i", "iota"},
  232. {0152, "+f", "phi1"},
  233. {0153, "*k", "kappa"},
  234. {0154, "*l", "lambda"},
  235. {0155, "*m", "mu"},
  236. {0156, "*n", "nu"},
  237. {0157, "*o", "omicron"},
  238. {0160, "*p", "pi"},
  239. {0161, "*h", "theta"},
  240. {0162, "*r", "rho"},
  241. {0163, "*s", "sigma"},
  242. {0164, "*t", "tau"},
  243. {0165, "*u", "upsilon"},
  244. {0166, "+p", "omega1"},
  245. {0167, "*w", "omega"},
  246. {0170, "*c", "xi"},
  247. {0171, "*q", "psi"},
  248. {0172, "*z", "zeta"},
  249. {0176, "ap", "similar"},
  250. {0241, "+U", "Upsilon1"},
  251. {0242, "fm", "minute"},
  252. {0243, "<=", "lessequal"},
  253. {0244, "f/", "fraction"},
  254. {0245, "if", "infinity"},
  255. {0246, "Fn", "florin"},
  256. {0247, "CL", "club"},
  257. {0250, "DI", "diamond"},
  258. {0251, "HE", "heart"},
  259. {0252, "SP", "spade"},
  260. {0253, "<>", "arrowboth"},
  261. {0254, "<-", "arrowleft"},
  262. {0255, "ua", "arrowup"},
  263. {0256, "->", "arrowright"},
  264. {0257, "da", "arrowdown"},
  265. {0260, "de", "degree"},
  266. {0261, "+-", "plusminus"},
  267. {0262, "sd", "second"},
  268. {0263, ">=", "greaterequal"},
  269. {0264, "mu", "multiply"},
  270. {0265, "pt", "proportional"},
  271. {0266, "pd", "partialdiff"},
  272. {0267, "bu", "bullet"},
  273. {0270, "di", "divide"},
  274. {0271, "!=", "notequal"},
  275. {0272, "==", "equivalence"},
  276. {0273, "~~", "approxequal"},
  277. {0274, "..", "ellipsis"},
  278. {0275, "NO_ABBREV", "arrowvertex"},
  279. {0276, "an", "arrowhorizex"},
  280. {0277, "CR", "carriagereturn"},
  281. {0300, "Ah", "aleph"},
  282. {0301, "Im", "Ifraktur"},
  283. {0302, "Re", "Rfraktur"},
  284. {0303, "wp", "weierstrass"},
  285. {0304, "c*", "circlemultiply"},
  286. {0305, "c+", "circleplus"},
  287. {0306, "es", "emptyset"},
  288. {0307, "ca", "cap"},
  289. {0310, "cu", "cup"},
  290. {0311, "SS", "superset"}, /* groff: sp. Conflicts with \sp. */
  291. {0312, "ip", "reflexsuperset"},
  292. {0313, "n<", "notsubset"},
  293. {0314, "SB", "subset"}, /* groff: sb. Conflicts with \sb. */
  294. {0315, "ib", "reflexsubset"},
  295. {0316, "mo", "element"},
  296. {0317, "nm", "notelement"},
  297. {0320, "/_", "angle"},
  298. {0321, "gr", "nabla"},
  299. {0322, "rg", "registerserif"},
  300. {0323, "co", "copyrightserif"},
  301. {0324, "tm", "trademarkserif"},
  302. {0325, "PR", "product"},
  303. {0326, "sr", "radical"},
  304. {0327, "md", "dotmath"},
  305. {0330, "no", "logicalnot"},
  306. {0331, "AN", "logicaland"},
  307. {0332, "OR", "logicalor"},
  308. {0333, "hA", "arrowdblboth"},
  309. {0334, "lA", "arrowdblleft"},
  310. {0335, "uA", "arrowdblup"},
  311. {0336, "rA", "arrowdblright"},
  312. {0337, "dA", "arrowdbldown"},
  313. {0340, "lz", "lozenge"},
  314. {0341, "la", "angleleft"},
  315. {0342, "RG", "registersans"},
  316. {0343, "CO", "copyrightsans"},
  317. {0344, "TM", "trademarksans"},
  318. {0345, "SU", "summation"},
  319. {0346, "NO_ABBREV", "parenlefttp"},
  320. {0347, "NO_ABBREV", "parenleftex"},
  321. {0350, "NO_ABBREV", "parenleftbt"},
  322. {0351, "lc", "bracketlefttp"},
  323. {0352, "NO_ABBREV", "bracketleftex"},
  324. {0353, "lf", "bracketleftbt"},
  325. {0354, "lt", "bracelefttp"},
  326. {0355, "lk", "braceleftmid"},
  327. {0356, "lb", "braceleftbt"},
  328. {0357, "bv", "braceex"},
  329. /* Euro symbol, added by Adobe 1997(?). ObHistorical note: Back in Apple
  330. LaserWriter days, the Apple logo was stored in this slot. */
  331. {0360, "eu", "euro"},
  332. {0361, "ra", "angleright"},
  333. {0362, "is", "integral"},
  334. {0363, "NO_ABBREV", "integraltp"},
  335. {0364, "NO_ABBREV", "integralex"},
  336. {0365, "NO_ABBREV", "integralbt"},
  337. {0366, "NO_ABBREV", "parenrighttp"},
  338. {0367, "NO_ABBREV", "parenrightex"},
  339. {0370, "NO_ABBREV", "parenrightbt"},
  340. {0371, "rc", "bracketrighttp"},
  341. {0372, "NO_ABBREV", "bracketrightex"},
  342. {0373, "rf", "bracketrightbt"},
  343. {0374, "RT", "bracerighttp"}, /* groff: rt. Conflicts with \rt. */
  344. {0375, "rk", "bracerightmid"},
  345. {0376, "rb", "bracerightbt"},
  346. /* traditional UGS aliases (undocumented and redundant; obsolete) */
  347. {0100, "~=", "congruent"},
  348. {0242, "pr", "minute"},
  349. {0245, "in", "infinity"},
  350. {0271, "n=", "notequal"},
  351. {0321, "dl", "nabla"},
  352. };
  353. /* For any Hershey font, the following additional translation table
  354. applies. It allows access to special vector characters, from the
  355. Hershey repertory and from the SLAC UGS [Unified Graphics System]
  356. repertory, which we've placed in the nonprintable 0200..0237 region of
  357. each Hershey Symbol font. That region of each Symbol font, like the
  358. corresponding region of all other fonts, is normally inaccessible; it is
  359. accessible only through the following translations. (The Hershey
  360. zodiacal glyphs, which were a last-minute addition, are similarly stored
  361. in the other nonprintable range 000..037 of the Symbol fonts.) */
  362. #define NUM_SPECIAL_ESCAPES 40
  363. static const Escape _special_escape_tbl[NUM_SPECIAL_ESCAPES] =
  364. {
  365. /* zodiacal Hershey glyphs */
  366. {01, "AR", "aries"},
  367. {02, "TA", "taurus"},
  368. {03, "GE", "gemini"},
  369. {04, "CA", "cancer"},
  370. {05, "LE", "leo"},
  371. {06, "VI", "virgo"},
  372. {07, "LI", "libra"},
  373. {010, "SC", "scorpio"},
  374. {011, "SG", "sagittarius"},
  375. {012, "CP", "capricornus"},
  376. {013, "AQ", "aquarius"},
  377. {014, "PI", "pisces"},
  378. /* some special UGS characters */
  379. {0204, "~-", "modifiedcongruent"},
  380. {0205, "hb", "hbar"},
  381. {0206, "IB", "interbang"},
  382. {0207, "Lb", "lambdabar"},
  383. {0210, "UD", "undefined"},
  384. /* astronomical Hershey glyphs */
  385. {0211, "SO", "sun"},
  386. {0212, "ME", "mercury"},
  387. {0213, "VE", "venus"},
  388. {0214, "EA", "earth"},
  389. {0215, "MA", "mars"},
  390. {0216, "JU", "jupiter"},
  391. {0217, "SA", "saturn"},
  392. {0220, "UR", "uranus"},
  393. {0221, "NE", "neptune"},
  394. {0222, "PL", "pluto"},
  395. {0223, "LU", "moon"},
  396. {0224, "CT", "comet"},
  397. {0225, "ST", "star"},
  398. {0226, "AS", "ascendingnode"},
  399. {0227, "DE", "descendingnode"},
  400. /* final `s', treated specially in g_cntrlify.c */
  401. #define FINAL_LOWERCASE_S 0230
  402. {0230, "s-", "s1"},
  403. /* non-astronomical Hershey glyphs */
  404. {0231, "dg", "dagger"},
  405. {0232, "dd", "daggerdbl"},
  406. {0233, "li", "line integral"},
  407. {0234, "-+", "minusplus"},
  408. {0235, "||", "parallel"},
  409. /* overbar and underbar (which make sense for all fonts, but which are
  410. implemented for non-Hershey fonts in a different way) */
  411. {0236, "rn", "overscore"},
  412. #define VECTOR_SYMBOL_FONT_UNDERSCORE 0237
  413. {0237, "ul", "underscore"},
  414. };
  415. /* The character-to-superscript mapping table, applying only to ISO-8859-1
  416. Hershey fonts. Certain printable 8-bit characters are drawn as small
  417. raised ASCII characters, possibly underlined. */
  418. typedef struct
  419. {
  420. unsigned char from, to;
  421. bool underscored;
  422. } Raiseinfo;
  423. #define NUM_RAISED_CHARS 5
  424. static const Raiseinfo _raised_char_tbl[NUM_RAISED_CHARS] =
  425. {
  426. {170, 97, true}, /* ordfeminine mapped to 'a' */
  427. {178, 50, false}, /* twosuperior mapped to '2' */
  428. {179, 51, false}, /* threesuperior mapped to '3' */
  429. {185, 49, false}, /* onesuperior mapped to '1' */
  430. {186, 111, true}, /* ordmasculine mapped to 'o'*/
  431. };
  432. /* The single-character `deligature' table, applying to all ISO-8859-1
  433. Hershey fonts (since they do not include these ligatures, except for
  434. germandbls [eszet] in Gothic-German). */
  435. typedef struct
  436. {
  437. unsigned char from;
  438. const char * to;
  439. int except_font;
  440. } Deligature;
  441. #define NUM_DELIGATURED_CHARS 3
  442. static const Deligature _deligature_char_tbl[NUM_DELIGATURED_CHARS] =
  443. {
  444. {198, "AE", 999},
  445. {230, "ae", 999},
  446. {223, "ss", PL_HERSHEY_GOTHIC_GERMAN}, /* no deligature of #223 in G.-German */
  447. };
  448. /* Same as preceding, for escape sequences rather than for 8-bit
  449. ISO-Latin-1 chars */
  450. typedef struct
  451. {
  452. const char * from;
  453. const char * to;
  454. int except_font;
  455. } Deligature_escape;
  456. #define NUM_DELIGATURED_ESCAPES 3
  457. static const Deligature_escape _deligature_escape_tbl[NUM_DELIGATURED_ESCAPES] =
  458. {
  459. {"AE", "AE", 999},
  460. {"ae", "ae", 999},
  461. {"ss", "ss", PL_HERSHEY_GOTHIC_GERMAN}, /* no deligature of \ss in Gothic-G.*/
  462. };
  463. /* A table of the ligatures present in the Hershey fonts. Ligaturization
  464. is automatic; see g_cntrlify.c. The eszet ligature, found only in
  465. HersheyGothic-German, is not listed here because it is not constructed
  466. automatically; the user must request it, with either "\ss" or 'ß'. The
  467. table has the longer ligatures first because it is scanned from first to
  468. last, with strcmp().
  469. The Hershey fonts are indicated by their index in the internal table of
  470. fonts, in g_fontdb.c. */
  471. typedef struct
  472. {
  473. int font;
  474. const char * from;
  475. unsigned char byte;
  476. } Ligature;
  477. #define NUM_LIGATURES 22
  478. static const Ligature _ligature_tbl[NUM_LIGATURES] =
  479. {
  480. {PL_HERSHEY_SERIF, "ffi", 0203},
  481. {PL_HERSHEY_SERIF, "ffl", 0204},
  482. {PL_HERSHEY_SERIF, "ff", 0200},
  483. {PL_HERSHEY_SERIF, "fi", 0201},
  484. {PL_HERSHEY_SERIF, "fl", 0202},
  485. {PL_HERSHEY_SERIF_ITALIC, "ffi", 0203},
  486. {PL_HERSHEY_SERIF_ITALIC, "ffl", 0204},
  487. {PL_HERSHEY_SERIF_ITALIC, "ff", 0200},
  488. {PL_HERSHEY_SERIF_ITALIC, "fi", 0201},
  489. {PL_HERSHEY_SERIF_ITALIC, "fl", 0202},
  490. {PL_HERSHEY_GOTHIC_GERMAN, "ch", 0206},
  491. {PL_HERSHEY_GOTHIC_GERMAN, "tz", 0207},
  492. {PL_HERSHEY_CYRILLIC, "ffi", 0203},
  493. {PL_HERSHEY_CYRILLIC, "ffl", 0204},
  494. {PL_HERSHEY_CYRILLIC, "ff", 0200},
  495. {PL_HERSHEY_CYRILLIC, "fi", 0201},
  496. {PL_HERSHEY_CYRILLIC, "fl", 0202},
  497. {PL_HERSHEY_EUC, "ffi", 0203},
  498. {PL_HERSHEY_EUC, "ffl", 0204},
  499. {PL_HERSHEY_EUC, "ff", 0200},
  500. {PL_HERSHEY_EUC, "fi", 0201},
  501. {PL_HERSHEY_EUC, "fl", 0202},
  502. };