]> git.wh0rd.org - fontconfig.git/commitdiff
Reorganize Panjabi/Punjabi and Lahnda orthographies (bug #19890)
authorRoozbeh Pournader <roozbeh@gmail.com>
Thu, 7 May 2009 21:31:11 +0000 (14:31 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 17:52:11 +0000 (13:52 -0400)
The correct ISO 639 code for Pakistani/Western Panjabi seems to be 'lah',
not 'pa'. We are keeping 'pa_pk.orth' for compatiblity with glibc.

Signed-off-by: Behdad Esfahbod <behdad@behdad.org>
fc-lang/Makefile.am
fc-lang/lah.orth [new file with mode: 0644]
fc-lang/pa.orth [new file with mode: 0644]
fc-lang/pa_in.orth [deleted file]
fc-lang/pa_pk.orth

index f248e0ef33c60481e004aac365bb8843da5c471c..a7290f4621a50c3b6d3ff0f06758d711eb2b0d8e 100644 (file)
@@ -181,7 +181,7 @@ ORTH = \
        om.orth \
        or.orth \
        os.orth \
-       pa_in.orth \
+       pa.orth \
        pl.orth \
        ps_af.orth \
        ps_pk.orth \
@@ -295,5 +295,6 @@ ORTH = \
        su.orth \
        ty.orth \
        wal.orth \
-       za.orth
+       za.orth \
+       lah.orth
 #      ^-------------- Add new orth files here
diff --git a/fc-lang/lah.orth b/fc-lang/lah.orth
new file mode 100644 (file)
index 0000000..c0321b6
--- /dev/null
@@ -0,0 +1,35 @@
+#
+# fontconfig/fc-lang/lah.orth
+#
+# Copyright © 2009 Roozbeh Pournader
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of the author(s) not be used in
+# advertising or publicity pertaining to distribution of the software without
+# specific, written prior permission.  The author(s) make(s) no
+# representations about the suitability of this software for any purpose.  It
+# is provided "as is" without express or implied warranty.
+#
+# THE AUTHOR(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
+#
+# Lahnda (lah)
+#
+# This is basically Western Panjabi/Punjabi, or Panjabi for Pakistan. It is
+# written in the Arabic script, also known as Shahmukhi. According to
+# ISO 639-3, the 'pa/pan' language code does not include Pakistani Panjabi,
+# but 'lah' does:
+#   http://www.sil.org/iso639-3/documentation.asp?id=lah
+#   http://www.sil.org/iso639-3/documentation.asp?id=pan
+#
+# The letter list appears to be identical to Urdu. More research may be
+# needed for rare letters.
+include ur.orth
diff --git a/fc-lang/pa.orth b/fc-lang/pa.orth
new file mode 100644 (file)
index 0000000..1258850
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# fontconfig/fc-lang/pa.orth
+#
+# Copyright © 2004 Red Hat, Inc.
+# Copyright © 2009 Roozbeh Pournader
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of the author(s) not be used in
+# advertising or publicity pertaining to distribution of the software without
+# specific, written prior permission.  The author(s) make(s) no
+# representations about the suitability of this software for any purpose.  It
+# is provided "as is" without express or implied warranty.
+#
+# THE AUTHOR(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
+#
+# Panjabi/Punjabi (pa)
+#
+# According to ISO 639-3, 'pa/pan' only applies to Panjabi as used in India:
+#   http://www.sil.org/iso639-3/documentation.asp?id=pan
+#
+# For Panjabi as used in Pakistan, use 'lah' or 'pa-PK':
+#   http://www.sil.org/iso639-3/documentation.asp?id=lah
+#
+# From Unicode coverage for Gurmukhi, with modifications based on
+# the 'Lohit Punjabi' font
+#
+# 0A01-0A03    # Various signs
+0A05-0A0A      # Independent vowels
+0A0F-0A10
+0A13-0A14
+0A15-0A28      # Consonants
+0A2A-0A30
+0A32-0A33
+0A35-0A36
+0A38-0A39
+0A3C           # Nukta
+0A3E-0A42      # Dependent vowel signs
+0A47-0A48
+0A4B-0A4C
+0A4D           # Virama
+0A59-0A5C      # Additional consonants
+# 0A5E         # GURMUKHI LETTER FA
+# 0A66-0A6F    # Digits
+0A70-0A74      # Gurmukhi-specific additions
diff --git a/fc-lang/pa_in.orth b/fc-lang/pa_in.orth
deleted file mode 100644 (file)
index 1925291..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# fontconfig/fc-lang/pa_in.orth
-#
-# Copyright © 2004 Red Hat, Inc.
-#
-# Permission to use, copy, modify, distribute, and sell this software and its
-# documentation for any purpose is hereby granted without fee, provided that
-# the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of Red Hat not be used in
-# advertising or publicity pertaining to distribution of the software without
-# specific, written prior permission.  Red Hat makes no
-# representations about the suitability of this software for any purpose.  It
-# is provided "as is" without express or implied warranty.
-#
-# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-#
-# Panjabi/Punjabi in India (Gurmukhi script) (pa-IN)
-#
-# From Unicode coverage for Gurmukhi, with modifications based on
-# the 'Lohit Punjabi' font
-#
-# 0A01-0A03    # Various signs
-0A05-0A0A      # Independent vowels
-0A0F-0A10
-0A13-0A14
-0A15-0A28      # Consonants
-0A2A-0A30
-0A32-0A33
-0A35-0A36
-0A38-0A39
-0A3C           # Nukta
-0A3E-0A42      # Dependent vowel signs
-0A47-0A48
-0A4B-0A4C
-0A4D           # Virama
-0A59-0A5C      # Additional consonants
-# 0A5E         # GURMUKHI LETTER FA
-# 0A66-0A6F    # Digits
-0A70-0A74      # Gurmukhi-specific additions
index deec216b7cbd9a8186372a96ce8af7ca2a1e171f..fba09e3d643b88aafb48bfdb0d679bdb171301dc 100644 (file)
@@ -23,6 +23,7 @@
 #
 # Panjabi/Punjabi in Pakistan (pa-PK)
 #
-# The letter list appears identical to Urdu. More research may be needed
-# for rare letters.
-include ur.orth
+# This file is kept for compatiblity for glibc: According to ISO 639-3, the
+# proper code for Pakistani Panjabi is 'lah'. See the file 'lah.orth' for
+# more information.
+include lah.orth