blob: c3164ac6c804beb942b3d76822a71332e04b69b6 (
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
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{CharisSILCompact}
[2021/08/19 (Bob Tennent) Style file for CharisSILCompact fonts.]
\RequirePackage{iftex,xkeyval}
\ifpdftex
\PackageError{charissilcompact}{%
**********************************\MessageBreak
Process using xelatex or lualatex\MessageBreak
**********************************}
\fi
\newcommand*{\CharisSILCompact@scale}{1}
\DeclareOptionX{scaled}{\renewcommand*{\CharisSILCompact@scale}{#1}}
\DeclareOptionX{scale}{\renewcommand*{\CharisSILCompact@scale}{#1}}
\ProcessOptionsX\relax
\RequirePackage{fontspec}
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
Scale = \CharisSILCompact@scale ,
Extension = .ttf }
\setmainfont
[ UprightFont = *-R,
ItalicFont = *-I,
BoldFont = *-B,
BoldItalicFont = *-B,
]
{CharisSIL-LiteracyCompact}
\newfontfamily\CharisSILCompact
[ UprightFont = *-R,
ItalicFont = *-I,
BoldFont = *-B,
BoldItalicFont = *-B,
]
{CharisSIL-LiteracyCompact}
\defaultfontfeatures{}
\endinput
|