This script, download and install persian fonts on any linux distro.
There is two version available :
- farsifont.sh : simple cli version
- zfarsifont.sh : GUI version (require zenity)
See http://fzerorubigd.github.com/persian-fonts-linux
Also you can run the script directly from your shell (it's wise to check the script before running the command) :
sh -c "$(curl -fsSL https://raw.githubusercontent.com/fzerorubigd/persian-fonts-linux/master/farsifonts.sh)"
- Vazir
- FarsiFonts
- BFonts
- IranianSans
- IranNastaliq
- FPF
- Lalezar
- XBZar
- XBNilufar
- XBKhoramshahr
- XBKayhan
- XBYaghout
- XBRiyaz
- XBRoya
- XBShafigh
- XBShafighKurd
- XBShafighUzbek
- XBShiraz
- XBSols
- XBTitr
- XBTabriz
- XBTraffic
- XBVahid
- XBVosta
- XBYermook
- XBYas
- XBZiba
- Tahoma
- Samim
- Shabnam
- Sahel
- VazirCode
- Tanha
- Nahid
- Parastoo
In the TeX file, include:
\usepackage{xepersian}
\usepackage{fontspec}
\settextfont[Scale=1]{IranNastaliq}
\setlatintextfont[Scale=1]{TeX Gyre Termes}
xelatex <TeX file>