12c393a42Smrg# 2a6844aabSmrg# fontconfig/fc-lang/ur.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# Urdu (ur) 262c393a42Smrg# 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. 342c393a42Smrg# 35a6844aabSmrg# General forms: 36a6844aabSmrg0621-0624 37ca08ab68Smrg0626-0628 38ca08ab68Smrg063a 39a6844aabSmrg0641-0642 40ca08ab68Smrg0644-0646 41ca08ab68Smrg0648 42a6844aabSmrg0679 43a6844aabSmrg067e 44a6844aabSmrg0686 45a6844aabSmrg0688 46a6844aabSmrg0691 47a6844aabSmrg0698 48a6844aabSmrg06a9 49a6844aabSmrg06af 50a6844aabSmrg06ba 51a6844aabSmrg06be 52ca08ab68Smrg06c3 53a6844aabSmrg06cc 54a6844aabSmrg06d2 55a6844aabSmrg# Presentations forms: 56a6844aabSmrg#fb56-fb59 57a6844aabSmrg#fb66-fb69 58a6844aabSmrg#fb7a-fb7d 59a6844aabSmrg#fb88-fb8d 60a6844aabSmrg#fb8e-fb95 61a6844aabSmrg#fb9e-fb9f 62a6844aabSmrg#fbfc-fbff 63a6844aabSmrg#fbaa-fbaf 64a6844aabSmrg#fe80-fe86 65a6844aabSmrg#fe89-fed8 66a6844aabSmrg#fedd-feee 67a6844aabSmrg##fef5-fef8 # These four happen very rarely 68a6844aabSmrg#fefb-fefc 69