X-Git-Url: https://git.shemshak.org/~bandali/cv/blobdiff_plain/4977a8785fb4f09442327b825360c74260a9866c..88457a3748dc603b777fd6d542ba85c511f3377e:/fontspec.cfg diff --git a/fontspec.cfg b/fontspec.cfg new file mode 100644 index 0000000..7e601c2 --- /dev/null +++ b/fontspec.cfg @@ -0,0 +1,118 @@ +% fontspec.cfg --- fontspec configuration -*-latex-*- + +% Copyright (C) 2020 Amin Bandali + +% This file is part of bandali's cv. + +% This CV is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. + +% This CV is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. + +% You should have received a copy of the GNU General Public License +% along with this CV. If not, see . + + +%% =================================================================== +%% Jost* +%% =================================================================== + +\defaultfontfeatures[Jost Hairline]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-100-Hairline, + BoldFont = Jost-500-Medium, + ItalicFont = Jost-100-HairlineItalic, + BoldItalicFont = Jost-500-MediumItalic +} + +\defaultfontfeatures[Jost Thin]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-200-Thin, + BoldFont = Jost-500-Medium, + ItalicFont = Jost-200-ThinItalic, + BoldItalicFont = Jost-500-MediumItalic +} + +\defaultfontfeatures[Jost Light]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-300-Light, + BoldFont = Jost-500-Medium, + ItalicFont = Jost-300-LightItalic, + BoldItalicFont = Jost-500-MediumItalic +} + +\defaultfontfeatures[Jost Book]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-400-Book, + BoldFont = Jost-500-Medium, + ItalicFont = Jost-400-BookItalic, + BoldItalicFont = Jost-500-MediumItalic +} + +\defaultfontfeatures[Jost]{ % same as Jost Book + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-400-Book, + BoldFont = Jost-500-Medium, + ItalicFont = Jost-400-BookItalic, + BoldItalicFont = Jost-500-MediumItalic +} + +\defaultfontfeatures[Jost Regular]{ % same as Jost Book + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-400-Book, + BoldFont = Jost-500-Medium, + ItalicFont = Jost-400-BookItalic, + BoldItalicFont = Jost-500-MediumItalic +} + +\defaultfontfeatures[Jost Medium]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-500-Medium, + BoldFont = Jost-600-Semi, + ItalicFont = Jost-500-MediumItalic, + BoldItalicFont = Jost-600-SemiItalic +} + +\defaultfontfeatures[Jost Semi]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-600-Semi, + BoldFont = Jost-700-Bold, + ItalicFont = Jost-600-SemiItalic, + BoldItalicFont = Jost-700-BoldItalic +} + +\defaultfontfeatures[Jost Bold]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-700-Bold, + BoldFont = Jost-800-Hevy, + ItalicFont = Jost-700-BoldItalic, + BoldItalicFont = Jost-800-HevyItalic +} + +\defaultfontfeatures[Jost Hevy]{ + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-800-Hevy, + ItalicFont = Jost-800-HevyItalic +} + +\defaultfontfeatures[Jost Heavy]{ % same as Jost Hevy + Extension = .otf, + Path = font/jost/, + UprightFont = Jost-800-Hevy, + ItalicFont = Jost-800-HevyItalic +}