home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.fan.tolkien
- 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
- From: cameron@symcom.math.uiuc.edu (Cameron Smith)
- Subject: Problem with Mike Urban's Tengwar font
- Message-ID: <C07G6J.Kyn@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: none
- Date: Sat, 2 Jan 1993 02:27:55 GMT
- Keywords: tengwar, urban, elvish, font
- Lines: 96
-
- The volume of traffic on this group is enormous, and I'm having
- trouble keeping up -- posts expire off my system faster than I
- can wade through them -- so this may have been mentioned before,
- but in case not:
-
- There are two problems with Mike Urban's Metafont implementation
- of the Tengwar. One is purely cosmetic, but the other can lead
- to incorrect output. The following TeX file documents both
- problems.
- ==========================================================================
- \nopagenumbers
-
- \font\elvish = tengwar scaled \magstep2
-
- This file documents two errors in Mike Urban's Tengwar font.
-
- \bigskip
-
- The first and more serious problem has to do with the treatment of the
- ``hw'' letter combination:
-
- \bigskip
-
- \centerline{\vbox{\baselineskip 18pt
- \halign{\hfil#\quad&\elvish #\cr
- the letter ``h''&h\cr
- the letter ``w''&w\cr
- the character {\it \'{}017}&\char'017\cr
- the character {\it \'{}027}&\char'027\cr
- the ligature ``hw''&hw\cr
- }%
- }}
-
- \bigskip
-
- As you see, the ``hw'' ligature generates the double-left-loop accent
- instead of the {\it hwesta sindarinwa\/} character.
- This comes from the following line in {\tt ligtable.mf}:
-
- \centerline{\tt
- ligtable "h": "w" =: oct"027";
- }
-
- That ought to be
-
- \centerline{\tt
- ligtable "h": "w" =: oct"017";
- }
-
- Mike evidently typed {\tt 2} for {\tt 1} in specifying this ligature.
-
- \bigskip
-
- The other error is invisible in ordinary use of the font. The line in
- {\tt accents.mf} that reads
-
- {\catcode`\#=12
- \centerline{\tt
- beginchar (23, shortwidth, cap#, 0); "The left-loop accent (u)";
- }}
-
- ought to be
-
- {\catcode`\#=12
- \centerline{\tt
- beginchar (23, shortwidth, cap#, 0); "The double left-loop accent (u')"
- }}
-
- This changes only the name of the character and doesn't affect its use,
- but it might cause confusion to someone trying to read the Metafont
- program.
-
- \end
- ==========================================================================
-
- If you've obtained pre-compiled PK and TFM files and don't want to
- (or don't know how to) modify the Metafont code to re-generate the
- fonts, the ligature problem can be fixed by using TFtoPL to create
- a human-editable version of the TFM file, changing the "hw" ligature
- specification, and running PLtoTF to re-create the TFM file. The PK
- file doesn't need to be changed.
-
- I've already sent Mike email about this problem, but since the address
- in the documentation for the font is several years old, I've no
- guarantee that he'll receive it, so I thought I'd go ahead and post
- a warning here so that nobody who tries to use this font will get
- bitten by this problem.
-
- I just discovered this this afternoon; sorry if it's old news.
- I'm reluctant to suggest modifying the file that's stored in the
- archives without the author's explicit approval, but perhaps this
- glitch could be documented in the FAQ file until such time as a
- permanent fix may be applied?
-
- --Cameron Smith
- cameron@symcom.math.uiuc.edu
-