summaryrefslogtreecommitdiff
path: root/fonts/garamondx/src
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/garamondx/src')
-rw-r--r--fonts/garamondx/src/INSTRUCTIONS17
-rw-r--r--fonts/garamondx/src/adjust-gm-b.mtx60
-rw-r--r--fonts/garamondx/src/adjust-gm-bi.mtx56
-rw-r--r--fonts/garamondx/src/adjust-gm-r.mtx63
-rw-r--r--fonts/garamondx/src/adjust-gm-ri.mtx55
-rwxr-xr-xfonts/garamondx/src/cpy2
-rw-r--r--fonts/garamondx/src/ly1.etx1245
-rw-r--r--fonts/garamondx/src/ly1sc.etx1246
-rwxr-xr-xfonts/garamondx/src/makezgm37
-rw-r--r--fonts/garamondx/src/swashQ.etx50
-rw-r--r--fonts/garamondx/src/t1.etx1478
-rw-r--r--fonts/garamondx/src/t1sc.etx1478
-rw-r--r--fonts/garamondx/src/unsetlc.mtx33
-rw-r--r--fonts/garamondx/src/zgm-drv.tex951
-rw-r--r--fonts/garamondx/src/zgmosfInums.etx51
15 files changed, 6822 insertions, 0 deletions
diff --git a/fonts/garamondx/src/INSTRUCTIONS b/fonts/garamondx/src/INSTRUCTIONS
new file mode 100644
index 0000000000..36b35de6ee
--- /dev/null
+++ b/fonts/garamondx/src/INSTRUCTIONS
@@ -0,0 +1,17 @@
+This folder, referred to below as zgmsource, contains the ingredients to construct and modify the garamondx font metrics.
+
+1. Copy this entire folder to an area in which you have write permission.
+2. To be able to use my bash script, you need to have two other folders alongside zgmSource, as follows:
+
+garamondxf/garamondx
+garamondx.tds
+zgmSource
+
+You also need to have the environmental variable tmfv set up to point to you home texmf folder, texmf-var.
+
+3. Copy all the afm and pfb files into zgmSource.
+4. Make any changes you wish to the adjust-gm-*.mtx files.
+5. Run
+./makezgm
+to recreate new vpl files.
+6. Replace the distributed tfm/vf files with the newly generated tfm/vf files. To avoid confusing the new with the old versions, you should probably change "public" to "urw" in the folders to match the getnonfreefonts layout. \ No newline at end of file
diff --git a/fonts/garamondx/src/adjust-gm-b.mtx b/fonts/garamondx/src/adjust-gm-b.mtx
new file mode 100644
index 0000000000..d558156eb1
--- /dev/null
+++ b/fonts/garamondx/src/adjust-gm-b.mtx
@@ -0,0 +1,60 @@
+\relax
+
+\metrics
+
+\needsfontinstversion{1.933}
+
+% \shifttxtglyph takes four parameters:
+%
+% #1 the name of the glyph
+% #2 the amount of extra space at the left
+% #3 the amount of extra space at the right
+
+\setcommand\shifttxtglyph#1#2#3{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \movert{#2}
+ \glyph{#1}{1000}
+ \movert{#3}
+ \resetitalic{0} %\add{\italic{#1}}{\sub{#3}{#4}}}
+ \endresetglyph
+ \fi
+}
+
+% \unfakable produces a missing glyph warning.
+
+\setcommand\unfakable#1{
+ \setglyph{#1}
+ \glyphrule{500}{500}
+ \glyphwarning{missing glyph `#1'}
+ \endsetglyph
+}
+
+% Zero the depth of a glyph.
+
+\setcommand\zerodepth#1{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \glyph{#1}{1000}
+ \resetdepth{0}
+ \endresetglyph
+ \fi
+}
+
+\resetint{interword}{276}
+\resetint{stretchword}{138}
+\resetint{shrinkword}{92}
+\resetint{xheight}{451}
+
+\shifttxtglyph{parenleft}{-25}{55}
+\shifttxtglyph{parenright}{20}{10}
+\shifttxtglyph{bracketleft}{25}{40}
+\shifttxtglyph{bracketright}{40}{25}
+\setkern{parenleft}{J}{55}
+\setkern{bracketleft}{J}{50}
+\setkern{braceleft}{J}{50}
+\setkern{parenleft}{C}{-40}
+\setkern{parenleft}{c}{-35}
+\setkern{parenleft}{G}{-30}
+\setkern{parenleft}{Q}{-35}
+\endmetrics \ No newline at end of file
diff --git a/fonts/garamondx/src/adjust-gm-bi.mtx b/fonts/garamondx/src/adjust-gm-bi.mtx
new file mode 100644
index 0000000000..f4ea1cf057
--- /dev/null
+++ b/fonts/garamondx/src/adjust-gm-bi.mtx
@@ -0,0 +1,56 @@
+\relax
+
+\metrics
+
+\needsfontinstversion{1.933}
+
+% \shifttxtglyph takes four parameters:
+%
+% #1 the name of the glyph
+% #2 the amount of extra space at the left
+% #3 the amount of extra space at the right
+
+\setcommand\shifttxtglyph#1#2#3{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \movert{#2}
+ \glyph{#1}{1000}
+ \movert{#3}
+ \resetitalic{0} %\add{\italic{#1}}{\sub{#3}{#4}}}
+ \endresetglyph
+ \fi
+}
+
+% \unfakable produces a missing glyph warning.
+
+\setcommand\unfakable#1{
+ \setglyph{#1}
+ \glyphrule{500}{500}
+ \glyphwarning{missing glyph `#1'}
+ \endsetglyph
+}
+
+% Zero the depth of a glyph.
+
+\setcommand\zerodepth#1{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \glyph{#1}{1000}
+ \resetdepth{0}
+ \endresetglyph
+ \fi
+}
+
+\resetint{interword}{258}
+\resetint{stretchword}{129}
+\resetint{shrinkword}{86}
+\resetint{xheight}{451}
+
+\shifttxtglyph{parenleft}{-20}{55}
+\shifttxtglyph{parenright}{30}{5}
+\shifttxtglyph{bracketleft}{25}{30}
+\shifttxtglyph{bracketright}{30}{25}
+\setkern{parenleft}{J}{40}
+\setkern{bracketleft}{J}{30}
+\setkern{braceleft}{J}{35}
+\endmetrics \ No newline at end of file
diff --git a/fonts/garamondx/src/adjust-gm-r.mtx b/fonts/garamondx/src/adjust-gm-r.mtx
new file mode 100644
index 0000000000..5724222456
--- /dev/null
+++ b/fonts/garamondx/src/adjust-gm-r.mtx
@@ -0,0 +1,63 @@
+\relax
+
+\metrics
+
+\needsfontinstversion{1.933}
+
+% \shiftglyph takes four parameters:
+%
+% #1 the name of the glyph
+% #2 the amount of extra space at the left
+% #3 the amount of extra space at the right
+
+\setcommand\shifttxtglyph#1#2#3{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \movert{#2}
+ \glyph{#1}{1000}
+ \movert{#3}
+ \resetitalic{0} %\add{\italic{#1}}{\sub{#3}{#4}}}
+ \endresetglyph
+ \fi
+}
+
+% \unfakable produces a missing glyph warning.
+
+\setcommand\unfakable#1{
+ \setglyph{#1}
+ \glyphrule{500}{500}
+ \glyphwarning{missing glyph `#1'}
+ \endsetglyph
+}
+
+% Zero the depth of a glyph.
+
+\setcommand\zerodepth#1{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \glyph{#1}{1000}
+ \resetdepth{0}
+ \endresetglyph
+ \fi
+}
+
+\resetint{interword}{258}
+\resetint{stretchword}{129}
+\resetint{shrinkword}{86}
+\resetint{xheight}{451}
+
+\shifttxtglyph{parenleft}{-25}{85}
+\shifttxtglyph{parenright}{40}{20}
+\shifttxtglyph{bracketleft}{45}{40}
+\shifttxtglyph{bracketright}{40}{45}
+\setkern{parenleft}{J}{50}
+\setkern{bracketleft}{J}{50}
+\setkern{braceleft}{J}{40}
+\setkern{parenleft}{C}{-40}
+\setkern{C}{parenright}{10}
+\setkern{parenleft}{G}{-40}
+\setkern{parenleft}{O}{-20}
+\setkern{O}{parenright}{-20}
+\setkern{parenleft}{Q}{-20}
+\setkern{Q}{parenright}{-20}
+\endmetrics \ No newline at end of file
diff --git a/fonts/garamondx/src/adjust-gm-ri.mtx b/fonts/garamondx/src/adjust-gm-ri.mtx
new file mode 100644
index 0000000000..61624f084a
--- /dev/null
+++ b/fonts/garamondx/src/adjust-gm-ri.mtx
@@ -0,0 +1,55 @@
+\relax
+
+\metrics
+
+\needsfontinstversion{1.933}
+
+% \shifttxtglyph takes four parameters:
+%
+% #1 the name of the glyph
+% #2 the amount of extra space at the left
+% #3 the amount of extra space at the right
+
+\setcommand\shifttxtglyph#1#2#3{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \movert{#2}
+ \glyph{#1}{1000}
+ \movert{#3}
+ \resetitalic{0} %{\add{\italic{#1}}{\sub{#3}{#4}}}
+ \endresetglyph
+ \fi
+}
+
+% \unfakable produces a missing glyph warning.
+
+\setcommand\unfakable#1{
+ \setglyph{#1}
+ \glyphrule{500}{500}
+ \glyphwarning{missing glyph `#1'}
+ \endsetglyph
+}
+
+% Zero the depth of a glyph.
+
+\setcommand\zerodepth#1{
+ \ifisglyph{#1}\then
+ \resetglyph{#1}
+ \glyph{#1}{1000}
+ \resetdepth{0}
+ \endresetglyph
+ \fi
+}
+
+\resetint{interword}{240}
+\resetint{stretchword}{120}
+\resetint{shrinkword}{80}
+\resetint{xheight}{451}
+
+\shifttxtglyph{parenleft}{-25}{55}
+\shifttxtglyph{parenright}{20}{10}
+\shifttxtglyph{bracketleft}{25}{40}
+\shifttxtglyph{bracketright}{40}{25}
+\setkern{bracketleft}{J}{30}
+\setkern{braceleft}{J}{30}
+\endmetrics \ No newline at end of file
diff --git a/fonts/garamondx/src/cpy b/fonts/garamondx/src/cpy
new file mode 100755
index 0000000000..033e9461a7
--- /dev/null
+++ b/fonts/garamondx/src/cpy
@@ -0,0 +1,2 @@
+#!/bin/sh
+rsync -auvE --exclude '**/.*' $@
diff --git a/fonts/garamondx/src/ly1.etx b/fonts/garamondx/src/ly1.etx
new file mode 100644
index 0000000000..957de8a37a
--- /dev/null
+++ b/fonts/garamondx/src/ly1.etx
@@ -0,0 +1,1245 @@
+% ly1.etx
+% a combination of t1.etx and 8y.etx from fontinst 1.801
+% I put this together for generating artificial smallcaps
+% with fontinst from afm2pl-generated non-virtual pl files.
+% Siep Kroonenberg
+% ntg-afm2pl@ntg.nl
+% http://www.ntg.nl/afm2pl.html
+% july 2002
+
+
+\relax
+\encoding
+
+\needsfontinstversion{1.800}
+
+\comment{\section{Default values}}
+
+\setstr{codingscheme}{TeXNANSIENCODING}
+
+\setcommand\lc#1#2{#2}
+\setcommand\uc#1#2{#1}
+\setcommand\lctop#1#2{#2}
+\setcommand\uctop#1#2{#1}
+\setcommand\lclig#1#2{#2}
+\setcommand\uclig#1#2{#1}
+\setcommand\digit#1{#1}
+
+\setint{italicslant}{0}
+
+\ifisglyph{x}\then
+\setint{xheight}{\height{x}}
+\else
+\setint{xheight}{500}
+\fi
+
+\ifisglyph{space}\then
+\setint{interword}{\width{space}}
+\else\ifisglyph{i}\then
+\setint{interword}{\width{i}}
+\else
+\setint{interword}{333}
+\fi\fi
+
+% added by Thierry Bouche <Thierry.Bouche@ujf-grenoble.fr>
+% 1997/02/07 to calculate values for extra EC fontdimens
+% Amended by SPQR 1997/02/09
+\ifisglyph{X}\then
+\setint{capheight}{\height{X}}
+\else
+\setint{capheight}{750}
+\fi
+
+\ifisglyph{d}\then
+\setint{ascender}{\height{d}}
+\else
+\ifisint{capheight}\then
+\setint{ascender}{\int{capheight}}
+\else
+\setint{ascender}{750}
+\fi\fi
+
+\ifisglyph{Aring}\then
+\setint{acccapheight}{\height{Aring}}
+\else
+\setint{acccapheight}{999}
+\fi
+
+\ifisint{descender_neg}\then
+\setint{descender}{\neg{\int{descender_neg}}}
+\else
+\ifisglyph{p}\then
+\setint{descender}{\depth{p}}
+\else
+\setint{descender}{250}
+\fi
+\fi
+
+\ifisglyph{Aring}\then
+\setint{maxheight}{\height{Aring}}
+\else
+\setint{maxheight}{1000}
+\fi
+
+\ifisint{maxdepth_neg}\then
+\setint{maxdepth}{\neg{\int{maxdepth_neg}}}
+\else
+\ifisglyph{j}\then
+\setint{maxdepth}{\depth{j}}
+\else
+\setint{maxdepth}{250}
+\fi
+\fi
+
+\ifisglyph{six}\then
+\setint{digitwidth}{\width{six}}
+\else
+\setint{digitwidth}{500}
+\fi
+
+\setint{capstem}{0} % not in AFM files
+\setint{baselineskip}{1200}
+% end changes by Thierry
+
+
+\comment{\section{Default font dimensions}}
+
+\setint{fontdimen(1)}{\int{italicslant}} % italic slant
+\setint{fontdimen(2)}{\int{interword}} % interword space
+\ifisint{monowidth}\then
+\setint{fontdimen(3)}{0} % interword stretch
+\setint{fontdimen(4)}{0} % interword shrink
+\else
+\setint{fontdimen(3)}{\scale{\int{interword}}{600}}% interword stretch
+\setint{fontdimen(4)}{\scale{\int{interword}}{240}}% interword shrink
+\fi
+\setint{fontdimen(5)}{\int{xheight}} % x-height
+\setint{fontdimen(6)}{1000} % quad
+\ifisint{monowidth}\then
+\setint{fontdimen(7)}{\int{interword}} % extra space after .
+\else
+\setint{fontdimen(7)}{\scale{\int{interword}}{240}}% extra space after .
+\fi
+% added by Thierry Bouche <Thierry.Bouche@ujf-grenoble.fr> 1997/02/07
+\setint{fontdimen(8)}{\int{capheight}} % cap height
+\setint{fontdimen(9)}{\int{ascender}} % ascender
+\setint{fontdimen(10)}{\int{acccapheight}} % accented cap height
+\setint{fontdimen(11)}{\int{descender}} % descender's depth
+\setint{fontdimen(12)}{\int{maxheight}} % max height
+\setint{fontdimen(13)}{\int{maxdepth}} % max depth
+\setint{fontdimen(14)}{\int{digitwidth}} % digit width
+\setint{fontdimen(15)}{\int{capstem}} % cap_stem
+\setint{fontdimen(16)}{\int{baselineskip}} % baselineskip
+
+\comment{\section{The encoding}}
+
+\setslot{fj}\endsetslot
+\setslot{Euro}\endsetslot
+\setslot{ffj}\endsetslot
+
+\nextslot{4}
+\setslot{fraction}
+ \comment{The fraction slash `\textfractionsolidus'.}
+\endsetslot
+
+\setslot{dotaccent}
+ \comment{The dot accent `\.{}'.}
+\endsetslot
+
+\setslot{hungarumlaut}
+ \comment{The long Hungarian umlaut `\H{}'.}
+\endsetslot
+
+\setslot{ogonek}
+ \comment{The ogonek accent `\k{}'.}
+\endsetslot
+
+\setslot{\lclig{FL}{fl}}
+ \comment{The `fl' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{cwm}
+\comment{Compound Word Marker; candidate for boundarychar}
+\endsetslot
+
+\nextslot{11}
+\setslot{\lclig{FF}{ff}}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FFI}{ffi}}
+ \ligature{LIG}{\lc{J}{j}}{\lclig{FFJ}{ffj}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FFL}{ffl}}
+\fi
+ \comment{The `ff' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FI}{fi}}
+ \comment{The `fi' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\nextslot{14}
+\setslot{\lclig{FFI}{ffi}}
+ \comment{The `ffi' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FFL}{ffl}}
+ \comment{The `ffl' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\comment{The following 16 slots share the same encoding as OT1.}
+
+\nextslot{16}
+\setslot{\lc{dotlessI}{dotlessi}}
+ \comment{A dotless i `\i', used to produce accented letters such as
+ `\=\i'.}
+\endsetslot
+
+\setslot{\lc{dotlessJ}{dotlessj}}
+ \comment{A dotless j `\j', used to produce accented letters such as
+ `\=\j'. Most non-\TeX\ fonts do not have this glyph.}
+\endsetslot
+
+\setslot{grave}
+ \comment{The grave accent `\`{}'.}
+\endsetslot
+
+\setslot{acute}
+ \comment{The acute accent `\'{}'.}
+\endsetslot
+
+\setslot{caron}
+ \comment{The caron or h\'a\v cek accent `\v {}'.}
+\endsetslot
+
+\setslot{breve}
+ \comment{The breve accent `\u{}'.}
+\endsetslot
+
+\setslot{macron}
+ \comment{The macron accent `\={}'.}
+\endsetslot
+
+\setslot{ring}
+ \comment{The ring accent `\r{}'.}
+\endsetslot
+
+\setslot{cedilla}
+ \comment{The cedilla accent `\c{}'.}
+\endsetslot
+
+\setslot{\lc{SS}{germandbls}}
+ \comment{The letter `\ss'.}
+\endsetslot
+
+\setslot{\lc{AE}{ae}}
+ \comment{The letter `\ae'.
+ This is a single letter, and should not be faked with `ae'.}
+\endsetslot
+
+\setslot{\lc{OE}{oe}}
+ \comment{The letter `\oe'.
+ This is a single letter, and should not be faked with `oe'.}
+\endsetslot
+
+\setslot{\lc{Oslash}{oslash}}
+ \comment{The letter `\o'.}
+\endsetslot
+
+\setslot{\uc{AE}{ae}}
+ \comment{The letter `\AE'.
+ This is a single letter, and should not be faked with `AE'.}
+\endsetslot
+
+\setslot{\uc{OE}{oe}}
+ \comment{The letter `\OE'.
+ This is a single letter, and should not be faked with `OE'.}
+\endsetslot
+
+\setslot{\uc{Oslash}{oslash}}
+ \comment{The letter `\O'.}
+\endsetslot
+
+\comment{The following 96 slots, 32--127, are based on standard ASCII,
+except that `asciicircum', `asciitilde', and the empty slot 127 have
+been replaced by the `circumflex', `tilde' and `dieresis' as in OT1.}
+
+\nextslot{32}
+\setslot{space}
+ \comment{The space character.}
+\endsetslot
+
+\setslot{exclam}
+\ligature{LIG}{quoteleft}{exclamdown}
+ \comment{The exclamation mark `!'.}
+\endsetslot
+
+\setslot{quotedbl}
+ \comment{The `neutral' double quote mark `\,\textquotedbl\,',
+ included for use in monowidth fonts, or for setting computer
+ programs.}
+\endsetslot
+
+\setslot{numbersign}
+ \comment{The hash sign `\#'.}
+\endsetslot
+
+\setslot{dollar}
+ \comment{The dollar sign `\$'.}
+\endsetslot
+
+\setslot{percent}
+ \comment{The percent sign `\%'.}
+\endsetslot
+
+\setslot{ampersand}
+ \comment{The ampersand sign `\&'.}
+\endsetslot
+
+\setslot{quoteright}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{quoteright}{quotedblright}
+\fi
+ \comment{The English closing quote mark `\,\textquoteright\,'.}
+\endsetslot
+
+\setslot{parenleft}
+ \comment{The opening parenthesis `('.}
+\endsetslot
+
+\setslot{parenright}
+ \comment{The closing parenthesis `)'.}
+\endsetslot
+
+\setslot{asterisk}
+ \comment{The raised asterisk `*'.}
+\endsetslot
+
+\setslot{plus}
+ \comment{The addition sign `+'.}
+\endsetslot
+
+\setslot{comma}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{comma}{quotedblbase}
+\fi
+ \comment{The comma `,'.}
+\endsetslot
+
+\setslot{hyphen}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{hyphen}{endash}
+\fi
+ \comment{The hyphen `-'.}
+\endsetslot
+
+\setslot{period}
+ \comment{The period `.'.}
+\endsetslot
+
+\setslot{slash}
+ \comment{The forward oblique `/'.}
+\endsetslot
+
+\setslot{\digit{zero}}
+ \comment{The number `0'. This (and all the other numerals) may be
+ old style or ranging digits.}
+\endsetslot
+
+\setslot{\digit{one}}
+ \comment{The number `1'.}
+\endsetslot
+
+\setslot{\digit{two}}
+ \comment{The number `2'.}
+\endsetslot
+
+\setslot{\digit{three}}
+ \comment{The number `3'.}
+\endsetslot
+
+\setslot{\digit{four}}
+ \comment{The number `4'.}
+\endsetslot
+
+\setslot{\digit{five}}
+ \comment{The number `5'.}
+\endsetslot
+
+\setslot{\digit{six}}
+ \comment{The number `6'.}
+\endsetslot
+
+\setslot{\digit{seven}}
+ \comment{The number `7'.}
+\endsetslot
+
+\setslot{\digit{eight}}
+ \comment{The number `8'.}
+\endsetslot
+
+\setslot{\digit{nine}}
+ \comment{The number `9'.}
+\endsetslot
+
+\setslot{colon}
+ \comment{The colon `:'.}
+\endsetslot
+
+\setslot{semicolon}
+ \comment{The semi-colon `;'.}
+\endsetslot
+
+\setslot{less}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{less}{guillemotleft}
+\fi
+ \comment{The less-than sign `\textless'.}
+\endsetslot
+
+\setslot{equal}
+ \comment{The equals sign `='.}
+\endsetslot
+
+\setslot{greater}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{greater}{guillemotright}
+\fi
+ \comment{The greater-than sign `\textgreater'.}
+\endsetslot
+
+\setslot{question}
+\ligature{LIG}{quoteleft}{questiondown}
+ \comment{The question mark `?'.}
+\endsetslot
+
+\setslot{at}
+ \comment{The at sign `@'.}
+\endsetslot
+
+\setslot{\uc{A}{a}}
+ \comment{The letter `A'.}
+\endsetslot
+
+\setslot{\uc{B}{b}}
+ \comment{The letter `B'.}
+\endsetslot
+
+\setslot{\uc{C}{c}}
+ \comment{The letter `C'.}
+\endsetslot
+
+\setslot{\uc{D}{d}}
+ \comment{The letter `D'.}
+\endsetslot
+
+\setslot{\uc{E}{e}}
+ \comment{The letter `E'.}
+\endsetslot
+
+\setslot{\uc{F}{f}}
+ \comment{The letter `F'.}
+\endsetslot
+
+\setslot{\uc{G}{g}}
+ \comment{The letter `G'.}
+\endsetslot
+
+\setslot{\uc{H}{h}}
+ \comment{The letter `H'.}
+\endsetslot
+
+\setslot{\uc{I}{i}}
+ \comment{The letter `I'.}
+\endsetslot
+
+\setslot{\uc{J}{j}}
+ \comment{The letter `J'.}
+\endsetslot
+
+\setslot{\uc{K}{k}}
+ \comment{The letter `K'.}
+\endsetslot
+
+\setslot{\uc{L}{l}}
+ \comment{The letter `L'.}
+\endsetslot
+
+\setslot{\uc{M}{m}}
+ \comment{The letter `M'.}
+\endsetslot
+
+\setslot{\uc{N}{n}}
+ \comment{The letter `N'.}
+\endsetslot
+
+\setslot{\uc{O}{o}}
+ \comment{The letter `O'.}
+\endsetslot
+
+\setslot{\uc{P}{p}}
+ \comment{The letter `P'.}
+\endsetslot
+
+\setslot{\uc{Q}{q}}
+ \comment{The letter `Q'.}
+\endsetslot
+
+\setslot{\uc{R}{r}}
+ \comment{The letter `R'.}
+\endsetslot
+
+\setslot{\uc{S}{s}}
+ \comment{The letter `S'.}
+\endsetslot
+
+\setslot{\uc{T}{t}}
+ \comment{The letter `T'.}
+\endsetslot
+
+\setslot{\uc{U}{u}}
+ \comment{The letter `U'.}
+\endsetslot
+
+\setslot{\uc{V}{v}}
+ \comment{The letter `V'.}
+\endsetslot
+
+\setslot{\uc{W}{w}}
+ \comment{The letter `W'.}
+\endsetslot
+
+\setslot{\uc{X}{x}}
+ \comment{The letter `X'.}
+\endsetslot
+
+\setslot{\uc{Y}{y}}
+ \comment{The letter `Y'.}
+\endsetslot
+
+\setslot{\uc{Z}{z}}
+ \comment{The letter `Z'.}
+\endsetslot
+
+\setslot{bracketleft}
+ \comment{The opening square bracket `['.}
+\endsetslot
+
+\setslot{backslash}
+ \comment{The backwards oblique `\textbackslash'.}
+\endsetslot
+
+\setslot{bracketright}
+ \comment{The closing square bracket `]'.}
+\endsetslot
+
+\setslot{circumflex}
+ \comment{The circumflex accent `\^{}'.}
+\endsetslot
+
+\setslot{underscore}
+ \comment{The ASCII underline character `\textunderscore', usually
+ set on the baseline.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{quoteleft}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{quoteleft}{quotedblleft}
+\fi
+ \comment{The English opening single quote mark `\,\textquoteleft\,'.}
+\endsetslot
+
+\setslot{\lc{A}{a}}
+ \comment{The letter `a'.}
+\endsetslot
+
+\setslot{\lc{B}{b}}
+ \comment{The letter `b'.}
+\endsetslot
+
+\setslot{\lc{C}{c}}
+ \comment{The letter `c'.}
+\endsetslot
+
+\setslot{\lc{D}{d}}
+ \comment{The letter `d'.}
+\endsetslot
+
+\setslot{\lc{E}{e}}
+ \comment{The letter `e'.}
+\endsetslot
+
+\setslot{\lc{F}{f}}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FI}{fi}}
+ \ligature{LIG}{\lc{F}{f}}{\lclig{FF}{ff}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FL}{fl}}
+ \ligature{LIG}{\lc{J}{j}}{\lclig{FJ}{fj}}
+\fi
+ \comment{The letter `f'.}
+\endsetslot
+
+\setslot{\lc{G}{g}}
+ \comment{The letter `g'.}
+\endsetslot
+
+\setslot{\lc{H}{h}}
+ \comment{The letter `h'.}
+\endsetslot
+
+\setslot{\lc{I}{i}}
+ \comment{The letter `i'.}
+\endsetslot
+
+\setslot{\lc{J}{j}}
+ \comment{The letter `j'.}
+\endsetslot
+
+\setslot{\lc{K}{k}}
+ \comment{The letter `k'.}
+\endsetslot
+
+\setslot{\lc{L}{l}}
+ \comment{The letter `l'.}
+\endsetslot
+
+\setslot{\lc{M}{m}}
+ \comment{The letter `m'.}
+\endsetslot
+
+\setslot{\lc{N}{n}}
+ \comment{The letter `n'.}
+\endsetslot
+
+\setslot{\lc{O}{o}}
+ \comment{The letter `o'.}
+\endsetslot
+
+\setslot{\lc{P}{p}}
+ \comment{The letter `p'.}
+\endsetslot
+
+\setslot{\lc{Q}{q}}
+ \comment{The letter `q'.}
+\endsetslot
+
+\setslot{\lc{R}{r}}
+ \comment{The letter `r'.}
+\endsetslot
+
+\setslot{\lc{S}{s}}
+ \comment{The letter `s'.}
+\endsetslot
+
+\setslot{\lc{T}{t}}
+ \comment{The letter `t'.}
+\endsetslot
+
+\setslot{\lc{U}{u}}
+ \comment{The letter `u'.}
+\endsetslot
+
+\setslot{\lc{V}{v}}
+ \comment{The letter `v'.}
+\endsetslot
+
+\setslot{\lc{W}{w}}
+ \comment{The letter `w'.}
+\endsetslot
+
+\setslot{\lc{X}{x}}
+ \comment{The letter `x'.}
+\endsetslot
+
+\setslot{\lc{Y}{y}}
+ \comment{The letter `y'.}
+\endsetslot
+
+\setslot{\lc{Z}{z}}
+ \comment{The letter `z'.}
+\endsetslot
+
+\setslot{braceleft}
+ \comment{The opening curly brace `\textbraceleft'.}
+\endsetslot
+
+\setslot{bar}
+ \comment{The ASCII vertical bar `\textbar'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{braceright}
+ \comment{The closing curly brace `\textbraceright'.}
+\endsetslot
+
+\setslot{tilde}
+ \comment{The tilde accent `\~{}'.}
+\endsetslot
+
+\setslot{dieresis}
+ \comment{The umlaut or dieresis accent `\"{}'.}
+\endsetslot
+
+\comment{The following 32 slots, 128--159, are based on an extended
+ version of Windows ANSI.}
+
+\nextslot{128}
+\setslot{\uc{Lslash}{lslash}}
+ \comment{The letter `\L'.}
+\endsetslot
+
+\setslot{quotesingle}
+ \comment{The `neutral' single quote mark `\,\textquotesingle\,',
+ included for use in monowidth fonts, or for setting computer
+ programs.}
+\endsetslot
+
+\setslot{quotesinglbase}
+ \comment{A German single quote mark `\quotesinglbase' similar to a comma,
+ but with different sidebearings.}
+\endsetslot
+
+\setslot{florin}
+ \comment{The florin sign, similar to an italic letter `\textflorin'.}
+\endsetslot
+
+\setslot{quotedblbase}
+ \comment{A German double quote mark `\quotedblbase' similar to two commas,
+ but with tighter letterspacing and different sidebearings.}
+\endsetslot
+
+\setslot{ellipsis}
+ \comment{The ellipsis `\textellipsis'.}
+\endsetslot
+
+\setslot{dagger}
+ \comment{The single dagger `\textdagger'.}
+\endsetslot
+
+\setslot{daggerdbl}
+ \comment{The double dagger `\textdaggerdbl'.}
+\endsetslot
+
+\setslot{circumflex}
+ \comment{The circumflex accent `\^{}'.}
+\endsetslot
+
+\setslot{perthousand}
+ \comment{The perthousand sign `\textperthousand',
+ similar to `\%' with an extra zero.}
+\endsetslot
+
+\setslot{\uctop{Scaron}{scaron}}
+ \comment{The letter `\v S'.}
+\endsetslot
+
+\setslot{guilsinglleft}
+ \comment{A French single opening quote mark `\guilsinglleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uc{OE}{oe}}
+ \comment{The letter `\OE'.
+ This is a single letter, and should not be faked with `OE'.}
+\endsetslot
+
+\setslot{\uctop{Zcaron}{zcaron}}
+ \comment{The letter `\v Z'.}
+\endsetslot
+
+\setslot{asciicircum}
+ \comment{The ASCII upward-pointing arrow head `\textasciicircum'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{minus}
+ \comment{The subtraction sign `\textminus'.}
+\endsetslot
+
+\setslot{\lc{Lslash}{lslash}}
+ \comment{The letter `\l'.}
+\endsetslot
+
+\setslot{quoteleft-unused}
+ \comment{The English opening single quote mark `\,\textquoteleft\,'.}
+\endsetslot
+
+\setslot{quoteright-unused}
+ \comment{The English closing single quote mark `\,\textquoteright\,'.}
+\endsetslot
+
+\setslot{quotedblleft}
+ \comment{The English opening double quote mark `\,\textquotedblleft\,'.}
+\endsetslot
+
+\setslot{quotedblright}
+ \comment{The English closing double quote mark `\,\textquotedblright\,'.}
+\endsetslot
+
+\setslot{bullet}
+ \comment{The centered bullet `\textbullet'.}
+\endsetslot
+
+\setslot{endash}
+ \ifisint{monowidth}\then\else
+ \ligature{LIG}{hyphen}{emdash}
+ \fi
+ \comment{The en-dash `\textendash'.}
+\endsetslot
+
+\setslot{emdash}
+ \comment{The em-dash `\textemdash'.}
+\endsetslot
+
+\setslot{tilde}
+ \comment{The tilde accent `\~{}'.}
+\endsetslot
+
+\setslot{trademark}
+ \comment{The trademark sign, similar to the raised letters `TM'.}
+\endsetslot
+
+\setslot{\lctop{Scaron}{scaron}}
+ \comment{The letter `\v s'.}
+\endsetslot
+
+\setslot{guilsinglright}
+ \comment{A French single closing quote mark `\guilsinglright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lc{OE}{oe}}
+ \comment{The letter `\oe'.
+ This is a single letter, and should not be faked with `oe'.}
+\endsetslot
+
+\setslot{\lctop{Zcaron}{zcaron}}
+ \comment{The letter `\v z'.}
+\endsetslot
+
+\setslot{asciitilde}
+ \comment{The ASCII tilde `\textasciitilde'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{\uctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\"Y'.}
+\endsetslot
+
+\comment{The following 32 slots, 160--191, are based on ISO Latin~1,
+ which is identical to Windows ANSI in this plane.}
+
+\nextslot{160}
+\setslot{nbspace}
+ \comment{The (non-breaking) space character.}
+\endsetslot
+
+\setslot{exclamdown}
+ \comment{The Spanish punctuation mark `!`'.}
+\endsetslot
+
+\setslot{cent}
+ \comment{The cent sign `\textcent'.}
+\endsetslot
+
+\setslot{sterling}
+ \comment{The British currency sign, `\textsterling'.}
+\endsetslot
+
+\setslot{currency}
+ \comment{The international currency sign, `\textcurrency'.}
+\endsetslot
+
+\setslot{yen}
+ \comment{The Japanese currency sign, `\textyen'.}
+\endsetslot
+
+\setslot{brokenbar}
+ \comment{A broken vertical bar, `\textbrokenbar',
+ similar to `\textbar' with a gap through the middle.}
+\endsetslot
+
+\setslot{section}
+ \comment{The section mark `\textsection'.}
+\endsetslot
+
+\setslot{dieresis}
+ \comment{The umlaut or dieresis accent `\"{}'.}
+\endsetslot
+
+\setslot{copyright}
+ \comment{The copyright sign `\textcopyright',
+ similar to a small `C' enclosed by a circle.}
+\endsetslot
+
+\setslot{ordfeminine}
+ \comment{The raised letter `\textordfeminine'.}
+\endsetslot
+
+\setslot{guillemotleft}
+ \comment{A French double opening quote mark `\guillemotleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{logicalnot}
+ \comment{The logical not sign `\textlnot'.}
+\endsetslot
+
+\setslot{sfthyphen}
+ \comment{ ifisint monowidth then else
+ ligature LIG hyphen endash
+ fi}
+\endsetslot
+
+\setslot{registered}
+ \comment{The registered trademark sign `\textregistered',
+ similar to a small `R' enclosed by a circle.}
+\endsetslot
+
+\setslot{macron}
+ \comment{The macron accent `\={}'.}
+\endsetslot
+
+\setslot{degree}
+ \comment{The degree sign `\textdegree'.}
+\endsetslot
+
+\setslot{plusminus}
+ \comment{The plus or minus sign `\textpm'.}
+\endsetslot
+
+\setslot{twosuperior}
+ \comment{The raised digit `\texttwosuperior'.}
+\endsetslot
+
+\setslot{threesuperior}
+ \comment{The raised digit `\textthreesuperior'.}
+\endsetslot
+
+\setslot{acute}
+ \comment{The acute accent `\'{}'.}
+\endsetslot
+
+\setslot{mu}
+ \comment{The lowercase Greek letter `\textmu', intended
+ for use as a prefix `micro' in physical units.}
+\endsetslot
+
+\setslot{paragraph}
+ \comment{The paragraph mark `\textparagraph'.}
+\endsetslot
+
+\setslot{middot}
+ \comment{The centered period `\textperiodcentered'.}
+\endsetslot
+
+\setslot{cedilla}
+ \comment{The cedilla accent `\c{}'.}
+\endsetslot
+
+\setslot{onesuperior}
+ \comment{The raised digit `\textonesuperior'.}
+\endsetslot
+
+\setslot{ordmasculine}
+ \comment{The raised letter `\textordmasculine'.}
+\endsetslot
+
+\setslot{guillemotright}
+ \comment{A French double closing quote mark `\guillemotright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{onequarter}
+ \comment{The fraction `\textonequarter'.}
+\endsetslot
+
+\setslot{onehalf}
+ \comment{The fraction `\textonehalf'.}
+\endsetslot
+
+\setslot{threequarters}
+ \comment{The fraction `\textthreequarters'.}
+\endsetslot
+
+\setslot{questiondown}
+ \comment{The Spanish punctuation mark `?`'.}
+\endsetslot
+
+\comment{The remaining 64 slots, 192--255, are again based on ISO Latin~1.}
+
+\nextslot{192}
+\setslot{\uctop{Agrave}{agrave}}
+ \comment{The letter `\`A'.}
+\endsetslot
+
+\setslot{\uctop{Aacute}{aacute}}
+ \comment{The letter `\'A'.}
+\endsetslot
+
+\setslot{\uctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^A'.}
+\endsetslot
+
+\setslot{\uctop{Atilde}{atilde}}
+ \comment{The letter `\~A'.}
+\endsetslot
+
+\setslot{\uctop{Adieresis}{adieresis}}
+ \comment{The letter `\"A'.}
+\endsetslot
+
+\setslot{\uctop{Aring}{aring}}
+ \comment{The letter `\AA'.}
+\endsetslot
+
+\setslot{\uc{AE}{ae}}
+ \comment{The letter `\AE'.
+ This is a single letter, and should not be faked with `AE'.}
+\endsetslot
+
+\setslot{\uc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c C'.}
+\endsetslot
+
+\setslot{\uctop{Egrave}{egrave}}
+ \comment{The letter `\`E'.}
+\endsetslot
+
+\setslot{\uctop{Eacute}{eacute}}
+ \comment{The letter `\'E'.}
+\endsetslot
+
+\setslot{\uctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^E'.}
+\endsetslot
+
+\setslot{\uctop{Edieresis}{edieresis}}
+ \comment{The letter `\"E'.}
+\endsetslot
+
+\setslot{\uctop{Igrave}{igrave}}
+ \comment{The letter `\`I'.}
+\endsetslot
+
+\setslot{\uctop{Iacute}{iacute}}
+ \comment{The letter `\'I'.}
+\endsetslot
+
+\setslot{\uctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^I'.}
+\endsetslot
+
+\setslot{\uctop{Idieresis}{idieresis}}
+ \comment{The letter `\"I'.}
+\endsetslot
+
+\setslot{\uc{Eth}{eth}}
+ \comment{The Icelandic capital letter `Eth' similar to a `D'
+ with a horizontal bar through the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uctop{Ntilde}{ntilde}}
+ \comment{The letter `\~N'.}
+\endsetslot
+
+\setslot{\uctop{Ograve}{ograve}}
+ \comment{The letter `\`O'.}
+\endsetslot
+
+\setslot{\uctop{Oacute}{oacute}}
+ \comment{The letter `\'O'.}
+\endsetslot
+
+\setslot{\uctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^O'.}
+\endsetslot
+
+\setslot{\uctop{Otilde}{otilde}}
+ \comment{The letter `\~O'.}
+\endsetslot
+
+\setslot{\uctop{Odieresis}{odieresis}}
+ \comment{The letter `\"O'.}
+\endsetslot
+
+\setslot{multiply}
+ \comment{The multiplication sign `\texttimes'.}
+\endsetslot
+
+\setslot{\uc{Oslash}{oslash}}
+ \comment{The letter `\O'.}
+\endsetslot
+
+\setslot{\uctop{Ugrave}{ugrave}}
+ \comment{The letter `\`U'.}
+\endsetslot
+
+\setslot{\uctop{Uacute}{uacute}}
+ \comment{The letter `\'U'.}
+\endsetslot
+
+\setslot{\uctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^U'.}
+\endsetslot
+
+\setslot{\uctop{Udieresis}{udieresis}}
+ \comment{The letter `\"U'.}
+\endsetslot
+
+\setslot{\uctop{Yacute}{yacute}}
+ \comment{The letter `\'Y'.}
+\endsetslot
+
+\setslot{\uc{Thorn}{thorn}}
+ \comment{The Icelandic capital letter `Thorn', similar to a `P'
+ with the bowl moved down. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lc{SS}{germandbls}}
+ \comment{The letter `\ss'.}
+\endsetslot
+
+\setslot{\lctop{Agrave}{agrave}}
+ \comment{The letter `\`a'.}
+\endsetslot
+
+\setslot{\lctop{Aacute}{aacute}}
+ \comment{The letter `\'a'.}
+\endsetslot
+
+\setslot{\lctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^a'.}
+\endsetslot
+
+\setslot{\lctop{Atilde}{atilde}}
+ \comment{The letter `\~a'.}
+\endsetslot
+
+\setslot{\lctop{Adieresis}{adieresis}}
+ \comment{The letter `\"a'.}
+\endsetslot
+
+\setslot{\lctop{Aring}{aring}}
+ \comment{The letter `\aa'.}
+\endsetslot
+
+\setslot{\lc{AE}{ae}}
+ \comment{The letter `\ae'.
+ This is a single letter, and should not be faked with `ae'.}
+\endsetslot
+
+\setslot{\lc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c c'.}
+\endsetslot
+
+\setslot{\lctop{Egrave}{egrave}}
+ \comment{The letter `\`e'.}
+\endsetslot
+
+\setslot{\lctop{Eacute}{eacute}}
+ \comment{The letter `\'e'.}
+\endsetslot
+
+\setslot{\lctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^e'.}
+\endsetslot
+
+\setslot{\lctop{Edieresis}{edieresis}}
+ \comment{The letter `\"e'.}
+\endsetslot
+
+\setslot{\lctop{Igrave}{igrave}}
+ \comment{The letter `\`\i'.}
+\endsetslot
+
+\setslot{\lctop{Iacute}{iacute}}
+ \comment{The letter `\'\i'.}
+\endsetslot
+
+\setslot{\lctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^\i'.}
+\endsetslot
+
+\setslot{\lctop{Idieresis}{idieresis}}
+ \comment{The letter `\"\i'.}
+\endsetslot
+
+\setslot{\lc{Eth}{eth}}
+ \comment{The Icelandic lowercase letter `eth' similar to a
+ `$\partial$' with an oblique bar through the stem. It is
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ntilde}{ntilde}}
+ \comment{The letter `\~n'.}
+\endsetslot
+
+\setslot{\lctop{Ograve}{ograve}}
+ \comment{The letter `\`o'.}
+\endsetslot
+
+\setslot{\lctop{Oacute}{oacute}}
+ \comment{The letter `\'o'.}
+\endsetslot
+
+\setslot{\lctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^o'.}
+\endsetslot
+
+\setslot{\lctop{Otilde}{otilde}}
+ \comment{The letter `\~o'.}
+\endsetslot
+
+\setslot{\lctop{Odieresis}{odieresis}}
+ \comment{The letter `\"o'.}
+\endsetslot
+
+\setslot{divide}
+ \comment{The division sign `\textdiv'.}
+\endsetslot
+
+\setslot{\lc{Oslash}{oslash}}
+ \comment{The letter `\o'.}
+\endsetslot
+
+\setslot{\lctop{Ugrave}{ugrave}}
+ \comment{The letter `\`u'.}
+\endsetslot
+
+\setslot{\lctop{Uacute}{uacute}}
+ \comment{The letter `\'u'.}
+\endsetslot
+
+\setslot{\lctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^u'.}
+\endsetslot
+
+\setslot{\lctop{Udieresis}{udieresis}}
+ \comment{The letter `\"u'.}
+\endsetslot
+
+\setslot{\lctop{Yacute}{yacute}}
+ \comment{The letter `\'y'.}
+\endsetslot
+
+\setslot{\lc{Thorn}{thorn}}
+ \comment{The Icelandic lowercase letter `thorn', similar to a `p'
+ with an ascender rising from the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\"y'.}
+\endsetslot
+
+\endencoding
diff --git a/fonts/garamondx/src/ly1sc.etx b/fonts/garamondx/src/ly1sc.etx
new file mode 100644
index 0000000000..4dac407ad7
--- /dev/null
+++ b/fonts/garamondx/src/ly1sc.etx
@@ -0,0 +1,1246 @@
+% ly1sc.etx
+% a combination of t1.etx and 8y.etx from fontinst 1.801
+% I put this together for generating artificial smallcaps
+% with fontinst from afm2pl-generated non-virtual pl files.
+% Siep Kroonenberg
+% ntg-afm2pl@ntg.nl
+% http://www.ntg.nl/afm2pl.html
+% july 2002
+%Changed by Michael Sharpe 12/30/2016 to use i.sc, j.sc for dotlessi, dotlessj in sc mode
+
+\relax
+\encoding
+
+\needsfontinstversion{1.800}
+
+\comment{\section{Default values}}
+
+\setstr{codingscheme}{TeXNANSIENCODING}
+
+\setcommand\lc#1#2{#2}
+\setcommand\uc#1#2{#1}
+\setcommand\lctop#1#2{#2}
+\setcommand\uctop#1#2{#1}
+\setcommand\lclig#1#2{#2}
+\setcommand\uclig#1#2{#1}
+\setcommand\digit#1{#1}
+
+\setint{italicslant}{0}
+
+\ifisglyph{x}\then
+\setint{xheight}{\height{x}}
+\else
+\setint{xheight}{500}
+\fi
+
+\ifisglyph{space}\then
+\setint{interword}{\width{space}}
+\else\ifisglyph{i}\then
+\setint{interword}{\width{i}}
+\else
+\setint{interword}{333}
+\fi\fi
+
+% added by Thierry Bouche <Thierry.Bouche@ujf-grenoble.fr>
+% 1997/02/07 to calculate values for extra EC fontdimens
+% Amended by SPQR 1997/02/09
+\ifisglyph{X}\then
+\setint{capheight}{\height{X}}
+\else
+\setint{capheight}{750}
+\fi
+
+\ifisglyph{d}\then
+\setint{ascender}{\height{d}}
+\else
+\ifisint{capheight}\then
+\setint{ascender}{\int{capheight}}
+\else
+\setint{ascender}{750}
+\fi\fi
+
+\ifisglyph{Aring}\then
+\setint{acccapheight}{\height{Aring}}
+\else
+\setint{acccapheight}{999}
+\fi
+
+\ifisint{descender_neg}\then
+\setint{descender}{\neg{\int{descender_neg}}}
+\else
+\ifisglyph{p}\then
+\setint{descender}{\depth{p}}
+\else
+\setint{descender}{250}
+\fi
+\fi
+
+\ifisglyph{Aring}\then
+\setint{maxheight}{\height{Aring}}
+\else
+\setint{maxheight}{1000}
+\fi
+
+\ifisint{maxdepth_neg}\then
+\setint{maxdepth}{\neg{\int{maxdepth_neg}}}
+\else
+\ifisglyph{j}\then
+\setint{maxdepth}{\depth{j}}
+\else
+\setint{maxdepth}{250}
+\fi
+\fi
+
+\ifisglyph{six}\then
+\setint{digitwidth}{\width{six}}
+\else
+\setint{digitwidth}{500}
+\fi
+
+\setint{capstem}{0} % not in AFM files
+\setint{baselineskip}{1200}
+% end changes by Thierry
+
+
+\comment{\section{Default font dimensions}}
+
+\setint{fontdimen(1)}{\int{italicslant}} % italic slant
+\setint{fontdimen(2)}{\int{interword}} % interword space
+\ifisint{monowidth}\then
+\setint{fontdimen(3)}{0} % interword stretch
+\setint{fontdimen(4)}{0} % interword shrink
+\else
+\setint{fontdimen(3)}{\scale{\int{interword}}{600}}% interword stretch
+\setint{fontdimen(4)}{\scale{\int{interword}}{240}}% interword shrink
+\fi
+\setint{fontdimen(5)}{\int{xheight}} % x-height
+\setint{fontdimen(6)}{1000} % quad
+\ifisint{monowidth}\then
+\setint{fontdimen(7)}{\int{interword}} % extra space after .
+\else
+\setint{fontdimen(7)}{\scale{\int{interword}}{240}}% extra space after .
+\fi
+% added by Thierry Bouche <Thierry.Bouche@ujf-grenoble.fr> 1997/02/07
+\setint{fontdimen(8)}{\int{capheight}} % cap height
+\setint{fontdimen(9)}{\int{ascender}} % ascender
+\setint{fontdimen(10)}{\int{acccapheight}} % accented cap height
+\setint{fontdimen(11)}{\int{descender}} % descender's depth
+\setint{fontdimen(12)}{\int{maxheight}} % max height
+\setint{fontdimen(13)}{\int{maxdepth}} % max depth
+\setint{fontdimen(14)}{\int{digitwidth}} % digit width
+\setint{fontdimen(15)}{\int{capstem}} % cap_stem
+\setint{fontdimen(16)}{\int{baselineskip}} % baselineskip
+
+\comment{\section{The encoding}}
+
+%\setslot{fj}\endsetslot
+\nextslot{4}
+\setslot{Euro}\endsetslot
+%\setslot{ffj}\endsetslot
+
+\nextslot{4}
+\setslot{fraction}
+ \comment{The fraction slash `\textfractionsolidus'.}
+\endsetslot
+
+\setslot{dotaccent}
+ \comment{The dot accent `\.{}'.}
+\endsetslot
+
+\setslot{hungarumlaut}
+ \comment{The long Hungarian umlaut `\H{}'.}
+\endsetslot
+
+\setslot{ogonek}
+ \comment{The ogonek accent `\k{}'.}
+\endsetslot
+
+\setslot{\lclig{FL}{fl}}
+ \comment{The `fl' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{cwm}
+\comment{Compound Word Marker; candidate for boundarychar}
+\endsetslot
+
+\nextslot{11}
+\setslot{\lclig{FF}{ff}}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FFI}{ffi}}
+ \ligature{LIG}{\lc{J}{j}}{\lclig{FFJ}{ffj}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FFL}{ffl}}
+\fi
+ \comment{The `ff' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FI}{fi}}
+ \comment{The `fi' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\nextslot{14}
+\setslot{\lclig{FFI}{ffi}}
+ \comment{The `ffi' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FFL}{ffl}}
+ \comment{The `ffl' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\comment{The following 16 slots share the same encoding as OT1.}
+
+\nextslot{16}
+\setslot{i} % \setslot{\lc{dotlessI}{dotlessi}}
+ \comment{A dotless i `\i', used to produce accented letters such as
+ `\=\i'.}
+\endsetslot
+
+\setslot{j} %\setslot{\lc{dotlessJ}{dotlessj}}
+ \comment{A dotless j `\j', used to produce accented letters such as
+ `\=\j'. Most non-\TeX\ fonts do not have this glyph.}
+\endsetslot
+
+\setslot{grave}
+ \comment{The grave accent `\`{}'.}
+\endsetslot
+
+\setslot{acute}
+ \comment{The acute accent `\'{}'.}
+\endsetslot
+
+\setslot{caron}
+ \comment{The caron or h\'a\v cek accent `\v {}'.}
+\endsetslot
+
+\setslot{breve}
+ \comment{The breve accent `\u{}'.}
+\endsetslot
+
+\setslot{macron}
+ \comment{The macron accent `\={}'.}
+\endsetslot
+
+\setslot{ring}
+ \comment{The ring accent `\r{}'.}
+\endsetslot
+
+\setslot{cedilla}
+ \comment{The cedilla accent `\c{}'.}
+\endsetslot
+
+\setslot{\lc{SS}{germandbls}}
+ \comment{The letter `\ss'.}
+\endsetslot
+
+\setslot{\lc{AE}{ae}}
+ \comment{The letter `\ae'.
+ This is a single letter, and should not be faked with `ae'.}
+\endsetslot
+
+\setslot{\lc{OE}{oe}}
+ \comment{The letter `\oe'.
+ This is a single letter, and should not be faked with `oe'.}
+\endsetslot
+
+\setslot{\lc{Oslash}{oslash}}
+ \comment{The letter `\o'.}
+\endsetslot
+
+\setslot{\uc{AE}{ae}}
+ \comment{The letter `\AE'.
+ This is a single letter, and should not be faked with `AE'.}
+\endsetslot
+
+\setslot{\uc{OE}{oe}}
+ \comment{The letter `\OE'.
+ This is a single letter, and should not be faked with `OE'.}
+\endsetslot
+
+\setslot{\uc{Oslash}{oslash}}
+ \comment{The letter `\O'.}
+\endsetslot
+
+\comment{The following 96 slots, 32--127, are based on standard ASCII,
+except that `asciicircum', `asciitilde', and the empty slot 127 have
+been replaced by the `circumflex', `tilde' and `dieresis' as in OT1.}
+
+\nextslot{32}
+\setslot{space}
+ \comment{The space character.}
+\endsetslot
+
+\setslot{exclam}
+\ligature{LIG}{quoteleft}{exclamdown}
+ \comment{The exclamation mark `!'.}
+\endsetslot
+
+\setslot{quotedbl}
+ \comment{The `neutral' double quote mark `\,\textquotedbl\,',
+ included for use in monowidth fonts, or for setting computer
+ programs.}
+\endsetslot
+
+\setslot{numbersign}
+ \comment{The hash sign `\#'.}
+\endsetslot
+
+\setslot{dollar}
+ \comment{The dollar sign `\$'.}
+\endsetslot
+
+\setslot{percent}
+ \comment{The percent sign `\%'.}
+\endsetslot
+
+\setslot{ampersand}
+ \comment{The ampersand sign `\&'.}
+\endsetslot
+
+\setslot{quoteright}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{quoteright}{quotedblright}
+\fi
+ \comment{The English closing quote mark `\,\textquoteright\,'.}
+\endsetslot
+
+\setslot{parenleft}
+ \comment{The opening parenthesis `('.}
+\endsetslot
+
+\setslot{parenright}
+ \comment{The closing parenthesis `)'.}
+\endsetslot
+
+\setslot{asterisk}
+ \comment{The raised asterisk `*'.}
+\endsetslot
+
+\setslot{plus}
+ \comment{The addition sign `+'.}
+\endsetslot
+
+\setslot{comma}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{comma}{quotedblbase}
+\fi
+ \comment{The comma `,'.}
+\endsetslot
+
+\setslot{hyphen}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{hyphen}{endash}
+\fi
+ \comment{The hyphen `-'.}
+\endsetslot
+
+\setslot{period}
+ \comment{The period `.'.}
+\endsetslot
+
+\setslot{slash}
+ \comment{The forward oblique `/'.}
+\endsetslot
+
+\setslot{\digit{zero}}
+ \comment{The number `0'. This (and all the other numerals) may be
+ old style or ranging digits.}
+\endsetslot
+
+\setslot{\digit{one}}
+ \comment{The number `1'.}
+\endsetslot
+
+\setslot{\digit{two}}
+ \comment{The number `2'.}
+\endsetslot
+
+\setslot{\digit{three}}
+ \comment{The number `3'.}
+\endsetslot
+
+\setslot{\digit{four}}
+ \comment{The number `4'.}
+\endsetslot
+
+\setslot{\digit{five}}
+ \comment{The number `5'.}
+\endsetslot
+
+\setslot{\digit{six}}
+ \comment{The number `6'.}
+\endsetslot
+
+\setslot{\digit{seven}}
+ \comment{The number `7'.}
+\endsetslot
+
+\setslot{\digit{eight}}
+ \comment{The number `8'.}
+\endsetslot
+
+\setslot{\digit{nine}}
+ \comment{The number `9'.}
+\endsetslot
+
+\setslot{colon}
+ \comment{The colon `:'.}
+\endsetslot
+
+\setslot{semicolon}
+ \comment{The semi-colon `;'.}
+\endsetslot
+
+\setslot{less}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{less}{guillemotleft}
+\fi
+ \comment{The less-than sign `\textless'.}
+\endsetslot
+
+\setslot{equal}
+ \comment{The equals sign `='.}
+\endsetslot
+
+\setslot{greater}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{greater}{guillemotright}
+\fi
+ \comment{The greater-than sign `\textgreater'.}
+\endsetslot
+
+\setslot{question}
+\ligature{LIG}{quoteleft}{questiondown}
+ \comment{The question mark `?'.}
+\endsetslot
+
+\setslot{at}
+ \comment{The at sign `@'.}
+\endsetslot
+
+\setslot{\uc{A}{a}}
+ \comment{The letter `A'.}
+\endsetslot
+
+\setslot{\uc{B}{b}}
+ \comment{The letter `B'.}
+\endsetslot
+
+\setslot{\uc{C}{c}}
+ \comment{The letter `C'.}
+\endsetslot
+
+\setslot{\uc{D}{d}}
+ \comment{The letter `D'.}
+\endsetslot
+
+\setslot{\uc{E}{e}}
+ \comment{The letter `E'.}
+\endsetslot
+
+\setslot{\uc{F}{f}}
+ \comment{The letter `F'.}
+\endsetslot
+
+\setslot{\uc{G}{g}}
+ \comment{The letter `G'.}
+\endsetslot
+
+\setslot{\uc{H}{h}}
+ \comment{The letter `H'.}
+\endsetslot
+
+\setslot{\uc{I}{i}}
+ \comment{The letter `I'.}
+\endsetslot
+
+\setslot{\uc{J}{j}}
+ \comment{The letter `J'.}
+\endsetslot
+
+\setslot{\uc{K}{k}}
+ \comment{The letter `K'.}
+\endsetslot
+
+\setslot{\uc{L}{l}}
+ \comment{The letter `L'.}
+\endsetslot
+
+\setslot{\uc{M}{m}}
+ \comment{The letter `M'.}
+\endsetslot
+
+\setslot{\uc{N}{n}}
+ \comment{The letter `N'.}
+\endsetslot
+
+\setslot{\uc{O}{o}}
+ \comment{The letter `O'.}
+\endsetslot
+
+\setslot{\uc{P}{p}}
+ \comment{The letter `P'.}
+\endsetslot
+
+\setslot{\uc{Q}{q}}
+ \comment{The letter `Q'.}
+\endsetslot
+
+\setslot{\uc{R}{r}}
+ \comment{The letter `R'.}
+\endsetslot
+
+\setslot{\uc{S}{s}}
+ \comment{The letter `S'.}
+\endsetslot
+
+\setslot{\uc{T}{t}}
+ \comment{The letter `T'.}
+\endsetslot
+
+\setslot{\uc{U}{u}}
+ \comment{The letter `U'.}
+\endsetslot
+
+\setslot{\uc{V}{v}}
+ \comment{The letter `V'.}
+\endsetslot
+
+\setslot{\uc{W}{w}}
+ \comment{The letter `W'.}
+\endsetslot
+
+\setslot{\uc{X}{x}}
+ \comment{The letter `X'.}
+\endsetslot
+
+\setslot{\uc{Y}{y}}
+ \comment{The letter `Y'.}
+\endsetslot
+
+\setslot{\uc{Z}{z}}
+ \comment{The letter `Z'.}
+\endsetslot
+
+\setslot{bracketleft}
+ \comment{The opening square bracket `['.}
+\endsetslot
+
+\setslot{backslash}
+ \comment{The backwards oblique `\textbackslash'.}
+\endsetslot
+
+\setslot{bracketright}
+ \comment{The closing square bracket `]'.}
+\endsetslot
+
+\setslot{circumflex}
+ \comment{The circumflex accent `\^{}'.}
+\endsetslot
+
+\setslot{underscore}
+ \comment{The ASCII underline character `\textunderscore', usually
+ set on the baseline.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{quoteleft}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{quoteleft}{quotedblleft}
+\fi
+ \comment{The English opening single quote mark `\,\textquoteleft\,'.}
+\endsetslot
+
+\setslot{\lc{A}{a}}
+ \comment{The letter `a'.}
+\endsetslot
+
+\setslot{\lc{B}{b}}
+ \comment{The letter `b'.}
+\endsetslot
+
+\setslot{\lc{C}{c}}
+ \comment{The letter `c'.}
+\endsetslot
+
+\setslot{\lc{D}{d}}
+ \comment{The letter `d'.}
+\endsetslot
+
+\setslot{\lc{E}{e}}
+ \comment{The letter `e'.}
+\endsetslot
+
+\setslot{\lc{F}{f}}
+\ifisint{monowidth}\then\else
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FI}{fi}}
+ \ligature{LIG}{\lc{F}{f}}{\lclig{FF}{ff}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FL}{fl}}
+ \ligature{LIG}{\lc{J}{j}}{\lclig{FJ}{fj}}
+\fi
+ \comment{The letter `f'.}
+\endsetslot
+
+\setslot{\lc{G}{g}}
+ \comment{The letter `g'.}
+\endsetslot
+
+\setslot{\lc{H}{h}}
+ \comment{The letter `h'.}
+\endsetslot
+
+\setslot{\lc{I}{i}}
+ \comment{The letter `i'.}
+\endsetslot
+
+\setslot{\lc{J}{j}}
+ \comment{The letter `j'.}
+\endsetslot
+
+\setslot{\lc{K}{k}}
+ \comment{The letter `k'.}
+\endsetslot
+
+\setslot{\lc{L}{l}}
+ \comment{The letter `l'.}
+\endsetslot
+
+\setslot{\lc{M}{m}}
+ \comment{The letter `m'.}
+\endsetslot
+
+\setslot{\lc{N}{n}}
+ \comment{The letter `n'.}
+\endsetslot
+
+\setslot{\lc{O}{o}}
+ \comment{The letter `o'.}
+\endsetslot
+
+\setslot{\lc{P}{p}}
+ \comment{The letter `p'.}
+\endsetslot
+
+\setslot{\lc{Q}{q}}
+ \comment{The letter `q'.}
+\endsetslot
+
+\setslot{\lc{R}{r}}
+ \comment{The letter `r'.}
+\endsetslot
+
+\setslot{\lc{S}{s}}
+ \comment{The letter `s'.}
+\endsetslot
+
+\setslot{\lc{T}{t}}
+ \comment{The letter `t'.}
+\endsetslot
+
+\setslot{\lc{U}{u}}
+ \comment{The letter `u'.}
+\endsetslot
+
+\setslot{\lc{V}{v}}
+ \comment{The letter `v'.}
+\endsetslot
+
+\setslot{\lc{W}{w}}
+ \comment{The letter `w'.}
+\endsetslot
+
+\setslot{\lc{X}{x}}
+ \comment{The letter `x'.}
+\endsetslot
+
+\setslot{\lc{Y}{y}}
+ \comment{The letter `y'.}
+\endsetslot
+
+\setslot{\lc{Z}{z}}
+ \comment{The letter `z'.}
+\endsetslot
+
+\setslot{braceleft}
+ \comment{The opening curly brace `\textbraceleft'.}
+\endsetslot
+
+\setslot{bar}
+ \comment{The ASCII vertical bar `\textbar'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{braceright}
+ \comment{The closing curly brace `\textbraceright'.}
+\endsetslot
+
+\setslot{tilde}
+ \comment{The tilde accent `\~{}'.}
+\endsetslot
+
+\setslot{dieresis}
+ \comment{The umlaut or dieresis accent `\"{}'.}
+\endsetslot
+
+\comment{The following 32 slots, 128--159, are based on an extended
+ version of Windows ANSI.}
+
+\nextslot{128}
+\setslot{\uc{Lslash}{lslash}}
+ \comment{The letter `\L'.}
+\endsetslot
+
+\setslot{quotesingle}
+ \comment{The `neutral' single quote mark `\,\textquotesingle\,',
+ included for use in monowidth fonts, or for setting computer
+ programs.}
+\endsetslot
+
+\setslot{quotesinglbase}
+ \comment{A German single quote mark `\quotesinglbase' similar to a comma,
+ but with different sidebearings.}
+\endsetslot
+
+\setslot{florin}
+ \comment{The florin sign, similar to an italic letter `\textflorin'.}
+\endsetslot
+
+\setslot{quotedblbase}
+ \comment{A German double quote mark `\quotedblbase' similar to two commas,
+ but with tighter letterspacing and different sidebearings.}
+\endsetslot
+
+\setslot{ellipsis}
+ \comment{The ellipsis `\textellipsis'.}
+\endsetslot
+
+\setslot{dagger}
+ \comment{The single dagger `\textdagger'.}
+\endsetslot
+
+\setslot{daggerdbl}
+ \comment{The double dagger `\textdaggerdbl'.}
+\endsetslot
+
+\setslot{circumflex}
+ \comment{The circumflex accent `\^{}'.}
+\endsetslot
+
+\setslot{perthousand}
+ \comment{The perthousand sign `\textperthousand',
+ similar to `\%' with an extra zero.}
+\endsetslot
+
+\setslot{\uctop{Scaron}{scaron}}
+ \comment{The letter `\v S'.}
+\endsetslot
+
+\setslot{guilsinglleft}
+ \comment{A French single opening quote mark `\guilsinglleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uc{OE}{oe}}
+ \comment{The letter `\OE'.
+ This is a single letter, and should not be faked with `OE'.}
+\endsetslot
+
+\setslot{\uctop{Zcaron}{zcaron}}
+ \comment{The letter `\v Z'.}
+\endsetslot
+
+\setslot{asciicircum}
+ \comment{The ASCII upward-pointing arrow head `\textasciicircum'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{minus}
+ \comment{The subtraction sign `\textminus'.}
+\endsetslot
+
+\setslot{\lc{Lslash}{lslash}}
+ \comment{The letter `\l'.}
+\endsetslot
+
+\setslot{quoteleft-unused}
+ \comment{The English opening single quote mark `\,\textquoteleft\,'.}
+\endsetslot
+
+\setslot{quoteright-unused}
+ \comment{The English closing single quote mark `\,\textquoteright\,'.}
+\endsetslot
+
+\setslot{quotedblleft}
+ \comment{The English opening double quote mark `\,\textquotedblleft\,'.}
+\endsetslot
+
+\setslot{quotedblright}
+ \comment{The English closing double quote mark `\,\textquotedblright\,'.}
+\endsetslot
+
+\setslot{bullet}
+ \comment{The centered bullet `\textbullet'.}
+\endsetslot
+
+\setslot{endash}
+ \ifisint{monowidth}\then\else
+ \ligature{LIG}{hyphen}{emdash}
+ \fi
+ \comment{The en-dash `\textendash'.}
+\endsetslot
+
+\setslot{emdash}
+ \comment{The em-dash `\textemdash'.}
+\endsetslot
+
+\setslot{tilde}
+ \comment{The tilde accent `\~{}'.}
+\endsetslot
+
+\setslot{trademark}
+ \comment{The trademark sign, similar to the raised letters `TM'.}
+\endsetslot
+
+\setslot{\lctop{Scaron}{scaron}}
+ \comment{The letter `\v s'.}
+\endsetslot
+
+\setslot{guilsinglright}
+ \comment{A French single closing quote mark `\guilsinglright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lc{OE}{oe}}
+ \comment{The letter `\oe'.
+ This is a single letter, and should not be faked with `oe'.}
+\endsetslot
+
+\setslot{\lctop{Zcaron}{zcaron}}
+ \comment{The letter `\v z'.}
+\endsetslot
+
+\setslot{asciitilde}
+ \comment{The ASCII tilde `\textasciitilde'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{\uctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\"Y'.}
+\endsetslot
+
+\comment{The following 32 slots, 160--191, are based on ISO Latin~1,
+ which is identical to Windows ANSI in this plane.}
+
+\nextslot{160}
+\setslot{nbspace}
+ \comment{The (non-breaking) space character.}
+\endsetslot
+
+\setslot{exclamdown}
+ \comment{The Spanish punctuation mark `!`'.}
+\endsetslot
+
+\setslot{cent}
+ \comment{The cent sign `\textcent'.}
+\endsetslot
+
+\setslot{sterling}
+ \comment{The British currency sign, `\textsterling'.}
+\endsetslot
+
+\setslot{currency}
+ \comment{The international currency sign, `\textcurrency'.}
+\endsetslot
+
+\setslot{yen}
+ \comment{The Japanese currency sign, `\textyen'.}
+\endsetslot
+
+\setslot{brokenbar}
+ \comment{A broken vertical bar, `\textbrokenbar',
+ similar to `\textbar' with a gap through the middle.}
+\endsetslot
+
+\setslot{section}
+ \comment{The section mark `\textsection'.}
+\endsetslot
+
+\setslot{dieresis}
+ \comment{The umlaut or dieresis accent `\"{}'.}
+\endsetslot
+
+\setslot{copyright}
+ \comment{The copyright sign `\textcopyright',
+ similar to a small `C' enclosed by a circle.}
+\endsetslot
+
+\setslot{ordfeminine}
+ \comment{The raised letter `\textordfeminine'.}
+\endsetslot
+
+\setslot{guillemotleft}
+ \comment{A French double opening quote mark `\guillemotleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{logicalnot}
+ \comment{The logical not sign `\textlnot'.}
+\endsetslot
+
+\setslot{sfthyphen}
+ \comment{ ifisint monowidth then else
+ ligature LIG hyphen endash
+ fi}
+\endsetslot
+
+\setslot{registered}
+ \comment{The registered trademark sign `\textregistered',
+ similar to a small `R' enclosed by a circle.}
+\endsetslot
+
+\setslot{macron}
+ \comment{The macron accent `\={}'.}
+\endsetslot
+
+\setslot{degree}
+ \comment{The degree sign `\textdegree'.}
+\endsetslot
+
+\setslot{plusminus}
+ \comment{The plus or minus sign `\textpm'.}
+\endsetslot
+
+\setslot{twosuperior}
+ \comment{The raised digit `\texttwosuperior'.}
+\endsetslot
+
+\setslot{threesuperior}
+ \comment{The raised digit `\textthreesuperior'.}
+\endsetslot
+
+\setslot{acute}
+ \comment{The acute accent `\'{}'.}
+\endsetslot
+
+\setslot{mu}
+ \comment{The lowercase Greek letter `\textmu', intended
+ for use as a prefix `micro' in physical units.}
+\endsetslot
+
+\setslot{paragraph}
+ \comment{The paragraph mark `\textparagraph'.}
+\endsetslot
+
+\setslot{middot}
+ \comment{The centered period `\textperiodcentered'.}
+\endsetslot
+
+\setslot{cedilla}
+ \comment{The cedilla accent `\c{}'.}
+\endsetslot
+
+\setslot{onesuperior}
+ \comment{The raised digit `\textonesuperior'.}
+\endsetslot
+
+\setslot{ordmasculine}
+ \comment{The raised letter `\textordmasculine'.}
+\endsetslot
+
+\setslot{guillemotright}
+ \comment{A French double closing quote mark `\guillemotright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{onequarter}
+ \comment{The fraction `\textonequarter'.}
+\endsetslot
+
+\setslot{onehalf}
+ \comment{The fraction `\textonehalf'.}
+\endsetslot
+
+\setslot{threequarters}
+ \comment{The fraction `\textthreequarters'.}
+\endsetslot
+
+\setslot{questiondown}
+ \comment{The Spanish punctuation mark `?`'.}
+\endsetslot
+
+\comment{The remaining 64 slots, 192--255, are again based on ISO Latin~1.}
+
+\nextslot{192}
+\setslot{\uctop{Agrave}{agrave}}
+ \comment{The letter `\`A'.}
+\endsetslot
+
+\setslot{\uctop{Aacute}{aacute}}
+ \comment{The letter `\'A'.}
+\endsetslot
+
+\setslot{\uctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^A'.}
+\endsetslot
+
+\setslot{\uctop{Atilde}{atilde}}
+ \comment{The letter `\~A'.}
+\endsetslot
+
+\setslot{\uctop{Adieresis}{adieresis}}
+ \comment{The letter `\"A'.}
+\endsetslot
+
+\setslot{\uctop{Aring}{aring}}
+ \comment{The letter `\AA'.}
+\endsetslot
+
+\setslot{\uc{AE}{ae}}
+ \comment{The letter `\AE'.
+ This is a single letter, and should not be faked with `AE'.}
+\endsetslot
+
+\setslot{\uc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c C'.}
+\endsetslot
+
+\setslot{\uctop{Egrave}{egrave}}
+ \comment{The letter `\`E'.}
+\endsetslot
+
+\setslot{\uctop{Eacute}{eacute}}
+ \comment{The letter `\'E'.}
+\endsetslot
+
+\setslot{\uctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^E'.}
+\endsetslot
+
+\setslot{\uctop{Edieresis}{edieresis}}
+ \comment{The letter `\"E'.}
+\endsetslot
+
+\setslot{\uctop{Igrave}{igrave}}
+ \comment{The letter `\`I'.}
+\endsetslot
+
+\setslot{\uctop{Iacute}{iacute}}
+ \comment{The letter `\'I'.}
+\endsetslot
+
+\setslot{\uctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^I'.}
+\endsetslot
+
+\setslot{\uctop{Idieresis}{idieresis}}
+ \comment{The letter `\"I'.}
+\endsetslot
+
+\setslot{\uc{Eth}{eth}}
+ \comment{The Icelandic capital letter `Eth' similar to a `D'
+ with a horizontal bar through the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uctop{Ntilde}{ntilde}}
+ \comment{The letter `\~N'.}
+\endsetslot
+
+\setslot{\uctop{Ograve}{ograve}}
+ \comment{The letter `\`O'.}
+\endsetslot
+
+\setslot{\uctop{Oacute}{oacute}}
+ \comment{The letter `\'O'.}
+\endsetslot
+
+\setslot{\uctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^O'.}
+\endsetslot
+
+\setslot{\uctop{Otilde}{otilde}}
+ \comment{The letter `\~O'.}
+\endsetslot
+
+\setslot{\uctop{Odieresis}{odieresis}}
+ \comment{The letter `\"O'.}
+\endsetslot
+
+\setslot{multiply}
+ \comment{The multiplication sign `\texttimes'.}
+\endsetslot
+
+\setslot{\uc{Oslash}{oslash}}
+ \comment{The letter `\O'.}
+\endsetslot
+
+\setslot{\uctop{Ugrave}{ugrave}}
+ \comment{The letter `\`U'.}
+\endsetslot
+
+\setslot{\uctop{Uacute}{uacute}}
+ \comment{The letter `\'U'.}
+\endsetslot
+
+\setslot{\uctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^U'.}
+\endsetslot
+
+\setslot{\uctop{Udieresis}{udieresis}}
+ \comment{The letter `\"U'.}
+\endsetslot
+
+\setslot{\uctop{Yacute}{yacute}}
+ \comment{The letter `\'Y'.}
+\endsetslot
+
+\setslot{\uc{Thorn}{thorn}}
+ \comment{The Icelandic capital letter `Thorn', similar to a `P'
+ with the bowl moved down. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lc{SS}{germandbls}}
+ \comment{The letter `\ss'.}
+\endsetslot
+
+\setslot{\lctop{Agrave}{agrave}}
+ \comment{The letter `\`a'.}
+\endsetslot
+
+\setslot{\lctop{Aacute}{aacute}}
+ \comment{The letter `\'a'.}
+\endsetslot
+
+\setslot{\lctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^a'.}
+\endsetslot
+
+\setslot{\lctop{Atilde}{atilde}}
+ \comment{The letter `\~a'.}
+\endsetslot
+
+\setslot{\lctop{Adieresis}{adieresis}}
+ \comment{The letter `\"a'.}
+\endsetslot
+
+\setslot{\lctop{Aring}{aring}}
+ \comment{The letter `\aa'.}
+\endsetslot
+
+\setslot{\lc{AE}{ae}}
+ \comment{The letter `\ae'.
+ This is a single letter, and should not be faked with `ae'.}
+\endsetslot
+
+\setslot{\lc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c c'.}
+\endsetslot
+
+\setslot{\lctop{Egrave}{egrave}}
+ \comment{The letter `\`e'.}
+\endsetslot
+
+\setslot{\lctop{Eacute}{eacute}}
+ \comment{The letter `\'e'.}
+\endsetslot
+
+\setslot{\lctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^e'.}
+\endsetslot
+
+\setslot{\lctop{Edieresis}{edieresis}}
+ \comment{The letter `\"e'.}
+\endsetslot
+
+\setslot{\lctop{Igrave}{igrave}}
+ \comment{The letter `\`\i'.}
+\endsetslot
+
+\setslot{\lctop{Iacute}{iacute}}
+ \comment{The letter `\'\i'.}
+\endsetslot
+
+\setslot{\lctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^\i'.}
+\endsetslot
+
+\setslot{\lctop{Idieresis}{idieresis}}
+ \comment{The letter `\"\i'.}
+\endsetslot
+
+\setslot{\lc{Eth}{eth}}
+ \comment{The Icelandic lowercase letter `eth' similar to a
+ `$\partial$' with an oblique bar through the stem. It is
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ntilde}{ntilde}}
+ \comment{The letter `\~n'.}
+\endsetslot
+
+\setslot{\lctop{Ograve}{ograve}}
+ \comment{The letter `\`o'.}
+\endsetslot
+
+\setslot{\lctop{Oacute}{oacute}}
+ \comment{The letter `\'o'.}
+\endsetslot
+
+\setslot{\lctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^o'.}
+\endsetslot
+
+\setslot{\lctop{Otilde}{otilde}}
+ \comment{The letter `\~o'.}
+\endsetslot
+
+\setslot{\lctop{Odieresis}{odieresis}}
+ \comment{The letter `\"o'.}
+\endsetslot
+
+\setslot{divide}
+ \comment{The division sign `\textdiv'.}
+\endsetslot
+
+\setslot{\lc{Oslash}{oslash}}
+ \comment{The letter `\o'.}
+\endsetslot
+
+\setslot{\lctop{Ugrave}{ugrave}}
+ \comment{The letter `\`u'.}
+\endsetslot
+
+\setslot{\lctop{Uacute}{uacute}}
+ \comment{The letter `\'u'.}
+\endsetslot
+
+\setslot{\lctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^u'.}
+\endsetslot
+
+\setslot{\lctop{Udieresis}{udieresis}}
+ \comment{The letter `\"u'.}
+\endsetslot
+
+\setslot{\lctop{Yacute}{yacute}}
+ \comment{The letter `\'y'.}
+\endsetslot
+
+\setslot{\lc{Thorn}{thorn}}
+ \comment{The Icelandic lowercase letter `thorn', similar to a `p'
+ with an ascender rising from the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\"y'.}
+\endsetslot
+
+\endencoding
diff --git a/fonts/garamondx/src/makezgm b/fonts/garamondx/src/makezgm
new file mode 100755
index 0000000000..13cdbd6d22
--- /dev/null
+++ b/fonts/garamondx/src/makezgm
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+shopt -s extglob # enable extended globbing, eg, @(T|LY) matches either T or LY
+cd "~/Google Drive/Fontpkgs/GaramondNo8v3"
+cpy ?ewG8*.pfb ${tmfv}/fonts/type1/public/garamondx
+cpy ?ewG8*.pfb ../garamondx.tds/fonts/type1/public/garamondx
+cpy ?ewG8*.pfb ../garamondxf/garamondx/type1
+cpy zgmosfnums.enc ${tmfv}/fonts/enc/dvips/garamondx
+cpy zgmosfInums.enc ${tmfv}/fonts/enc/dvips/garamondx
+cpy zgmosfnums.enc ../garamondx.tds/fonts/enc/dvips/garamondx
+cpy zgmosfInums.enc ../garamondx.tds/fonts/enc/dvips/garamondx
+cpy zgmosfnums.enc ../garamondxf/garamondx/enc
+cpy zgmosfInums.enc ../garamondxf/garamondx/enc
+afm2tfm newG8-Osf-reg -T zgmosfnums.enc zgmr-digits
+afm2tfm newG8-Osf-reg -T zgmosfInums.enc zgmr-digitsI
+afm2tfm newG8-Osf-bol -T zgmosfInums.enc zgmb-digitsI
+afm2tfm newG8-Osf-bol -T zgmosfnums.enc zgmb-digits
+afm2tfm newG8-Osf-bolita -T zgmosfnums.enc zgmbi-digits
+afm2tfm newG8-Osf-bolita -T zgmosfInums.enc zgmbi-digitsI
+afm2tfm newG8-Osf-ita -T zgmosfInums.enc zgmri-digitsI
+afm2tfm newG8-Osf-ita -T zgmosfnums.enc zgmri-digits
+for f in zgm*-digits*.tfm; do tftopl $f ${f%.*}; done
+cpy zgm*-digits*.tfm ${tmfv}/fonts/tfm/public/garamondx
+cpy zgm*-digits*.tfm ../garamondx.tds/fonts/tfm/public/garamondx
+cpy zgm*-digits*.tfm ../garamondxf/garamondx/tfm
+tex zgm-drv
+for f in zgm*8@(r|y).pl; do pltotf $f ${f%.*}; done
+apply vptovf @(T|LY)1-*.vpl
+/bin/cp -fp @(T|LY)1*.tfm ${tmfv}/fonts/tfm/public/garamondx
+/bin/cp -fp @(T|LY)1*.vf ${tmfv}/fonts/vf/public/garamondx
+/bin/cp -fp @(T|LY)1*.tfm ../garamondx.tds/fonts/tfm/public/garamondx
+/bin/cp -fp @(T|LY)1*.vf ../garamondx.tds/fonts/vf/public/garamondx
+/bin/cp -fp @(T|LY)1*.tfm ../garamondxf/garamondx/tfm
+/bin/cp -fp @(T|LY)1*.vf ../garamondxf/garamondx/vf
+/bin/cp -fp zgm*8@(c|r|y).tfm ${tmfv}/fonts/tfm/public/garamondx
+/bin/cp -fp zgm*8@(c|r|y).tfm ../garamondx.tds/fonts/tfm/public/garamondx
+/bin/cp -fp zgm*8@(c|r|y).tfm ../garamondxf/garamondx/tfm
diff --git a/fonts/garamondx/src/swashQ.etx b/fonts/garamondx/src/swashQ.etx
new file mode 100644
index 0000000000..a168f3401e
--- /dev/null
+++ b/fonts/garamondx/src/swashQ.etx
@@ -0,0 +1,50 @@
+%Filename: swashQ.etx
+%Created by: tex zgm-finst
+%Created using: \enctoetx{swashQ}{swashQ}
+
+%This file contains the information of swashQ.enc in a form
+%more easily read by TeX. It is used by the fontinst package.
+
+%THIS FILE CAN BE DELETED.
+
+\relax
+
+\documentclass[twocolumn]{article}
+\usepackage{fontdoc}[2005/05/13]
+
+\begin{document}
+
+This document describes the swashQ encoding.
+It was automatically generated by the
+\texttt{fontinst} package.
+
+\encoding
+
+\needsfontinstversion{1.933}
+
+% REMOVE THE FOLLOWING LINE IF THIS FILE IS MODIFIED OR RENAMED.
+\declarepsencoding{swashQ}{swashQEncoding}{\download{swashQ.enc}}
+
+\nextslot{21}
+\setslot{endash}
+\endsetslot
+
+\setslot{emdash}
+\endsetslot
+
+\nextslot{81}
+\setslot{Q.swsh}
+\endsetslot
+
+\nextslot{141}
+\setslot{Eng}
+\endsetslot
+
+\nextslot{173}
+\setslot{eng}
+\endsetslot
+
+
+\endencoding
+
+\end{document}
diff --git a/fonts/garamondx/src/t1.etx b/fonts/garamondx/src/t1.etx
new file mode 100644
index 0000000000..e44ef1cdd1
--- /dev/null
+++ b/fonts/garamondx/src/t1.etx
@@ -0,0 +1,1478 @@
+%%% ====================================================================
+%%% @TeX-font-encoding-file{
+%%% author = "Alan Jeffrey and Sebastian Rahtz and
+%%% Ulrik Vieth and Lars Hellstr{\"o}m",
+%%% version = "1.932",
+%%% date = "2005-05-27",
+%%% time = "16:17:50 +02:00",
+%%% filename = "t1.etx",
+%%% email = "fontinst@tug.org",
+%%% URL = "http://tug.org/applications/fontinst/",
+%%% checksum = "",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "encoding, TeX, PostScript",
+%%% supported = "yes",
+%%% abstract = "This is the T1 encoding as a TeX font encoding
+%%% file, for use with the fontinst utility.
+%%% It implements the TeX extended text encoding.",
+%%% package = "fontinst",
+%%% dependencies = "fontinst.sty, fontdoc.sty",
+%%% }
+%%% ====================================================================
+
+\relax
+
+\documentclass[twocolumn]{article}
+\usepackage[TS1,T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{fontdoc}
+
+\showbranches
+
+\title{The \TeX\ extended text encoding vector}
+\author{Alan Jeffrey\and Sebastian Rahtz\and Ulrik Vieth\and
+ Lars Hellstr\"om}
+\date{26 October 2002\\Version 1.923}
+
+
+\begin{document}
+
+\maketitle
+
+\section{Introduction}
+
+This document describes the Cork (\texttt{T1}) text encoding.
+
+The following macros play an important role in this file, since they
+are involved in determining the names of most glyphs that will be put
+in some slot.
+\begin{itemize}
+\item
+ \verb|\lc{A}{a}| should return the name of a lower-case
+ glyph, for example `\texttt{a}' or `\texttt{Asmall}'.
+\item
+ \verb|\uc{A}{a}| should return the name of an upper-case
+ glyph, for example `\texttt{A}' or `\texttt{Amedium}'.
+\item
+ \verb|\lctop{Aacute}{aacute}| should return the name of a
+ lower-case composite glyph formed from putting a diacritical above
+ a letter, for example `\texttt{aacute}' or `\texttt{Aacutesmall}'.
+\item
+ \verb|\uctop{Aacute}{aacute}| should return the name of an
+ upper-case composite glyph formed from putting a diacritical above
+ a letter, for example `\texttt{Aacute}' or `\texttt{Aacutemedium}'.
+\item
+ \verb|\lclig{FI}{fi}| should return the name of a lower-case
+ ligature, for example `\texttt{fi}' or `\texttt{FIsmall}'.
+\item
+ \verb|\uclig{FI}{fi}| should return the name of an upper-case
+ ligature, for example `\texttt{FI}' or `\texttt{FImedium}'.
+\item
+ \verb|\digit{zero}| should return the name of a digit, for
+ example `\texttt{zero}' or `\texttt{zerooldstyle}'.
+\end{itemize}
+By explicitly defining them, the encoding can (to some extent) be
+customised. All these macros should expand in the mouth,
+otherwise you may get error messages!
+
+For example, to get the standard upper and lower case font (which is
+the default), you should define:
+\begin{verbatim}
+ \setcommand\lc#1#2{#2}
+ \setcommand\uc#1#2{#1}
+ \setcommand\lctop#1#2{#2}
+ \setcommand\uctop#1#2{#1}
+ \setcommand\lclig#1#2{#2}
+ \setcommand\uclig#1#2{#1}
+ \setcommand\digit#1{#1}
+\end{verbatim}
+To get a caps and small caps font with old style digits and letter
+spacing, you should define:
+\begin{verbatim}
+ \setcommand\lc#1#2{#1small}
+ \setcommand\uc#1#2{#1}
+ \setcommand\lctop#1#2{#1small}
+ \setcommand\uctop#1#2{#1}
+ \setcommand\lclig#1#2{#2small}
+ \setcommand\uclig#1#2{#1spaced}
+ \setcommand\digit#1{#1oldstyle}
+\end{verbatim}
+To get an all-caps font with medium-cap composite letters and letter
+spacing, you should define:
+\begin{verbatim}
+ \setcommand\lc#1#2{#1}
+ \setcommand\uc#1#2{#1}
+ \setcommand\lctop#1#2{#1medium}
+ \setcommand\uctop#1#2{#1medium}
+ \setcommand\lclig#1#2{#1spaced}
+ \setcommand\uclig#1#2{#1spaced}
+ \setcommand\digit#1{#1}
+\end{verbatim}
+In this document, the glyph names shown are for the upper and
+lower case variant.
+
+Another important parameter is the integer variable \textit{ligaturing},
+which controls to what extent (non-mandatory) ligatures are made. The
+value of this variable is interpreted as follows:
+\begin{enumerate}
+ \item[$1$]
+ All the standard ligature glyphs (\texttt{fi}, \texttt{fl},
+ \texttt{ff}, \texttt{ffi}, \texttt{ffl}, \texttt{IJ}, and
+ \texttt{ij}) are included and the normal ligaturing instructions
+ (those for the \texttt{f}-ligatures) are included.
+ \item[$0$]
+ All the standard ligature glyphs are included, but none of their
+ ligaturing instructions.
+ \item[$-1$]
+ The seven slots normally used for ligatures are left empty.
+ \item[$-2$]
+ The seven slots normally used for ligatures are left empty, as
+ are the slots normally used for \texttt{c}, \texttt{f},
+ \texttt{s}, \texttt{i}, and \texttt{I}.
+\end{enumerate}
+The default value is $0$ for monowidth or letterspaced fonts (because
+the ligature glyphs in such fonts are often useless, or at least not
+looking right) and $1$ otherwise. The negative values are useful when
+making fonts with a nonstandard set of ligatures; the idea is that
+some other (smaller) encoding file should set these remaining slots.
+
+
+\encoding
+
+\needsfontinstversion{1.910}
+
+
+\begincomment
+\section{Default values}
+\endcomment
+
+\setcommand\lc#1#2{#2}
+\setcommand\uc#1#2{#1}
+\setcommand\lctop#1#2{#2}
+\setcommand\uctop#1#2{#1}
+\setcommand\lclig#1#2{#2}
+\ifisint{letterspacing}\then
+ \ifnumber{\int{letterspacing}}={0}\then \Else
+ \setcommand\uclig#1#2{#1spaced}
+ \comment{Here we set \verb|\uclig#1#2| to \verb|#1spaced|, but
+ you can't see it as \verb|\setcommand| commands are invisible in
+ the typeset output.}
+ \Fi
+\Fi
+\setcommand\uclig#1#2{#1}
+\setcommand\digit#1{#1}
+
+
+\ifisint{monowidth}\then
+ \setint{ligaturing}{0}
+\Else
+ % The following empty line is *important* to get the formatting
+ % right here (sigh)! (Remember that it is a \par token.)
+
+ \ifisint{letterspacing}\then
+ \ifnumber{\int{letterspacing}}={0}\then \Else
+ \setint{ligaturing}{0}
+ \Fi
+ \Fi
+ \setint{ligaturing}{1}
+\Fi
+
+
+\comment{The remaining code in this section sets various metric
+parameters for the font. Ideally, all these parameters should already
+have been set; the values computed here are merely crude guesses
+about what might be the right value.}
+
+\setint{italicslant}{0}
+\setint{quad}{1000}
+\setint{baselineskip}{1200}
+
+\ifisglyph{x}\then
+ \setint{xheight}{\height{x}}
+\Else
+ \setint{xheight}{500}
+\Fi
+
+\ifisglyph{space}\then
+ \setint{interword}{\width{space}}
+\Else\ifisglyph{i}\then
+ \setint{interword}{\width{i}}
+\Else
+ \setint{interword}{333}
+\Fi\Fi
+
+\ifisint{monowidth}\then
+ \setint{stretchword}{0}
+ \setint{shrinkword}{0}
+ \setint{extraspace}{\int{interword}}
+\Else
+ \setint{stretchword}{\scale{\int{interword}}{600}}
+ \setint{shrinkword}{\scale{\int{interword}}{240}}
+ \setint{extraspace}{\scale{\int{interword}}{240}}
+\Fi
+
+% added by Thierry Bouche <Thierry.Bouche@ujf-grenoble.fr>
+% 1997/02/07 to calculate values for extra EC fontdimens
+% Amended by SPQR 1997/02/09
+\ifisglyph{X}\then
+ \setint{capheight}{\height{X}}
+\Else
+ \setint{capheight}{750}
+\Fi
+
+\ifisglyph{d}\then
+ \setint{ascender}{\height{d}}
+\Else\ifisint{capheight}\then
+ \setint{ascender}{\int{capheight}}
+\Else
+ \setint{ascender}{750}
+\Fi\Fi
+
+\ifisglyph{Aring}\then
+ \setint{acccapheight}{\height{Aring}}
+\Else
+ \setint{acccapheight}{999}
+\Fi
+
+\ifisint{descender_neg}\then
+ \setint{descender}{\neg{\int{descender_neg}}}
+\Else\ifisglyph{p}\then
+ \setint{descender}{\depth{p}}
+\Else
+ \setint{descender}{250}
+\Fi\Fi
+
+\ifisglyph{Aring}\then
+ \setint{maxheight}{\height{Aring}}
+\Else
+ \setint{maxheight}{1000}
+\Fi
+
+\ifisint{maxdepth_neg}\then
+ \setint{maxdepth}{\neg{\int{maxdepth_neg}}}
+\Else\ifisglyph{j}\then
+ \setint{maxdepth}{\depth{j}}
+\Else
+ \setint{maxdepth}{250}
+\Fi\Fi
+
+\ifisglyph{six}\then
+ \setint{digitwidth}{\width{six}}
+\Else
+ \setint{digitwidth}{500}
+\Fi
+
+\setint{capstem}{0} % not in AFM files
+% end changes by Thierry
+
+
+\begincomment
+\section{Font parameters}
+\endcomment
+
+\setfontdimen{1}{italicslant} % italic slant
+\setfontdimen{2}{interword} % interword space
+\setfontdimen{3}{stretchword} % interword stretch
+\setfontdimen{4}{shrinkword} % interword shrink
+\setfontdimen{5}{xheight} % x-height
+\setfontdimen{6}{quad} % quad
+\setfontdimen{7}{extraspace} % extra space after .
+\setfontdimen{8}{capheight} % cap height
+\setfontdimen{9}{ascender} % ascender
+\setfontdimen{10}{acccapheight} % accented cap height
+\setfontdimen{11}{descender} % descender's depth
+\setfontdimen{12}{maxheight} % max height
+\setfontdimen{13}{maxdepth} % max depth
+\setfontdimen{14}{digitwidth} % digit width
+\setfontdimen{15}{verticalstem} % dominant width of verical stems
+\setfontdimen{16}{baselineskip} % baselineskip
+
+\ifnumber{\int{ligaturing}}<{0}\then
+ \comment{In this case, the codingscheme can be different from the
+ default, and therefore we refrain from setting it.}
+\Else
+ \setstr{codingscheme}{EXTENDED TEX FONT ENCODING - LATIN}
+\Fi
+
+
+
+\begincomment
+\section{The encoding}
+There are 256 glyphs in this encoding.
+\endcomment
+
+\setslot{\lc{Grave}{grave}}
+ \comment{The grave accent `\`{}'.}
+\endsetslot
+
+\setslot{\lc{Acute}{acute}}
+ \comment{The acute accent `\'{}'.}
+\endsetslot
+
+\setslot{\lc{Circumflex}{circumflex}}
+ \comment{The circumflex accent `\^{}'.}
+\endsetslot
+
+\setslot{\lc{Tilde}{tilde}}
+ \comment{The tilde accent `\~{}'.}
+\endsetslot
+
+\setslot{\lc{Dieresis}{dieresis}}
+ \comment{The umlaut or dieresis accent `\"{}'.}
+\endsetslot
+
+\setslot{\lc{Hungarumlaut}{hungarumlaut}}
+ \comment{The long Hungarian umlaut `\H{}'.}
+\endsetslot
+
+\setslot{\lc{Ring}{ring}}
+ \comment{The ring accent `\r{}'.}
+\endsetslot
+
+\setslot{\lc{Caron}{caron}}
+ \comment{The caron or h\'a\v cek accent `\v{}'.}
+\endsetslot
+
+\setslot{\lc{Breve}{breve}}
+ \comment{The breve accent `\u{}'.}
+\endsetslot
+
+\setslot{\lc{Macron}{macron}}
+ \comment{The macron accent `\={}'.}
+\endsetslot
+
+\setslot{\lc{Dotaccent}{dotaccent}}
+ \comment{The dot accent `\.{}'.}
+\endsetslot
+
+\setslot{\lc{Cedilla}{cedilla}}
+ \comment{The cedilla accent `\c {}'.}
+\endsetslot
+
+\setslot{\lc{Ogonek}{ogonek}}
+ \comment{The ogonek accent `\k {}'.}
+\endsetslot
+
+\setslot{quotesinglbase}
+ \comment{A German single quote mark `\quotesinglbase' similar to a comma,
+ but with different sidebearings.}
+\endsetslot
+
+\setslot{guilsinglleft}
+ \comment{A French single opening quote mark `\guilsinglleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{guilsinglright}
+ \comment{A French single closing quote mark `\guilsinglright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{quotedblleft}
+ \comment{The English opening quote mark `\,\textquotedblleft\,'.}
+\endsetslot
+
+\setslot{quotedblright}
+ \comment{The English closing quote mark `\,\textquotedblright\,'.}
+\endsetslot
+
+\setslot{quotedblbase}
+ \comment{A German double quote mark `\quotedblbase' similar to two commas,
+ but with tighter letterspacing and different sidebearings.}
+\endsetslot
+
+\setslot{guillemotleft}
+ \comment{A French double opening quote mark `\guillemotleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{guillemotright}
+ \comment{A French closing opening quote mark `\guillemotright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{rangedash}
+ \ligature{LIG}{hyphen}{punctdash}
+ \comment{The number range dash `1--9'. In a monowidth font, this
+ might be set as `\texttt{1{-}9}'.}
+\endsetslot
+
+\setslot{punctdash}
+ \comment{The punctuation dash `Oh---boy.' In a monowidth font, this
+ might be set as `\texttt{Oh{-}{-}boy.}'}
+\endsetslot
+
+\setslot{compwordmark}
+ \comment{An invisible glyph, with zero width and depth, but the
+ height of lowercase letters without ascenders.
+ It is used to stop ligaturing in words like `shelf{}ful'.}
+\endsetslot
+
+\setslot{perthousandzero}
+ \comment{A glyph which is placed after `\%' to produce a
+ `per-thousand', or twice to produce `per-ten-thousand'.
+ Your guess is as good as mine as to what this glyph should look
+ like in a monowidth font.}
+\endsetslot
+
+\setslot{\lc{dotlessI}{dotlessi}}
+ \comment{A dotless i `\i', used to produce accented letters such as
+ `\=\i'.}
+\endsetslot
+
+\setslot{\lc{dotlessJ}{dotlessj}}
+ \comment{A dotless j `\j', used to produce accented letters such as
+ `\=\j'. Most non-\TeX\ fonts do not have this glyph.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{0}\then \skipslots{5}\Else
+
+\setslot{\lclig{FF}{ff}}
+ \ifnumber{\int{ligaturing}}>{0}\then
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FFI}{ffi}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FFL}{ffl}}
+ \Fi
+ \comment{The `ff' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FI}{fi}}
+ \comment{The `fi' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FL}{fl}}
+ \comment{The `fl' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FFI}{ffi}}
+ \comment{The `ffi' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FFL}{ffl}}
+ \comment{The `ffl' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\Fi
+
+\setslot{visiblespace}
+ \comment{A visible space glyph `\textvisiblespace'.}
+\endsetslot
+
+\setslot{exclam}
+ \ligature{LIG}{quoteleft}{exclamdown}
+ \comment{The exclamation mark `!'.}
+\endsetslot
+
+\setslot{quotedbl}
+ \comment{The `neutral' double quotation mark `\,\textquotedbl\,',
+ included for use in monowidth fonts, or for setting computer
+ programs. Note that the inclusion of this glyph in this slot
+ means that \TeX\ documents which used `{\tt\char`\"}' as an
+ input character will no longer work.}
+\endsetslot
+
+\setslot{numbersign}
+ \comment{The hash sign `\#'.}
+\endsetslot
+
+\setslot{dollar}
+ \comment{The dollar sign `\$'.}
+\endsetslot
+
+\setslot{percent}
+ \comment{The percent sign `\%'.}
+\endsetslot
+
+\setslot{ampersand}
+ \comment{The ampersand sign `\&'.}
+\endsetslot
+
+\setslot{quoteright}
+ \ligature{LIG}{quoteright}{quotedblright}
+ \comment{The English closing single quote mark `\,\textquoteright\,'.}
+\endsetslot
+
+\setslot{parenleft}
+ \comment{The opening parenthesis `('.}
+\endsetslot
+
+\setslot{parenright}
+ \comment{The closing parenthesis `)'.}
+\endsetslot
+
+\setslot{asterisk}
+ \comment{The raised asterisk `*'.}
+\endsetslot
+
+\setslot{plus}
+ \comment{The addition sign `+'.}
+\endsetslot
+
+\setslot{comma}
+ \ligature{LIG}{comma}{quotedblbase}
+ \comment{The comma `,'.}
+\endsetslot
+
+\setslot{hyphen}
+ \ligature{LIG}{hyphen}{rangedash}
+ \ligature{LIG}{hyphenchar}{hyphenchar}
+ \comment{The hyphen `-'.}
+\endsetslot
+
+\setslot{period}
+ \comment{The period `.'.}
+\endsetslot
+
+\setslot{slash}
+ \comment{The forward oblique `/'.}
+\endsetslot
+
+\setslot{\digit{zero}}
+ \comment{The number `0'. This (and all the other numerals) may be
+ old style or ranging digits.}
+\endsetslot
+
+\setslot{\digit{one}}
+ \comment{The number `1'.}
+\endsetslot
+
+\setslot{\digit{two}}
+ \comment{The number `2'.}
+\endsetslot
+
+\setslot{\digit{three}}
+ \comment{The number `3'.}
+\endsetslot
+
+\setslot{\digit{four}}
+ \comment{The number `4'.}
+\endsetslot
+
+\setslot{\digit{five}}
+ \comment{The number `5'.}
+\endsetslot
+
+\setslot{\digit{six}}
+ \comment{The number `6'.}
+\endsetslot
+
+\setslot{\digit{seven}}
+ \comment{The number `7'.}
+\endsetslot
+
+\setslot{\digit{eight}}
+ \comment{The number `8'.}
+\endsetslot
+
+\setslot{\digit{nine}}
+ \comment{The number `9'.}
+\endsetslot
+
+\setslot{colon}
+ \comment{The colon punctuation mark `:'.}
+\endsetslot
+
+\setslot{semicolon}
+ \comment{The semi-colon punctuation mark `;'.}
+\endsetslot
+
+\setslot{less}
+ \ligature{LIG}{less}{guillemotleft}
+ \comment{The less-than sign `\textless'.}
+\endsetslot
+
+\setslot{equal}
+ \comment{The equals sign `='.}
+\endsetslot
+
+\setslot{greater}
+ \ligature{LIG}{greater}{guillemotright}
+ \comment{The greater-than sign `\textgreater'.}
+\endsetslot
+
+\setslot{question}
+ \ligature{LIG}{quoteleft}{questiondown}
+ \comment{The question mark `?'.}
+\endsetslot
+
+\setslot{at}
+ \comment{The at sign `@'.}
+\endsetslot
+
+\setslot{\uc{A}{a}}
+ \comment{The letter `{A}'.}
+\endsetslot
+
+\setslot{\uc{B}{b}}
+ \comment{The letter `{B}'.}
+\endsetslot
+
+\setslot{\uc{C}{c}}
+ \comment{The letter `{C}'.}
+\endsetslot
+
+\setslot{\uc{D}{d}}
+ \comment{The letter `{D}'.}
+\endsetslot
+
+\setslot{\uc{E}{e}}
+ \comment{The letter `{E}'.}
+\endsetslot
+
+\setslot{\uc{F}{f}}
+ \comment{The letter `{F}'.}
+\endsetslot
+
+\setslot{\uc{G}{g}}
+ \comment{The letter `{G}'.}
+\endsetslot
+
+\setslot{\uc{H}{h}}
+ \comment{The letter `{H}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+\setslot{\uc{I}{i}}
+ \comment{The letter `{I}'.}
+\endsetslot
+
+\Fi
+
+\setslot{\uc{J}{j}}
+ \comment{The letter `{J}'.}
+\endsetslot
+
+\setslot{\uc{K}{k}}
+ \comment{The letter `{K}'.}
+\endsetslot
+
+\setslot{\uc{L}{l}}
+ \comment{The letter `{L}'.}
+\endsetslot
+
+\setslot{\uc{M}{m}}
+ \comment{The letter `{M}'.}
+\endsetslot
+
+\setslot{\uc{N}{n}}
+ \comment{The letter `{N}'.}
+\endsetslot
+
+\setslot{\uc{O}{o}}
+ \comment{The letter `{O}'.}
+\endsetslot
+
+\setslot{\uc{P}{p}}
+ \comment{The letter `{P}'.}
+\endsetslot
+
+\setslot{\uc{Q}{q}}
+ \comment{The letter `{Q}'.}
+\endsetslot
+
+\setslot{\uc{R}{r}}
+ \comment{The letter `{R}'.}
+\endsetslot
+
+\setslot{\uc{S}{s}}
+ \comment{The letter `{S}'.}
+\endsetslot
+
+\setslot{\uc{T}{t}}
+ \comment{The letter `{T}'.}
+\endsetslot
+
+\setslot{\uc{U}{u}}
+ \comment{The letter `{U}'.}
+\endsetslot
+
+\setslot{\uc{V}{v}}
+ \comment{The letter `{V}'.}
+\endsetslot
+
+\setslot{\uc{W}{w}}
+ \comment{The letter `{W}'.}
+\endsetslot
+
+\setslot{\uc{X}{x}}
+ \comment{The letter `{X}'.}
+\endsetslot
+
+\setslot{\uc{Y}{y}}
+ \comment{The letter `{Y}'.}
+\endsetslot
+
+\setslot{\uc{Z}{z}}
+ \comment{The letter `{Z}'.}
+\endsetslot
+
+\setslot{bracketleft}
+ \comment{The opening square bracket `['.}
+\endsetslot
+
+\setslot{backslash}
+ \comment{The backwards oblique `\textbackslash'.}
+\endsetslot
+
+\setslot{bracketright}
+ \comment{The closing square bracket `]'.}
+\endsetslot
+
+\setslot{asciicircum}
+ \comment{The ASCII upward-pointing arrow head `\textasciicircum'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{underscore}
+ \comment{The ASCII underline character `\textunderscore', usually
+ set on the baseline.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{quoteleft}
+ \ligature{LIG}{quoteleft}{quotedblleft}
+ \comment{The English opening single quote mark `\,\textquoteleft\,'.}
+\endsetslot
+
+\setslot{\lc{A}{a}}
+ \comment{The letter `{a}'.}
+\endsetslot
+
+\setslot{\lc{B}{b}}
+ \comment{The letter `{b}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{C}{c}}
+ \comment{The letter `{c}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{D}{d}}
+ \comment{The letter `{d}'.}
+\endsetslot
+
+\setslot{\lc{E}{e}}
+ \comment{The letter `{e}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{F}{f}}
+ \ifnumber{\int{ligaturing}}>{0}\then
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FI}{fi}}
+ \ligature{LIG}{\lc{F}{f}}{\lclig{FF}{ff}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FL}{fl}}
+ \Fi
+ \comment{The letter `{f}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{G}{g}}
+ \comment{The letter `{g}'.}
+\endsetslot
+
+\setslot{\lc{H}{h}}
+ \comment{The letter `{h}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{I}{i}}
+ \comment{The letter `{i}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{J}{j}}
+ \comment{The letter `{j}'.}
+\endsetslot
+
+\setslot{\lc{K}{k}}
+ \comment{The letter `{k}'.}
+\endsetslot
+
+\setslot{\lc{L}{l}}
+ \comment{The letter `{l}'.}
+\endsetslot
+
+\setslot{\lc{M}{m}}
+ \comment{The letter `{m}'.}
+\endsetslot
+
+\setslot{\lc{N}{n}}
+ \comment{The letter `{n}'.}
+\endsetslot
+
+\setslot{\lc{O}{o}}
+ \comment{The letter `{o}'.}
+\endsetslot
+
+\setslot{\lc{P}{p}}
+ \comment{The letter `{p}'.}
+\endsetslot
+
+\setslot{\lc{Q}{q}}
+ \comment{The letter `{q}'.}
+\endsetslot
+
+\setslot{\lc{R}{r}}
+ \comment{The letter `{r}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{S}{s}}
+ \comment{The letter `{s}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{T}{t}}
+ \comment{The letter `{t}'.}
+\endsetslot
+
+\setslot{\lc{U}{u}}
+ \comment{The letter `{u}'.}
+\endsetslot
+
+\setslot{\lc{V}{v}}
+ \comment{The letter `{v}'.}
+\endsetslot
+
+\setslot{\lc{W}{w}}
+ \comment{The letter `{w}'.}
+\endsetslot
+
+\setslot{\lc{X}{x}}
+ \comment{The letter `{x}'.}
+\endsetslot
+
+\setslot{\lc{Y}{y}}
+ \comment{The letter `{y}'.}
+\endsetslot
+
+\setslot{\lc{Z}{z}}
+ \comment{The letter `{z}'.}
+\endsetslot
+
+\setslot{braceleft}
+ \comment{The opening curly brace `\textbraceleft'.}
+\endsetslot
+
+\setslot{bar}
+ \comment{The ASCII vertical bar `\textbar'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{braceright}
+ \comment{The closing curly brace `\textbraceright'.}
+\endsetslot
+
+\setslot{asciitilde}
+ \comment{The ASCII tilde `\textasciitilde'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{hyphenchar}
+ \comment{The glyph used for hyphenation in this font, which will
+ almost always be the same as `hyphen'.}
+\endsetslot
+
+\setslot{\uctop{Abreve}{abreve}}
+ \comment{The letter `\u A'.}
+\endsetslot
+
+\setslot{\uc{Aogonek}{aogonek}}
+ \comment{The letter `\k A'.}
+\endsetslot
+
+\setslot{\uctop{Cacute}{cacute}}
+ \comment{The letter `\' C'.}
+\endsetslot
+
+\setslot{\uctop{Ccaron}{ccaron}}
+ \comment{The letter `\v C'.}
+\endsetslot
+
+\setslot{\uctop{Dcaron}{dcaron}}
+ \comment{The letter `\v D'.}
+\endsetslot
+
+\setslot{\uctop{Ecaron}{ecaron}}
+ \comment{The letter `\v E'.}
+\endsetslot
+
+\setslot{\uc{Eogonek}{eogonek}}
+ \comment{The letter `\k E'.}
+\endsetslot
+
+\setslot{\uctop{Gbreve}{gbreve}}
+ \comment{The letter `\u G'.}
+\endsetslot
+
+\setslot{\uctop{Lacute}{lacute}}
+ \comment{The letter `\' L'.}
+\endsetslot
+
+\setslot{\uc{Lcaron}{lcaron}}
+ \comment{The letter `\v L'.}
+\endsetslot
+
+\setslot{\uc{Lslash}{lslash}}
+ \comment{The letter `\L'.}
+\endsetslot
+
+\setslot{\uctop{Nacute}{nacute}}
+ \comment{The letter `\' N'.}
+\endsetslot
+
+\setslot{\uctop{Ncaron}{ncaron}}
+ \comment{The letter `\v N'.}
+\endsetslot
+
+\setslot{\uc{Ng}{ng}}
+ \comment{The Sami letter `\NG'. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uctop{Ohungarumlaut}{ohungarumlaut}}
+ \comment{The letter `\H O'.}
+\endsetslot
+
+\setslot{\uctop{Racute}{racute}}
+ \comment{The letter `\' R'.}
+\endsetslot
+
+\setslot{\uctop{Rcaron}{rcaron}}
+ \comment{The letter `\v R'.}
+\endsetslot
+
+\setslot{\uctop{Sacute}{sacute}}
+ \comment{The letter `\' S'.}
+\endsetslot
+
+\setslot{\uctop{Scaron}{scaron}}
+ \comment{The letter `\v S'.}
+\endsetslot
+
+\setslot{\uc{Scedilla}{scedilla}}
+ \comment{The letter `\c S'.}
+\endsetslot
+
+\setslot{\uctop{Tcaron}{tcaron}}
+ \comment{The letter `\v T'.}
+\endsetslot
+
+\setslot{\uc{Tcedilla}{tcedilla}}
+ \comment{The letter `\c T'.}
+\endsetslot
+
+\setslot{\uctop{Uhungarumlaut}{uhungarumlaut}}
+ \comment{The letter `\H U'.}
+\endsetslot
+
+\setslot{\uctop{Uring}{uring}}
+ \comment{The letter `\r U'.}
+\endsetslot
+
+\setslot{\uctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\" Y'.}
+\endsetslot
+
+\setslot{\uctop{Zacute}{zacute}}
+ \comment{The letter `\' Z'.}
+\endsetslot
+
+\setslot{\uctop{Zcaron}{zcaron}}
+ \comment{The letter `\v Z'.}
+\endsetslot
+
+\setslot{\uctop{Zdotaccent}{zdotaccent}}
+ \comment{The letter `\. Z'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else
+
+ \setslot{\uclig{IJ}{ij}}
+ \comment{The letter `IJ'. This is a single letter, and in a
+ monowidth font should ideally be one letter wide.}
+ \endsetslot
+
+\Fi
+
+\setslot{\uctop{Idotaccent}{idotaccent}}
+ \comment{The letter `\. I'.}
+\endsetslot
+
+\setslot{\lc{Dbar}{dbar}}
+ \comment{The letter `\dj'.}
+\endsetslot
+
+\setslot{section}
+ \comment{The section mark `\textsection'.}
+\endsetslot
+
+\setslot{\lctop{Abreve}{abreve}}
+ \comment{The letter `\u a'.}
+\endsetslot
+
+\setslot{\lc{Aogonek}{aogonek}}
+ \comment{The letter `\k a'.}
+\endsetslot
+
+\setslot{\lctop{Cacute}{cacute}}
+ \comment{The letter `\' c'.}
+\endsetslot
+
+\setslot{\lctop{Ccaron}{ccaron}}
+ \comment{The letter `\v c'.}
+\endsetslot
+
+\setslot{\lctop{Dcaron}{dcaron}}
+ \comment{The letter `\v d'.}
+\endsetslot
+
+\setslot{\lctop{Ecaron}{ecaron}}
+ \comment{The letter `\v e'.}
+\endsetslot
+
+\setslot{\lc{Eogonek}{eogonek}}
+ \comment{The letter `\k e'.}
+\endsetslot
+
+\setslot{\lctop{Gbreve}{gbreve}}
+ \comment{The letter `\u g'.}
+\endsetslot
+
+\setslot{\lctop{Lacute}{lacute}}
+ \comment{The letter `\' l'.}
+\endsetslot
+
+\setslot{\lc{Lcaron}{lcaron}}
+ \comment{The letter `\v l'.}
+\endsetslot
+
+\setslot{\lc{Lslash}{lslash}}
+ \comment{The letter `\l'.}
+\endsetslot
+
+\setslot{\lctop{Nacute}{nacute}}
+ \comment{The letter `\' n'.}
+\endsetslot
+
+\setslot{\lctop{Ncaron}{ncaron}}
+ \comment{The letter `\v n'.}
+\endsetslot
+
+\setslot{\lc{Ng}{ng}}
+ \comment{The Sami letter `\ng'. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ohungarumlaut}{ohungarumlaut}}
+ \comment{The letter `\H o'.}
+\endsetslot
+
+\setslot{\lctop{Racute}{racute}}
+ \comment{The letter `\' r'.}
+\endsetslot
+
+\setslot{\lctop{Rcaron}{rcaron}}
+ \comment{The letter `\v r'.}
+\endsetslot
+
+\setslot{\lctop{Sacute}{sacute}}
+ \comment{The letter `\' s'.}
+\endsetslot
+
+\setslot{\lctop{Scaron}{scaron}}
+ \comment{The letter `\v s'.}
+\endsetslot
+
+\setslot{\lc{Scedilla}{scedilla}}
+ \comment{The letter `\c s'.}
+\endsetslot
+
+\setslot{\lctop{Tcaron}{tcaron}}
+ \comment{The letter `\v t'.}
+\endsetslot
+
+\setslot{\lc{Tcedilla}{tcedilla}}
+ \comment{The letter `\c t'.}
+\endsetslot
+
+\setslot{\lctop{Uhungarumlaut}{uhungarumlaut}}
+ \comment{The letter `\H u'.}
+\endsetslot
+
+\setslot{\lctop{Uring}{uring}}
+ \comment{The letter `\r u'.}
+\endsetslot
+
+\setslot{\lctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\" y'.}
+\endsetslot
+
+\setslot{\lctop{Zacute}{zacute}}
+ \comment{The letter `\' z'.}
+\endsetslot
+
+\setslot{\lctop{Zcaron}{zcaron}}
+ \comment{The letter `\v z'.}
+\endsetslot
+
+\setslot{\lctop{Zdotaccent}{zdotaccent}}
+ \comment{The letter `\. z'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else
+
+ \setslot{\lclig{IJ}{ij}}
+ \comment{The letter `ij'. This is a single letter, and in a
+ monowidth font should ideally be one letter wide.}
+ \endsetslot
+
+\Fi
+
+\setslot{exclamdown}
+ \comment{The Spanish punctuation mark `!`'.}
+\endsetslot
+
+\setslot{questiondown}
+ \comment{The Spanish punctuation mark `?`'.}
+\endsetslot
+
+\setslot{sterling}
+ \comment{The British currency mark `\textsterling'.}
+\endsetslot
+
+\setslot{\uctop{Agrave}{agrave}}
+ \comment{The letter `\` A'.}
+\endsetslot
+
+\setslot{\uctop{Aacute}{aacute}}
+ \comment{The letter `\' A'.}
+\endsetslot
+
+\setslot{\uctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^ A'.}
+\endsetslot
+
+\setslot{\uctop{Atilde}{atilde}}
+ \comment{The letter `\~ A'.}
+\endsetslot
+
+\setslot{\uctop{Adieresis}{adieresis}}
+ \comment{The letter `\" A'.}
+\endsetslot
+
+\setslot{\uctop{Aring}{aring}}
+ \comment{The letter `\r A'.}
+\endsetslot
+
+\setslot{\uc{AE}{ae}}
+ \comment{The letter `\AE'. This is a single letter, and should not be
+ faked with `AE'.}
+\endsetslot
+
+\setslot{\uc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c C'.}
+\endsetslot
+
+\setslot{\uctop{Egrave}{egrave}}
+ \comment{The letter `\` E'.}
+\endsetslot
+
+\setslot{\uctop{Eacute}{eacute}}
+ \comment{The letter `\' E'.}
+\endsetslot
+
+\setslot{\uctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^ E'.}
+\endsetslot
+
+\setslot{\uctop{Edieresis}{edieresis}}
+ \comment{The letter `\" E'.}
+\endsetslot
+
+\setslot{\uctop{Igrave}{igrave}}
+ \comment{The letter `\` I'.}
+\endsetslot
+
+\setslot{\uctop{Iacute}{iacute}}
+ \comment{The letter `\' I'.}
+\endsetslot
+
+\setslot{\uctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^ I'.}
+\endsetslot
+
+\setslot{\uctop{Idieresis}{idieresis}}
+ \comment{The letter `\" I'.}
+\endsetslot
+
+\setslot{\uc{Eth}{eth}}
+ \comment{The uppercase Icelandic letter `Eth' similar to a `D'
+ with a horizontal bar through the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uctop{Ntilde}{ntilde}}
+ \comment{The letter `\~ N'.}
+\endsetslot
+
+\setslot{\uctop{Ograve}{ograve}}
+ \comment{The letter `\` O'.}
+\endsetslot
+
+\setslot{\uctop{Oacute}{oacute}}
+ \comment{The letter `\' O'.}
+\endsetslot
+
+\setslot{\uctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^ O'.}
+\endsetslot
+
+\setslot{\uctop{Otilde}{otilde}}
+ \comment{The letter `\~ O'.}
+\endsetslot
+
+\setslot{\uctop{Odieresis}{odieresis}}
+ \comment{The letter `\" O'.}
+\endsetslot
+
+\setslot{\uc{OE}{oe}}
+ \comment{The letter `\OE'. This is a single letter, and should not be
+ faked with `OE'.}
+\endsetslot
+
+\setslot{\uc{Oslash}{oslash}}
+ \comment{The letter `\O'.}
+\endsetslot
+
+\setslot{\uctop{Ugrave}{ugrave}}
+ \comment{The letter `\` U'.}
+\endsetslot
+
+\setslot{\uctop{Uacute}{uacute}}
+ \comment{The letter `\' U'.}
+\endsetslot
+
+\setslot{\uctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^ U'.}
+\endsetslot
+
+\setslot{\uctop{Udieresis}{udieresis}}
+ \comment{The letter `\" U'.}
+\endsetslot
+
+\setslot{\uctop{Yacute}{yacute}}
+ \comment{The letter `\' Y'.}
+\endsetslot
+
+\setslot{\uc{Thorn}{thorn}}
+ \comment{The Icelandic capital letter Thorn, similar to a `P'
+ with the bowl moved down. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uclig{SS}{germandbls}}
+ \comment{The ligature `SS', used to give an upper case `\ss'.
+ In a monowidth font it should be two letters wide.}
+\endsetslot
+
+\setslot{\lctop{Agrave}{agrave}}
+ \comment{The letter `\` a'.}
+\endsetslot
+
+\setslot{\lctop{Aacute}{aacute}}
+ \comment{The letter `\' a'.}
+\endsetslot
+
+\setslot{\lctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^ a'.}
+\endsetslot
+
+\setslot{\lctop{Atilde}{atilde}}
+ \comment{The letter `\~ a'.}
+\endsetslot
+
+\setslot{\lctop{Adieresis}{adieresis}}
+ \comment{The letter `\" a'.}
+\endsetslot
+
+\setslot{\lctop{Aring}{aring}}
+ \comment{The letter `\r a'.}
+\endsetslot
+
+\setslot{\lc{AE}{ae}}
+ \comment{The letter `\ae'. This is a single letter, and should not be
+ faked with `ae'.}
+\endsetslot
+
+\setslot{\lc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c c'.}
+\endsetslot
+
+\setslot{\lctop{Egrave}{egrave}}
+ \comment{The letter `\` e'.}
+\endsetslot
+
+\setslot{\lctop{Eacute}{eacute}}
+ \comment{The letter `\' e'.}
+\endsetslot
+
+\setslot{\lctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^ e'.}
+\endsetslot
+
+\setslot{\lctop{Edieresis}{edieresis}}
+ \comment{The letter `\" e'.}
+\endsetslot
+
+\setslot{\lctop{Igrave}{igrave}}
+ \comment{The letter `\`\i'.}
+\endsetslot
+
+\setslot{\lctop{Iacute}{iacute}}
+ \comment{The letter `\'\i'.}
+\endsetslot
+
+\setslot{\lctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^\i'.}
+\endsetslot
+
+\setslot{\lctop{Idieresis}{idieresis}}
+ \comment{The letter `\"\i'.}
+\endsetslot
+
+\setslot{\lc{Eth}{eth}}
+ \comment{The Icelandic lowercase letter `eth' similar to
+ a `$\partial$' with an oblique bar through the stem.
+ It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ntilde}{ntilde}}
+ \comment{The letter `\~ n'.}
+\endsetslot
+
+\setslot{\lctop{Ograve}{ograve}}
+ \comment{The letter `\` o'.}
+\endsetslot
+
+\setslot{\lctop{Oacute}{oacute}}
+ \comment{The letter `\' o'.}
+\endsetslot
+
+\setslot{\lctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^ o'.}
+\endsetslot
+
+\setslot{\lctop{Otilde}{otilde}}
+ \comment{The letter `\~ o'.}
+\endsetslot
+
+\setslot{\lctop{Odieresis}{odieresis}}
+ \comment{The letter `\" o'.}
+\endsetslot
+
+\setslot{\lc{OE}{oe}}
+ \comment{The letter `\oe'. This is a single letter, and should not be
+ faked with `oe'.}
+\endsetslot
+
+\setslot{\lc{Oslash}{oslash}}
+ \comment{The letter `\o'.}
+\endsetslot
+
+\setslot{\lctop{Ugrave}{ugrave}}
+ \comment{The letter `\` u'.}
+\endsetslot
+
+\setslot{\lctop{Uacute}{uacute}}
+ \comment{The letter `\' u'.}
+\endsetslot
+
+\setslot{\lctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^ u'.}
+\endsetslot
+
+\setslot{\lctop{Udieresis}{udieresis}}
+ \comment{The letter `\" u'.}
+\endsetslot
+
+\setslot{\lctop{Yacute}{yacute}}
+ \comment{The letter `\' y'.}
+\endsetslot
+
+\setslot{\lc{Thorn}{thorn}}
+ \comment{The Icelandic lowercase letter `thorn', similar to a `p'
+ with an ascender rising from the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lc{SS}{germandbls}}
+ \comment{The letter `\ss'.}
+\endsetslot
+
+\endencoding
+
+
+\section{Changes}
+
+This is one of the files which have been with \textsf{fontinst}
+``forever'', so a lot of the early changes where probably never
+recorded. The following are from the \texttt{CHANGES} file.
+
+1994/06/01 (v\,1.327): Removed the f-ligatures for monowidth fonts.
+(ASAJ) Sebastian spotted that one.
+
+1994/11/29 (v\,1.401): Added \texttt{hyphen}${}*{}$\texttt{hyphenchar}%
+${}\rightarrow{}$\texttt{hyphenchar} ligature (so that foo-bar words
+can be hyphenated as foo$\langle\mbox{\textit{hyphenchar}}\rangle$bar)%
+---spotted by Frank Mittelbach. Made default stretch and shrink 50\%
+and 16.7\% of interword space respectively. (ASAJ)
+
+1996/01/23 (v\,1.504):
+Included some of Sebastian's changes: upped stretch and shrink to $.6$
+and $.24$ of space; reduced extra space after {.} to $.24$ of space;
+made \verb|\setslot{grave}| etc.\ into
+\verb|\setslot{\lc{Grave}{grave}}| etc. (ASAJ)
+
+\bigskip
+\noindent The following changes have been made after changes stopped
+being recorded in the \texttt{CHANGES} file.
+
+1997/02/07 (v\,1.7): Added code for calculating values for and setting
+the extra fontdimens found in the \texttt{ec} fonts. (Thierry Bouche)
+
+1998/06/29 (v\,1.8): Using \texttt{T1} encoding for character
+examples. (UV)
+
+2002/10/26 (v\,1.923): Added \TypesetIntegerExpression{\int{ligaturing}}
+parameter. Using \verb|\showbranches|. Using \verb|\setfontdimen|.
+Changed definition of fontdimen 15 slightly---from ``the width of
+capital vertical stems'' to ``the dominant width of vertical stems'',
+which is provided in AFM files. (LH)
+
+2005/05/27 (v\,1.932): Modified defaults for |\uclig| and
+$\TypesetIntegerExpression{\int{ligaturing}}$ in fonts with
+letterspacing, to use \texttt{spaced} glyphs and not make ligatures
+respectively. (LH) Rationale (from discussion with Philipp Lehman):
+The non-\texttt{spaced} and ready-made ligature glyphs are often
+unnaturally cramped in comparison with other letterspaced character
+sequences. The system is probably overly complicated, but can be kept
+for historical reasons.
+
+
+\end{document}
diff --git a/fonts/garamondx/src/t1sc.etx b/fonts/garamondx/src/t1sc.etx
new file mode 100644
index 0000000000..1e6fb8f726
--- /dev/null
+++ b/fonts/garamondx/src/t1sc.etx
@@ -0,0 +1,1478 @@
+%%% ====================================================================
+%%% @TeX-font-encoding-file{
+%%% author = "Alan Jeffrey and Sebastian Rahtz and
+%%% Ulrik Vieth and Lars Hellstr{\"o}m",
+%%% version = "1.932",
+%%% date = "2005-05-27",
+%%% time = "16:17:50 +02:00",
+%%% filename = "t1sc.etx",
+%%% email = "fontinst@tug.org",
+%%% URL = "http://tug.org/applications/fontinst/",
+%%% checksum = "",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "encoding, TeX, PostScript",
+%%% supported = "yes",
+%%% abstract = "This is the T1 encoding as a TeX SC font encoding
+%%% file, for use with the fontinst utility.
+%%% It implements the TeX extended text encoding.",
+%%% package = "fontinst",
+%%% dependencies = "fontinst.sty, fontdoc.sty",
+%%% }
+%%% ====================================================================
+
+\relax
+
+\documentclass[twocolumn]{article}
+\usepackage[TS1,T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{fontdoc}
+
+\showbranches
+
+\title{The \TeX\ extended text encoding vector}
+\author{Alan Jeffrey\and Sebastian Rahtz\and Ulrik Vieth\and
+ Lars Hellstr\"om}
+\date{26 October 2002\\Version 1.923}
+
+
+\begin{document}
+
+\maketitle
+
+\section{Introduction}
+
+This document describes the Cork (\texttt{T1}) text encoding.
+
+The following macros play an important role in this file, since they
+are involved in determining the names of most glyphs that will be put
+in some slot.
+\begin{itemize}
+\item
+ \verb|\lc{A}{a}| should return the name of a lower-case
+ glyph, for example `\texttt{a}' or `\texttt{Asmall}'.
+\item
+ \verb|\uc{A}{a}| should return the name of an upper-case
+ glyph, for example `\texttt{A}' or `\texttt{Amedium}'.
+\item
+ \verb|\lctop{Aacute}{aacute}| should return the name of a
+ lower-case composite glyph formed from putting a diacritical above
+ a letter, for example `\texttt{aacute}' or `\texttt{Aacutesmall}'.
+\item
+ \verb|\uctop{Aacute}{aacute}| should return the name of an
+ upper-case composite glyph formed from putting a diacritical above
+ a letter, for example `\texttt{Aacute}' or `\texttt{Aacutemedium}'.
+\item
+ \verb|\lclig{FI}{fi}| should return the name of a lower-case
+ ligature, for example `\texttt{fi}' or `\texttt{FIsmall}'.
+\item
+ \verb|\uclig{FI}{fi}| should return the name of an upper-case
+ ligature, for example `\texttt{FI}' or `\texttt{FImedium}'.
+\item
+ \verb|\digit{zero}| should return the name of a digit, for
+ example `\texttt{zero}' or `\texttt{zerooldstyle}'.
+\end{itemize}
+By explicitly defining them, the encoding can (to some extent) be
+customised. All these macros should expand in the mouth,
+otherwise you may get error messages!
+
+For example, to get the standard upper and lower case font (which is
+the default), you should define:
+\begin{verbatim}
+ \setcommand\lc#1#2{#2}
+ \setcommand\uc#1#2{#1}
+ \setcommand\lctop#1#2{#2}
+ \setcommand\uctop#1#2{#1}
+ \setcommand\lclig#1#2{#2}
+ \setcommand\uclig#1#2{#1}
+ \setcommand\digit#1{#1}
+\end{verbatim}
+To get a caps and small caps font with old style digits and letter
+spacing, you should define:
+\begin{verbatim}
+ \setcommand\lc#1#2{#1small}
+ \setcommand\uc#1#2{#1}
+ \setcommand\lctop#1#2{#1small}
+ \setcommand\uctop#1#2{#1}
+ \setcommand\lclig#1#2{#2small}
+ \setcommand\uclig#1#2{#1spaced}
+ \setcommand\digit#1{#1oldstyle}
+\end{verbatim}
+To get an all-caps font with medium-cap composite letters and letter
+spacing, you should define:
+\begin{verbatim}
+ \setcommand\lc#1#2{#1}
+ \setcommand\uc#1#2{#1}
+ \setcommand\lctop#1#2{#1medium}
+ \setcommand\uctop#1#2{#1medium}
+ \setcommand\lclig#1#2{#1spaced}
+ \setcommand\uclig#1#2{#1spaced}
+ \setcommand\digit#1{#1}
+\end{verbatim}
+In this document, the glyph names shown are for the upper and
+lower case variant.
+
+Another important parameter is the integer variable \textit{ligaturing},
+which controls to what extent (non-mandatory) ligatures are made. The
+value of this variable is interpreted as follows:
+\begin{enumerate}
+ \item[$1$]
+ All the standard ligature glyphs (\texttt{fi}, \texttt{fl},
+ \texttt{ff}, \texttt{ffi}, \texttt{ffl}, \texttt{IJ}, and
+ \texttt{ij}) are included and the normal ligaturing instructions
+ (those for the \texttt{f}-ligatures) are included.
+ \item[$0$]
+ All the standard ligature glyphs are included, but none of their
+ ligaturing instructions.
+ \item[$-1$]
+ The seven slots normally used for ligatures are left empty.
+ \item[$-2$]
+ The seven slots normally used for ligatures are left empty, as
+ are the slots normally used for \texttt{c}, \texttt{f},
+ \texttt{s}, \texttt{i}, and \texttt{I}.
+\end{enumerate}
+The default value is $0$ for monowidth or letterspaced fonts (because
+the ligature glyphs in such fonts are often useless, or at least not
+looking right) and $1$ otherwise. The negative values are useful when
+making fonts with a nonstandard set of ligatures; the idea is that
+some other (smaller) encoding file should set these remaining slots.
+
+
+\encoding
+
+\needsfontinstversion{1.910}
+
+
+\begincomment
+\section{Default values}
+\endcomment
+
+\setcommand\lc#1#2{#2}
+\setcommand\uc#1#2{#1}
+\setcommand\lctop#1#2{#2}
+\setcommand\uctop#1#2{#1}
+\setcommand\lclig#1#2{#2}
+\ifisint{letterspacing}\then
+ \ifnumber{\int{letterspacing}}={0}\then \Else
+ \setcommand\uclig#1#2{#1spaced}
+ \comment{Here we set \verb|\uclig#1#2| to \verb|#1spaced|, but
+ you can't see it as \verb|\setcommand| commands are invisible in
+ the typeset output.}
+ \Fi
+\Fi
+\setcommand\uclig#1#2{#1}
+\setcommand\digit#1{#1}
+
+
+\ifisint{monowidth}\then
+ \setint{ligaturing}{0}
+\Else
+ % The following empty line is *important* to get the formatting
+ % right here (sigh)! (Remember that it is a \par token.)
+
+ \ifisint{letterspacing}\then
+ \ifnumber{\int{letterspacing}}={0}\then \Else
+ \setint{ligaturing}{0}
+ \Fi
+ \Fi
+ \setint{ligaturing}{1}
+\Fi
+
+
+\comment{The remaining code in this section sets various metric
+parameters for the font. Ideally, all these parameters should already
+have been set; the values computed here are merely crude guesses
+about what might be the right value.}
+
+\setint{italicslant}{0}
+\setint{quad}{1000}
+\setint{baselineskip}{1200}
+
+\ifisglyph{x}\then
+ \setint{xheight}{\height{x}}
+\Else
+ \setint{xheight}{500}
+\Fi
+
+\ifisglyph{space}\then
+ \setint{interword}{\width{space}}
+\Else\ifisglyph{i}\then
+ \setint{interword}{\width{i}}
+\Else
+ \setint{interword}{333}
+\Fi\Fi
+
+\ifisint{monowidth}\then
+ \setint{stretchword}{0}
+ \setint{shrinkword}{0}
+ \setint{extraspace}{\int{interword}}
+\Else
+ \setint{stretchword}{\scale{\int{interword}}{600}}
+ \setint{shrinkword}{\scale{\int{interword}}{240}}
+ \setint{extraspace}{\scale{\int{interword}}{240}}
+\Fi
+
+% added by Thierry Bouche <Thierry.Bouche@ujf-grenoble.fr>
+% 1997/02/07 to calculate values for extra EC fontdimens
+% Amended by SPQR 1997/02/09
+\ifisglyph{X}\then
+ \setint{capheight}{\height{X}}
+\Else
+ \setint{capheight}{750}
+\Fi
+
+\ifisglyph{d}\then
+ \setint{ascender}{\height{d}}
+\Else\ifisint{capheight}\then
+ \setint{ascender}{\int{capheight}}
+\Else
+ \setint{ascender}{750}
+\Fi\Fi
+
+\ifisglyph{Aring}\then
+ \setint{acccapheight}{\height{Aring}}
+\Else
+ \setint{acccapheight}{999}
+\Fi
+
+\ifisint{descender_neg}\then
+ \setint{descender}{\neg{\int{descender_neg}}}
+\Else\ifisglyph{p}\then
+ \setint{descender}{\depth{p}}
+\Else
+ \setint{descender}{250}
+\Fi\Fi
+
+\ifisglyph{Aring}\then
+ \setint{maxheight}{\height{Aring}}
+\Else
+ \setint{maxheight}{1000}
+\Fi
+
+\ifisint{maxdepth_neg}\then
+ \setint{maxdepth}{\neg{\int{maxdepth_neg}}}
+\Else\ifisglyph{j}\then
+ \setint{maxdepth}{\depth{j}}
+\Else
+ \setint{maxdepth}{250}
+\Fi\Fi
+
+\ifisglyph{six}\then
+ \setint{digitwidth}{\width{six}}
+\Else
+ \setint{digitwidth}{500}
+\Fi
+
+\setint{capstem}{0} % not in AFM files
+% end changes by Thierry
+
+
+\begincomment
+\section{Font parameters}
+\endcomment
+
+\setfontdimen{1}{italicslant} % italic slant
+\setfontdimen{2}{interword} % interword space
+\setfontdimen{3}{stretchword} % interword stretch
+\setfontdimen{4}{shrinkword} % interword shrink
+\setfontdimen{5}{xheight} % x-height
+\setfontdimen{6}{quad} % quad
+\setfontdimen{7}{extraspace} % extra space after .
+\setfontdimen{8}{capheight} % cap height
+\setfontdimen{9}{ascender} % ascender
+\setfontdimen{10}{acccapheight} % accented cap height
+\setfontdimen{11}{descender} % descender's depth
+\setfontdimen{12}{maxheight} % max height
+\setfontdimen{13}{maxdepth} % max depth
+\setfontdimen{14}{digitwidth} % digit width
+\setfontdimen{15}{verticalstem} % dominant width of verical stems
+\setfontdimen{16}{baselineskip} % baselineskip
+
+\ifnumber{\int{ligaturing}}<{0}\then
+ \comment{In this case, the codingscheme can be different from the
+ default, and therefore we refrain from setting it.}
+\Else
+ \setstr{codingscheme}{EXTENDED TEX FONT ENCODING - LATIN}
+\Fi
+
+
+
+\begincomment
+\section{The encoding}
+There are 256 glyphs in this encoding.
+\endcomment
+
+\setslot{\lc{Grave}{grave}}
+ \comment{The grave accent `\`{}'.}
+\endsetslot
+
+\setslot{\lc{Acute}{acute}}
+ \comment{The acute accent `\'{}'.}
+\endsetslot
+
+\setslot{\lc{Circumflex}{circumflex}}
+ \comment{The circumflex accent `\^{}'.}
+\endsetslot
+
+\setslot{\lc{Tilde}{tilde}}
+ \comment{The tilde accent `\~{}'.}
+\endsetslot
+
+\setslot{\lc{Dieresis}{dieresis}}
+ \comment{The umlaut or dieresis accent `\"{}'.}
+\endsetslot
+
+\setslot{\lc{Hungarumlaut}{hungarumlaut}}
+ \comment{The long Hungarian umlaut `\H{}'.}
+\endsetslot
+
+\setslot{\lc{Ring}{ring}}
+ \comment{The ring accent `\r{}'.}
+\endsetslot
+
+\setslot{\lc{Caron}{caron}}
+ \comment{The caron or h\'a\v cek accent `\v{}'.}
+\endsetslot
+
+\setslot{\lc{Breve}{breve}}
+ \comment{The breve accent `\u{}'.}
+\endsetslot
+
+\setslot{\lc{Macron}{macron}}
+ \comment{The macron accent `\={}'.}
+\endsetslot
+
+\setslot{\lc{Dotaccent}{dotaccent}}
+ \comment{The dot accent `\.{}'.}
+\endsetslot
+
+\setslot{\lc{Cedilla}{cedilla}}
+ \comment{The cedilla accent `\c {}'.}
+\endsetslot
+
+\setslot{\lc{Ogonek}{ogonek}}
+ \comment{The ogonek accent `\k {}'.}
+\endsetslot
+
+\setslot{quotesinglbase}
+ \comment{A German single quote mark `\quotesinglbase' similar to a comma,
+ but with different sidebearings.}
+\endsetslot
+
+\setslot{guilsinglleft}
+ \comment{A French single opening quote mark `\guilsinglleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{guilsinglright}
+ \comment{A French single closing quote mark `\guilsinglright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{quotedblleft}
+ \comment{The English opening quote mark `\,\textquotedblleft\,'.}
+\endsetslot
+
+\setslot{quotedblright}
+ \comment{The English closing quote mark `\,\textquotedblright\,'.}
+\endsetslot
+
+\setslot{quotedblbase}
+ \comment{A German double quote mark `\quotedblbase' similar to two commas,
+ but with tighter letterspacing and different sidebearings.}
+\endsetslot
+
+\setslot{guillemotleft}
+ \comment{A French double opening quote mark `\guillemotleft',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{guillemotright}
+ \comment{A French closing opening quote mark `\guillemotright',
+ unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{rangedash}
+ \ligature{LIG}{hyphen}{punctdash}
+ \comment{The number range dash `1--9'. In a monowidth font, this
+ might be set as `\texttt{1{-}9}'.}
+\endsetslot
+
+\setslot{punctdash}
+ \comment{The punctuation dash `Oh---boy.' In a monowidth font, this
+ might be set as `\texttt{Oh{-}{-}boy.}'}
+\endsetslot
+
+\setslot{compwordmark}
+ \comment{An invisible glyph, with zero width and depth, but the
+ height of lowercase letters without ascenders.
+ It is used to stop ligaturing in words like `shelf{}ful'.}
+\endsetslot
+
+\setslot{perthousandzero}
+ \comment{A glyph which is placed after `\%' to produce a
+ `per-thousand', or twice to produce `per-ten-thousand'.
+ Your guess is as good as mine as to what this glyph should look
+ like in a monowidth font.}
+\endsetslot
+
+\setslot{i} %\setslot{\lc{dotlessI}{dotlessi}}
+ \comment{A dotless i `\i', used to produce accented letters such as
+ `\=\i'.}
+\endsetslot
+
+\setslot{j} %\setslot{\lc{dotlessJ}{dotlessj}}
+ \comment{A dotless j `\j', used to produce accented letters such as
+ `\=\j'. Most non-\TeX\ fonts do not have this glyph.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{0}\then \skipslots{5}\Else
+
+\setslot{\lclig{FF}{ff}}
+ \ifnumber{\int{ligaturing}}>{0}\then
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FFI}{ffi}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FFL}{ffl}}
+ \Fi
+ \comment{The `ff' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FI}{fi}}
+ \comment{The `fi' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FL}{fl}}
+ \comment{The `fl' ligature. It should be two characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FFI}{ffi}}
+ \comment{The `ffi' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\setslot{\lclig{FFL}{ffl}}
+ \comment{The `ffl' ligature. It should be three characters wide in a
+ monowidth font.}
+\endsetslot
+
+\Fi
+
+\setslot{visiblespace}
+ \comment{A visible space glyph `\textvisiblespace'.}
+\endsetslot
+
+\setslot{exclam}
+ \ligature{LIG}{quoteleft}{exclamdown}
+ \comment{The exclamation mark `!'.}
+\endsetslot
+
+\setslot{quotedbl}
+ \comment{The `neutral' double quotation mark `\,\textquotedbl\,',
+ included for use in monowidth fonts, or for setting computer
+ programs. Note that the inclusion of this glyph in this slot
+ means that \TeX\ documents which used `{\tt\char`\"}' as an
+ input character will no longer work.}
+\endsetslot
+
+\setslot{numbersign}
+ \comment{The hash sign `\#'.}
+\endsetslot
+
+\setslot{dollar}
+ \comment{The dollar sign `\$'.}
+\endsetslot
+
+\setslot{percent}
+ \comment{The percent sign `\%'.}
+\endsetslot
+
+\setslot{ampersand}
+ \comment{The ampersand sign `\&'.}
+\endsetslot
+
+\setslot{quoteright}
+ \ligature{LIG}{quoteright}{quotedblright}
+ \comment{The English closing single quote mark `\,\textquoteright\,'.}
+\endsetslot
+
+\setslot{parenleft}
+ \comment{The opening parenthesis `('.}
+\endsetslot
+
+\setslot{parenright}
+ \comment{The closing parenthesis `)'.}
+\endsetslot
+
+\setslot{asterisk}
+ \comment{The raised asterisk `*'.}
+\endsetslot
+
+\setslot{plus}
+ \comment{The addition sign `+'.}
+\endsetslot
+
+\setslot{comma}
+ \ligature{LIG}{comma}{quotedblbase}
+ \comment{The comma `,'.}
+\endsetslot
+
+\setslot{hyphen}
+ \ligature{LIG}{hyphen}{rangedash}
+ \ligature{LIG}{hyphenchar}{hyphenchar}
+ \comment{The hyphen `-'.}
+\endsetslot
+
+\setslot{period}
+ \comment{The period `.'.}
+\endsetslot
+
+\setslot{slash}
+ \comment{The forward oblique `/'.}
+\endsetslot
+
+\setslot{\digit{zero}}
+ \comment{The number `0'. This (and all the other numerals) may be
+ old style or ranging digits.}
+\endsetslot
+
+\setslot{\digit{one}}
+ \comment{The number `1'.}
+\endsetslot
+
+\setslot{\digit{two}}
+ \comment{The number `2'.}
+\endsetslot
+
+\setslot{\digit{three}}
+ \comment{The number `3'.}
+\endsetslot
+
+\setslot{\digit{four}}
+ \comment{The number `4'.}
+\endsetslot
+
+\setslot{\digit{five}}
+ \comment{The number `5'.}
+\endsetslot
+
+\setslot{\digit{six}}
+ \comment{The number `6'.}
+\endsetslot
+
+\setslot{\digit{seven}}
+ \comment{The number `7'.}
+\endsetslot
+
+\setslot{\digit{eight}}
+ \comment{The number `8'.}
+\endsetslot
+
+\setslot{\digit{nine}}
+ \comment{The number `9'.}
+\endsetslot
+
+\setslot{colon}
+ \comment{The colon punctuation mark `:'.}
+\endsetslot
+
+\setslot{semicolon}
+ \comment{The semi-colon punctuation mark `;'.}
+\endsetslot
+
+\setslot{less}
+ \ligature{LIG}{less}{guillemotleft}
+ \comment{The less-than sign `\textless'.}
+\endsetslot
+
+\setslot{equal}
+ \comment{The equals sign `='.}
+\endsetslot
+
+\setslot{greater}
+ \ligature{LIG}{greater}{guillemotright}
+ \comment{The greater-than sign `\textgreater'.}
+\endsetslot
+
+\setslot{question}
+ \ligature{LIG}{quoteleft}{questiondown}
+ \comment{The question mark `?'.}
+\endsetslot
+
+\setslot{at}
+ \comment{The at sign `@'.}
+\endsetslot
+
+\setslot{\uc{A}{a}}
+ \comment{The letter `{A}'.}
+\endsetslot
+
+\setslot{\uc{B}{b}}
+ \comment{The letter `{B}'.}
+\endsetslot
+
+\setslot{\uc{C}{c}}
+ \comment{The letter `{C}'.}
+\endsetslot
+
+\setslot{\uc{D}{d}}
+ \comment{The letter `{D}'.}
+\endsetslot
+
+\setslot{\uc{E}{e}}
+ \comment{The letter `{E}'.}
+\endsetslot
+
+\setslot{\uc{F}{f}}
+ \comment{The letter `{F}'.}
+\endsetslot
+
+\setslot{\uc{G}{g}}
+ \comment{The letter `{G}'.}
+\endsetslot
+
+\setslot{\uc{H}{h}}
+ \comment{The letter `{H}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+\setslot{\uc{I}{i}}
+ \comment{The letter `{I}'.}
+\endsetslot
+
+\Fi
+
+\setslot{\uc{J}{j}}
+ \comment{The letter `{J}'.}
+\endsetslot
+
+\setslot{\uc{K}{k}}
+ \comment{The letter `{K}'.}
+\endsetslot
+
+\setslot{\uc{L}{l}}
+ \comment{The letter `{L}'.}
+\endsetslot
+
+\setslot{\uc{M}{m}}
+ \comment{The letter `{M}'.}
+\endsetslot
+
+\setslot{\uc{N}{n}}
+ \comment{The letter `{N}'.}
+\endsetslot
+
+\setslot{\uc{O}{o}}
+ \comment{The letter `{O}'.}
+\endsetslot
+
+\setslot{\uc{P}{p}}
+ \comment{The letter `{P}'.}
+\endsetslot
+
+\setslot{\uc{Q}{q}}
+ \comment{The letter `{Q}'.}
+\endsetslot
+
+\setslot{\uc{R}{r}}
+ \comment{The letter `{R}'.}
+\endsetslot
+
+\setslot{\uc{S}{s}}
+ \comment{The letter `{S}'.}
+\endsetslot
+
+\setslot{\uc{T}{t}}
+ \comment{The letter `{T}'.}
+\endsetslot
+
+\setslot{\uc{U}{u}}
+ \comment{The letter `{U}'.}
+\endsetslot
+
+\setslot{\uc{V}{v}}
+ \comment{The letter `{V}'.}
+\endsetslot
+
+\setslot{\uc{W}{w}}
+ \comment{The letter `{W}'.}
+\endsetslot
+
+\setslot{\uc{X}{x}}
+ \comment{The letter `{X}'.}
+\endsetslot
+
+\setslot{\uc{Y}{y}}
+ \comment{The letter `{Y}'.}
+\endsetslot
+
+\setslot{\uc{Z}{z}}
+ \comment{The letter `{Z}'.}
+\endsetslot
+
+\setslot{bracketleft}
+ \comment{The opening square bracket `['.}
+\endsetslot
+
+\setslot{backslash}
+ \comment{The backwards oblique `\textbackslash'.}
+\endsetslot
+
+\setslot{bracketright}
+ \comment{The closing square bracket `]'.}
+\endsetslot
+
+\setslot{asciicircum}
+ \comment{The ASCII upward-pointing arrow head `\textasciicircum'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{underscore}
+ \comment{The ASCII underline character `\textunderscore', usually
+ set on the baseline.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{quoteleft}
+ \ligature{LIG}{quoteleft}{quotedblleft}
+ \comment{The English opening single quote mark `\,\textquoteleft\,'.}
+\endsetslot
+
+\setslot{\lc{A}{a}}
+ \comment{The letter `{a}'.}
+\endsetslot
+
+\setslot{\lc{B}{b}}
+ \comment{The letter `{b}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{C}{c}}
+ \comment{The letter `{c}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{D}{d}}
+ \comment{The letter `{d}'.}
+\endsetslot
+
+\setslot{\lc{E}{e}}
+ \comment{The letter `{e}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{F}{f}}
+ \ifnumber{\int{ligaturing}}>{0}\then
+ \ligature{LIG}{\lc{I}{i}}{\lclig{FI}{fi}}
+ \ligature{LIG}{\lc{F}{f}}{\lclig{FF}{ff}}
+ \ligature{LIG}{\lc{L}{l}}{\lclig{FL}{fl}}
+ \Fi
+ \comment{The letter `{f}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{G}{g}}
+ \comment{The letter `{g}'.}
+\endsetslot
+
+\setslot{\lc{H}{h}}
+ \comment{The letter `{h}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{I}{i}}
+ \comment{The letter `{i}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{J}{j}}
+ \comment{The letter `{j}'.}
+\endsetslot
+
+\setslot{\lc{K}{k}}
+ \comment{The letter `{k}'.}
+\endsetslot
+
+\setslot{\lc{L}{l}}
+ \comment{The letter `{l}'.}
+\endsetslot
+
+\setslot{\lc{M}{m}}
+ \comment{The letter `{m}'.}
+\endsetslot
+
+\setslot{\lc{N}{n}}
+ \comment{The letter `{n}'.}
+\endsetslot
+
+\setslot{\lc{O}{o}}
+ \comment{The letter `{o}'.}
+\endsetslot
+
+\setslot{\lc{P}{p}}
+ \comment{The letter `{p}'.}
+\endsetslot
+
+\setslot{\lc{Q}{q}}
+ \comment{The letter `{q}'.}
+\endsetslot
+
+\setslot{\lc{R}{r}}
+ \comment{The letter `{r}'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{-1}\then \skipslots{1}\Else
+
+ \setslot{\lc{S}{s}}
+ \comment{The letter `{s}'.}
+ \endsetslot
+
+\Fi
+
+\setslot{\lc{T}{t}}
+ \comment{The letter `{t}'.}
+\endsetslot
+
+\setslot{\lc{U}{u}}
+ \comment{The letter `{u}'.}
+\endsetslot
+
+\setslot{\lc{V}{v}}
+ \comment{The letter `{v}'.}
+\endsetslot
+
+\setslot{\lc{W}{w}}
+ \comment{The letter `{w}'.}
+\endsetslot
+
+\setslot{\lc{X}{x}}
+ \comment{The letter `{x}'.}
+\endsetslot
+
+\setslot{\lc{Y}{y}}
+ \comment{The letter `{y}'.}
+\endsetslot
+
+\setslot{\lc{Z}{z}}
+ \comment{The letter `{z}'.}
+\endsetslot
+
+\setslot{braceleft}
+ \comment{The opening curly brace `\textbraceleft'.}
+\endsetslot
+
+\setslot{bar}
+ \comment{The ASCII vertical bar `\textbar'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{braceright}
+ \comment{The closing curly brace `\textbraceright'.}
+\endsetslot
+
+\setslot{asciitilde}
+ \comment{The ASCII tilde `\textasciitilde'.
+ This is included for compatibility with typewriter fonts used
+ for computer listings.}
+\endsetslot
+
+\setslot{hyphenchar}
+ \comment{The glyph used for hyphenation in this font, which will
+ almost always be the same as `hyphen'.}
+\endsetslot
+
+\setslot{\uctop{Abreve}{abreve}}
+ \comment{The letter `\u A'.}
+\endsetslot
+
+\setslot{\uc{Aogonek}{aogonek}}
+ \comment{The letter `\k A'.}
+\endsetslot
+
+\setslot{\uctop{Cacute}{cacute}}
+ \comment{The letter `\' C'.}
+\endsetslot
+
+\setslot{\uctop{Ccaron}{ccaron}}
+ \comment{The letter `\v C'.}
+\endsetslot
+
+\setslot{\uctop{Dcaron}{dcaron}}
+ \comment{The letter `\v D'.}
+\endsetslot
+
+\setslot{\uctop{Ecaron}{ecaron}}
+ \comment{The letter `\v E'.}
+\endsetslot
+
+\setslot{\uc{Eogonek}{eogonek}}
+ \comment{The letter `\k E'.}
+\endsetslot
+
+\setslot{\uctop{Gbreve}{gbreve}}
+ \comment{The letter `\u G'.}
+\endsetslot
+
+\setslot{\uctop{Lacute}{lacute}}
+ \comment{The letter `\' L'.}
+\endsetslot
+
+\setslot{\uc{Lcaron}{lcaron}}
+ \comment{The letter `\v L'.}
+\endsetslot
+
+\setslot{\uc{Lslash}{lslash}}
+ \comment{The letter `\L'.}
+\endsetslot
+
+\setslot{\uctop{Nacute}{nacute}}
+ \comment{The letter `\' N'.}
+\endsetslot
+
+\setslot{\uctop{Ncaron}{ncaron}}
+ \comment{The letter `\v N'.}
+\endsetslot
+
+\setslot{\uc{Ng}{ng}}
+ \comment{The Sami letter `\NG'. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uctop{Ohungarumlaut}{ohungarumlaut}}
+ \comment{The letter `\H O'.}
+\endsetslot
+
+\setslot{\uctop{Racute}{racute}}
+ \comment{The letter `\' R'.}
+\endsetslot
+
+\setslot{\uctop{Rcaron}{rcaron}}
+ \comment{The letter `\v R'.}
+\endsetslot
+
+\setslot{\uctop{Sacute}{sacute}}
+ \comment{The letter `\' S'.}
+\endsetslot
+
+\setslot{\uctop{Scaron}{scaron}}
+ \comment{The letter `\v S'.}
+\endsetslot
+
+\setslot{\uc{Scedilla}{scedilla}}
+ \comment{The letter `\c S'.}
+\endsetslot
+
+\setslot{\uctop{Tcaron}{tcaron}}
+ \comment{The letter `\v T'.}
+\endsetslot
+
+\setslot{\uc{Tcedilla}{tcedilla}}
+ \comment{The letter `\c T'.}
+\endsetslot
+
+\setslot{\uctop{Uhungarumlaut}{uhungarumlaut}}
+ \comment{The letter `\H U'.}
+\endsetslot
+
+\setslot{\uctop{Uring}{uring}}
+ \comment{The letter `\r U'.}
+\endsetslot
+
+\setslot{\uctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\" Y'.}
+\endsetslot
+
+\setslot{\uctop{Zacute}{zacute}}
+ \comment{The letter `\' Z'.}
+\endsetslot
+
+\setslot{\uctop{Zcaron}{zcaron}}
+ \comment{The letter `\v Z'.}
+\endsetslot
+
+\setslot{\uctop{Zdotaccent}{zdotaccent}}
+ \comment{The letter `\. Z'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else
+
+ \setslot{\uclig{IJ}{ij}}
+ \comment{The letter `IJ'. This is a single letter, and in a
+ monowidth font should ideally be one letter wide.}
+ \endsetslot
+
+\Fi
+
+\setslot{\uctop{Idotaccent}{idotaccent}}
+ \comment{The letter `\. I'.}
+\endsetslot
+
+\setslot{\lc{Dbar}{dbar}}
+ \comment{The letter `\dj'.}
+\endsetslot
+
+\setslot{section}
+ \comment{The section mark `\textsection'.}
+\endsetslot
+
+\setslot{\lctop{Abreve}{abreve}}
+ \comment{The letter `\u a'.}
+\endsetslot
+
+\setslot{\lc{Aogonek}{aogonek}}
+ \comment{The letter `\k a'.}
+\endsetslot
+
+\setslot{\lctop{Cacute}{cacute}}
+ \comment{The letter `\' c'.}
+\endsetslot
+
+\setslot{\lctop{Ccaron}{ccaron}}
+ \comment{The letter `\v c'.}
+\endsetslot
+
+\setslot{\lctop{Dcaron}{dcaron}}
+ \comment{The letter `\v d'.}
+\endsetslot
+
+\setslot{\lctop{Ecaron}{ecaron}}
+ \comment{The letter `\v e'.}
+\endsetslot
+
+\setslot{\lc{Eogonek}{eogonek}}
+ \comment{The letter `\k e'.}
+\endsetslot
+
+\setslot{\lctop{Gbreve}{gbreve}}
+ \comment{The letter `\u g'.}
+\endsetslot
+
+\setslot{\lctop{Lacute}{lacute}}
+ \comment{The letter `\' l'.}
+\endsetslot
+
+\setslot{\lc{Lcaron}{lcaron}}
+ \comment{The letter `\v l'.}
+\endsetslot
+
+\setslot{\lc{Lslash}{lslash}}
+ \comment{The letter `\l'.}
+\endsetslot
+
+\setslot{\lctop{Nacute}{nacute}}
+ \comment{The letter `\' n'.}
+\endsetslot
+
+\setslot{\lctop{Ncaron}{ncaron}}
+ \comment{The letter `\v n'.}
+\endsetslot
+
+\setslot{\lc{Ng}{ng}}
+ \comment{The Sami letter `\ng'. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ohungarumlaut}{ohungarumlaut}}
+ \comment{The letter `\H o'.}
+\endsetslot
+
+\setslot{\lctop{Racute}{racute}}
+ \comment{The letter `\' r'.}
+\endsetslot
+
+\setslot{\lctop{Rcaron}{rcaron}}
+ \comment{The letter `\v r'.}
+\endsetslot
+
+\setslot{\lctop{Sacute}{sacute}}
+ \comment{The letter `\' s'.}
+\endsetslot
+
+\setslot{\lctop{Scaron}{scaron}}
+ \comment{The letter `\v s'.}
+\endsetslot
+
+\setslot{\lc{Scedilla}{scedilla}}
+ \comment{The letter `\c s'.}
+\endsetslot
+
+\setslot{\lctop{Tcaron}{tcaron}}
+ \comment{The letter `\v t'.}
+\endsetslot
+
+\setslot{\lc{Tcedilla}{tcedilla}}
+ \comment{The letter `\c t'.}
+\endsetslot
+
+\setslot{\lctop{Uhungarumlaut}{uhungarumlaut}}
+ \comment{The letter `\H u'.}
+\endsetslot
+
+\setslot{\lctop{Uring}{uring}}
+ \comment{The letter `\r u'.}
+\endsetslot
+
+\setslot{\lctop{Ydieresis}{ydieresis}}
+ \comment{The letter `\" y'.}
+\endsetslot
+
+\setslot{\lctop{Zacute}{zacute}}
+ \comment{The letter `\' z'.}
+\endsetslot
+
+\setslot{\lctop{Zcaron}{zcaron}}
+ \comment{The letter `\v z'.}
+\endsetslot
+
+\setslot{\lctop{Zdotaccent}{zdotaccent}}
+ \comment{The letter `\. z'.}
+\endsetslot
+
+\ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else
+
+ \setslot{\lclig{IJ}{ij}}
+ \comment{The letter `ij'. This is a single letter, and in a
+ monowidth font should ideally be one letter wide.}
+ \endsetslot
+
+\Fi
+
+\setslot{exclamdown}
+ \comment{The Spanish punctuation mark `!`'.}
+\endsetslot
+
+\setslot{questiondown}
+ \comment{The Spanish punctuation mark `?`'.}
+\endsetslot
+
+\setslot{sterling}
+ \comment{The British currency mark `\textsterling'.}
+\endsetslot
+
+\setslot{\uctop{Agrave}{agrave}}
+ \comment{The letter `\` A'.}
+\endsetslot
+
+\setslot{\uctop{Aacute}{aacute}}
+ \comment{The letter `\' A'.}
+\endsetslot
+
+\setslot{\uctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^ A'.}
+\endsetslot
+
+\setslot{\uctop{Atilde}{atilde}}
+ \comment{The letter `\~ A'.}
+\endsetslot
+
+\setslot{\uctop{Adieresis}{adieresis}}
+ \comment{The letter `\" A'.}
+\endsetslot
+
+\setslot{\uctop{Aring}{aring}}
+ \comment{The letter `\r A'.}
+\endsetslot
+
+\setslot{\uc{AE}{ae}}
+ \comment{The letter `\AE'. This is a single letter, and should not be
+ faked with `AE'.}
+\endsetslot
+
+\setslot{\uc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c C'.}
+\endsetslot
+
+\setslot{\uctop{Egrave}{egrave}}
+ \comment{The letter `\` E'.}
+\endsetslot
+
+\setslot{\uctop{Eacute}{eacute}}
+ \comment{The letter `\' E'.}
+\endsetslot
+
+\setslot{\uctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^ E'.}
+\endsetslot
+
+\setslot{\uctop{Edieresis}{edieresis}}
+ \comment{The letter `\" E'.}
+\endsetslot
+
+\setslot{\uctop{Igrave}{igrave}}
+ \comment{The letter `\` I'.}
+\endsetslot
+
+\setslot{\uctop{Iacute}{iacute}}
+ \comment{The letter `\' I'.}
+\endsetslot
+
+\setslot{\uctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^ I'.}
+\endsetslot
+
+\setslot{\uctop{Idieresis}{idieresis}}
+ \comment{The letter `\" I'.}
+\endsetslot
+
+\setslot{\uc{Eth}{eth}}
+ \comment{The uppercase Icelandic letter `Eth' similar to a `D'
+ with a horizontal bar through the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uctop{Ntilde}{ntilde}}
+ \comment{The letter `\~ N'.}
+\endsetslot
+
+\setslot{\uctop{Ograve}{ograve}}
+ \comment{The letter `\` O'.}
+\endsetslot
+
+\setslot{\uctop{Oacute}{oacute}}
+ \comment{The letter `\' O'.}
+\endsetslot
+
+\setslot{\uctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^ O'.}
+\endsetslot
+
+\setslot{\uctop{Otilde}{otilde}}
+ \comment{The letter `\~ O'.}
+\endsetslot
+
+\setslot{\uctop{Odieresis}{odieresis}}
+ \comment{The letter `\" O'.}
+\endsetslot
+
+\setslot{\uc{OE}{oe}}
+ \comment{The letter `\OE'. This is a single letter, and should not be
+ faked with `OE'.}
+\endsetslot
+
+\setslot{\uc{Oslash}{oslash}}
+ \comment{The letter `\O'.}
+\endsetslot
+
+\setslot{\uctop{Ugrave}{ugrave}}
+ \comment{The letter `\` U'.}
+\endsetslot
+
+\setslot{\uctop{Uacute}{uacute}}
+ \comment{The letter `\' U'.}
+\endsetslot
+
+\setslot{\uctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^ U'.}
+\endsetslot
+
+\setslot{\uctop{Udieresis}{udieresis}}
+ \comment{The letter `\" U'.}
+\endsetslot
+
+\setslot{\uctop{Yacute}{yacute}}
+ \comment{The letter `\' Y'.}
+\endsetslot
+
+\setslot{\uc{Thorn}{thorn}}
+ \comment{The Icelandic capital letter Thorn, similar to a `P'
+ with the bowl moved down. It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\uclig{SS}{germandbls}}
+ \comment{The ligature `SS', used to give an upper case `\ss'.
+ In a monowidth font it should be two letters wide.}
+\endsetslot
+
+\setslot{\lctop{Agrave}{agrave}}
+ \comment{The letter `\` a'.}
+\endsetslot
+
+\setslot{\lctop{Aacute}{aacute}}
+ \comment{The letter `\' a'.}
+\endsetslot
+
+\setslot{\lctop{Acircumflex}{acircumflex}}
+ \comment{The letter `\^ a'.}
+\endsetslot
+
+\setslot{\lctop{Atilde}{atilde}}
+ \comment{The letter `\~ a'.}
+\endsetslot
+
+\setslot{\lctop{Adieresis}{adieresis}}
+ \comment{The letter `\" a'.}
+\endsetslot
+
+\setslot{\lctop{Aring}{aring}}
+ \comment{The letter `\r a'.}
+\endsetslot
+
+\setslot{\lc{AE}{ae}}
+ \comment{The letter `\ae'. This is a single letter, and should not be
+ faked with `ae'.}
+\endsetslot
+
+\setslot{\lc{Ccedilla}{ccedilla}}
+ \comment{The letter `\c c'.}
+\endsetslot
+
+\setslot{\lctop{Egrave}{egrave}}
+ \comment{The letter `\` e'.}
+\endsetslot
+
+\setslot{\lctop{Eacute}{eacute}}
+ \comment{The letter `\' e'.}
+\endsetslot
+
+\setslot{\lctop{Ecircumflex}{ecircumflex}}
+ \comment{The letter `\^ e'.}
+\endsetslot
+
+\setslot{\lctop{Edieresis}{edieresis}}
+ \comment{The letter `\" e'.}
+\endsetslot
+
+\setslot{\lctop{Igrave}{igrave}}
+ \comment{The letter `\`\i'.}
+\endsetslot
+
+\setslot{\lctop{Iacute}{iacute}}
+ \comment{The letter `\'\i'.}
+\endsetslot
+
+\setslot{\lctop{Icircumflex}{icircumflex}}
+ \comment{The letter `\^\i'.}
+\endsetslot
+
+\setslot{\lctop{Idieresis}{idieresis}}
+ \comment{The letter `\"\i'.}
+\endsetslot
+
+\setslot{\lc{Eth}{eth}}
+ \comment{The Icelandic lowercase letter `eth' similar to
+ a `$\partial$' with an oblique bar through the stem.
+ It is unavailable in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lctop{Ntilde}{ntilde}}
+ \comment{The letter `\~ n'.}
+\endsetslot
+
+\setslot{\lctop{Ograve}{ograve}}
+ \comment{The letter `\` o'.}
+\endsetslot
+
+\setslot{\lctop{Oacute}{oacute}}
+ \comment{The letter `\' o'.}
+\endsetslot
+
+\setslot{\lctop{Ocircumflex}{ocircumflex}}
+ \comment{The letter `\^ o'.}
+\endsetslot
+
+\setslot{\lctop{Otilde}{otilde}}
+ \comment{The letter `\~ o'.}
+\endsetslot
+
+\setslot{\lctop{Odieresis}{odieresis}}
+ \comment{The letter `\" o'.}
+\endsetslot
+
+\setslot{\lc{OE}{oe}}
+ \comment{The letter `\oe'. This is a single letter, and should not be
+ faked with `oe'.}
+\endsetslot
+
+\setslot{\lc{Oslash}{oslash}}
+ \comment{The letter `\o'.}
+\endsetslot
+
+\setslot{\lctop{Ugrave}{ugrave}}
+ \comment{The letter `\` u'.}
+\endsetslot
+
+\setslot{\lctop{Uacute}{uacute}}
+ \comment{The letter `\' u'.}
+\endsetslot
+
+\setslot{\lctop{Ucircumflex}{ucircumflex}}
+ \comment{The letter `\^ u'.}
+\endsetslot
+
+\setslot{\lctop{Udieresis}{udieresis}}
+ \comment{The letter `\" u'.}
+\endsetslot
+
+\setslot{\lctop{Yacute}{yacute}}
+ \comment{The letter `\' y'.}
+\endsetslot
+
+\setslot{\lc{Thorn}{thorn}}
+ \comment{The Icelandic lowercase letter `thorn', similar to a `p'
+ with an ascender rising from the stem. It is unavailable
+ in \plain\ \TeX.}
+\endsetslot
+
+\setslot{\lc{SS}{germandbls}}
+ \comment{The letter `\ss'.}
+\endsetslot
+
+\endencoding
+
+
+\section{Changes}
+
+This is one of the files which have been with \textsf{fontinst}
+``forever'', so a lot of the early changes where probably never
+recorded. The following are from the \texttt{CHANGES} file.
+
+1994/06/01 (v\,1.327): Removed the f-ligatures for monowidth fonts.
+(ASAJ) Sebastian spotted that one.
+
+1994/11/29 (v\,1.401): Added \texttt{hyphen}${}*{}$\texttt{hyphenchar}%
+${}\rightarrow{}$\texttt{hyphenchar} ligature (so that foo-bar words
+can be hyphenated as foo$\langle\mbox{\textit{hyphenchar}}\rangle$bar)%
+---spotted by Frank Mittelbach. Made default stretch and shrink 50\%
+and 16.7\% of interword space respectively. (ASAJ)
+
+1996/01/23 (v\,1.504):
+Included some of Sebastian's changes: upped stretch and shrink to $.6$
+and $.24$ of space; reduced extra space after {.} to $.24$ of space;
+made \verb|\setslot{grave}| etc.\ into
+\verb|\setslot{\lc{Grave}{grave}}| etc. (ASAJ)
+
+\bigskip
+\noindent The following changes have been made after changes stopped
+being recorded in the \texttt{CHANGES} file.
+
+1997/02/07 (v\,1.7): Added code for calculating values for and setting
+the extra fontdimens found in the \texttt{ec} fonts. (Thierry Bouche)
+
+1998/06/29 (v\,1.8): Using \texttt{T1} encoding for character
+examples. (UV)
+
+2002/10/26 (v\,1.923): Added \TypesetIntegerExpression{\int{ligaturing}}
+parameter. Using \verb|\showbranches|. Using \verb|\setfontdimen|.
+Changed definition of fontdimen 15 slightly---from ``the width of
+capital vertical stems'' to ``the dominant width of vertical stems'',
+which is provided in AFM files. (LH)
+
+2005/05/27 (v\,1.932): Modified defaults for |\uclig| and
+$\TypesetIntegerExpression{\int{ligaturing}}$ in fonts with
+letterspacing, to use \texttt{spaced} glyphs and not make ligatures
+respectively. (LH) Rationale (from discussion with Philipp Lehman):
+The non-\texttt{spaced} and ready-made ligature glyphs are often
+unnaturally cramped in comparison with other letterspaced character
+sequences. The system is probably overly complicated, but can be kept
+for historical reasons.
+
+
+\end{document}
diff --git a/fonts/garamondx/src/unsetlc.mtx b/fonts/garamondx/src/unsetlc.mtx
new file mode 100644
index 0000000000..fd64d8b570
--- /dev/null
+++ b/fonts/garamondx/src/unsetlc.mtx
@@ -0,0 +1,33 @@
+% File unsetlc.mtx, Michael Sharpe
+
+\relax
+\metrics
+\unsetglyph{a}
+\unsetglyph{b}
+\unsetglyph{c}
+\unsetglyph{d}
+\unsetglyph{e}
+\unsetglyph{f}
+\unsetglyph{g}
+\unsetglyph{h}
+\unsetglyph{i}
+\unsetglyph{j}
+\unsetglyph{k}
+\unsetglyph{l}
+\unsetglyph{m}
+\unsetglyph{n}
+\unsetglyph{o}
+\unsetglyph{p}
+\unsetglyph{q}
+\unsetglyph{r}
+\unsetglyph{s}
+\unsetglyph{t}
+\unsetglyph{u}
+\unsetglyph{v}
+\unsetglyph{w}
+\unsetglyph{x}
+\unsetglyph{y}
+\unsetglyph{z}
+
+
+\endmetrics
diff --git a/fonts/garamondx/src/zgm-drv.tex b/fonts/garamondx/src/zgm-drv.tex
new file mode 100644
index 0000000000..b6e433c910
--- /dev/null
+++ b/fonts/garamondx/src/zgm-drv.tex
@@ -0,0 +1,951 @@
+% !TEX TS-program = tex
+\input fontinst.sty
+\needsfontinstversion{1.933}
+
+\declareencoding{TEX-BASE-ENCODING}{8r}
+\declareencoding{UNSPECIFIED}{8r}
+\declareencoding{ZGMOSFENCODING}{8r}
+\declareencoding{ZGMOSFIENCODING}{8r}
+\generalpltomtx{zgmr-digits}{zgmr-digits}{pl}{}
+\generalpltomtx{zgmr-digitsI}{zgmr-digitsI}{pl}{}
+
+\recordtransforms{zgm.rec}
+\afmtomtx{newG8-Osf-reg}{newG8-Osf-reg}
+\afmtomtx{newG8-Osf-bol}{newG8-Osf-bol}
+\afmtomtx{newG8-Osf-ita}{newG8-Osf-ita}
+\afmtomtx{newG8-Osf-bolita}{newG8-Osf-bolita}
+% Next lines make zgmr[c]8r.mtx with full kerning and zgmr[c]8r.pl without.
+\transformfont{zgmr8r}{\reencodefont{t1}{\fromafm{NewG8-Reg}}}
+\transformfont{zgmrc8r}{\reencodefont{t1sc}{\fromafm{NewG8-Reg-SC}}}
+\transformfont{zgmb8r}{\reencodefont{t1}{\fromafm{NewG8-Bol}}}
+\transformfont{zgmbc8r}{\reencodefont{t1sc}{\fromafm{NewG8-Bol-SC}}}
+\transformfont{zgmri8r}{\reencodefont{t1}{\fromafm{NewG8-Ita}}}
+\transformfont{zgmric8r}{\reencodefont{t1sc}{\fromafm{newG8-Ita-SC}}}
+\transformfont{zgmbi8r}{\reencodefont{t1}{\fromafm{NewG8-BolIta}}}
+\transformfont{zgmbic8r}{\reencodefont{t1sc}{\fromafm{NewG8-BolIta-SC}}}
+
+\transformfont{zgmr8y}{\reencodefont{ly1}{\fromafm{NewG8-Reg}}}
+\transformfont{zgmrc8y}{\reencodefont{ly1sc}{\fromafm{NewG8-Reg-SC}}}
+\transformfont{zgmb8y}{\reencodefont{ly1}{\fromafm{NewG8-Bol}}}
+\transformfont{zgmbc8y}{\reencodefont{ly1sc}{\fromafm{NewG8-Bol-SC}}}
+\transformfont{zgmri8y}{\reencodefont{ly1}{\fromafm{NewG8-Ita}}}
+\transformfont{zgmric8y}{\reencodefont{ly1sc}{\fromafm{newG8-Ita-SC}}}
+\transformfont{zgmbi8y}{\reencodefont{ly1}{\fromafm{NewG8-BolIta}}}
+\transformfont{zgmbic8y}{\reencodefont{ly1sc}{\fromafm{NewG8-BolIta-SC}}}
+%\transformfont{zgmr8c}{\reencodefont{ts1}{\fromafm{NewG8-Reg}}}
+%\transformfont{zgmri8c}{\reencodefont{ts1}{\fromafm{NewG8-Ita}}}
+%\transformfont{zgmbi8c}{\reencodefont{ts1}{\fromafm{NewG8-BolIta}}}
+%\transformfont{zgmbi-t8c}{\reencodefont{ts1}{\fromafm{zgmbi-tc}}}
+
+\transformfont{zgmr-digitsI}{\reencodefont{zgmosfInums}{\fromafm{newG8-Osf-reg}}}
+\transformfont{zgmri-digitsI}{\reencodefont{zgmosfInums}{\fromafm{newG8-Osf-ita}}}
+\transformfont{zgmb-digitsI}{\reencodefont{zgmosfInums}{\fromafm{newG8-Osf-bol}}}
+\transformfont{zgmbi-digitsI}{\reencodefont{zgmosfInums}{\fromafm{newG8-Osf-bolita}}}
+%\transformfont{zgmri-t8c}{\reencodefont{ts1}{\fromafm{zgmri-tc}}}
+%\transformfont{zgmr-t8c}{\reencodefont{ts1}{\fromafm{zgmr-tc}}}
+%\transformfont{zgmb8c}{\reencodefont{ts1}{\fromafm{newG8-Bol}}}
+%\transformfont{zgmb-t8c}{\reencodefont{ts1}{\fromafm{zgmb-tc}}}
+\transformfont{newG8-Reg-swq}{\reencodefont{swashQ}{\fromafm{NewG8-Reg}}}
+\transformfont{newG8-Ita-swq}{\reencodefont{swashQ}{\fromafm{NewG8-Ita}}}
+\transformfont{newG8-Bol-swq}{\reencodefont{swashQ}{\fromafm{NewG8-Bol}}}
+\transformfont{newG8-BolIta-swq}{\reencodefont{swashQ}{\fromafm{NewG8-BolIta}}}
+\generalpltomtx{newG8-Reg-swq}{newG8-Reg-swq}{pl}{t1}
+\generalpltomtx{newG8-Ita-swq}{newG8-Ita-swq}{pl}{t1}
+\generalpltomtx{newG8-Bol-swq}{newG8-Bol-swq}{pl}{t1}
+\generalpltomtx{newG8-BolIta-swq}{newG8-BolIta-swq}{pl}{t1}
+%\reglyphfonts
+%\renameglyph{oldone}{one}
+%\renameglyph{one}{colon}
+%\reglyphfont{zgmr-digitsI}{zgmr-digits}
+%\reglyphfont{zgmb-digitsI}{zgmb-digits}
+%\reglyphfont{zgmri-digitsI}{zgmri-digits}
+%\reglyphfont{zgmbi-digitsI}{zgmbi-digits}
+%\endreglyphfonts
+%\bye
+
+\installfonts
+
+\installfamily{T1}{zgmx}{}
+\installfont{T1-zgm-r-lf}%
+{zgmr8r,%
+newG8-Reg-swq encoding T1,% Eng, eng
+adjust-gm-r,%
+newlatin}
+{t1}{T1}{zgmx}{m}{n}{}
+\installfont{T1-zgm-r-lf-sc}%
+{zgmrc8r,%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1sc}{T1}{zgmx}{m}{sc}{}
+\installfont{T1-zgm-b-lf-sc}%
+{zgmbc8r,%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1sc}{T1}{zgmx}{b}{sc}{}
+\installfont{T1-zgm-ri-lf-sc}%
+{zgmric8r,%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1sc}{T1}{zgmx}{m}{scit}{}
+\installfont{T1-zgm-bi-lf-sc}%
+{zgmbic8r,%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1sc}{T1}{zgmx}{b}{scit}{}
+\installfont{T1-zgm-b-lf}%
+{zgmb8r,%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1}{T1}{zgmx}{b}{n}{}
+\installfont{T1-zgm-ri-lf}%
+{zgmri8r,%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1}{T1}{zgmx}{m}{it}{}
+\installfont{T1-zgm-bi-lf}%
+{zgmbi8r,%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmx}{b}{it}{}
+%%%%% Now repeat with swashQ
+\installfont{T1-zgm-r-lf-swq}%
+{zgmr8r,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1}{T1}{zgmx}{m}{n}{}
+\installfont{T1-zgm-r-lf-sc-swq}%
+{zgmrc8r,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1sc}{T1}{zgmx}{m}{sc}{}
+\installfont{T1-zgm-b-lf-sc-swq}%
+{zgmbc8r,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1sc}{T1}{zgmx}{b}{sc}{}
+\installfont{T1-zgm-ri-lf-sc-swq}%
+{zgmric8r,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1sc}{T1}{zgmx}{m}{scit}{}
+\installfont{T1-zgm-bi-lf-sc-swq}%
+{zgmbic8r,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmx}{b}{scit}{}
+\installfont{T1-zgm-b-lf-swq}%
+{zgmb8r,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1}{T1}{zgmx}{b}{n}{}
+\installfont{T1-zgm-ri-lf-swq}%
+{zgmri8r,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1}{T1}{zgmx}{m}{it}{}
+\installfont{T1-zgm-bi-lf-swq}%
+{zgmbi8r,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmx}{b}{it}{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\installfamily{T1}{zgmj}{}
+\installfont{T1-zgm-r-osf}%
+{zgmr8r,%
+newG8-Reg-swq encoding T1,%
+unsetnum,%
+zgmr-digits encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1}{T1}{zgmj}{m}{n}{}
+\installfont{T1-zgm-r-osfI}%
+{zgmr8r,%
+newG8-Reg-swq encoding T1,%
+unsetnum,%
+zgmr-digitsI encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1}{T1}{zgmj}{m}{n}{}
+\installfont{T1-zgm-r-osf-sc}%
+{zgmrc8r,%
+newG8-Reg-swq encoding T1,%
+unsetnum,%
+zgmr-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-bi,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{sc}{}
+\installfont{T1-zgm-r-osfI-sc}%
+{zgmrc8r,%
+newG8-Reg-swq encoding T1,%
+unsetnum,%
+zgmr-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-r,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{sc}{}
+\installfont{T1-zgm-b-osf-sc}%
+{zgmbc8r,%
+newG8-Bol-swq encoding T1,%
+unsetnum,%
+zgmb-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-b,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{sc}{}
+\installfont{T1-zgm-b-osfI-sc}%
+{zgmbc8r,%
+newG8-Bol-swq encoding T1,%
+unsetnum,%
+zgmb-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-b,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{sc}{}
+\installfont{T1-zgm-ri-osf-sc}%
+{zgmric8r,%
+newG8-Ita-swq encoding T1,%
+unsetnum,%
+zgmri-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-ri,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{scit}{}
+\installfont{T1-zgm-ri-osfI-sc}%
+{zgmric8r,%
+newG8-Ita-swq encoding T1,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-ri,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{scit}{}
+\installfont{T1-zgm-bi-osf-sc}%
+{zgmbic8r,%
+newG8-BolIta-swq encoding T1,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-bi,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{scit}{}
+\installfont{T1-zgm-bi-osfI-sc}%
+{zgmbic8r,%
+newG8-BolIta-swq encoding T1,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-bi,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{scit}{}
+\installfont{T1-zgm-b-osf}%
+{zgmb8r,%
+newG8-Bol-swq encoding T1,%
+unsetnum,%
+zgmb-digits encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1}{T1}{zgmj}{b}{n}{}
+\installfont{T1-zgm-b-osfI}%
+{zgmb8r,%
+newG8-Bol-swq encoding T1,%
+unsetnum,%
+zgmb-digitsI encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1}{T1}{zgmj}{b}{n}{}
+\installfont{T1-zgm-ri-osf}%
+{zgmri8r,%
+newG8-Ita-swq encoding T1,%
+unsetnum,%
+zgmri-digits encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1}{T1}{zgmj}{m}{it}{}
+\installfont{T1-zgm-ri-osfI}%
+{zgmri8r,%
+newG8-Ita-swq encoding T1,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1}{T1}{zgmj}{m}{it}{}
+\installfont{T1-zgm-bi-osf}%
+{zgmbi8r,%
+newG8-BolIta-swq encoding T1,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmj}{b}{it}{}
+\installfont{T1-zgm-bi-osfI}%
+{zgmbi8r,%
+newG8-BolIta-swq encoding T1,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmj}{b}{it}{}
+%%%%%repeat with swq
+\installfont{T1-zgm-r-osf-swq}%
+{zgmr8r,%
+unsetnum,%
+zgmr-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1}{T1}{zgmj}{m}{n}{}
+\installfont{T1-zgm-r-osfI-swq}%
+{zgmr8r,%
+unsetnum,%
+zgmr-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1}{T1}{zgmj}{m}{n}{}
+\installfont{T1-zgm-r-osf-sc-swq}%
+{zgmrc8r,%
+unsetnum,%
+zgmr-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{sc}{}
+\installfont{T1-zgm-r-osfI-sc-swq}%
+{zgmrc8r,%
+unsetnum,%
+zgmr-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding T1,%
+adjust-gm-r,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{sc}{}
+\installfont{T1-zgm-b-osf-sc-swq}%
+{zgmbc8r,%
+unsetnum,%
+zgmb-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{sc}{}
+\installfont{T1-zgm-b-osfI-sc-swq}%
+{zgmbc8r,%
+unsetnum,%
+zgmb-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{sc}{}
+\installfont{T1-zgm-ri-osf-sc-swq}%
+{zgmric8r,%
+unsetnum,%
+zgmri-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{scit}{}
+\installfont{T1-zgm-ri-osfI-sc-swq}%
+{zgmric8r,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1sc}{T1}{zgmj}{m}{scit}{}
+\installfont{T1-zgm-bi-osf-sc-swq}%
+{zgmbic8r,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{scit}{}
+\installfont{T1-zgm-bi-osfI-sc-swq}%
+{zgmbic8r,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1sc}{T1}{zgmj}{b}{scit}{}
+\installfont{T1-zgm-b-osf-swq}%
+{zgmb8r,%
+unsetnum,%
+zgmb-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1}{T1}{zgmj}{b}{n}{}
+\installfont{T1-zgm-b-osfI-swq}%
+{zgmb8r,%
+unsetnum,%
+zgmb-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding T1,%
+adjust-gm-b,%
+newlatin}
+{t1}{T1}{zgmj}{b}{n}{}
+\installfont{T1-zgm-ri-osf-swq}%
+{zgmri8r,%
+unsetnum,%
+zgmri-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1}{T1}{zgmj}{m}{it}{}
+\installfont{T1-zgm-ri-osfI-swq}%
+{zgmri8r,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{t1}{T1}{zgmj}{m}{it}{}
+\installfont{T1-zgm-bi-osf-swq}%
+{zgmbi8r,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmj}{b}{it}{}
+\installfont{T1-zgm-bi-osfI-swq}%
+{zgmbi8r,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{t1}{T1}{zgmj}{b}{it}{}
+
+%%%%%%%%%%%% START TS1
+\installfamily{TS1}{zgmx}{}
+\installfont{TS1-zgm-r-lf}%
+{zgmr8r,%
+zgmr8c,% 8c is for ts1 (text companion) encoding
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmr-digits suffix oldstyle,%
+textcomp}
+{ts1}{TS1}{zgmx}{m}{n}{}
+\installfont{TS1-zgm-b-lf}%
+{zgmb8r,%
+zgmb8c,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,%
+unsetnum,%
+zgmb-digits suffix oldstyle,%
+textcomp}
+{ts1}{TS1}{zgmx}{b}{n}{}
+\installfont{TS1-zgm-ri-lf}%
+{zgmri8r,%
+zgmri8c,%
+zgmri-t8c,%
+unsetnum,%
+zgmri-digits suffix oldstyle,%
+textcomp}
+{ts1}{TS1}{zgmx}{m}{it}{}
+\installfont{TS1-zgm-bi-lf}%
+{zgmbi8r,%
+zgmbi8c,%
+zgmbi-t8c,%
+unsetnum,%
+zgmbi-digits suffix oldstyle,%
+textcomp}
+{ts1}{TS1}{zgmx}{b}{it}{}
+
+\installfamily{LY1}{zgmx}{}
+\installfont{LY1-zgm-r-lf}%
+{zgmr8y,%
+newG8-Reg-swq encoding LY1,% Eng, eng
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1}{LY1}{zgmx}{m}{n}{}
+\installfont{LY1-zgm-r-lf-sc}%
+{zgmrc8y,%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{m}{sc}{}
+\installfont{LY1-zgm-b-lf-sc}%
+{zgmbc8y,%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{b}{sc}{}
+\installfont{LY1-zgm-ri-lf-sc}%
+{zgmric8y,%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{m}{scit}{}
+\installfont{LY1-zgm-bi-lf-sc}%
+{zgmbic8y,%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{b}{scit}{}
+\installfont{LY1-zgm-b-lf}%
+{zgmb8y,%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1}{LY1}{zgmx}{b}{n}{}
+\installfont{LY1-zgm-ri-lf}%
+{zgmri8y,%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1}{LY1}{zgmx}{m}{it}{}
+\installfont{LY1-zgm-bi-lf}%
+{zgmbi8y,%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1}{LY1}{zgmx}{b}{it}{}
+%%%%% Now repeat with swashQ
+\installfont{LY1-zgm-r-lf-swq}%
+{zgmr8y,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1}{LY1}{zgmx}{m}{n}{}
+\installfont{LY1-zgm-r-lf-sc-swq}%
+{zgmrc8y,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{m}{sc}{}
+\installfont{LY1-zgm-b-lf-sc-swq}%
+{zgmbc8y,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{b}{sc}{}
+\installfont{LY1-zgm-ri-lf-sc-swq}%
+{zgmric8y,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{m}{scit}{}
+\installfont{LY1-zgm-bi-lf-sc-swq}%
+{zgmbic8y,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmx}{b}{scit}{}
+\installfont{LY1-zgm-b-lf-swq}%
+{zgmb8y,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1}{LY1}{zgmx}{b}{n}{}
+\installfont{LY1-zgm-ri-lf-swq}%
+{zgmri8y,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1}{LY1}{zgmx}{m}{it}{}
+\installfont{LY1-zgm-bi-lf-swq}%
+{zgmbi8y,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1}{LY1}{zgmx}{b}{it}{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\installfamily{LY1}{zgmj}{}
+\installfont{LY1-zgm-r-osf}%
+{zgmr8y,%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmr-digits encoding T1,%
+adjust-gm-r,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{n}{}
+\installfont{LY1-zgm-r-osfI}%
+{zgmr8y,%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmr-digitsI encoding T1,%
+adjust-gm-r,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{n}{}
+\installfont{LY1-zgm-r-osf-sc}%
+{zgmrc8y,%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmr-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{sc}{}
+\installfont{LY1-zgm-r-osfI-sc}%
+{zgmrc8y,%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmr-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-r,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{sc}{}
+\installfont{LY1-zgm-b-osf-sc}%
+{zgmbc8y,%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmb-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-b,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{sc}{}
+\installfont{LY1-zgm-b-osfI-sc}%
+{zgmbc8y,%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmb-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-b,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{sc}{}
+\installfont{LY1-zgm-ri-osf-sc}%
+{zgmric8y,%
+newG8-Ita-swq encoding LY1,%
+unsetnum,%
+zgmri-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-ri,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{scit}{}
+\installfont{LY1-zgm-ri-osfI-sc}%
+{zgmric8y,%
+newG8-Ita-swq encoding LY1,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-ri,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{scit}{}
+\installfont{LY1-zgm-bi-osf-sc}%
+{zgmbic8y,%
+newG8-BolIta-swq encoding LY1,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{scit}{}
+\installfont{LY1-zgm-bi-osfI-sc}%
+{zgmbic8y,%
+newG8-BolIta-swq encoding LY1,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{scit}{}
+\installfont{LY1-zgm-b-osf}%
+{zgmb8y,%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmb-digits encoding T1,%
+adjust-gm-b,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{n}{}
+\installfont{LY1-zgm-b-osfI}%
+{zgmb8y,%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+unsetnum,%
+zgmb-digitsI encoding T1,%
+adjust-gm-b,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{n}{}
+\installfont{LY1-zgm-ri-osf}%
+{zgmri8y,%
+newG8-Ita-swq encoding LY1,%
+unsetnum,%
+zgmri-digits encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{it}{}
+\installfont{LY1-zgm-ri-osfI}%
+{zgmri8y,%
+newG8-Ita-swq encoding LY1,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+adjust-gm-ri,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{it}{}
+\installfont{LY1-zgm-bi-osf}%
+{zgmbi8y,%
+newG8-BolIta-swq encoding LY1,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{it}{}
+\installfont{LY1-zgm-bi-osfI}%
+{zgmbi8y,%
+newG8-BolIta-swq encoding LY1,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+adjust-gm-bi,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{it}{}
+%%%%%repeat with swq
+\installfont{LY1-zgm-r-osf-swq}%
+{zgmr8y,%
+unsetnum,%
+zgmr-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{n}{}
+\installfont{LY1-zgm-r-osfI-swq}%
+{zgmr8y,%
+unsetnum,%
+zgmr-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{n}{}
+\installfont{LY1-zgm-r-osf-sc-swq}%
+{zgmrc8y,%
+unsetnum,%
+zgmr-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{sc}{}
+\installfont{LY1-zgm-r-osfI-sc-swq}%
+{zgmrc8y,%
+unsetnum,%
+zgmr-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Reg-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmr-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-r,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{sc}{}
+\installfont{LY1-zgm-b-osf-sc-swq}%
+{zgmbc8y,%
+unsetnum,%
+zgmb-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{sc}{}
+\installfont{LY1-zgm-b-osfI-sc-swq}%
+{zgmbc8y,%
+unsetnum,%
+zgmb-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{sc}{}
+\installfont{LY1-zgm-ri-osf-sc-swq}%
+{zgmric8y,%
+unsetnum,%
+zgmri-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{scit}{}
+\installfont{LY1-zgm-ri-osfI-sc-swq}%
+{zgmric8y,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{m}{scit}{}
+\installfont{LY1-zgm-bi-osf-sc-swq}%
+{zgmbic8y,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{scit}{}
+\installfont{LY1-zgm-bi-osfI-sc-swq}%
+{zgmbic8y,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+\metrics \setkern{three}{j}{50} \setkern{four}{j}{60} \setkern{five}{j}{60},%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1sc}{LY1}{zgmj}{b}{scit}{}
+\installfont{LY1-zgm-b-osf-swq}%
+{zgmb8y,%
+unsetnum,%
+zgmb-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{n}{}
+\installfont{LY1-zgm-b-osfI-swq}%
+{zgmb8y,%
+unsetnum,%
+zgmb-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Bol-swq encoding LY1,%
+\metrics \unsetglyph{mu},% use upright mu
+zgmb-t8c,% 8c encoded zgmr-tc.pfb, from corrected rtcxr.pfb
+adjust-gm-b,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{n}{}
+\installfont{LY1-zgm-ri-osf-swq}%
+{zgmri8y,%
+unsetnum,%
+zgmri-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{it}{}
+\installfont{LY1-zgm-ri-osfI-swq}%
+{zgmri8y,%
+unsetnum,%
+zgmri-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-Ita-swq encoding LY1,%
+adjust-gm-ri,%
+newlatin}
+{ly1}{LY1}{zgmj}{m}{it}{}
+\installfont{LY1-zgm-bi-osf-swq}%
+{zgmbi8y,%
+unsetnum,%
+zgmbi-digits encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{it}{}
+\installfont{LY1-zgm-bi-osfI-swq}%
+{zgmbi8y,%
+unsetnum,%
+zgmbi-digitsI encoding T1,%
+\metrics \unsetglyph{Q},%
+newG8-BolIta-swq encoding LY1,%
+adjust-gm-bi,%
+newlatin}
+{ly1}{LY1}{zgmj}{b}{it}{}
+
+\endinstallfonts
+\endrecordtransforms
+\bye
diff --git a/fonts/garamondx/src/zgmosfInums.etx b/fonts/garamondx/src/zgmosfInums.etx
new file mode 100644
index 0000000000..12d21e02c5
--- /dev/null
+++ b/fonts/garamondx/src/zgmosfInums.etx
@@ -0,0 +1,51 @@
+\relax
+\encoding
+
+\needsfontinstversion{1.800}
+
+
+
+\nextslot{48}
+
+\setslot{zero}
+ \comment{The number `0'. This (and all the other numerals) may be
+ old style or ranging digits.}
+\endsetslot
+
+\setslot{one.alt}
+ \comment{The number `1'.}
+\endsetslot
+
+\setslot{two}
+ \comment{The number `2'.}
+\endsetslot
+
+\setslot{three}
+ \comment{The number `3'.}
+\endsetslot
+
+\setslot{four}
+ \comment{The number `4'.}
+\endsetslot
+
+\setslot{five}
+ \comment{The number `5'.}
+\endsetslot
+
+\setslot{six}
+ \comment{The number `6'.}
+\endsetslot
+
+\setslot{seven}
+ \comment{The number `7'.}
+\endsetslot
+
+\setslot{eight}
+ \comment{The number `8'.}
+\endsetslot
+
+\setslot{nine}
+ \comment{The number `9'.}
+\endsetslot
+
+\endencoding \ No newline at end of file