summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/libertinus-fonts/libertinus.css
blob: 2709d32fbe1ac50fef05120a6cda7ea85bb22b86 (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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
/**
 * @version 7.031
 * @date 2021-01-17
 */
/**
 * Libertinus Font Faces
 * =====================
 */
/**
 * Libertinus Serif
 * ----------------
 */
@font-face /* Libertinus Serif Regular Upright */
{
	font-family: Libertinus Serif/*, Libertinus*/;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Serif), local(Libertinus Serif Regular), local(Libertinus), 
		/* local(Linux Libertine), */
		url("static/OTF/LibertinusSerif-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerif-Regular.woff2") format("woff2");
}
@font-face /* Libertinus Serif Regular Italic */
{
	font-family: Libertinus Serif/*, Libertinus*/;
	font-style:  italic;
	font-weight: 400;
	src: local(Libertinus Serif Italic), 
		url("static/OTF/LibertinusSerif-Italic.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerif-Italic.woff2") format("woff2");
}
@font-face /* Libertinus Serif Semibold Upright */
{
	font-family: Libertinus Serif/*, Libertinus*/;
	font-style:  normal;
	font-weight: 600;
	src: local(Libertinus Serif), local(Libertinus Serif Semibold), 
		url("static/OTF/LibertinusSerif-Semibold.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerif-Semibold.woff2") format("woff2");
}
@font-face /* Libertinus Serif Semibold Italic */
{
	font-family: Libertinus Serif/*, Libertinus*/;
	font-style:  italic;
	font-weight: 600;
	src: local(Libertinus Serif Semibold Italic), 
		url("static/OTF/LibertinusSerif-SemiboldItalic.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerif-SemiboldItalic.woff2") format("woff2");
}
@font-face /* Libertinus Serif Bold Upright */
{
	font-family: Libertinus Serif/*, Libertinus*/;
	font-style:  normal;
	font-weight: 700;
	src: local(Libertinus Serif Bold), 
		url("static/OTF/LibertinusSerif-Bold.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerif-Bold.woff2") format("woff2");
}
@font-face /* Libertinus Serif Bold Italic */
{
	font-family: Libertinus Serif/*, Libertinus*/;
	font-style:  italic;
	font-weight: 700;
	src: local(Libertinus Serif Bold Italic), 
		url("static/OTF/LibertinusSerif-BoldItalic.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerif-BoldItalic.woff2") format("woff2");
}
/**
 * ### Libertinus Serif Display ###
 */
@font-face /* Libertinus Serif Display */
{
	font-family: Libertinus /*Serif*/ Display/*, Libertinus*/;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Serif Display), 
		url("static/OTF/LibertinusSerifDisplay-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerifDisplay-Regular.woff2") format("woff2");
}
/**
 * ### Libertinus Serif Initials ###
 */
@font-face /* Libertinus Serif Initials */
{
	font-family: Libertinus /*Serif*/ Initials/*, Libertinus*/;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Serif Initials), 
		url("static/OTF/LibertinusSerifInitials-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSerifInitials-Regular.woff2") format("woff2");
}
/**
 * Libertinus Sans
 * ---------------
 */
@font-face /* Libertinus Sans Regular Upright */
{
	font-family: Libertinus Sans/*, Biolinum*/;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Sans), 
		url("static/OTF/LibertinusSans-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSans-Regular.woff2") format("woff2");
}
@font-face /* Libertinus Sans Regular Italic */
{
	font-family: Libertinus Sans/*, Biolinum*/;
	font-style:  italic;
	font-weight: 400;
	src: local(Libertinus Sans Italic), 
		url("static/OTF/LibertinusSans-Italic.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSans-Italic.woff2") format("woff2");
}
@font-face /* Libertinus Sans Bold Upright */
{
	font-family: Libertinus Sans/*, Biolinum*/;
	font-style:  normal;
	font-weight: 700;
	src: local(Libertinus Sans Bold), 
		url("static/OTF/LibertinusSans-Bold.otf") format("opentype"), 
		url("static/WOFF2/LibertinusSans-Bold.woff2") format("woff2");
}
/**
 * Libertinus Math
 */
@font-face /* Libertinus Serif Math */
{
	font-family: Libertinus /*Serif*/ Math;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Math), 
		url("static/OTF/LibertinusMath-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusMath-Regular.woff2") format("woff2");
}
/**
 * Libertinus Mono
 */
@font-face /* Libertinus Serif Mono */
{
	font-family: Libertinus /*Serif*/ Mono;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Mono), 
		url("static/OTF/LibertinusMono-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusMono-Regular.woff2") format("woff2");
}
/**
 * Libertinus Keyboard
 */
