diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-23 22:56:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-23 22:56:28 +0000 |
commit | 3e972ccc1affaed1d2183d610a38aac90478ffd7 (patch) | |
tree | 61324e4e4a1f35d56d82faebd00148910b0eccd4 /Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf | |
parent | 1245444c38f58a5f2d3cc77bd773a1cf1920ef4d (diff) |
polyglossia update (23mar10)
git-svn-id: svn://tug.org/texlive/trunk@17538 c570f23f-e606-0410-a88d-b1316a301751
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{% |