summaryrefslogtreecommitdiff
path: root/fonts/garamondx/src/adjust-gm-b.mtx
blob: d558156eb13eb497b817d75f263108297dea4e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
\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