summaryrefslogtreecommitdiff
path: root/fonts/cyrillic/ot2cyr/makecyr.tex
blob: aa91884651c5df26e774d12a844158ed0ecbc004 (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
61
62
63
64
65
66
67
68
69
%% makecyr.tex
%% Copyright 1995 Sebastian Rahtz
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Sebastian Rahtz.
%
% This work consists of all files listed in manifest.txt.
% Sebastian Rahtz, October 14th 1995
% Control file to build Cyrillic OT2 metrics for Lucida Sans
% and Monotype Times
%
\input fontinst.sty

\needsfontinstversion{1.317}
%
% 7k for TeX Cyrillic 
%
\def\LucidaCyrillicFont#1#2#3#4#5#6{% Berry name, Y&Y name, series, shape,
				  % alternate base, family
   \transformfont{#58r}{\reencodefont{8r}{\fromafm{#58a}}}
   \installfont{#17k}
      {#2,#58r,AFIIcyr}
      {AFIIOT2}{OT2}{#6}{#3}{#4}{}
}
\def\TimesCyrillicFont#1#2#3#4{% Berry base name, series, shape, alternate
   \transformfont{#48r}{\reencodefont{8r}{\fromafm{#48a}}}
   \installfont{#17k}
      {#1z,#48r,monocyr}
      {monoOT2}{OT2}{mnt}{#2}{#3}{}
}
\installfonts
   \installfamily{OT2}{hls}{}
   \LucidaCyrillicFont{hlsb}{lscyb}{b}{n}{hlsb}{hls}
   \LucidaCyrillicFont{hlsbo}{lscybo}{b}{it}{hlsbi}{hls}
   \LucidaCyrillicFont{hlsro}{lscyo}{m}{n}{hlsri}{hls}
   \LucidaCyrillicFont{hlsr}{lscyr}{m}{it}{hlsr}{hls}

   \installfamily{OT2}{hlst}{}
   \LucidaCyrillicFont{hlsbt}{lstcyb}{b}{n}{hlsbt}{hlst}
   \LucidaCyrillicFont{hlsbot}{lstcybo}{b}{it}{hlsbot}{hlst}
   \LucidaCyrillicFont{hlsrot}{lstcyo}{m}{n}{hlsrot}{hlst}
   \LucidaCyrillicFont{hlsrt}{lstcyr}{m}{it}{hlsrt}{hlst}

   \installfamily{OT2}{mnt}{}
   \TimesCyrillicFont{mntr}{m}{n}{mntr}
   \TimesCyrillicFont{mntro}{m}{it}{mntri}
   \TimesCyrillicFont{mntb}{b}{n}{mntb}
   \TimesCyrillicFont{mntbo}{b}{it}{mntbi}
\endinstallfonts
\bye

% The Latin 2 fonts, havent thought about these yet.
% lstl2b LucidaSansTypLat2-Bold
% lstl2bo LucidaSansTypLat2-BoldObl
% lstl2o LucidaSansTypLat2-Obl
% lstl2r LucidaSansTypLat2
% lsl2b LucidaSansLat2-Bold
% lsl2bo LucidaSansLat2-BoldObl
% lsl2o LucidaSansLat2-Obl
% lsl2r LucidaSansLat2