home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / fan / tolkien / 1616 < prev    next >
Encoding:
Text File  |  1993-01-01  |  3.3 KB  |  108 lines

  1. Newsgroups: alt.fan.tolkien
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!cameron
  3. From: cameron@symcom.math.uiuc.edu (Cameron Smith)
  4. Subject: Problem with Mike Urban's Tengwar font
  5. Message-ID: <C07G6J.Kyn@news.cso.uiuc.edu>
  6. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  7. Organization: none
  8. Date: Sat, 2 Jan 1993 02:27:55 GMT
  9. Keywords: tengwar, urban, elvish, font
  10. Lines: 96
  11.  
  12. The volume of traffic on this group is enormous, and I'm having
  13. trouble keeping up -- posts expire off my system faster than I
  14. can wade through them -- so this may have been mentioned before,
  15. but in case not:
  16.  
  17. There are two problems with Mike Urban's Metafont implementation
  18. of the Tengwar.  One is purely cosmetic, but the other can lead
  19. to incorrect output.  The following TeX file documents both
  20. problems.
  21. ==========================================================================
  22. \nopagenumbers
  23.  
  24. \font\elvish = tengwar scaled \magstep2
  25.  
  26. This file documents two errors in Mike Urban's Tengwar font.
  27.  
  28. \bigskip
  29.  
  30. The first and more serious problem has to do with the treatment of the
  31. ``hw'' letter combination:
  32.  
  33. \bigskip
  34.  
  35. \centerline{\vbox{\baselineskip 18pt
  36. \halign{\hfil#\quad&\elvish #\cr
  37. the letter ``h''&h\cr
  38. the letter ``w''&w\cr
  39. the character {\it \'{}017}&\char'017\cr
  40. the character {\it \'{}027}&\char'027\cr
  41. the ligature ``hw''&hw\cr
  42. }%
  43. }}
  44.  
  45. \bigskip
  46.  
  47. As you see, the ``hw'' ligature generates the double-left-loop accent
  48. instead of the {\it hwesta sindarinwa\/} character.
  49. This comes from the following line in {\tt ligtable.mf}:
  50.  
  51. \centerline{\tt
  52. ligtable "h": "w" =: oct"027";
  53. }
  54.  
  55. That ought to be
  56.  
  57. \centerline{\tt
  58. ligtable "h": "w" =: oct"017";
  59. }
  60.  
  61. Mike evidently typed {\tt 2} for {\tt 1} in specifying this ligature.
  62.  
  63. \bigskip
  64.  
  65. The other error is invisible in ordinary use of the font.  The line in
  66. {\tt accents.mf} that reads
  67.  
  68. {\catcode`\#=12
  69. \centerline{\tt
  70. beginchar (23, shortwidth, cap#, 0); "The left-loop accent (u)";
  71. }}
  72.  
  73. ought to be
  74.  
  75. {\catcode`\#=12
  76. \centerline{\tt
  77. beginchar (23, shortwidth, cap#, 0); "The double left-loop accent (u')"
  78. }}
  79.  
  80. This changes only the name of the character and doesn't affect its use,
  81. but it might cause confusion to someone trying to read the Metafont
  82. program.
  83.  
  84. \end
  85. ==========================================================================
  86.  
  87. If you've obtained pre-compiled PK and TFM files and don't want to
  88. (or don't know how to) modify the Metafont code to re-generate the
  89. fonts, the ligature problem can be fixed by using TFtoPL to create
  90. a human-editable version of the TFM file, changing the "hw" ligature
  91. specification, and running PLtoTF to re-create the TFM file.  The PK
  92. file doesn't need to be changed.
  93.  
  94. I've already sent Mike email about this problem, but since the address
  95. in the documentation for the font is several years old, I've no
  96. guarantee that he'll receive it, so I thought I'd go ahead and post
  97. a warning here so that nobody who tries to use this font will get
  98. bitten by this problem.
  99.  
  100. I just discovered this this afternoon; sorry if it's old news.
  101. I'm reluctant to suggest modifying the file that's stored in the
  102. archives without the author's explicit approval, but perhaps this
  103. glitch could be documented in the FAQ file until such time as a
  104. permanent fix may be applied?
  105.  
  106. --Cameron Smith
  107.   cameron@symcom.math.uiuc.edu
  108.