@font-face /* Libertinus Serif Keyboard */
{
	font-family: Libertinus Keyboard;
	font-style:  normal;
	font-weight: 400;
	src: local(Libertinus Keyboard), 
		url("static/OTF/LibertinusKeyboard-Regular.otf") format("opentype"), 
		url("static/WOFF2/LibertinusKeyboard-Regular.woff2") format("woff2");
}

/**
 * Standard OpenType Features
 * ==========================
 *
 * Libertinus supports several OpenType features, 
 * some are enabled by default (`-`) others have to be opted in (`+`), 
 * most can be accessed by high-level CSS properties and values:
 *
 * * Small Caps: features `font-variant` and `font-variant-caps` with values `small-caps` (`+smcp`) and `all-small-caps` (`+c2sc`) 
 * * Ligatures and Contextual Alternates: `-liga`, `+hlig`, `+dlig`; `-calt`
 * * Kerning: `-kern`
 * * Capital Spacing: `+cpsp`, `case`
 * * Slashed zero: `+zero`
 * * Numerals: `-tnum`, `+pnum`, `-lnum`, `+onum`, `+pnum+onum`
 * * Vulgar fractions: `+frac`
 * * Subscripts and Superscripts: `+sinf`, `+sups` 
 * * Diacritic marks: `-mark`, `-mkmk`
 * * Stylistic alternates: `+salt`
 */
/**
 * Cased forms: `+case`
 * --------------------
 *
 * All digits and some punctuation characters (i.e. parentheses, guillemets and hyphen) use shapes that better fit with all-uppercase text (`.cap` or `.sc`).
 *
 * This should really be automatically activated for `text-transform: uppercase`, but is not as of Level 4 of CSS Fonts and CSS Text.
 */
/**
 * Standard ligatures: `-liga`
 * ---------------------------
 * 
 * In serif faces, the Latin lowercase letter sequences
 *   _ſſ_,        _ſſi_, _ſſj_, _ſſk_, _ſſl_, _ſh_, _ſi_, _ſj_,       _ſl_, _ſs_, _ſt_, 
 *   _ff_, _ffh_, _ffi_, _ffj_, _ffk_, _ffl_, _fh_, _fi_, _fj_, _fk_, _fl_,       _ft_
 * form default ligatures.
 * In sans-serif faces, only the Latin lowercase letter sequences
 *   _ff_ (also if the second one has a shortened head) and _ft_
 * form default ligatures.
 *
 * The related feature `clig` is not used.
 *
 * The respective CSS property is `font-variant-ligatures` with the value `common-ligatures` (or `no-common-ligatures`).
 */
/**
 * Discretionary and Historical Ligatures: `+dlig`, `+hlig`
 * --------------------------------------------------------
 *
 * The only historical ligatures supported are Latin lowercase _ st_ and _ct_ in all faces.
 *
 * In all faces, Latin lowercase letter sequences _tt_ and _tz_,
 * in serif faces (i.e. non-sans-serif), also _Th_, _ck_ and _ch_, 
 * form discretionary ligatures.
 *
 * These can all be manually forced by using ZWJ (U+200D) between letters and just the default feature `liga`, too.
 *
 * The respective CSS property is `font-variant-ligatures` with the values `discretionary-ligatures` and `historical-ligatures`.
 */ 
/**
 * Contextual alternates: `-calt`
 * ------------------------------
 *
 * In all faces, 
 *   the Latin capital and small-capital letter *Q* gains a long tail if followed by either lowercase or small-capital letter *u* or *v*, and
 *   the Latin lowercase letter *f*, even when part of the ligature *ff*, has a shortened head if followed by closing parentheses, top quotation mark, lowercase letter with ascending left leg, lowercase letter with diacritic mark above or uppercase letter not starting with a leg or them on the left.
 *
 * The related feature `clig` is not used.
 *
 * The respective CSS property is `font-variant-ligatures` with the value `contextual` (or `no-contextual`).
 */
/**
 * Localized alternates: `locl`
 * ----------------------------
 *
 * For Serbian and Macedonian, 
 *   in all faces, the Cyrillic lowercase letter be *б* and
 *   in italic faces, the Cyrillic llowercase letters ghe *г*, gje *ѓ*, de *д*, pe *п* and te *т*
 * are replaced by alternate glyphs.
 * For Scandinavian languages, because of preferences in Sami typography, the Latin uppercase letter Eng *Ŋ* uses a alternative glyph, cf. `ss07`.
 * For Turkic languages,
 *  ligatures where the Latin lowercase letter _i_ is the second part are deactivated, i.e. _fi_, _ffi_, _ſi_ and _ſſi_.
 *  The small-capitals handling of _i_ / _ı_ does not depend on `locl`, but is part of `smcp` (and `c2sc`).
 */
