| 1 |
|
| 2 |
%% omega.mf |
| 3 |
%% Copyright 2005 Laurie Field |
| 4 |
% |
| 5 |
% This work is LFB, version 1.0. |
| 6 |
% |
| 7 |
% This work may be distributed and/or modified under the |
| 8 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 9 |
% of this license or (at your option) any later version. |
| 10 |
% The latest version of this license is in |
| 11 |
% http://www.latex-project.org/lppl.txt |
| 12 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 13 |
% version 2003/12/01 or later. |
| 14 |
% |
| 15 |
% This work has the LPPL maintenance status "maintained". |
| 16 |
% |
| 17 |
% This Current Maintainer of this work is Laurie Field. |
| 18 |
% |
| 19 |
% This work consists of the files: |
| 20 |
% |
| 21 |
% example.tex |
| 22 |
% lfbacc.tex |
| 23 |
% |
| 24 |
% accents.mf |
| 25 |
% alpha.mf |
| 26 |
% beta.mf |
| 27 |
% capitals.mf |
| 28 |
% charmap.mf |
| 29 |
% delta.mf |
| 30 |
% epsilon.mf |
| 31 |
% eta.mf |
| 32 |
% gamma.mf |
| 33 |
% iota.mf |
| 34 |
% kappa.mf |
| 35 |
% khi.mf |
| 36 |
% lambda.mf |
| 37 |
% lfb.mf |
| 38 |
% lfb5.mf |
| 39 |
% lfb6.mf |
| 40 |
% lfb7.mf |
| 41 |
% lfb8.mf |
| 42 |
% lfb9.mf |
| 43 |
% lfb10.mf |
| 44 |
% lfb11.mf |
| 45 |
% lfb12.mf |
| 46 |
% lfbb5.mf |
| 47 |
% lfbb6.mf |
| 48 |
% lfbb7.mf |
| 49 |
% lfbb8.mf |
| 50 |
% lfbb9.mf |
| 51 |
% lfbb10.mf |
| 52 |
% lfbb11.mf |
| 53 |
% lfbb12.mf |
| 54 |
% ligature.mf |
| 55 |
% mu.mf |
| 56 |
% nu.mf |
| 57 |
% omega.mf |
| 58 |
% omikron.mf |
| 59 |
% others.mf |
| 60 |
% phi.mf |
| 61 |
% pi.mf |
| 62 |
% psi.mf |
| 63 |
% rho.mf |
| 64 |
% serifs.mf |
| 65 |
% sigma.mf |
| 66 |
% sigmafin.mf |
| 67 |
% tau.mf |
| 68 |
% theta.mf |
| 69 |
% upsilon.mf |
| 70 |
% xi.mf |
| 71 |
% zeta.mf |
| 72 |
% |
| 73 |
% and the derived files: |
| 74 |
% |
| 75 |
% lfb5.tfm |
| 76 |
% lfb6.tfm |
| 77 |
% lfb7.tfm |
| 78 |
% lfb8.tfm |
| 79 |
% lfb9.tfm |
| 80 |
% lfb10.tfm |
| 81 |
% lfb11.tfm |
| 82 |
% lfb12.tfm |
| 83 |
% lfbb5.tfm |
| 84 |
% lfbb6.tfm |
| 85 |
% lfbb7.tfm |
| 86 |
% lfbb8.tfm |
| 87 |
% lfbb9.tfm |
| 88 |
% lfbb10.tfm |
| 89 |
% lfbb11.tfm |
| 90 |
% lfbb12.tfm |
| 91 |
% |
| 92 |
% lfb5.600pk |
| 93 |
% lfb6.600pk |
| 94 |
% lfb7.600pk |
| 95 |
% lfb8.600pk |
| 96 |
% lfb9.600pk |
| 97 |
% lfb10.600pk |
| 98 |
% lfb11.600pk |
| 99 |
% lfb12.600pk |
| 100 |
% lfbb5.600pk |
| 101 |
% lfbb6.600pk |
| 102 |
% lfbb7.600pk |
| 103 |
% lfbb8.600pk |
| 104 |
% lfbb9.600pk |
| 105 |
% lfbb10.600pk |
| 106 |
% lfbb11.600pk |
| 107 |
% lfbb12.600pk |
| 108 |
% |
| 109 |
|
| 110 |
width#:=9u#; |
| 111 |
extra#:=2letterspace#; |
| 112 |
define_pixels(width, extra); |
| 113 |
|
| 114 |
def gen_letter = |
| 115 |
penpos2(thin, 90); |
| 116 |
penpos3(thick, 180); |
| 117 |
penpos4(thin, -90); |
| 118 |
penpos5(medthin, 0); |
| 119 |
penpos6(thick, 90); |
| 120 |
penpos7(medthin, 180); |
| 121 |
penpos8(thin, -90); |
| 122 |
penpos9(thick, 0); |
| 123 |
penpos10(thin, 90); |
| 124 |
z1=z2+((z2l-z2) rotated 90); |
| 125 |
z11=z10+((z10l-z10) rotated -90); |
| 126 |
z5l=z7l=z6l; |
| 127 |
x3r=0; % actually the left |
| 128 |
x2=x4=3.5u; |
| 129 |
x6=1/2width; |
| 130 |
x8=x10=width-x2; |
| 131 |
x9r=width; |
| 132 |
y4r=y8r=0; |
| 133 |
y6=y3=y9=1/2x_height; |
| 134 |
y2r=y10r=x_height; |
| 135 |
fill z1..z2l{left}..z3l..z4l..{up}z5l..z6l..z7l{down}..z8l |
| 136 |
..z9l..{left}z10l..z11..z10r{right}..z9r..z8r..z7r..z6r |
| 137 |
..z5r..z4r..z3r..{right}z2r..cycle; |
| 138 |
|
| 139 |
numeric accent_centre; |
| 140 |
accent_centre = x6; |
| 141 |
iotasubomegaback:=width+extra-accent_centre; |
| 142 |
enddef; |
| 143 |
|
| 144 |
beginchar(omega, width#+extra#, x_height#, 0); |
| 145 |
gen_letter; penlabels(1,2,3,4,5,6,7,8,9,10,11); |
| 146 |
endchar; |
| 147 |
|
| 148 |
beginchar(omega_acc+smooth, width#+extra#, ascender#, 0); |
| 149 |
gen_letter; acc_smooth; |
| 150 |
endchar; |
| 151 |
|
| 152 |
beginchar(omega_acc+rough, width#+extra#, ascender#, 0); |
| 153 |
gen_letter; acc_rough; |
| 154 |
endchar; |
| 155 |
|
| 156 |
beginchar(omega_acc+acute, width#+extra#, ascender#, 0); |
| 157 |
gen_letter; acc_acute; |
| 158 |
endchar; |
| 159 |
|
| 160 |
beginchar(omega_acc+grave, width#+extra#, ascender#, 0); |
| 161 |
gen_letter; acc_grave; |
| 162 |
endchar; |
| 163 |
|
| 164 |
beginchar(omega_acc+circ, width#+extra#, ascender#, 0); |
| 165 |
gen_letter; acc_circ; |
| 166 |
endchar; |
| 167 |
|
| 168 |
beginchar(omega_acc+smoothacute, width#+extra#, ascender#, 0); |
| 169 |
gen_letter; acc_smoothacute; |
| 170 |
endchar; |
| 171 |
|
| 172 |
beginchar(omega_acc+smoothgrave, width#+extra#, ascender#, 0); |
| 173 |
gen_letter; acc_smoothgrave; |
| 174 |
endchar; |
| 175 |
|
| 176 |
beginchar(omega_acc+smoothcirc, width#+extra#, ascender#, 0); |
| 177 |
gen_letter; acc_smoothcirc; |
| 178 |
endchar; |
| 179 |
|
| 180 |
beginchar(omega_acc+roughacute, width#+extra#, ascender#, 0); |
| 181 |
gen_letter; acc_roughacute; |
| 182 |
endchar; |
| 183 |
|
| 184 |
beginchar(omega_acc+roughgrave, width#+extra#, ascender#, 0); |
| 185 |
gen_letter; acc_roughgrave; |
| 186 |
endchar; |
| 187 |
|
| 188 |
beginchar(omega_acc+roughcirc, width#+extra#, ascender#, 0); |
| 189 |
gen_letter; acc_roughcirc; |
| 190 |
endchar; |
| 191 |
|
| 192 |
beginchar(omega_acc+breve, width#+extra#, ascender#-macronbreveshorter#, 0); |
| 193 |
gen_letter; acc_breve; |
| 194 |
endchar; |
| 195 |
|
| 196 |
beginchar(omega_acc+macron, width#+extra#, ascender#-macronbreveshorter#, 0); |
| 197 |
gen_letter; acc_macron; |
| 198 |
endchar; |