Debian Codegraph @

texmf-dist/doc/fonts/cm-lgc/README

raw
1 =========================================================================
2 CM-LGC font package
3 version 0.5 (May 07, 2005)
4
5 Copyright (c) 2003--2005 Alexej Kryukov <[email protected]>.
6
7 This package is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 As a special exception, permission is granted to include these font
13 programs in a Postscript or PDF file that consists of a document that
14 contains text to be displayed or printed using these fonts, regardless
15 of the conditions or license applying to the document itself.
16
17 This package is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
26 Abstract
27 ~~~~~~~~
28
29 The CM-LGC package contains Type 1 fonts converted from METAFONT
30 sources of the Computer Modern font families. The following encodings
31 are supported: T1, T2A (Cyrillic), LGR (Greek) and TS1. This package
32 includes also Unicode virtual fonts for use with Omega/Lambda.
33
34 See the file INSTALL for installation instructions for teTeX, TeX Live,
35 MikTeX or VTeX/Free systems.
36
37 PLEASE read the files README and INSTALL carefully before reporting
38 problems.
39
40 The goal of the package
41 ~~~~~~~~~~~~~~~~~~~~~~~
42
43 Thanks to Peter Szabo's excellent TeXtrace program it is easy
44 to convert METAFONT sources to the Type 1 format. There are some
45 Type 1 font packages based on the Computer Modern font families
46 already available on the Web. I have to mention here excellent
47 CM-SUPER font package by Vladimir Volovich, which covers all
48 European and Cyrillic writings. So you can ask me, why not to
49 use already existing font packages instead of making new one.
50 Here the reasons which made me to undertake this work one more
51 time:
52
53 1. All font packages designed as a replacement for METAFONT
54 sources try to include a maximal possible number of fonts. Usually
55 for each size of each family and shape different *.pfb files
56 are provided. This increases the size of whole package enormously.
57 For example, the CM-SUPER font package requires (with afm files)
58 more than 100 Mb free disk space.
59
60 The CM-LGC package does *not* replace standard METAFONT files.
61 Although it is based on the Computer Modern font families,
62 I renamed the font files in order to avoid name clashes. Since
63 CM-LGC is designed as a separate package, it includes only
64 minimal set of fonts, which, however, should be sufficient for
65 regular work.
66
67 2. Until recently there were no publicly available font packages
68 including Type 1 versions of Claudio Beccari's Greek fonts. Now
69 these versions (converted by Apostolos Syropoulos) are available
70 on CTAN, but CM-LGC is the first Type 1 font package for LaTeX which
71 supports *all* European scripts (LGC means `Latin, Greek and Cyrillic').
72
73 3. Since CM-LGC is not so huge as other CM-based font packages,
74 it was easy to accomplish it with Unicode virtual fonts
75 (*.ovf files) for Omega. CM-LGC is the first free alternative font
76 package which may be used with Omega/Lambda.
77
78 4. Type 1 fonts converted from the METAFONT sources are usually
79 not suitable for use outside of TeX, since they preserve their
80 TeX-specific encodings. The only exception is CM-SUPER fonts
81 by Vladimir Volovich, which use Unicode encoding. However,
82 Unicode Type 1 fonts are hardly usable with some versions of
83 ATM (which is designed mainly for 8-bit fonts), and using them
84 may cause some problems even under XWindow system.
85
86 CM-LGC is the first font package, which provides CM-like fonts
87 with standard (not TeX-specific) 8-bit codepages. For each font
88 family the following codepages are supported:
89
90 -- Adobe Standard (which, of course, is never used by itself, but
91 always reencoded to MICROSOFT-ANSI by ATM and to ISO8859-1 under
92 XWindow system);
93
94 -- WINDOWS-1250 (Central European);
95
96 -- WINDOWS-1251 (Cyrillic);
97
98 -- PARATYPE-CP154 (Cyrilic Asian);
99
100 -- UNITYPE WINLANGUAGE, also known as PARATYPE-CP122 (Polytonic
101 Greek).
102
103 Glyphs from physical pfb files are combined to TeX-specific
104 codepages with virtual fonts, which are prepared by the same
105 way, as, for example, virtual fonts from the psnfss collection.
106 Of course, this means that CM-LGC lacks some rarely used glyphs,
107 present in the original CM fonts. However, the following TeX
108 codepages are fully covered: OT1, T1, T2A, OT2 and LGR.
109
110 Font Naming System
111 ~~~~~~~~~~~~~~~~~~
112
113 Since the CM-LGC fonts are designed to be suitable for use in
114 WYSIWYG applications under MS Windows (with ATM) or X-Window
115 system, it was necessary to provide meaningful names for them.
116 Here the elements used to build the PostScript font names for
117 each font family and shape:
118
119 -- the font family itself (CM Roman/CM Sans/CM Typewriter);
120
121 -- the script name for non-Latin fonts (Cyrillic, Asian (for
122 Asian Cyrillic) or Greek);
123
124 -- the font weight and shape (Regular/Italic/Bold/BoldItalic).
125 The CMSans font family includes "Slanted" shape instead of
126 "Italic" and "BoldSlanted" instead of "BoldItalic";
127
128 -- the last name element is the "SC" letters for small caps
129 fonts or the "OsF" letters for italic fonts with old style
130 numerals.
131
132 Font File Names
133 ~~~~~~~~~~~~~~~
134
135 The font files are named according to Karl Berry's font naming
136 scheme, usually used in TeX for Type 1 fonts. The first
137 letter, which should represent a font foundry, is always
138 `f' (i. e. `free/public'). Next two letters are font family
139 codes. I used `cm' for "Computer Modern", `cs' for "Computer
140 Modern Sans" and `ct' for "Computer Modern Typewriter".
141
142 The fourth and fifth letters in the font name correspond to
143 font weight and shape. Here the list of font weights and shapes
144 available in the CM-LGC fonts:
145
146 r Regular;
147 ri Regular Italic;
148 ro Regular Slanted;
149 rc Regular Small Caps;
150 b Bold;
151 bi Bold Italic;
152 bo Bold Slanted;
153 bc Bold Small Caps.
154
155 Next letter may represent a font variant. I used `j' for
156 Italic fonts with Old Style digits.
157
158 The last two letters in the font name represent font encodings.
159 This part is the most problematic, since there are no standard
160 conventions determining which letters should be used for Cyrillic
161 or Greek encodings. Here the list of font encodings used in
162 CM-LGC fonts:
163
164 8a Adobe Standard;
165 8r Latin raw font encoding (which, however, is slightly
166 different from standard 8r);
167 ce Central European font encoding (based on windows-1250);
168 8t Latin TeX font encoding, i. e. T1;
169 6z Cyrillic raw font encoding (based on windows-1251);
170 6y Asian Cyrillic raw font encoding (based on paratype-cp1254);
171 6a Cyrillic TeX font encoding, i. e. T2A;
172 pg Greek raw font encoding (paratype-cp122);
173 gr Greek TeX font encoding (LGR);
174 ut Unicode-based encoding for Omega's ovf files (UT1).
175
176 For example, the font name `fctrijpg.pfb' means "Computer
177 Modern Typewriter font with regular weight and italic shape,
178 containing old style numerals and using the Greek
179 paratype-cp122 codepage".
180
181 Installation
182 ~~~~~~~~~~~~
183
184 See the INSTALL file for installation instrustions.
185
186 Using CM-LGC with LaTeX
187 ~~~~~~~~~~~~~~~~~~~~~~~
188
189 Just put in your LaTeX preamble the following line:
190
191 \usepackage{cmlgc}
192
193 This will set your default Roman font to fcm, your Sans Serif
194 font to fcs, and your Typewriter font to fct.
195
196 Using CM-LGC with Omega/Lambda
197 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198
199 Unfortunately, last Omega releases doesn't provide any
200 high-level commands for working with multilingual document.
201 That's why I provided an alternative language support package
202 for Omega, called ANTOMEGA.
203
204 Note that the Unicode virtual fonts, included in the CM-LGC
205 package, are not fully compatible with Yannis Haralambous'
206 omlgc font (which really uses a font-specific encoding).
207 ANTOMEGA provides special features for handling strict Unicode
208 fonts, and using it instead of the standard omega.sty file
209 is strongly recommended.
210
211 The CM-LGC package includes antcmlgc.sty file, designed
212 specially for ANTOMEGA. If you use both ANTOMEGA and CM-LGC,
213 load it in your preamble instead of cmlgc.sty.
214
215 Thanks
216 ~~~~~~
217
218 I'd like to thank Peter Szabo for TeXtrace, Martin Weber for
219 AutoTrace, and George Williams for his excellent fontforge program,
220 which I used for optimizing Type 1 font files.
221
222 Happy TeXing!
223 =========================================================================