The SIL Arabic script fonts are encoded according to Unicode, so your application must support Unicode text in order to access letters other than the standard ANSI characters. Most applications now provide basic Unicode support. You will, however, need some way of entering Unicode text into your document.
Arabic script is a complex and difficult script, and this complexity is compounded by the fact that Arabic script is used for many different languages and cultures with variations in acceptable calligraphic style. From a computer perspective at least, the technologies used to implement Arabic script are not yet fully mature. The result is that while a given font might work for one set of languages on a given software platform, the same font might not work for other languages or on other platforms. This means that it is very difficult to give an accurate answer to the question of software requirements.
This font is supported by all major operating systems (macOS, Windows, Linux-based, iOS, and Android), however the extent of that support depends on the individual OS and application.
Install the font by decompressing the .zip archive and installing the font using the standard font installation process for .ttf (TrueType/OpenType) fonts for your platform. For additional tips see the help page on Font installation.
Keyboarding and character set support
The Arabic script font packages do not include any keyboarding helps or utilities. If you cannot use the built-in keyboards of the operating system, you will need to install the appropriate keyboard and input method for the characters of the language you wish to use. If you want to enter characters that are not supported by any system keyboard, the Keyman program can be helpful on Windows, macOS, Linux, Android and iOS systems. Also available for Windows is MSKLC. For other platforms, XKB or Ukelele can be helpful.
If you want to enter characters that are not supported by any system keyboard, and to access the full Unicode range, we suggest you use gucharmap, kcharselect on Ubuntu or similar software. Another method of entering some symbols is provided by a few applications such as Adobe InDesign. They can display a glyph palette that shows all the glyphs (symbols) in a font and allow you to enter them by clicking on the glyph you want.
Other suggestions are listed here: Keyboard Systems Overview.
See Character set support for details of the Unicode characters supported by this font.
Keyman provides quite a few keyboards for languages which use the Nastaliq style of Arabic script. Go to Keyman.com. Click on Keyboards and then type the language for which you wish to select a keyboard. It will offer you keyboard packages if any are available for that language.
Installing an Urdu keyboard
On Windows 8/10:
- 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:
- Click on the Start Menu, choose All Programs, Accessories, Ease of Access, On-screen Keyboard.
- On Windows 8/10: see Use the On-Screen Keyboard (OSK) to type.
Rendering and application support
The Awami Nastaliq font requires software enabled with the very latest Graphite engine (version 1.3.4+) in order to render correctly. The font does not support OpenType rendering. It will not work with standard software such as Microsoft Office.
Currently, the only software that can render Awami Nastaliq are the Firefox web browser, the LibreOffice suite, XeTeX/XeLaTeX, and linguistic software such as FieldWorks, Paratext, and Bloom.
If a developer wishes to add support for Graphite, the Graphite engine is available here.
Here are links for downloading appropriate versions:
You will need a recent version of Firefox – version 46 or later.
Due to security concerns, Graphite has sometimes been disabled in Firefox by default, so you might need to enable it. Follow these instructions for enabling Graphite in Firefox.
We recommend LibreOffice 5.3+ which supports version 1.3.8 of the Graphite engine.
Version 5.2 fixed the bug that was in version 5.1.
Version 5.1 supports Awami, but it has a bug where certain characters (eg, the small tah) would be displayed in an incorrect position.
The TeXLive 2016 version of XeTeX supports version 1.3.8 of the Graphite2 engine.
The TeXLive 2017 version of XeTeX contains a fix for Harfbuzz which was causing combining marks to clash at the end of words when followed by a Latin character.
TeXLive is available from https://www.tug.org/texlive/.
Full Collision Avoidance
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:
This parameter should be set in a .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.
XeTeX in TeXLive 2017+ uses the latest version of Harfbuzz (1.4.6+) which fixes a bug in bidirectional data.
Web font versions of this font (in WOFF and WOFF2 formats) are available in the
web folder. These can be copied to a web server and used as fonts on web pages. A very basic HTML/CSS demo page is also included. For more information on the options and techniques available for using these fonts on web pages see Using SIL Fonts on Web Pages.
One common type of data conversion is from Roman script to Arabic script. Cross-script conversion is often very language specific. TECkit is one program that can be used for character encoding conversion. TECkit allows users to write their own custom conversion mappings. The TECkit package is available for download from SIL’s TECkit Web site. The SIL Converters software will be an important tool in data conversion.
One page that may prove helpful is: Roman Script to Arabic Script Conversion.
Other suggestions are listed here: Introduction to Text Conversion and Transliteration.
See also: Arabic Fonts — Resources.
See Font features for further information.