diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def index 6c239d4e777..8b95e1f74db 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{10449} +%% \CheckSum{10452} %% \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 @@ -34,8 +34,8 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{kashida-xepersian.def}[2016/09/09 v0.5 implementation of Kashida for xepersian package] -\chardef\xepersian@zwj="200D % zero-width joiner +\ProvidesFile{kashida-xepersian.def}[2018/01/03 v0.6 implementation of Kashida for xepersian package] +\chardef\xepersian@kashidachar="0640 % kashida \chardef\xepersian@D=10 % dual-joiner class \chardef\xepersian@L=11 % lam @@ -43,8 +43,8 @@ \chardef\xepersian@A=13 % alef \chardef\xepersian@V=4096 % vowel or other combining mark (to be ignored) \newif\if@Kashida@on -\def\xepersian@kashida{\if@Kashida@on\xepersian@zwj\nobreak% - \leaders\hrule height \XeTeXglyphbounds\tw@ \the\XeTeXcharglyph"0640 depth \XeTeXglyphbounds\f@ur \the\XeTeXcharglyph"0640 \hskip0pt plus 0.5em \xepersian@zwj\fi} +\def\xepersian@kashida{\if@Kashida@on\xepersian@kashidachar\nobreak% + \leaders\hrule height \XeTeXglyphbounds\tw@ \the\XeTeXcharglyph\xepersian@kashidachar depth \XeTeXglyphbounds\f@ur \the\XeTeXcharglyph\xepersian@kashidachar \hskip0pt plus 0.5em \xepersian@kashidachar\relax\fi} \def\setclass#1#2{\def\theclass{#1}\def\charlist{#2}% \expandafter\dosetclass\charlist,\end} |