Using Awami in Firefox and LibreOffice

The Awami Nastaliq font requires the most recent version 1.3.1 of the Graphite engine. You will need to download and install recent versions of LibreOffice and Firefox to see Awami displayed correctly.

Here are links for downloading appropriate versions:

Firefox

You will need a recent version of Firefox – version 46 or later.

Due to security concerns, Graphite has been disabled in Firefox by default, so you will need to enable it. Follow these instructions for enabling Graphite in Firefox.

LibreOffice

We recommend LibreOffice 5.2 which has the most up-to-date version of the Graphite engine.

Version 5.1 supports Awami, but it has a bug where certain characters (eg, the small tah) would be displayed in an incorrect position.

Using Awami Nastaliq in XeTeX

To use the full collision avoidance (both intra- and inter- word) of Awami in XeTeX (required version 0.99995 or newer) a macro parameter needs to be set.

Explanations of this parameter are at:

http://tug.org/pipermail/xetex/2016-February/026398.html
http://tug.org/pipermail/xetex/2016-February/026401.html
http://tug.org/pipermail/xetex/2016-February/026402.html
http://tug.org/pipermail/xetex/2016-February/026403.html
http://tug.org/pipermail/xetex/2016-February/026474.html

This parameter will be set in the .tex file. The file could look something like

%% Cross-space contextualization

% No cross-space contextualization.
% This is how XeTeX behaves by default.
% Most projects will use this setting.
%\XeTeXinterwordspaceshaping = 0

% Some cross-space contextualization.
% Spaces between words are adjusted,
% but the rendering of individual words is not affected by the spaces.
%\XeTeXinterwordspaceshaping = 1

% Full cross-space contextualization.
% Spaces between words are adjusted,
% and the rendering of individual words is affected by the spaces.
%\XeTeXinterwordspaceshaping = 2

You must uncomment the appropriate command! For Awami Nastaliq, you will likely want to uncomment the last line (\XeTeXinterwordspaceshaping = 2). That allows the full support for collision avoidance.

The above text (all comments and commented out statements) will give the same behaviour as before this feature was added to XeTeX, so existing users do not see any unexpected changes.

Installing an Urdu keyboard

On Windows 8:

  • Open the Language control panel.
  • Click on Add a language.
  • Choose “Urdu (Pakistan)” and click OK.
  • Activate the keyboard using the Taskbar control or language bar.

On Windows 7:

  • Open the Region and Language control panel.
  • Click on the Keyboards and Languages tab.
  • Choose Change keyboards…
  • Choose Add…
  • Select “Urdu (Islamic Republic of Pakistan)” and click OK.
  • Activate the keyboard using the Taskbar control or language bar.

To see a visual layout for the keyboard:

Please also see Arabic Fonts — Resources.