Debian Codegraph @

texmf-dist/doc/fonts/cyrillic-modern/INSTALL

raw
1 Build and install instructions
2 ==============================
3
4 You need fontforge (http://fontforge.sourceforge.net/) and font-helpers
5 (http://code.google.com/p/font-helpers/ ) in order to build the fonts
6 from the sources. Also you should have afm2pl, fontware, fontools (the parts of a
7 TeX distribution), GNU make and coreutils. Retrieve the svn repositories
8 for font-helpers and cyrillic-modern
9
10 svn checkout http://font-helpers.googlecode.com/svn/trunk/ font-helpers
11 svn checkout http://cyrillic-modern.googlecode.com/svn/trunk/ cyrillic-modern
12
13 Next, you must copy files (or make links) from font-helpers into the
14 directory where *.sfd files are located. Further, the slanted AMS Type 1
15 fonts (cmsl*.pfb, cmbxsl10.pfb, cmssi*.pfb and corresponding *.afm
16 files) must be copied to the working directory. Then set the LC_ALL environment
17 variable to C or POSIX and type
18
19 make
20
21 and the Type 1 fonts will be produced. The nm.map file is produced by
22 the "make nm.map" command. On UNIX-like systems, you may do
23
24 make install TEXPREFIX=/usr/local/texlive/texmf-local
25
26 as root to install the fonts system-wide provided you have TeXLive
27 installed with the /usr/local prefix. Otherwise to install the fonts to
28 your home directory, execute
29
30 make install TEXPREFIX=~/.texlive2013/texmf-var/
31
32 Adjust the prefix depending on your TeX distribution. Skip the above instructions
33 if you are installing the pre-built fonts. If you have installed the Cyrillic
34 Modern fonts before, execute
35
36 updmap --disable nm.map
37
38 At last, run
39
40 updmap --enable Map=nm.map
41
42 In order to build the opentype collecton files you must have the "otf2otc.py"
43 python script from Adobe Font Development Kit for OpenType in the working
44 directory. It may be downloaded separately from
45 https://github.com/adobe-type-tools/afdko/blob/master/FDK/Tools/SharedData/FDKScripts/otf2otc.py
46 It also requires ttx from fonttols (https://github.com/behdad/fonttools) newer than version 2.5.
47 The opentype fonts may be produced by invoking
48
49 make otf
50