\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
See the file fancykernssetup.mtx for notes on the purpose of this file.
\metrics
\fancykernstrue
\setupsavekerns{cirthD}{cirthDH}
\setupsavekerns{ereborZ}{cirthZH}
\setupsavekerns{cirthS}{cirthSH}
\setupsavekerns{cirthSS}{cirthSH}
\setupsavekerns{cirthH}{cirthHW}
\setupsavekerns{ereborK}{cirthKH}
\setupsavekerns{cirthSSletterC}{cirthKH}
\setupsavekerns{ereborG}{cirthGH}
\cloneglyphkerned{cirthOkerned}{cirthO}
\cloneglyphkerned{moriaNkerned}{moriaN}
\cloneglyphkerned{altmoriaNkerned}{altmoriaN}
\cloneglyphkerned{cirthGHWkerned}{cirthGHW}
\cloneglyphkerned{cirthKHWkerned}{cirthKHW}
\cloneglyphkerned{cirthNGWkerned}{cirthNGW}
\cloneglyphkerned{cirthOOkerned}{cirthOO}
\cloneglyphkerned{ereborOAkerned}{ereborOA}
\cloneglyphkerned{cirthTHkerned}{cirthTH}
\cloneglyphkerned{cirthTSkerned}{cirthTS}
\cloneglyphunkerned{moriaNGkernsforcirthNGW}{moriaNG}
\cloneglyphunkerned{moriaENGkernsforcirthNGW}{moriaENG}
\cloneglyphunkerned{cirthTkernsforall}{cirthT}
\cloneglyphunkerned{cirthTkernsforcirthTS}{cirthT}
\cloneglyphunkerned{cirthTkernsforcirthTH}{cirthT}
\setcommand\fancykerns#1{
\dosinglefancykern{#1cirthD}
\dosinglefancykern{#1ereborZ}
\dosinglefancykern{#1cirthS}
\dosinglefancykern{#1cirthSS}
\dosinglefancykern{#1cirthH}
\dosinglefancykern{#1ereborK}
\dosinglefancykern{#1cirthSSletterC}
\dosinglefancykern{#1ereborG}
\dosinglefancykern{#1cirthO}
\dosinglefancykern{#1moriaN}
\dosinglefancykern{#1altmoriaN}
\dosinglefancykern{#1cirthT}
}
\setcommand\setupfancykerns#1{
\setupsinglefancykern{#1}{cirthD}{cirthDH}
\setupsinglefancykern{#1}{ereborZ}{cirthZH}
\setupsinglefancykern{#1}{cirthS}{cirthSH}
\setupsinglefancykern{#1}{cirthSS}{cirthSH}
\setupsinglefancykern{#1}{cirthH}{cirthHW}
\setupsinglefancykern{#1}{ereborK}{cirthKH}
\setupsinglefancykern{#1}{cirthSSletterC}{cirthKH}
\setupsinglefancykern{#1}{ereborG}{cirthGH}
\setupsinglefancykern{#1}{cirthO}{nokerning}
\setupsinglefancykern{#1}{moriaN}{nokerning}
\setupsinglefancykern{#1}{altmoriaN}{nokerning}
% t is complicated because t, th, ts, tH all have different kerns
\ifnumber{\kerning{#1}{cirthTH}}