diff options
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty index 0b2d007a04a..ed565164c68 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty @@ -13,7 +13,7 @@ %% %% \ProvidesFile{novel-FontDefaults.sty}% -[2017/04/12 v1.1 LaTeX file (default fonts)] +[2017/05/04 v1.2 LaTeX file (default fonts)] %% @@ -74,7 +74,7 @@ % that the user attempted to set the main font using ordinary TeX commands, % or via fontspec's \setmainfont. But those are ineffective in this class, % because without \SetParentFont the prior command will be over-written. -\ifthenelse{\equal{\rmdefault}{lmr}}{}{% +\ifthenelse{\equal{\rmdefault}{\@noveloldrmdefault}}{}{% \ClassWarning{novel}{^^JBIG BAD WARNING:^^J% You attempted to define the main document font using a command such as^^J% \string\renewcommand\string\rmdefault\space or \string\usepackage{font}^^J% @@ -105,6 +105,8 @@ \fi % Now we are ready to set the main font: \setmainfont[\@parentfontfeatures]{\@parentfontname} +\let\textfont\rmfamily\relax % compatibility +\let\mainfont\rmfamily\relax % compatibility % %% \defaultfontfeatures{} % reset @@ -194,7 +196,8 @@ % The novel-specific display fonts use these defaults: \defaultfontfeatures{% SmallCapsFeatures={Renderer=Basic},% - Ligatures=TeX,% + Ligatures=TeX, + Kerning=On,% }% % %% |