summaryrefslogtreecommitdiff
path: root/fonts/psfonts/psnfss-source/charter/patch-euro.mtx
blob: 37b67cfa310abc0830dd7ebf879028daf914ce34 (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
\relax
\metrics
\needsfontinstversion{1.917}

\resetglyph{euro}
   \movert{50}
   \push
      \moveup{\half{\sub{\height{C}}{\depth{C}}}}
      \movert{\scale
         {\half{\sub{\height{C}}{\depth{C}}}}
         {\int{italicslant}}
      }
      \push
         \moveup{\scale{\int{bardistance}}{500}}
         \glyphrule{\scale{\width{C}}{750}}{\int{barthickness}}
      \pop
      \moveup{\scale{\int{bardistance}}{-500}}
      \glyphrule{\scale{\width{C}}{700}}{\int{barthickness}}
      \comment{That this bar is slightly shorter than the previous
        is deliberate. That the two bars are not quite centered
        around the vertical midpoint is also deliberate.}
   \pop
   \movert{\int{baroffset}}
   \comment{This movement should be much larger for some fonts,
     e.g. New Century Schoolbook Italic, but experiments indicate
     that it is independent of the italic slant.}
   \glyph{C}{1000}
   \resetitalic{\italic{C}}
\endsetglyph

\endmetrics