Home

Awesome

Persian fonts for linux

This script downloads and installs Persian fonts on any linux distro.

There are two versions available :

See http://fzerorubigd.github.io/persian-fonts-linux

Installation

You can run the script directly from your shell (it's wise to check the script before running the command) :

bash -c "$(curl -fsSL https://raw.githubusercontent.com/fzerorubigd/persian-fonts-linux/master/farsifonts.sh)"

Available fonts

Getting started

In the TeX file, include:

\usepackage{xepersian}
\usepackage{fontspec}
\settextfont[Scale=1]{IranNastaliq}
\setlatintextfont[Scale=1]{TeX Gyre Termes}
xelatex <TeX file>