12c393a42Smrg# 2a6844aabSmrg# fontconfig/fc-lang/ar.orth 32c393a42Smrg# 42c393a42Smrg# Copyright © 2002 Keith Packard 5a6844aabSmrg# Copyright © 2009 Roozbeh Pournader 62c393a42Smrg# 72c393a42Smrg# Permission to use, copy, modify, distribute, and sell this software and its 82c393a42Smrg# documentation for any purpose is hereby granted without fee, provided that 92c393a42Smrg# the above copyright notice appear in all copies and that both that 102c393a42Smrg# copyright notice and this permission notice appear in supporting 11ca08ab68Smrg# documentation, and that the name of the author(s) not be used in 122c393a42Smrg# advertising or publicity pertaining to distribution of the software without 13ca08ab68Smrg# specific, written prior permission. The authors make no 142c393a42Smrg# representations about the suitability of this software for any purpose. It 152c393a42Smrg# is provided "as is" without express or implied warranty. 162c393a42Smrg# 17a6844aabSmrg# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 182c393a42Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 19a6844aabSmrg# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR 202c393a42Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 212c393a42Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 222c393a42Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 232c393a42Smrg# PERFORMANCE OF THIS SOFTWARE. 242c393a42Smrg# 25a6844aabSmrg# Arabic (ar) 26a6844aabSmrg# 27a6844aabSmrg# We are assuming that: 28a6844aabSmrg# * Most fonts that claim to support an Arabic letter actually do so; 29a6844aabSmrg# * Most modern text rendering software use OpenType tables, instead of 30a6844aabSmrg# directly using presentation forms. 31a6844aabSmrg# * Some good Arabic fonts do not support codepoints for Arabic presentation 32a6844aabSmrg# forms. 33a6844aabSmrg# Thus, we are switching to general forms of Arabic letters. 34a6844aabSmrg# 35a6844aabSmrg# General forms: 36a6844aabSmrg0621-063a 37a6844aabSmrg0641-064a 38a6844aabSmrg# Presentations forms: 39a6844aabSmrg# fe80-fefc 40