summaryrefslogtreecommitdiff
path: root/fonts/tolkienfonts/tolkieninst/fancykernsSD.mtx
blob: 458cbfac02a24f3a2c3e5df45a648be0d86393a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
\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

\cloneglyphkerned{cirthGHWkerned}{cirthGHW}
\cloneglyphkerned{cirthKHWkerned}{cirthKHW}
\cloneglyphkerned{cirthLHkerned}{cirthLH}
\cloneglyphkerned{cirthNGWkerned}{cirthNGW}
\cloneglyphunkerned{daeronNGkernsforENG}{daeronNG}
\cloneglyphkerned{daeronNJkerned}{daeronNJ}
\cloneglyphkerned{daeronNkerned}{daeronN}
\cloneglyphkerned{daeronENGkerned}{daeronENG}
\cloneglyphunkerned{daeronNkernsfordaeronNJ}{daeronN}
\setupsavekerns{altcirthD}{cirthDH}
\setupsavekerns{cirthD}{cirthDH}
\setupsavekerns{cirthF}{cirthV}
\setupsavekerns{cirthG}{cirthGH}
\setupsavekerns{cirthH}{cirthHW}
\setupsavekerns{cirthK}{cirthKH}
\setupsavekerns{cirthP}{cirthFnoV}
\setupsavekerns{cirthS}{cirthSH}
\setupsavekerns{cirthSS}{cirthSH}
\setupsavekerns{cirthT}{cirthTH}
\setupsavekerns{daeronNclone}{daeronENG}

\setcommand\fancykerns#1{
	\dosinglefancykern{#1altcirthD}
	\dosinglefancykern{#1cirthD}
	\dosinglefancykern{#1cirthF}
	\dosinglefancykern{#1cirthG}
	\dosinglefancykern{#1cirthH}
	\dosinglefancykern{#1cirthK}
	\dosinglefancykern{#1cirthP}
	\dosinglefancykern{#1cirthS}
	\dosinglefancykern{#1cirthSS}
	\dosinglefancykern{#1cirthT}
	\dosinglefancykern{#1daeronN}
	\iferegion
		\dosinglefancykern{#1daeronENG}
	\else
		\dosinglefancykern{#1daeronNclone}
	\fi
}

\setcommand\setupfancykerns#1{
	\setupsinglefancykern{#1}{altcirthD}{cirthDH}
	\setupsinglefancykern{#1}{cirthD}{cirthDH}
	\setupsinglefancykern{#1}{cirthF}{cirthV}
	\setupsinglefancykern{#1}{cirthG}{cirthGH}
	\setupsinglefancykern{#1}{cirthH}{cirthHW}
	\setupsinglefancykern{#1}{cirthK}{cirthKH}
	\setupsinglefancykern{#1}{cirthP}{cirthFnoV}
	\setupsinglefancykern{#1}{cirthS}{cirthSH}
	\setupsinglefancykern{#1}{cirthSS}{cirthSH}
	\setupsinglefancykern{#1}{cirthT}{cirthTH}
	\setupsinglefancykern{#1}{daeronN}{daeronNJ}
	\iferegion
		\setupsinglefancykern{#1}{daeronENG}{nokerning}
	\else
		\setupsinglefancykern{#1}{daeronNclone}{daeronENG}
	\fi
	}
	
\endmetrics