PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/contrib/groff/font/devps/generate/symbol.sed

https://bitbucket.org/freebsd/freebsd-head/
sed | 33 lines | 31 code | 0 blank | 2 comment | 0 complexity | 2658a599c661046f6d2bd403ffd46570 MD5 | raw file
 1#! /bin/sed -f
 2# Tweak the AFM file for the Symbol font.
 3/^C .*[ ;]N bracketlefttp[ ;]/bx
 4/^C .*[ ;]N bracketleftex[ ;]/bx
 5/^C .*[ ;]N bracketleftbt[ ;]/bx
 6/^C .*[ ;]N bracketrighttp[ ;]/bx
 7/^C .*[ ;]N bracketrightex[ ;]/bx
 8/^C .*[ ;]N bracketrightbt[ ;]/bx
 9/^C .*[ ;]N bracelefttp[ ;]/bx
10/^C .*[ ;]N braceleftmid[ ;]/bx
11/^C .*[ ;]N braceleftbt[ ;]/bx
12/^C .*[ ;]N bracerighttp[ ;]/bx
13/^C .*[ ;]N bracerightmid[ ;]/bx
14/^C .*[ ;]N bracerightbt[ ;]/bx
15/^C .*[ ;]N braceex[ ;]/bx
16/^C .*[ ;]N parenleftex[ ;]/by
17/^C .*[ ;]N parenrightex[ ;]/by
18/^C .*[ ;]N parenleftbt[ ;]/bz
19/^C .*[ ;]N parenrightbt[ ;]/bz
20/^EndCharMetrics/a\
21italicCorrection integral 67\
22leftItalicCorrection integral 52\
23subscriptCorrection integral -10
24b
25:x
26s/B \([-0-9][0-9]*\) [-0-9][0-9]* \([-0-9][0-9]*\) [-0-9][0-9]*/B \1 -75 \2 925/
27b
28:y
29s/B \([-0-9][0-9]*\) [-0-9][0-9]* \([-0-9][0-9]*\) [-0-9][0-9]*/B \1 -80 \2 920/
30b
31:z
32s/B \([-0-9][0-9]*\) \([-0-9][0-9]*\) \([-0-9][0-9]*\) [-0-9][0-9]*/B \1 \2 \3 920/
33b