diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-23 22:02:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-23 22:02:02 +0000 |
commit | 6f30abc93858250e05deec20a29add78e52b84f1 (patch) | |
tree | 03cd8330075617c524286f9da1b685d75569b4d3 /Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | |
parent | 9790ad4111397b2458f5c485f4e4e72d4b555e31 (diff) |
xepersian (22feb17)
git-svn-id: svn://tug.org/texlive/trunk@43320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index 1e31e24c9e1..e64077e1ec0 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{9408} +%% \CheckSum{9412} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -35,8 +35,8 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v17.9} -\def\xepersiandate{2017/02/21} +\def\xepersianversion{v18} +\def\xepersiandate{2017/02/23} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -367,12 +367,14 @@ Persian typesetting in XeLaTeX] \newcommand*{\xepersian@computeautoilg}{% compute the interline glue \xepersian@tcl=1536\xepersian@ilg\z@\xepersian@strutilg\z@ \loop + \iffontchar\font\xepersian@tcl \ifdim\XeTeXglyphbounds\tw@ \the\XeTeXcharglyph\xepersian@tcl>\xepersian@ilg \xepersian@ilg=\XeTeXglyphbounds\tw@ \the\XeTeXcharglyph\xepersian@tcl \fi \ifdim\XeTeXglyphbounds\f@ur \the\XeTeXcharglyph\xepersian@tcl>\xepersian@strutilg \xepersian@strutilg=\XeTeXglyphbounds\f@ur \the\XeTeXcharglyph\xepersian@tcl \fi + \fi \advance\xepersian@tcl\@ne \ifnum\xepersian@tcl<1792\repeat \advance\xepersian@strutilg\xepersian@ilg |