diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf index 48dcd85eeb0..a3939892f1d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf @@ -200,25 +200,26 @@ } \def\amharic@font{% -\font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt -\@ifundefined{amharicfont}{% + \@ifundefined{amharicfont}{% + \normalfontlatin% + \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt \@ifundefined{ethiopicfont}{% \zf@check@ot@script{ethi}% - \if@tempswa% - \addfontfeature{Script=Ethiopic}% - \else% - \PackageError{polyglossia}{^^J - The current font does not contain the Ethiopic script!^^J - Please define \string\ethiopicfont\space or \string\amharicfont\space with \string\newfontfamily}% - \fi% - \zf@check@ot@lang{AMH}% - \if@tempswa\addfontfeature{Language=Amharic}\fi% - }% + \if@tempswa + \addfontfeature{Script=Ethiopic}% + \else + \PackageError{polyglossia}{^^J + The current font does not contain the Ethiopic script!^^J + Please define \string\ethiopicfont\space or \string\amharicfont\space with \string\newfontfamily}% + \fi + \zf@check@ot@lang{AMH}% + \if@tempswa\addfontfeature{Language=Amharic}\fi + }% {\ethiopicfont% - \zf@check@ot@lang{AMH}% - \if@tempswa\addfontfeature{Language=Amharic}\fi% + \zf@check@ot@lang{AMH}% + \if@tempswa\addfontfeature{Language=Amharic}\fi }}% - {\amharicfont}% + {\amharicfont}% } \def\selectnormalfontamharic{% |