diff options
Diffstat (limited to 'Master/texmf-dist/doc/xelatex')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf | bin | 0 -> 17987 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.tex | 37 |
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 Binary files differnew file mode 100644 index 00000000000..546432f082c --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kasida.pdf 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} + |