/**
 * Numerals: `-tnum`, `+pnum`, `-lnum`, `+onum`, `+pnum+onum`
 * ----------------------------------------------------------
 *
 * Except for Libertinus Math, the standard digits can be forced
 * to _old-style_ forms (with ascenders and descenders) with `onum` (`.taboldstyle`),
 * to default _lining_ forms with `lnum`, 
 * to _proportional_ forms with `pnum` (`.fitted`),
 * to _tabular_ (fixed-width) forms with `tnum`.
 * The latter two also apply to euro *€* and yen *¥* currency symbols and trump the other features.
 *
 * The respective CSS property is `font-variant-numeric` with the values `oldstyle-nums`, `lining-nums`, `proportional-nums` and `tabular-nums`.
 */
/**
 * Vulgar fractions: `+frac`; `subs`, `sups`; `sinf` 
 * -------------------------
 *
 * The same sets of inferior/subscript and superior/superscript glyphs are used for various features.
 *
 * The respective CSS property for `frac` is `font-variant-numeric` with the value `diagonal-fractions`. 
 * The value `stacked-fraction` is not supported.
 */

/**
 * Advanced OpenType Font Features: Stylistic Sets
 * ===============================================
 */

@font-feature-values
	Libertinus, 
	Libertinus Serif, 
	Libertinus Sans, 
	Libertinus Math, 
	Libertinus Mono, 
	Libertinus Keyboard 
{
	/**
	 * Stylistic alternates: `+salt`
	 * -----------------------------
	 *
	 * For non-sans-serif faces, uppercase letters J, K, R and W use alternate glyphs (`.alt`).
	 * For small-caps faces, lowercase letters a, q, ŋ and ß use alternate glyphs (`.scalt` etc.).
	 * In all faces, 
	 *   Latin uppercase letters *Q*, eng *Ŋ* and eszet *ẞ*, 
	 *   Latin lowercase letters *h*, *y* and eszet *ß*, 
	 *   Greek lowercase letters beta *β*, theta *θ*, kappa *κ* and phi *φ*,
	 *   Cyrillic letter be *б* and
	 *   the ampersand *&*
	 * use alternate glyphs, cf. `calt`, `ss03`, `ss04`, `ss06`, `ss07`, `locl`.
	 *
	 * The respective CSS property is `font-variant-alternates` with the value `stylistic(<feature-value-name>)`.
	 * The definition in CSS does not seem well thought out yet since it always requires a value name.
	 */
	@stylistic {on: 1;}
	/**
	 * Stylistic Set 1 `ss01` _Low diaeresis on 'A', 'E', 'O'_
	 * -------------------------------------------------------
	 * 
	 * In German, the umlaut dots above the Latin capital letters *A* and *O* (*Ä*, *Ö*) are sometimes moved further apart while the ones above *U* (*Ü*) are put closer together.
	 */
	@styleset {low-diaeresis: 1;}
	/**
	 * Stylistic Set 2 `ss02` _Swashy 'J' 'K' 'R'_
	 * -------------------------------------------
	 * 
	 * A bit more swashy, cursive look with elongated tails for Latin uppercase letter *K* and *R* and a left-hand horizontal top for *J*.
	 * This does not apply to sans-serif faces.
	 */
	@styleset {swashy: 2;}
	/**
	 * Stylistic Set 3 `ss03` _'double s' to two 's'_
	 * ----------------------------------------------
	 * 
	 * All variants of German eszett (lowercase *ß*, uppercase *ẞ* and small-capital) are rendered as round-s digraphs instead, very applicable to Swiss German texts.
	 */
	@styleset {double-s: 3;}
	/**
	 * Stylistic Set 4 `ss04` _Upper case 'double s' to two 'S'_ 
	 * ---------------------------------------------------------
	 * 
	 * Only the uppercase German eszett *ẞ* is rendered as a round-s digraph, subset of `ss03`.
	 */
	@styleset {uppercase-double-s: 4;}
	/**
	 * Stylistic Set 5 `ss05` _Crossed 'W'";_
	 * --------------------------------------
	 * 
	 * Latin uppercase letter *W* is rendered as a ligature of two V, i.e. the middle verticals are longer, as used in the Wikipedia logo.
	 * This does not apply to sans-serif faces.
	 */
	@styleset {crossed-W: 5;}
	/**
	 * Stylistic Set 6 `ss06` _Swash '&'_
	 * ----------------------------------
	 * 
	 * The ampersand *&* is rendered as an _et_ ligature.
	 */
	@styleset {swash-ampersand: 6;}
	/**
	 * Stylistic Set 7 `ss07` _Swap 'Eng' forms_
	 * -----------------------------------------
	 * 
	 * The uppercase letter Eng *Ŋ*, i.e. an N with a descending tail on the right leg, uses the capital N glyph as its base instead of the default enlarged lowercase n glyph. The localized `locl` UC Style for Sami is changed the other way around.
	 */
	@styleset {swap-eng: 7;}
}