summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xepersian-hm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-19 21:58:08 +0000
committerKarl Berry <karl@freefriends.org>2020-03-19 21:58:08 +0000
commitecfba7a922aa985c09ee18bfc3a4fa6b746ca0ee (patch)
tree51cb1065c577cba80f7ad7d65ffe6867b039919e /Master/texmf-dist/doc/xelatex/xepersian-hm
parentfdd64e46f7731e97f8dd25d5c738169d351a0242 (diff)
xepersian-hm (19mar20)
git-svn-id: svn://tug.org/texlive/trunk@54405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/xepersian-hm')
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt10
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdfbin0 -> 17987 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.tex37
3 files changed, 47 insertions, 0 deletions
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
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf
Binary files 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}
+