\relax

Part of the tolkienfonts package
Copyright 2010 Ariel Barton

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.

This work has the LPPL maintenance status `maintained'.

The Current Maintainer of this work is Ariel Barton.

This work consists of all the files listed in Appendix F of the file
`tolkienfontsdoc.pdf'.

Date: 2010/08/29

Version: 2


The problem: Cirth fonts badly need kerning, or they look 
*spectacularly* bad.

Unfortunately, the rune for TH needs very different kerns than
the rune for T. So we have to do some fancy tricks with ligatures and
special kerned rune characters to make everything work.

This file defines the special kerning ligatures to come after each 
glyph. (The mode-specific MTX files fancykernsSD.mtx and so on define
the command setupfancykerns; this file just runs it on every glyph in 
the fonts.)

These rules cannot be placed in the .etx files modeCirthDaeron.etx and so on; if they are, then fontinst simply stops providing kerning information of any sort.

It seems pointless to go through all the work of setting up
kerns for the CirthErebor font when it has no kerns to preserve.
So we default to no definition of \setupfancykerns, \fancykerns.

\metrics

\setcommand\setupfancykerns#1{}
\setcommand\fancykerns#1{}

\setupfancykerns{aaltcirthOO}
\setupfancykerns{aaltcirthUuml}
\setupfancykerns{altcirthD}
\setupfancykerns{altcirthDkernsforcirthDH}
\setupfancykerns{altcirthOO}
\setupfancykerns{altcirthOuml}
\setupfancykerns{altcirthUuml}
\setupfancykerns{altdaeronND}
\setupfancykerns{altdotnoldorY}
\setupfancykerns{altereborOU}
\setupfancykerns{alticirthQ}
\setupfancykerns{altmoriaN}
\setupfancykerns{altmoriaNJ}
\setupfancykerns{altmoriaNkerned}
\setupfancykerns{altnoldorOE}
\setupfancykerns{bartehtaI}
\setupfancykerns{bartehtaII}
\setupfancykerns{bartehtaIII}
\setupfancykerns{bartehtaIV}
\setupfancykerns{cirthA}
\setupfancykerns{cirthAA}
\setupfancykerns{cirthacute}
\setupfancykerns{cirthAND}
\setupfancykerns{cirthAnodipthong}
\setupfancykerns{cirthasterisk}
\setupfancykerns{cirthB}
\setupfancykerns{cirthC}
\setupfancykerns{cirthCH}
\setupfancykerns{cirthD}
\setupfancykerns{cirthDH}
\setupfancykerns{cirthDHkerned}
\setupfancykerns{cirthDkernsforcirthDH}
\setupfancykerns{cirthE}
\setupfancykerns{cirthEE}
\setupfancykerns{cirthEnodipthong}
\setupfancykerns{cirthequal}
\setupfancykerns{cirthEsilent}
\setupfancykerns{cirthF}
\setupfancykerns{cirthFkerned}
\setupfancykerns{cirthFkernedkernsforcirthV}
\setupfancykerns{cirthFkernsforcirthV}
\setupfancykerns{cirthFnoV}
\setupfancykerns{cirthFnoVkerned}
\setupfancykerns{cirthFour}
\setupfancykerns{cirthG}
\setupfancykerns{cirthGH}
\setupfancykerns{cirthGHkerned}
\setupfancykerns{cirthGHW}
\setupfancykerns{cirthGHWkerned}
\setupfancykerns{cirthGkernsforcirthGH}
\setupfancykerns{cirthgrave}
\setupfancykerns{cirthGW}
\setupfancykerns{cirthH}
\setupfancykerns{cirthHkerned}
\setupfancykerns{cirthHkernedkernsforcirthHW}
\setupfancykerns{cirthHkernsforcirthHW}
\setupfancykerns{cirthHplus}
\setupfancykerns{cirthHW}
\setupfancykerns{cirthHWkerned}
\setupfancykerns{cirthI}
\setupfancykerns{cirthII}
\setupfancykerns{cirthInodipthong}
\setupfancykerns{cirthJ}
\setupfancykerns{cirthK}
\setupfancykerns{cirthKH}
\setupfancykerns{cirthKHkerned}
\setupfancykerns{cirthKHW}
\setupfancykerns{cirthKHWkerned}
\setupfancykerns{cirthKkernsforcirthKH}
\setupfancykerns{cirthL}
\setupfancykerns{cirthLH}
\setupfancykerns{cirthLHkerned}
\setupfancykerns{cirthM}
\setupfancykerns{cirthMB}
\setupfancykerns{cirthNGW}
\setupfancykerns{cirthNGWkerned}
\setupfancykerns{cirthNW}
\setupfancykerns{cirthO}
\setupfancykerns{cirthOkerned}
\setupfancykerns{cirthOO}
\setupfancykerns{cirthOOkerned}
\setupfancykerns{cirthOuml}
\setupfancykerns{cirthP}
\setupfancykerns{cirthPkernsforcirthFnoV}
\setupfancykerns{cirthPS}
\setupfancykerns{cirthQ}
\setupfancykerns{cirthS}
\setupfancykerns{cirthSH}
\setupfancykerns{cirthSHkerned}
\setupfancykerns{cirthSkernsforcirthSH}
\setupfancykerns{cirthSS}
\setupfancykerns{cirthSSkerned}
\setupfancykerns{cirthSSkernedkernsforcirthSH}
\setupfancykerns{cirthSSkernsforcirthSH}
\setupfancykerns{cirthSSletterC}
\setupfancykerns{cirthSSletterCkerned}
\setupfancykerns{cirthSSletterCkernedkernsforcirthKH}
\setupfancykerns{cirthSSletterCkernsforcirthKH}
\setupfancykerns{cirthT}
\setupfancykerns{cirthTH}
\setupfancykerns{cirthTHkerned}
\setupfancykerns{cirthTkernsforall}
\setupfancykerns{cirthTkernsforcirthTH}
\setupfancykerns{cirthTkernsforcirthTS}
\setupfancykerns{cirthTS}
\setupfancykerns{cirthTSkerned}
\setupfancykerns{cirthU}
\setupfancykerns{cirthUsilent}
\setupfancykerns{cirthUU}
\setupfancykerns{cirthUUalt}
\setupfancykerns{cirthUuml}
\setupfancykerns{cirthV}
\setupfancykerns{cirthVkerned}
\setupfancykerns{cirthW}
\setupfancykerns{cirthWafterA}
\setupfancykerns{cirthZH}
\setupfancykerns{cirthZHkerned}
\setupfancykerns{daeronENG}
\setupfancykerns{daeronENGkerned}
\setupfancykerns{daeronN}
\setupfancykerns{daeronNclone}
\setupfancykerns{daeronNclonekernedkernsfordaeronENG}
\setupfancykerns{daeronNclonekernsfordaeronENG}
\setupfancykerns{daeronND}
\setupfancykerns{daeronNG}
\setupfancykerns{daeronNGkernsforENG}
\setupfancykerns{daeronNJ}
\setupfancykerns{daeronNJkerned}
\setupfancykerns{daeronNkerned}
\setupfancykerns{daeronNkernsfordaeronNJ}
\setupfancykerns{daeronNN}
\setupfancykerns{daeronR}
\setupfancykerns{daeronRH}
\setupfancykerns{daeronX}
\setupfancykerns{daeronY}
\setupfancykerns{daeronZ}
\setupfancykerns{dashsilent}
\setupfancykerns{ddecobars}
\setupfancykerns{decobars}
\setupfancykerns{doriathO}
\setupfancykerns{doriathOO}
\setupfancykerns{dotcirthUU}
\setupfancykerns{dotcirthV}
\setupfancykerns{dotnoldorAE}
\setupfancykerns{dotnoldorOE}
\setupfancykerns{dotnoldorOuml}
\setupfancykerns{dotnoldorUI}
\setupfancykerns{dotnoldorY}
\setupfancykerns{dottehtaI}
\setupfancykerns{dottehtaII}
\setupfancykerns{dottehtaIII}
\setupfancykerns{dottehtaIV}
\setupfancykerns{eight}
\setupfancykerns{engdaeronN}
\setupfancykerns{ereborAI}
\setupfancykerns{ereborAU}
\setupfancykerns{ereborEA}
\setupfancykerns{ereborEU}
\setupfancykerns{ereborG}
\setupfancykerns{ereborGH}
\setupfancykerns{ereborGkernsforcirthGH}
\setupfancykerns{ereborK}
\setupfancykerns{ereborKkernsforcirthKH}
\setupfancykerns{ereborLL}
\setupfancykerns{ereborOA}
\setupfancykerns{ereborOAkerned}
\setupfancykerns{ereborOU}
\setupfancykerns{ereborTHE}
\setupfancykerns{ereborX}
\setupfancykerns{ereborZ}
\setupfancykerns{ereborZkernsforcirthZH}
\setupfancykerns{five}
\setupfancykerns{four}
\setupfancykerns{fourdots}
\setupfancykerns{hattehtaI}
\setupfancykerns{hattehtaII}
\setupfancykerns{hattehtaIII}
\setupfancykerns{hattehtaIV}
\setupfancykerns{hobbitA}
\setupfancykerns{hobbitAA}
\setupfancykerns{hobbitAnodipthong}
\setupfancykerns{hobbitB}
\setupfancykerns{hobbitC}
\setupfancykerns{hobbitD}
\setupfancykerns{hobbitE}
\setupfancykerns{hobbitEA}
\setupfancykerns{hobbitEAkerned}
\setupfancykerns{hobbitEE}
\setupfancykerns{hobbitEkernsforhobbitEA}
\setupfancykerns{hobbitEnodipthong}
\setupfancykerns{hobbitEO}
\setupfancykerns{hobbitF}
\setupfancykerns{hobbitG}
\setupfancykerns{hobbitH}
\setupfancykerns{hobbitI}
\setupfancykerns{hobbitInodipthong}
\setupfancykerns{hobbitJ}
\setupfancykerns{hobbitK}
\setupfancykerns{hobbitL}
\setupfancykerns{hobbitM}
\setupfancykerns{hobbitN}
\setupfancykerns{hobbitNG}
\setupfancykerns{hobbitNkerned}
\setupfancykerns{hobbitO}
\setupfancykerns{hobbitOA}
\setupfancykerns{hobbitOkernsforhobbitOO}
\setupfancykerns{hobbitOnodipthong}
\setupfancykerns{hobbitOO}
\setupfancykerns{hobbitOOkerned}
\setupfancykerns{hobbitP}
\setupfancykerns{hobbitQ}
\setupfancykerns{hobbitR}
\setupfancykerns{hobbitS}
\setupfancykerns{hobbitST}
\setupfancykerns{hobbitT}
\setupfancykerns{hobbitTcap}
\setupfancykerns{hobbitTH}
\setupfancykerns{hobbitTkerned}
\setupfancykerns{hobbitU}
\setupfancykerns{hobbitUnodipthong}
\setupfancykerns{hobbitUU}
\setupfancykerns{hobbitV}
\setupfancykerns{hobbitW}
\setupfancykerns{hobbitX}
\setupfancykerns{hobbitY}
\setupfancykerns{hobbitYnodipthong}
\setupfancykerns{hobbitYY}
\setupfancykerns{hobbitZ}
\setupfancykerns{icirthAND}
\setupfancykerns{icirthB}
\setupfancykerns{icirthD}
\setupfancykerns{icirthDH}
\setupfancykerns{icirthF}
\setupfancykerns{icirthNW}
\setupfancykerns{icirthOuml}
\setupfancykerns{icirthP}
\setupfancykerns{icirthQ}
\setupfancykerns{icirthT}
\setupfancykerns{icirthTH}
\setupfancykerns{icirthV}
\setupfancykerns{idaeronN}
\setupfancykerns{idaeronNN}
\setupfancykerns{latinperiod}
\setupfancykerns{lowonedot}
\setupfancykerns{makelong}
\setupfancykerns{moriaENG}
\setupfancykerns{moriaENGkernsforcirthNGW}
\setupfancykerns{moriaHY}
\setupfancykerns{moriaJ}
\setupfancykerns{moriaN}
\setupfancykerns{moriaND}
\setupfancykerns{moriaNG}
\setupfancykerns{moriaNGkernsforcirthNGW}
\setupfancykerns{moriaNGkernsformoriaNGW}
\setupfancykerns{moriaNJ}
\setupfancykerns{moriaNkerned}
\setupfancykerns{moriaR}
\setupfancykerns{moriaY}
\setupfancykerns{moriaYnodipthong}
\setupfancykerns{moriaZ}
\setupfancykerns{moriaZH}
\setupfancykerns{moriaZHkerned}
\setupfancykerns{moriaZkerned}
\setupfancykerns{moriaZkernsforZH}
\setupfancykerns{nine}
\setupfancykerns{noldor}
\setupfancykerns{noldorEU}
\setupfancykerns{noldorIU}
\setupfancykerns{noldorOE}
\setupfancykerns{noldorOU}
\setupfancykerns{noldorUI}
\setupfancykerns{one}
\setupfancykerns{onedot}
\setupfancykerns{quotesilent}
\setupfancykerns{seven}
\setupfancykerns{shortdaeronZ}
\setupfancykerns{six}
\setupfancykerns{startcirthL}
\setupfancykerns{startdaeronR}
\setupfancykerns{tallthreedots}
\setupfancykerns{three}
\setupfancykerns{threedots}
\setupfancykerns{two}
\setupfancykerns{twodots}
\setupfancykerns{twolines}
\setupfancykerns{zero}

\endmetrics