Debian Codegraph @

texmf-dist/tex/latex/microtype/mt-CharisSIL.cfg

raw
1 %%
2 %% This is file `mt-CharisSIL.cfg',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% microtype-utf.dtx (with options: `CharisSIL')
8 %%
9 %% ------------------------------------------------------------------------
10 %%
11 %% The `microtype' package
12 %% Subliminal refinements towards typographical perfection
13 %% Copyright (c) 2004--2026 R Schlicht <[email protected]>
14 %%
15 %% This work may be distributed and/or modified under the conditions of the
16 %% LaTeX Project Public License, either version 1.3c of this license or (at
17 %% your option) any later version. The latest version of this license is in:
18 %% https://www.latex-project.org/lppl.txt, and version 1.3c or later is part
19 %% of all distributions of LaTeX version 2005/12/01 or later.
20 %%
21 %% This work has the LPPL maintenance status `maintained'.
22 %%
23 %% This work consists of the files microtype.dtx, microtype-utf.dtx and
24 %% microtype.ins and the derived files microtype.sty, microtype-pdftex.def,
25 %% microtype-luatex.def, microtype-xetex.def, microtype.lua, letterspace.sty
26 %% and microtype-show.sty.
27 %%
28 %% ------------------------------------------------------------------------
29 %% This is a font-specific configuration file for the `microtype' package.
30 %% It may contain settings for font expansion and character protrusion,
31 %% tracking, interword spacing and additional kerning, as well as
32 %% character inheritance declarations.
33 %% Please consult the documentation for details.
34 %%
35 %% If you think you have found improvements to these settings, please
36 %% let me know.
37 %%
38 %% When modifying this file, also change the identification line below.
39 %% ------------------------------------------------------------------------
40 %%
41 \ProvidesFile
42 {mt-CharisSIL.cfg}[2017/07/07 v1.1 microtype config. file: Charis SIL (RS)]
43
44 %%% -----------------------------------------------------------------------
45 %%% INHERITANCE
46
47 %% for xetex (EU1) and luatex (EU2), resp. both (TU)
48 \DeclareCharacterInheritance
49 { encoding = {TU,EU1,EU2},
50 family = Charis SIL }
51 { A = {À,Á,Â,Ã,Ä,Å,Ā,Ă,Ą,Ǎ,Ǟ,Ǡ,Ȧ,Ǻ,Ȁ,Ȃ,Ḁ,Ạ,Ả,Ấ,Ầ,Ẩ,Ẫ,Ậ,Ắ,Ằ,Ẳ,Ẵ,Ặ,Ꜳ,
52 А,Ӑ,Ӓ}, % Cyrillic
53 Æ = {Ǣ,
54 Ǽ,Ӕ}, % Cyrillic
55 B = {Ḃ,Ḅ,Ḇ,
56 В}, % Cyr
57 C = {Ç,Ć,Ĉ,Ḉ,Ċ,Č,
58 С,Ҫ}, % Cyr
59 D = {Ď,Ḋ,Ḍ,Ḏ,Ḑ,Ḓ,Đ},
60 E = {È,É,Ê,Ë,Ē,Ĕ,Ė,Ę,Ě,Ȅ,Ȩ,Ȇ,Ḕ,Ḗ,Ḙ,Ḛ,Ḝ,Ẹ,Ẻ,Ẽ,Ế,Ề,Ể,Ễ,Ệ,
61 Е,Ѐ,Ё,Ӗ}, % Cyr
62 F = {Ḟ},
63 G = {Ĝ,Ğ,Ġ,Ģ,Ǧ,Ǵ,Ḡ,Ԍ},
64 H = {Ĥ,Ȟ,Ḣ,Ḥ,Ḧ,Ḩ,Ḫ,
65 Н,Ң,Ҥ,Ӈ,Ӊ}, % Cyr
66 I = {Ì,Í,Î,Ȉ,Ï,Į,Ĩ,Ị,Ī,İ,Ǐ,Ỉ,Ȋ,Ĭ,Ḭ,Ï,
67 І,Ї,Ӏ,ӏ}, % Cyr
68 J = {Ĵ,
69 Ј}, % Cyr
70 K = {Ķ,Ǩ,Ḱ,Ḳ,Ḵ,
71 К,Ќ,Қ,Ҝ,Ҟ,Ҡ,Ӄ,Ԟ}, % Cyr
72 L = {Ĺ,Ļ,Ľ,Ḷ,Ḹ,Ḻ,Ḽ}, % L·
73 M = {Ḿ,Ṁ,Ṃ,
74 М,Ӎ}, % Cyr
75 N = {Ñ,Ń,Ņ,Ň,Ǹ,Ṅ,Ṇ,Ṉ,Ṋ,
76 И,Й,Ѝ,Ҋ,Ӣ,Ӥ}, % Cyr
77 O = {Ò,Ó,Ô,Õ,Ö,Ō,Ŏ,Ő,Ǒ,Ǫ,Ǭ,Ȍ,Ȏ,Ȫ,Ȭ,Ȯ,Ȱ,Ṍ,Ṏ,Ṑ,Ṓ,Ọ,Ỏ,Ố,Ồ,Ổ,Ỗ,Ộ,Ớ,Ờ,Ở,Ỡ,Ơ,
78 О,Ѳ,Ӧ,Ө,Ӫ, % Cyr
79 Θ}, % Greek
80 P = {Ṕ,Ṗ,
81 Р,Ҏ}, % Cyr
82 Q = {Ԛ}, % Cyr
83 R = {Ŕ,Ŗ,Ř,Ȑ,Ȓ,Ṙ,Ṛ,Ṝ,Ṟ},
84 S = {Ś,Ŝ,Ş,Š,Ș,Ṡ,Ṣ,Ṥ,Ṧ,Ṩ,
85 Ѕ}, % Cyr
86 T = {Ţ,Ť,Ț,Ṫ,Ṭ,Ṯ,Ṱ,
87 Т,Ҭ}, % Cyr
88 U = {Ù,Ú,Û,Ü,Ũ,Ū,Ŭ,Ů,Ű,Ų,Ǔ,Ǖ,Ǘ,Ǚ,Ǜ,Ȕ,Ȗ,Ṳ,Ṵ,Ṷ,Ṹ,Ṻ,Ụ,Ủ,Ứ,Ừ,Ử,Ữ,Ự},
89 V = {Ṽ,Ṿ},
90 W = {Ŵ,Ẁ,Ẃ,Ẅ,Ẇ,Ẉ,
91 Ԝ}, % Cyr
92 X = {Ẋ,Ẍ,
93 Х,Ҳ,Ӽ,Ӿ}, % Cyr
94 Y = {Ý,Ŷ,Ÿ,Ȳ,Ẏ,Ỳ,Ỵ,Ỷ,Ỹ,
95 Ү,Ұ}, % Cyr
96 Z = {Ź,Ż,Ž,Ẑ,Ẓ,Ẕ},
97 a = {à,á,â,ã,ä,å,ā,ă,ą,ǎ,ǟ,ǡ,ȧ,ǻ,ȁ,ȃ,ḁ,ạ,ả,ầ,ấ,ẩ,ẫ,ậ,ắ,ằ,ẳ,ẵ,ặ, % aʾ
98 а,ӑ,ӓ}, % Cyr
99 æ = {ǽ,
100 ӕ}, % Cyr
101 b = {ḃ,ḅ,ḇ},
102 c = {ç,ć,ĉ,ċ,č,ḉ,
103 с,ҫ}, % Cyr
104 d = {ď,ḋ,ḍ,ḏ,ḑ,ḓ},
105 e = {è,é,ê,ë,ē,ĕ,ė,ę,ě,ȅ,ȩ,ȇ,ḕ,ḗ,ḙ,ḛ,ḝ,ẹ,ẻ,ẽ,ề,ế,ể,ễ,ệ,
106 е,ѐ,ё,ӗ}, % Cyr
107 f = {ḟ,ff}, % /f_f
108 g = {ĝ,ğ,ġ,ģ,ǧ,ǵ,ḡ},
109 h = {ĥ,ȟ,ḣ,ḥ,ḧ,ḩ,ḫ,ẖ,
110 Һ,һ}, % Cyr
111 i = {ı,ì,í,î,ȉ,ǐ,ï,į,ī,ị,ĩ,ḭ,ḯ,ỉ,ȋ,ĭ,
112 і,ї}, % Cyr
113 j = {ĵ,ǰ,
114 ј}, % Cyr
115 k = {ķ,ǩ,ḱ,ḳ,ḵ},
116 l = {ĺ,ļ,ḻ,ḷ,ḹ,ḽ}, % ľ,l·
117 m = {ḿ,ṁ,ṃ},
118 n = {ñ,ń,ņ,ň,ǹ,ṅ,ṇ,ṉ,ṋ}, % ʼn
119 o = {ò,ó,ô,õ,ö,ō,ŏ,ő,ǒ,ǫ,ǭ,ȍ,ȏ,ȫ,ȭ,ȯ,ȱ,ṍ,ṏ,ṑ,ṓ,ọ,ỏ,ồ,ố,ổ,ỗ,ộ,ớ,ờ,ở,ỡ,ợ,
120 о,ѳ,ӧ,ө,ӫ}, % Cyr
121 p = {ṕ,ṗ,
122 р,ҏ}, % Cyr
123 q = {ԛ}, % Cyr
124 r = {ŕ,ŗ,ř,ȑ,ȓ,ṙ,ṛ,ṝ,ṟ},
125 s = {ś,ŝ,ş,š,ș,ṡ,ṣ,ṥ,ṧ,ṩ,
126 ѕ}, % Cyr
127 t = {ţ,ț,ṫ,ṭ,ṯ,ṱ,ẗ}, % ť
128 u = {ù,ú,û,ü,ũ,ū,ŭ,ů,ű,ų,ǔ,ǖ,ǘ,ǚ,ǜ,ȕ,ȗ,ṳ,ṵ,ṷ,ṹ,ṻ,ụ,ủ,ứ,ừ,ử,ữ,ự},
129 v = {ṽ,ṿ},
130 w = {ŵ,ẁ,ẃ,ẅ,ẇ,ẉ,ẘ,
131 ԝ}, % Cyr
132 x = {ẋ,ẍ,
133 х,ҳ}, % Cyr
134 y = {ý,ÿ,ŷ,ȳ,ẏ,ẙ,ỳ,ỵ,ỷ,ỹ,
135 у,ў,ӯ,ӱ,ӳ}, % Cyr
136 z = {ź,ż,ž,ẑ,ẓ,ẕ},
137 % Cyrillic
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 Г = {Γ}, % Greek
167 П = {Π}, % Greek
168 % missing: tipa, math, symbols, ...
169 }
170
171 %%% -----------------------------------------------------------------------
172 %%% PROTRUSION
173
174 \SetProtrusion
175 [ name = Charis-default ]
176 { encoding = {TU,EU1,EU2},
177 family = Charis SIL }
178 {
179 A = {50,50},
180 Æ = {50,50},
181 C = {50, },
182 D = { ,50},
183 F = { ,50},
184 G = {50, },
185 J = {100, },
186 K = { ,50},
187 L = { ,50},
188 Ŀ = { ,100},
189 O = {50,50},
190 Œ = {50, },
191 P = { ,50},
192 Q = {50,70},
193 R = { ,50},
194 ẞ = { ,40}, % capital sharp s
195 T = {50,50},
196 V = {50,50},
197 W = {50,50},
198 X = {50,50},
199 Y = {50,50},
200 k = { ,50},
201 ŀ = { ,150},
202 r = { ,50},
203 t = { ,50},
204 v = {50,50},
205 w = {50,50},
206 x = {50,50},
207 y = { ,50},
208 1 = {150,150},
209 2 = {50,50},
210 3 = {50, },
211 4 = {100,50},
212 6 = {50, },
213 7 = {50,80},
214 9 = {50,50},
215 . = { ,600},
216 {,}= { ,500},
217 : = { ,400},
218 ; = { ,300},
219 ! = { ,100},
220 ? = { ,200},
221 @ = {50,50},
222 ~ = {200,250},
223 \% = { ,50},
224 * = {300,300},
225 + = {200,250},
226 / = { ,200},
227 /backslash = {150,200},
228 | = {200,200},
229 - = {400,500}, % hyphen
230 – = {200,300}, % endash
231 — = {150,250}, % emdash
232 ― = {200,200}, % Horizontal Bar = \texttwelveudash
233 ‒ = {150,150}, % Figure Dash = \textthreequartersemdash
234 _ = {100,100},
235 {=} = {100,100},
236 ‘ = {300,400}, ’ = {300,400},
237 “ = {300,300}, ” = {300,300},
238 ‚ = {400,400}, „ = {300,300},
239 ‹ = {400,300}, › = {300,400},
240 « = {200,200}, » = {150,300},
241 ¡ = {100, }, ¿ = {100, },
242 ( = {200, }, ) = { ,200},
243 < = {200,150}, > = {100,200},
244 [ = {100, }, ] = { ,100},
245 /braceleft = {200, }, /braceright = { ,300},
246 † = { 80, 80},
247 ‡ = {100,100},
248 • = {200,200},
249 ° = {150,200},
250 ™ = {150,150},
251 ¢ = { 50, },
252 £ = { 50, },
253 ¦ = {200,200},
254 © = {100,100},
255 ® = {100,100},
256 ª = {100,200},
257 º = {200,200},
258 ¬ = {200, 50},
259 µ = { ,100},
260 ¶ = { ,100},
261 · = {300,400},
262 ¹ = {200,300},
263 ² = {100,200},
264 ³ = {100,200},
265 € = {100, },
266 ± = {150,200},
267 × = {200,200},
268 ÷ = {250,250},
269 /minus = {200,200},
270 − = {200,200},
271 % Cyrillic
272 Б = { ,50},
273 Г = { ,130},
274 Ж = {50,50},
275 З = {30,50},
276 Л = {50, },
277 У = {50,50},
278 Ф = {50,50},
279 Ч = {100, },
280 Ъ = { ,50},
281 Ь = { ,50},
282 Э = {50,50},
283 Ю = { ,40},
284 Я = {50, },
285 Ѵ = {50,50},
286 Ҽ = {50, },
287 Ђ = {50,100},
288 Є = {50, },
289 Љ = {50,50},
290 Њ = { ,50},
291 Ћ = {50,50},
292 Ԅ = {100,100},
293 Ԇ = {50,50},
294 Ѣ = { ,50},
295 Ҍ = { ,50},
296 Ԉ = {50,80},
297 Ԋ = { ,80},
298 Ԏ = {50,50},
299 Ԓ = {50, },
300 Ԕ = {50,40},
301 Ԗ = { ,50},
302 Ԙ = {50, },
303 Ԡ = { ,50},
304 Ԣ = { ,50},
305 Ԃ = { ,100},
306 б = {50,50},
307 г = { ,70},
308 к = { ,50},
309 л = {50, },
310 т = {50,50},
311 ф = {50,50},
312 ч = {50, },
313 ъ = { ,50},
314 ь = { ,50},
315 э = { ,50},
316 я = {50, },
317 љ = {50, },
318 њ = { ,50},
319 ѣ = { ,50},
320 ѵ = {50,50},
321 ҽ = {50, },
322 ҍ = { ,50},
323 ү = {50,50},
324 ҕ = { ,50},
325 ҧ = { ,50},
326 ԃ = { ,100},
327 ԅ = {100,100},
328 ԇ = {50,50},
329 ԉ = {50,70},
330 ԋ = { ,70},
331 ԙ = {50,30},
332 ԡ = { ,50},
333 ԣ = { ,50},
334 % Д П Ц Ш Щ Ы Ҕ Ҧ Ҩ Ә Ҵ Џ Ӭ Ӡ Ԑ Ԁ
335 % в д ж з и м н п ц ш ы ю ђ є ћ џ ә ԑ ҩ ҵ ӡ ԁ ԍ ԏ ԓ ԕ ԗ
336 % Greek
337 Δ = {50,50},
338 Ψ = {50,50},
339 γ = {70,70},
340 λ = {40,70},
341 π = {40,50},
342 ρ = { ,50},
343 σ = { ,50},
344 χ = {50,50},
345 }
346
347 \SetProtrusion
348 [ name = Charis-it ]
349 { encoding = {TU,EU1,EU2},
350 family = Charis SIL,
351 shape = {it,sl} }
352 {
353 C = {50, },
354 G = {50, },
355 J = {50, },
356 L = {50,50},
357 O = {50, },
358 Œ = {50, },
359 Q = {50, },
360 S = {50, },
361 $ = {50, },
362 T = {70, },
363 o = {50,50},
364 p = { ,50},
365 q = {50, },
366 t = { ,50},
367 w = { ,50},
368 y = { ,50},
369 1 = {150,100},
370 3 = {50, },
371 4 = {100, },
372 6 = {50, },
373 7 = {100, },
374 . = { ,700},
375 {,}= { ,600},
376 : = { ,400},
377 ; = { ,400},
378 ? = { ,150},
379 & = { ,80},
380 \% = {50,50},
381 * = {300,200},
382 + = {250,250},
383 @ = {80,50},
384 ~ = {150,150},
385 / = { ,150},
386 /backslash = {150,150},
387 - = {300,400}, % hyphen
388 – = {200,300}, % endash
389 — = {150,200}, % emdash
390 _ = { ,100},
391 {=} = {200,200},
392 ± = {150,200},
393 × = {250,250},
394 ÷ = {250,250},
395 ° = {150,200},
396 · = {300,400},
397 ‘ = {400,200}, ’ = {400,200},
398 “ = {300,200}, ” = {400,200},
399 ‚ = {200,500}, „ = {150,500},
400 ‹ = {300,400}, › = {200,500},
401 « = {200,300}, » = {150,400},
402 ( = {200, }, ) = { ,200},
403 < = {200,200}, > = {200,200},
404 /braceleft = {300, }, /braceright = { ,200},
405 % Cyrillic
406 Ж = {50,30},
407 Л = {50, },
408 У = {50,30},
409 Ф = {50, },
410 Ч = {100, },
411 Ъ = { ,50},
412 Ь = { ,50},
413 Э = {50,50},
414 Я = {50, },
415 Ѵ = {50,50},
416 Љ = {50,50},
417 Ԅ = {140,100},
418 Ԇ = {70,50},
419 Ԉ = {50,80},
420 Ԋ = { ,80},
421 Ԏ = {50,50},
422 г = {50,50},
423 д = {50,30},
424 м = {50, },
425 ф = {50, },
426 ч = {50, },
427 ъ = { ,50},
428 ь = { ,50},
429 э = { ,50},
430 я = {50, },
431 љ = {50,50},
432 њ = { ,50},
433 ѵ = {50,50},
434 ҍ = { ,50},
435 ԅ = {140,100},
436 ԇ = {70,50},
437 ԉ = {50,70},
438 ԋ = { ,70},
439 % Greek
440 Γ = { ,130},
441 Δ = {50,50},
442 Ψ = {50,50},
443 γ = {70,70},
444 λ = {40,70},
445 π = {40,50},
446 ρ = { ,50},
447 σ = { ,50},
448 χ = {50,50},
449 }
450
451 % quick and dirty -- maybe we'll promote this to a
452 % regular key some time
453 \define@key{MT@pr@c}{command}{\csname #1\endcsname}
454
455 % glyph names have changed with version 5.0 of Charis SIL:
456 % before: /a.SC, /b.SC, ...
457 % after: /a.sc, /b.sc, ...
458 \ifx\MT@lua\@undefined
459 \gdef\MT@get@CHARIS@SC{
460 % test whether glyph "a.sc" exists
461 \ifnum\numexpr\XeTeXglyphindex "a.sc"\relax > 0
462 \gdef\MT@CHARIS@SC{sc}%
463 \else
464 \gdef\MT@CHARIS@SC{SC}%
465 \fi
466 }
467 \else
468 \gdef\MT@get@CHARIS@SC{
469 \gdef\MT@CHARIS@SC{\MT@lua{
470 % check font version
471 if (tonumber(fontloader.info(font.getfont(font.current()).filename).version) < 5) then;
472 tex.print("SC");
473 else;
474 tex.print("sc");
475 end
476 }}
477 }
478 \fi
479
480 \SetProtrusion
481 [ name = Charis-sc,
482 load = Charis-default,
483 command = {MT@get@CHARIS@SC} ]
484 { encoding = {TU,EU1,EU2},
485 family = Charis SIL,
486 shape = {sc} }
487 {
488 /a.\MT@CHARIS@SC = {100,100},
489 /c.\MT@CHARIS@SC = {50, },
490 /d.\MT@CHARIS@SC = { ,50},
491 /f.\MT@CHARIS@SC = { ,50},
492 /g.\MT@CHARIS@SC = {50, },
493 /j.\MT@CHARIS@SC = {100, },
494 /k.\MT@CHARIS@SC = { ,50},
495 /l.\MT@CHARIS@SC = { ,50},
496 /f_l.\MT@CHARIS@SC = { ,50},
497 /o.\MT@CHARIS@SC = {50,50},
498 /oe.\MT@CHARIS@SC = {50, },
499 /q.\MT@CHARIS@SC = {50,70},
500 /r.\MT@CHARIS@SC = { ,50},
501 /t.\MT@CHARIS@SC = {50,100},
502 /v.\MT@CHARIS@SC = {50,50},
503 /w.\MT@CHARIS@SC = {50,50},
504 /x.\MT@CHARIS@SC = {50,50},
505 /y.\MT@CHARIS@SC = {50,50}
506 }
507
508 \endinput
509 %%
510 %% End of file `mt-CharisSIL.cfg'.