From ecfba7a922aa985c09ee18bfc3a4fa6b746ca0ee Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 19 Mar 2020 21:58:08 +0000 Subject: xepersian-hm (19mar20) git-svn-id: svn://tug.org/texlive/trunk@54405 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/xelatex/xepersian-hm/README.txt | 10 ++++++ .../doc/xelatex/xepersian-hm/test-kasida.pdf | Bin 0 -> 17987 bytes .../doc/xelatex/xepersian-hm/test-kasida.tex | 37 +++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt create mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf create mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.tex (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt b/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt new file mode 100644 index 00000000000..5bd2194c2e7 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt @@ -0,0 +1,10 @@ +The XEPERSIAN-HM package +------------------------ + +Kashida feature in xepersian has problem with some fonts such as HM Series +fonts available at 'https://dma8hm1334.bitbucket.io' and XB Series fonts +available at 'http://wiki.irmug.com/index.php/X_Series_2'. The `xepersian-hm' +package fixes this problem. + +The file texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex can be used as +a simple example of the usage of the package. diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf new file mode 100644 index 00000000000..546432f082c Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.tex b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.tex new file mode 100644 index 00000000000..1c599c1cc04 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.tex @@ -0,0 +1,37 @@ +\documentclass{report} +\usepackage{graphicx} +\usepackage{xcolor} +% \usepackage[Kashida=off,fontsloadable=true,RTLdocument=on]{xepersian} % Load xepersian with a few options +\usepackage[Kashida,kashidastretch=0.14 em plus 0.5 em]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=noskip]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=default]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=kayhan]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=khorramshahr]{xepersian-hm} % Succeeds + +% \settextfont[Scale=4.5,Colour=darkgray]{IRXLotus} + +% \settextfont[Scale=4.5,Colour=darkgray]{IRLotus} + +\settextfont[Scale=4.5,Colour=darkgray]{HM XKayhan} + +% \settextfont[Scale=4.5,Colour=darkgray]{HM XNiloofar} + +% \settextfont[Scale=4.5,Colour=darkgray]{HM XYas} + +% \settextfont[Scale=4.5,Colour=darkgray]{HM XZar} + +\setlatintextfont[Scale=2.5,Colour=teal]{HM XKayhan} + +\def\SampleText{راهی جایی تابی چاپی چاههی تلاشهایی شتابهایی تابی چاپی راهی تلاشهــایی که کتابهایی که کلاههایی که} + +\setlength\parindent{0pt} +\pagestyle{empty} +\begin{document} +\color{red} + +\KashidaOff \SampleText \lr{(Kashida Off)~} + +\KashidaOn \SampleText \lr{(Kashida On)~} + +\end{document} + -- cgit v1.2.3