forked from cosmix/Inconsolata-Hellenic
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathInconsolata-LGC.css
104 lines (97 loc) · 3.32 KB
/
Inconsolata-LGC.css
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
Use this stylesheet to use Inconsolata LGC as webfont
Replace url() values with the path to the font installed in your server
Usage in your hypertexts:
<link rel="stylesheet" type="text/css" href="Inconsolata-LGC.css" />
For Romanian, Polish, Bulgarian, Macedonian, Serbian and Bosnian languages
`locl` feature shall be automatically activated through "lang" attribute.
<pre lang="bg">...</pre>
Usage in your stylesheets:
font-family: "Inconsolata LGC";
font-language-override: "ZHP";
font-variant-alternates: styleset(alternative-umlaut);
font-variant-alternates: character-variant(zero-plain);
font-variant-alternates: character-variant(zero-dotted);
font-variant-alternates: character-variant(zero-longslash);
font-variant-alternates: character-variant(r-with-serif);
font-variant-alternates: character-variant(eng-descender);
font-variant-alternates: character-variant(eng-uppercase);
font-variant-alternates: character-variant(dollar-open);
font-variant-alternates: character-variant(dollar-oldstyle);
font-variant-alternates: character-variant(dollar-cifrao);
font-variant-alternates: character-variant(ezh-no-descender);
font-variant-alternates: character-variant(ezh-reversed-sigma);
font-variant-alternates: character-variant(triangle-text-form);
font-variant-alternates: character-variant(el-with-hook-old);
font-variant-alternates: character-variant(qa-enlarged-lowercase);
font-variant-alternates: character-variant(qa-reversed-p);
font-variant-alternates: character-variant(che-with-hook);
font-variant-alternates: character-variant(che-with-hook-alt);
font-variant-alternates: character-variant(ge-with-hook);
font-variant-alternates: character-variant(ge-with-hook-alt);
font-variant-alternates: character-variant(ge-with-stroke-and-descender);
font-variant-numeric: oldstyle-nums;
*/
@font-face {
font-family: "Inconsolata LGC";
font-weight: regular;
font-style: normal;
src: url("Inconsolata-LGC.woff2") format("woff2");
}
@font-face {
font-family: "Inconsolata LGC";
font-weight: regular;
font-style: italic;
src: url("Inconsolata-LGC-Italic.woff2") format("woff2");
}
@font-face {
font-family: "Inconsolata LGC";
font-weight: bold;
font-style: normal;
src: url("Inconsolata-LGC-Bold.woff2") format("woff2");
}
@font-face {
font-family: "Inconsolata LGC";
font-weight: bold;
font-style: italic;
src: url("Inconsolata-LGC-BoldItalic.woff2") format("woff2");
}
@font-feature-values "Inconsolata LGC" {
@styleset {
alternative-umlaut: 1;
}
@character-variant {
zero-plain: 1 1;
zero-dotted: 1 2;
zero-longslash: 1 3;
r-with-serif: 2 1;
eng-descender: 3 1;
eng-uppercase: 3 2;
dollar-open: 4 1;
dollar-oldstyle: 4 2;
dollar-cifrao: 4 2;
ezh-no-descender: 5 1;
ezh-reversed-sigma: 5 2;
triangle-text-form: 6 1;
el-with-hook-old: 7 1;
qa-enlarged-lowercase: 8 1;
qa-reversed-p: 8 2;
che-with-hook: 9 1;
che-with-hook-alt: 9 2;
ge-with-hook: 10 1;
ge-with-hook-alt: 10 2;
ge-with-stroke-and-descender: 11 1;
}
}
/* Uncomment to enable the font at parts where you may want */
/*
pre, code, kbd, var, samp {
font-family: "Inconsolata LGC";
}
pre[lang|="zh"], code[lang|="zh"], kbd[lang|="zh"], var[lang|="zh"], samp[lang|="zh"] {
font-language-override: "ZHP";
}
pre[lang|="liv"], code[lang|="liv"], kbd[lang|="liv"], var[lang|="liv"], samp[lang|="liv"] {
font-language-override: "ROM";
}
*/