7e601c2d2da18e0a10f8d7e85afb734f105b38fc
[~bandali/cv] / fontspec.cfg
1 % fontspec.cfg --- fontspec configuration -*-latex-*-
2
3 % Copyright (C) 2020 Amin Bandali <bandali@uwaterloo.ca>
4
5 % This file is part of bandali's cv.
6
7 % This CV 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 3 of the License, or
10 % (at your option) any later version.
11
12 % This CV is distributed in the hope that it will be useful,
13 % but WITHOUT ANY WARRANTY; without even the implied warranty of
14 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 % GNU General Public License for more details.
16
17 % You should have received a copy of the GNU General Public License
18 % along with this CV. If not, see <https://www.gnu.org/licenses/>.
19
20
21 %% ===================================================================
22 %% Jost* <https://indestructibletype.com/Jost.html>
23 %% ===================================================================
24
25 \defaultfontfeatures[Jost Hairline]{
26 Extension = .otf,
27 Path = font/jost/,
28 UprightFont = Jost-100-Hairline,
29 BoldFont = Jost-500-Medium,
30 ItalicFont = Jost-100-HairlineItalic,
31 BoldItalicFont = Jost-500-MediumItalic
32 }
33
34 \defaultfontfeatures[Jost Thin]{
35 Extension = .otf,
36 Path = font/jost/,
37 UprightFont = Jost-200-Thin,
38 BoldFont = Jost-500-Medium,
39 ItalicFont = Jost-200-ThinItalic,
40 BoldItalicFont = Jost-500-MediumItalic
41 }
42
43 \defaultfontfeatures[Jost Light]{
44 Extension = .otf,
45 Path = font/jost/,
46 UprightFont = Jost-300-Light,
47 BoldFont = Jost-500-Medium,
48 ItalicFont = Jost-300-LightItalic,
49 BoldItalicFont = Jost-500-MediumItalic
50 }
51
52 \defaultfontfeatures[Jost Book]{
53 Extension = .otf,
54 Path = font/jost/,
55 UprightFont = Jost-400-Book,
56 BoldFont = Jost-500-Medium,
57 ItalicFont = Jost-400-BookItalic,
58 BoldItalicFont = Jost-500-MediumItalic
59 }
60
61 \defaultfontfeatures[Jost]{ % same as Jost Book
62 Extension = .otf,
63 Path = font/jost/,
64 UprightFont = Jost-400-Book,
65 BoldFont = Jost-500-Medium,
66 ItalicFont = Jost-400-BookItalic,
67 BoldItalicFont = Jost-500-MediumItalic
68 }
69
70 \defaultfontfeatures[Jost Regular]{ % same as Jost Book
71 Extension = .otf,
72 Path = font/jost/,
73 UprightFont = Jost-400-Book,
74 BoldFont = Jost-500-Medium,
75 ItalicFont = Jost-400-BookItalic,
76 BoldItalicFont = Jost-500-MediumItalic
77 }
78
79 \defaultfontfeatures[Jost Medium]{
80 Extension = .otf,
81 Path = font/jost/,
82 UprightFont = Jost-500-Medium,
83 BoldFont = Jost-600-Semi,
84 ItalicFont = Jost-500-MediumItalic,
85 BoldItalicFont = Jost-600-SemiItalic
86 }
87
88 \defaultfontfeatures[Jost Semi]{
89 Extension = .otf,
90 Path = font/jost/,
91 UprightFont = Jost-600-Semi,
92 BoldFont = Jost-700-Bold,
93 ItalicFont = Jost-600-SemiItalic,
94 BoldItalicFont = Jost-700-BoldItalic
95 }
96
97 \defaultfontfeatures[Jost Bold]{
98 Extension = .otf,
99 Path = font/jost/,
100 UprightFont = Jost-700-Bold,
101 BoldFont = Jost-800-Hevy,
102 ItalicFont = Jost-700-BoldItalic,
103 BoldItalicFont = Jost-800-HevyItalic
104 }
105
106 \defaultfontfeatures[Jost Hevy]{
107 Extension = .otf,
108 Path = font/jost/,
109 UprightFont = Jost-800-Hevy,
110 ItalicFont = Jost-800-HevyItalic
111 }
112
113 \defaultfontfeatures[Jost Heavy]{ % same as Jost Hevy
114 Extension = .otf,
115 Path = font/jost/,
116 UprightFont = Jost-800-Hevy,
117 ItalicFont = Jost-800-HevyItalic
118 }