File: type1ec.sty

package info (click to toggle)
cm-super 0.3.4-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 68,656 kB
  • sloc: makefile: 149; sh: 67
file content (49 lines) | stat: -rw-r--r-- 1,300 bytes parent folder | download | duplicates (8)
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
% Copyright 2002 Vladimir Volovich
%
% Put \usepackage{type1ec} before \usepackage[...]{fontenc}
% in order to use CM-Super EC/TC/LH fonts at arbitrary sizes.
% To reduce the output PS or PDF file size, use \usepackage[10pt]{type1ec}
% (that will use only 10 pt fonts scaled to any desired size).

\ProvidesPackage{type1ec}[2002/09/07 v1.1 Type1 EC font definitions (for CM-Super fonts)]
\DeclareOption{10pt}{%
  \providecommand{\EC@family}[5]{\DeclareFontShape{#1}{#2}{#3}{#4}{<->#51000}{}}%
  \providecommand{\EC@ttfamily}[5]{\DeclareFontShape{#1}{#2}{#3}{#4}{<->#51000}{}}%
}
\ProcessOptions
\providecommand{\EC@family}[5]{%
  \DeclareFontShape{#1}{#2}{#3}{#4}{%
  <-6>#50500%
  <6-7>#50600%
  <7-8>#50700%
  <8-9>#50800%
  <9-10>#50900%
  <10-10.95>#51000%
  <10.95-12>#51095%
  <12-14.4>#51200%
  <14.4-17.28>#51440%
  <17.28-20.74>#51728%
  <20.74-24.88>#52074%
  <24.88-29.86>#52488%
  <29.86-35.83>#52986%
  <35.83->#53583%
}{}}
\providecommand{\EC@ttfamily}[5]{%
  \DeclareFontShape{#1}{#2}{#3}{#4}{%
  <-9>#50800%
  <9-10>#50900%
  <10-10.95>#51000%
  <10.95-12>#51095%
  <12-14.4>#51200%
  <14.4-17.28>#51440%
  <17.28-20.74>#51728%
  <20.74-24.88>#52074%
  <24.88-29.86>#52488%
  <29.86-35.83>#52986%
  <35.83->#53583%
}{}}
\begingroup
\nfss@catcodes
\input{t1cmr.fd}
\endgroup
\endinput