X-Git-Url: https://git.distorted.org.uk/~mdw/doc/texmf/blobdiff_plain/303336617c0344754966f9535090d90e9c5712c7..447204a54aa3fef7e845b6762bb939907cca8202:/zrmkern.mtx diff --git a/zrmkern.mtx b/zrmkern.mtx new file mode 100644 index 0000000..62ccd50 --- /dev/null +++ b/zrmkern.mtx @@ -0,0 +1,158 @@ +\relax + +% The following adjustments (as originally derived by Alan Jeffrey) +% are tuned for Times-Italic and non-oblique Adobe Symbol. + +\metrics + +\needsfontinstversion{1.800} + +% \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 +% #4 the amount of extra space for subscripts + +\setcommand\shiftglyph#1#2#3#4{ + \resetglyph{#1} + \movert{#2} + \glyph{#1}{1000} + \movert{#4} + \resetitalic{\add{\italic{#1}}{\sub{#3}{#4}}} + \endresetglyph +} + +% \skewkern sets a skewchar kern, assuming that `tie' +% is the skewchar. +% +% #1 the name of the glyph +% #2 the amount of skewchar kerning + +\setcommand\skewkern#1#2{\setkern{#1}{tie}{#2}} + + +% A +% B +\shiftglyph{C}{-50}{0}{-25} +% D +\shiftglyph{E}{0}{50}{0} +\shiftglyph{F}{0}{50}{-100} +% G +\shiftglyph{H}{0}{25}{-25} +\shiftglyph{I}{0}{0}{-25} +\shiftglyph{J}{0}{0}{-25} +\shiftglyph{K}{0}{0}{-25} +% L +% M +\shiftglyph{N}{0}{0}{-25} +% O +\shiftglyph{P}{0}{0}{-100} +% Q +% R +% S +\shiftglyph{T}{0}{50}{-75} +\shiftglyph{U}{-50}{50}{-25} +\shiftglyph{V}{-50}{50}{-50} +\shiftglyph{W}{-50}{50}{-50} +\shiftglyph{X}{0}{50}{-25} +\shiftglyph{Y}{-50}{50}{-50} +% Z + +% a +\shiftglyph{b}{0}{-25}{0} +% c +\shiftglyph{d}{0}{25}{0} +% e +\shiftglyph{f}{150}{0}{25} +\shiftglyph{g}{0}{-50}{0} +% h +% i +\shiftglyph{j}{150}{25}{0} +% k +\shiftglyph{l}{0}{50}{0} +% m +% n +\shiftglyph{o}{0}{-50}{0} +\shiftglyph{p}{75}{-25}{0} +% q +% r +% s +\shiftglyph{t}{-25}{50}{0} +% u +% v +% w +% x +% y +% z + +\shiftglyph{Upsilon}{0}{0}{-150} % was: -50 -100, adds up to -150 +\shiftglyph{weierstrass}{-100}{-200}{-150} + +\skewkern{A}{75} +\skewkern{B}{100} +\skewkern{C}{100} +\skewkern{D}{50} +\skewkern{E}{75} +\skewkern{F}{75} +\skewkern{G}{100} +\skewkern{H}{50} +\skewkern{I}{100} +\skewkern{J}{200} +\skewkern{K}{75} +% L +\skewkern{M}{100} +\skewkern{N}{25} +\skewkern{O}{100} +\skewkern{P}{100} +\skewkern{Q}{100} +\skewkern{R}{100} +\skewkern{S}{100} +\skewkern{T}{50} +\skewkern{U}{50} +\skewkern{X}{50} +\skewkern{Z}{50} + +\skewkern{a}{75} +% b +\skewkern{c}{75} +\skewkern{d}{200} +\skewkern{e}{75} +\skewkern{f}{150} +\skewkern{g}{75} +% h +\skewkern{i}{75} +\skewkern{j}{150} +% k +\skewkern{l}{100} +\skewkern{m}{50} +\skewkern{n}{50} +\skewkern{o}{75} +\skewkern{p}{100} +\skewkern{q}{75} +\skewkern{r}{50} +\skewkern{s}{100} +\skewkern{t}{50} +\skewkern{u}{75} +\skewkern{v}{75} +\skewkern{w}{75} +\skewkern{x}{75} +\skewkern{y}{75} +\skewkern{z}{50} + +\skewkern{dotlessi}{50} +\skewkern{dotlessj}{50} + +\skewkern{upsilon}{25} +\skewkern{iota}{-50} +\skewkern{lambda}{-75} +\skewkern{weierstrass}{175} +\skewkern{lscript}{125} + +\resetglyph{vector} + \movert{-100} + \glyph{vector}{1000} + \movert{100} +\endresetglyph + +\endmetrics