nim / rpms / fontconfig

Forked from rpms/fontconfig 4 years ago
Clone
8159c6e
diff --git a/fc-lang/Makefile.am b/fc-lang/Makefile.am
8159c6e
index 923a4ff..d2eca5b 100644
8159c6e
--- a/fc-lang/Makefile.am
8159c6e
+++ b/fc-lang/Makefile.am
8159c6e
@@ -1,3 +1,4 @@
8159c6e
+# -*- encoding: utf-8 -*-
8159c6e
 #
8159c6e
 # $Id $
8159c6e
 #
8159c6e
@@ -7,9 +8,9 @@
8159c6e
 # documentation for any purpose is hereby granted without fee, provided that
8159c6e
 # the above copyright notice appear in all copies and that both that
8159c6e
 # copyright notice and this permission notice appear in supporting
8159c6e
-# documentation, and that the name of Keith Packard not be used in
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
 # advertising or publicity pertaining to distribution of the software without
8159c6e
-# specific, written prior permission.  Keith Packard makes no
8159c6e
+# specific, written prior permission.  The authors make no
8159c6e
 # representations about the suitability of this software for any purpose.  It
8159c6e
 # is provided "as is" without express or implied warranty.
8159c6e
 #
8159c6e
@@ -22,10 +23,6 @@
8159c6e
 # PERFORMANCE OF THIS SOFTWARE.
8159c6e
 #
8159c6e
 
8159c6e
-CC = @CC_FOR_BUILD@
8159c6e
-EXEEXT = @EXEEXT_FOR_BUILD@
8159c6e
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
8159c6e
-
8159c6e
 INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
8159c6e
 
8159c6e
 TMPL=fclang.tmpl.h
8159c6e
@@ -36,21 +33,30 @@ noinst_PROGRAMS=fc-lang
8159c6e
 
8159c6e
 noinst_MANS=fc-lang.man
8159c6e
 
8159c6e
-EXTRA_DIST=$(TMPL) $(ORTH)
8159c6e
+EXTRA_DIST = $(TARG) $(TMPL) $(ORTH)
8159c6e
 
8159c6e
+if CROSS_COMPILING
8159c6e
+$(TARG):$(ORTH) fc-lang.c $(STMPL)
8159c6e
+	@echo Warning: cannot rebuild $(TARG) when cross-compiling
8159c6e
+else
8159c6e
 $(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
8159c6e
 	$(AM_V_GEN) $(RM) $(TARG); \
8159c6e
 	./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
8159c6e
 	mv $(TARG).tmp $(TARG)
8159c6e
+endif
8159c6e
 
8159c6e
 ALIAS_FILES = fcalias.h fcaliastail.h
8159c6e
 
8159c6e
 BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
8159c6e
 
8159c6e
-$(ALIAS_FILES): 
8159c6e
+$(ALIAS_FILES):
8159c6e
 	touch $(ALIAS_FILES)
8159c6e
 
8159c6e
-CLEANFILES = $(TARG) $(ALIAS_FILES)
8159c6e
+CLEANFILES = $(ALIAS_FILES)
8159c6e
+
8159c6e
+DISTCLEANFILES = $(TARG)
8159c6e
+
8159c6e
+MAINTAINERCLEANFILES = $(TARG)
8159c6e
 
8159c6e
 # NOTE:
8159c6e
 #
8159c6e
@@ -296,5 +302,10 @@ ORTH = \
8159c6e
 	ty.orth \
8159c6e
 	wal.orth \
8159c6e
 	za.orth \
8159c6e
-	lah.orth
8159c6e
+	lah.orth \
8159c6e
+	nqo.orth \
8159c6e
+	brx.orth \
8159c6e
+	sat.orth \
8159c6e
+	doi.orth \
8159c6e
+	mni.orth
8159c6e
 #	^-------------- Add new orth files here
8159c6e
diff --git a/fc-lang/ast.orth b/fc-lang/ast.orth
8159c6e
index 20b81f4..55aaed5 100644
8159c6e
--- a/fc-lang/ast.orth
8159c6e
+++ b/fc-lang/ast.orth
8159c6e
@@ -7,9 +7,9 @@
8159c6e
 # documentation for any purpose is hereby granted without fee, provided that
8159c6e
 # the above copyright notice appear in all copies and that both that
8159c6e
 # copyright notice and this permission notice appear in supporting
8159c6e
-# documentation, and that the name of Keith Packard not be used in
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
 # advertising or publicity pertaining to distribution of the software without
8159c6e
-# specific, written prior permission.  Keith Packard makes no
8159c6e
+# specific, written prior permission.  The authors make no
8159c6e
 # representations about the suitability of this software for any purpose.  It
8159c6e
 # is provided "as is" without express or implied warranty.
8159c6e
 #
8159c6e
@@ -41,3 +41,7 @@
8159c6e
 00f3
8159c6e
 00fa
8159c6e
 00fc
8159c6e
+1e24
8159c6e
+1e25
8159c6e
+1e36
8159c6e
+1e37
8159c6e
diff --git a/fc-lang/brx.orth b/fc-lang/brx.orth
8159c6e
new file mode 100644
8159c6e
index 0000000..eab2046
8159c6e
--- /dev/null
8159c6e
+++ b/fc-lang/brx.orth
8159c6e
@@ -0,0 +1,46 @@
8159c6e
+#
8159c6e
+# fontconfig/fc-lang/brx.orth
8159c6e
+#
8159c6e
+# Copyright © 2012 Parag Nemade
8159c6e
+#
8159c6e
+# Permission to use, copy, modify, distribute, and sell this software and its
8159c6e
+# documentation for any purpose is hereby granted without fee, provided that
8159c6e
+# the above copyright notice appear in all copies and that both that
8159c6e
+# copyright notice and this permission notice appear in supporting
8159c6e
+# documentation, and that the name of Keith Packard not be used in
8159c6e
+# advertising or publicity pertaining to distribution of the software without
8159c6e
+# specific, written prior permission.  Keith Packard makes no
8159c6e
+# representations about the suitability of this software for any purpose.  It
8159c6e
+# is provided "as is" without express or implied warranty.
8159c6e
+#
8159c6e
+# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
8159c6e
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
8159c6e
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
8159c6e
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
8159c6e
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
8159c6e
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8159c6e
+# PERFORMANCE OF THIS SOFTWARE.
8159c6e
+#
8159c6e
+# Bodo (Devanagari script) (brx)
8159c6e
+#
8159c6e
+# Source: Enhanced inscript: http://pune.cdac.in/html/gist/down/inscript_d.asp
8159c6e
+# Or
8159c6e
+# Source: http://malayalam.kerala.gov.in/images/8/80/Qwerty_enhancedinscriptkeyboardlayout.pdf Page No. 44
8159c6e
+#
8159c6e
+0901-0903       # Various Signs 
8159c6e
+0905-090c	# Independent vowels
8159c6e
+090f-0910       # Independent vowels
8159c6e
+0913-0914       # Independent vowels
8159c6e
+0915-0928       # Consonants
8159c6e
+092a-0930       # Consonants
8159c6e
+0932-0932       # Consonants
8159c6e
+0935-0939       # Consonants
8159c6e
+093c-0944       # Various and Dependent vowel signs
8159c6e
+0947-0948       # Dependent vowel signs
8159c6e
+094b-094d       # Dependent vowel signs and virama
8159c6e
+0950-0952       # Sign and vedic tone marks
8159c6e
+0960-0963       # Additional vowels
8159c6e
+0964-0965       # Punctuations
8159c6e
+0966-096F       # Digits
8159c6e
+0970            # Abbrevation sign
8159c6e
+
8159c6e
diff --git a/fc-lang/doi.orth b/fc-lang/doi.orth
8159c6e
new file mode 100644
8159c6e
index 0000000..d4a274a
8159c6e
--- /dev/null
8159c6e
+++ b/fc-lang/doi.orth
8159c6e
@@ -0,0 +1,40 @@
8159c6e
+#
8159c6e
+# fontconfig/fc-lang/doi.orth
8159c6e
+#
8159c6e
+# Copyright © 2012 Pravin Satpute <psatpute@redhat.com>
8159c6e
+#
8159c6e
+# Permission to use, copy, modify, distribute, and sell this software and its
8159c6e
+# documentation for any purpose is hereby granted without fee, provided that
8159c6e
+# the above copyright notice appear in all copies and that both that
8159c6e
+# copyright notice and this permission notice appear in supporting
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
+# advertising or publicity pertaining to distribution of the software without
8159c6e
+# specific, written prior permission.  The author(s) make(s) no
8159c6e
+# representations about the suitability of this software for any purpose.  It
8159c6e
+# is provided "as is" without express or implied warranty.
8159c6e
+#
8159c6e
+# THE AUTHOR(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
8159c6e
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
8159c6e
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
8159c6e
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
8159c6e
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
8159c6e
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8159c6e
+# PERFORMANCE OF THIS SOFTWARE.
8159c6e
+#
8159c6e
+# Dogri (doi)
8159c6e
+#
8159c6e
+# Source: Enhanced inscript: http://malayalam.kerala.gov.in/images/8/80/Qwerty_enhancedinscriptkeyboardlayout.pdf Page No. 58
8159c6e
+# Encircled these characters in Unicode chart:  http://pravins.fedorapeople.org/Dogri-characters.pdf
8159c6e
+# documents
8159c6e
+0902-0903
8159c6e
+0905-090c
8159c6e
+090f-0910
8159c6e
+0913-0928
8159c6e
+092a-0930
8159c6e
+0932
8159c6e
+0935-0939
8159c6e
+093c-0944
8159c6e
+0947-0948
8159c6e
+094b-094d
8159c6e
+0950-0952
8159c6e
+095b-096f
8159c6e
diff --git a/fc-lang/fc-lang.c b/fc-lang/fc-lang.c
8159c6e
index 21d568d..51717f9 100644
8159c6e
--- a/fc-lang/fc-lang.c
8159c6e
+++ b/fc-lang/fc-lang.c
8159c6e
@@ -7,9 +7,9 @@
8159c6e
  * documentation for any purpose is hereby granted without fee, provided that
8159c6e
  * the above copyright notice appear in all copies and that both that
8159c6e
  * copyright notice and this permission notice appear in supporting
8159c6e
- * documentation, and that the name of Keith Packard not be used in
8159c6e
+ * documentation, and that the name of the author(s) not be used in
8159c6e
  * advertising or publicity pertaining to distribution of the software without
8159c6e
- * specific, written prior permission.  Keith Packard makes no
8159c6e
+ * specific, written prior permission.  The authors make no
8159c6e
  * representations about the suitability of this software for any purpose.  It
8159c6e
  * is provided "as is" without express or implied warranty.
8159c6e
  *
8159c6e
@@ -76,10 +76,14 @@ fatal (const char *file, int lineno, const char *msg)
8159c6e
 }
8159c6e
 
8159c6e
 static char *
8159c6e
-get_line (FILE *f, char *line, int *lineno)
8159c6e
+get_line (FILE *f, char *buf, int *lineno)
8159c6e
 {
8159c6e
     char    *hash;
8159c6e
+    char    *line;
8159c6e
     int	    end;
8159c6e
+
8159c6e
+next:
8159c6e
+    line = buf;
8159c6e
     if (!fgets (line, 1024, f))
8159c6e
 	return 0;
8159c6e
     ++(*lineno);
8159c6e
@@ -87,12 +91,15 @@ get_line (FILE *f, char *line, int *lineno)
8159c6e
     if (hash)
8159c6e
 	*hash = '\0';
8159c6e
 
8159c6e
+    while (line[0] && isspace (line[0]))
8159c6e
+      line++;
8159c6e
     end = strlen (line);
8159c6e
     while (end > 0 && isspace (line[end-1]))
8159c6e
       line[--end] = '\0';
8159c6e
 
8159c6e
-    if (line[0] == '\0' || line[0] == '\n' || line[0] == '\032' || line[0] == '\r')
8159c6e
-	return get_line (f, line, lineno);
8159c6e
+    if (line[0] == '\0' || line[0] == '\n' || line[0] == '\r')
8159c6e
+      goto next;
8159c6e
+
8159c6e
     return line;
8159c6e
 }
8159c6e
 
8159c6e
@@ -125,16 +132,18 @@ scanopen (char *file)
8159c6e
  * Comments begin with '#'
8159c6e
  */
8159c6e
 
8159c6e
-static const FcCharSet *
8159c6e
+static FcCharSet *
8159c6e
 scan (FILE *f, char *file, FcCharSetFreezer *freezer)
8159c6e
 {
8159c6e
     FcCharSet	    *c = 0;
8159c6e
     FcCharSet	    *n;
8159c6e
+    FcBool	    del;
8159c6e
     int		    start, end, ucs4;
8159c6e
-    char	    line[1024];
8159c6e
+    char	    buf[1024];
8159c6e
+    char	    *line;
8159c6e
     int		    lineno = 0;
8159c6e
 
8159c6e
-    while (get_line (f, line, &lineno))
8159c6e
+    while ((line = get_line (f, buf, &lineno)))
8159c6e
     {
8159c6e
 	if (!strncmp (line, "include", 7))
8159c6e
 	{
8159c6e
@@ -158,6 +167,12 @@ scan (FILE *f, char *file, FcCharSetFreezer *freezer)
8159c6e
 	    FcCharSetDestroy (n);
8159c6e
 	    continue;
8159c6e
 	}
8159c6e
+	del = FcFalse;
8159c6e
+	if (line[0] == '-')
8159c6e
+	{
8159c6e
+	  del = FcTrue;
8159c6e
+	  line++;
8159c6e
+	}
8159c6e
 	if (strchr (line, '-'))
8159c6e
 	{
8159c6e
 	    if (sscanf (line, "%x-%x", &start, &end) != 2)
8159c6e
@@ -173,11 +188,11 @@ scan (FILE *f, char *file, FcCharSetFreezer *freezer)
8159c6e
 	    c = FcCharSetCreate ();
8159c6e
 	for (ucs4 = start; ucs4 <= end; ucs4++)
8159c6e
 	{
8159c6e
-	    if (!FcCharSetAddChar (c, ucs4))
8159c6e
+	    if (!((del ? FcCharSetDelChar : FcCharSetAddChar) (c, ucs4)))
8159c6e
 		fatal (file, lineno, "out of memory");
8159c6e
 	}
8159c6e
     }
8159c6e
-    n = FcCharSetFreeze (freezer, c);
8159c6e
+    n = (FcCharSet *) FcCharSetFreeze (freezer, c);
8159c6e
     FcCharSetDestroy (c);
8159c6e
     return n;
8159c6e
 }
8159c6e
@@ -231,8 +246,8 @@ typedef struct _Entry {
8159c6e
 
8159c6e
 static int compare (const void *a, const void *b)
8159c6e
 {
8159c6e
-    const Entry const *as = a, *bs = b;
8159c6e
-    return FcStrCmpIgnoreCase (as->file, bs->file);
8159c6e
+    const Entry *as = a, *bs = b;
8159c6e
+    return FcStrCmpIgnoreCase ((const FcChar8 *) as->file, (const FcChar8 *) bs->file);
8159c6e
 }
8159c6e
 
8159c6e
 #define MAX_LANG	    1024
8159c6e
@@ -245,7 +260,7 @@ int
8159c6e
 main (int argc, char **argv)
8159c6e
 {
8159c6e
     static Entry	entries[MAX_LANG];
8159c6e
-    static const FcCharSet	*sets[MAX_LANG];
8159c6e
+    static FcCharSet	*sets[MAX_LANG];
8159c6e
     static int		duplicate[MAX_LANG];
8159c6e
     static int		country[MAX_LANG];
8159c6e
     static char		*names[MAX_LANG];
8159c6e
@@ -363,9 +378,9 @@ main (int argc, char **argv)
8159c6e
 
8159c6e
     printf ("#define LEAF0       (%d * sizeof (FcLangCharSet))\n", nsets);
8159c6e
     printf ("#define OFF0        (LEAF0 + %d * sizeof (FcCharLeaf))\n", tl);
8159c6e
-    printf ("#define NUM0        (OFF0 + %d * sizeof (intptr_t))\n", tn);
8159c6e
+    printf ("#define NUM0        (OFF0 + %d * sizeof (uintptr_t))\n", tn);
8159c6e
     printf ("#define SET(n)      (n * sizeof (FcLangCharSet) + offsetof (FcLangCharSet, charset))\n");
8159c6e
-    printf ("#define OFF(s,o)    (OFF0 + o * sizeof (intptr_t) - SET(s))\n");
8159c6e
+    printf ("#define OFF(s,o)    (OFF0 + o * sizeof (uintptr_t) - SET(s))\n");
8159c6e
     printf ("#define NUM(s,n)    (NUM0 + n * sizeof (FcChar16) - SET(s))\n");
8159c6e
     printf ("#define LEAF(o,l)   (LEAF0 + l * sizeof (FcCharLeaf) - (OFF0 + o * sizeof (intptr_t)))\n");
8159c6e
     printf ("#define fcLangCharSets (fcLangData.langCharSets)\n");
8159c6e
@@ -376,7 +391,7 @@ main (int argc, char **argv)
8159c6e
     printf ("static const struct {\n"
8159c6e
 	    "    FcLangCharSet  langCharSets[%d];\n"
8159c6e
 	    "    FcCharLeaf     leaves[%d];\n"
8159c6e
-	    "    intptr_t       leaf_offsets[%d];\n"
8159c6e
+	    "    uintptr_t      leaf_offsets[%d];\n"
8159c6e
 	    "    FcChar16       numbers[%d];\n"
8159c6e
 	    "    FcChar%s       langIndices[%d];\n"
8159c6e
 	    "    FcChar%s       langIndicesInv[%d];\n"
8159c6e
diff --git a/fc-lang/ks.orth b/fc-lang/ks.orth
8159c6e
index e86ba0d..6697e15 100644
8159c6e
--- a/fc-lang/ks.orth
8159c6e
+++ b/fc-lang/ks.orth
8159c6e
@@ -23,8 +23,10 @@
8159c6e
 #
8159c6e
 # Kashmiri (ks)
8159c6e
 #
8159c6e
-# Kashmiri is written in Arabic in both India and Pakistan. The problem is,
8159c6e
-# Unicode 5.1 does not contain all the letters required in the orthography,
8159c6e
-# including Wavy Hamza Below and the Alef Maksura With Ring Below. We'll
8159c6e
-# just include Urdu for now.
8159c6e
 include ur.orth
8159c6e
+0620
8159c6e
+0657
8159c6e
+065f
8159c6e
+0672
8159c6e
+0673
8159c6e
+06c4
8159c6e
diff --git a/fc-lang/mni.orth b/fc-lang/mni.orth
8159c6e
new file mode 100644
8159c6e
index 0000000..4388269
8159c6e
--- /dev/null
8159c6e
+++ b/fc-lang/mni.orth
8159c6e
@@ -0,0 +1,35 @@
8159c6e
+#
8159c6e
+# fontconfig/fc-lang/mni.orth
8159c6e
+#
8159c6e
+# Copyright © 2012 Pravin Satpute <psatpute@redhat.com>
8159c6e
+#
8159c6e
+# Permission to use, copy, modify, distribute, and sell this software and its
8159c6e
+# documentation for any purpose is hereby granted without fee, provided that
8159c6e
+# the above copyright notice appear in all copies and that both that
8159c6e
+# copyright notice and this permission notice appear in supporting
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
+# advertising or publicity pertaining to distribution of the software without
8159c6e
+# specific, written prior permission.  The author(s) make(s) no
8159c6e
+# representations about the suitability of this software for any purpose.  It
8159c6e
+# is provided "as is" without express or implied warranty.
8159c6e
+#
8159c6e
+# THE AUTHOR(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
8159c6e
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
8159c6e
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
8159c6e
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
8159c6e
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
8159c6e
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8159c6e
+# PERFORMANCE OF THIS SOFTWARE.
8159c6e
+#
8159c6e
+# Maniputi (mni)
8159c6e
+#
8159c6e
+# Source: Script grammer: http://tdil-dc.in/tdildcMain/articles/283709Script_Grammar_for_Manipuri.pdf 6th page
8159c6e
+# Characters are encirled in Unicode chart http://pravins.fedorapeople.org/Manipuri-characters.pdf
8159c6e
+# documents
8159c6e
+include bn.orth
8159c6e
+0964
8159c6e
+- 09c4
8159c6e
+09bd
8159c6e
+09ce
8159c6e
+09e6-09ef
8159c6e
+09f1
8159c6e
diff --git a/fc-lang/ne.orth b/fc-lang/ne.orth
8159c6e
index 18cf011..246386f 100644
8159c6e
--- a/fc-lang/ne.orth
8159c6e
+++ b/fc-lang/ne.orth
8159c6e
@@ -7,9 +7,9 @@
8159c6e
 # documentation for any purpose is hereby granted without fee, provided that
8159c6e
 # the above copyright notice appear in all copies and that both that
8159c6e
 # copyright notice and this permission notice appear in supporting
8159c6e
-# documentation, and that the name of Keith Packard not be used in
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
 # advertising or publicity pertaining to distribution of the software without
8159c6e
-# specific, written prior permission.  Keith Packard makes no
8159c6e
+# specific, written prior permission.  The authors make no
8159c6e
 # representations about the suitability of this software for any purpose.  It
8159c6e
 # is provided "as is" without express or implied warranty.
8159c6e
 #
8159c6e
@@ -23,3 +23,4 @@
8159c6e
 #
8159c6e
 # Nepali (Devanagari script) (NE)
8159c6e
 include hi.orth
8159c6e
+-090C-090E	# See bug 30685
8159c6e
diff --git a/fc-lang/nqo.orth b/fc-lang/nqo.orth
8159c6e
new file mode 100644
8159c6e
index 0000000..285e1d7
8159c6e
--- /dev/null
8159c6e
+++ b/fc-lang/nqo.orth
8159c6e
@@ -0,0 +1,31 @@
8159c6e
+#
8159c6e
+# fontconfig/fc-lang/nqo.orth
8159c6e
+#
8159c6e
+# Copyright © 2011 Akira TAGOH
8159c6e
+#
8159c6e
+# Permission to use, copy, modify, distribute, and sell this software and its
8159c6e
+# documentation for any purpose is hereby granted without fee, provided that
8159c6e
+# the above copyright notice appear in all copies and that both that
8159c6e
+# copyright notice and this permission notice appear in supporting
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
+# advertising or publicity pertaining to distribution of the software without
8159c6e
+# specific, written prior permission.  The authors make no
8159c6e
+# representations about the suitability of this software for any purpose.  It
8159c6e
+# is provided "as is" without express or implied warranty.
8159c6e
+#
8159c6e
+# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
8159c6e
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
8159c6e
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
8159c6e
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
8159c6e
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
8159c6e
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8159c6e
+# PERFORMANCE OF THIS SOFTWARE.
8159c6e
+#
8159c6e
+# N'Ko (nqo)
8159c6e
+#
8159c6e
+# See:
8159c6e
+#  http://www.unicode.org/charts/PDF/U07C0.pdf
8159c6e
+#  http://en.wikipedia.org/wiki/N'Ko_alphabet
8159c6e
+#
8159c6e
+07c0-07ff
8159c6e
+
8159c6e
diff --git a/fc-lang/sat.orth b/fc-lang/sat.orth
8159c6e
new file mode 100644
8159c6e
index 0000000..d5d91d0
8159c6e
--- /dev/null
8159c6e
+++ b/fc-lang/sat.orth
8159c6e
@@ -0,0 +1,44 @@
8159c6e
+# fontconfig/fc-lang/sat.orth
8159c6e
+#
8159c6e
+# Copyright © 2012 Parag Nemade
8159c6e
+#
8159c6e
+# Permission to use, copy, modify, distribute, and sell this software and its
8159c6e
+# documentation for any purpose is hereby granted without fee, provided that
8159c6e
+# the above copyright notice appear in all copies and that both that
8159c6e
+# copyright notice and this permission notice appear in supporting
8159c6e
+# documentation, and that the name of Keith Packard not be used in
8159c6e
+# advertising or publicity pertaining to distribution of the software without
8159c6e
+# specific, written prior permission.  Keith Packard makes no
8159c6e
+# representations about the suitability of this software for any purpose.  It
8159c6e
+# is provided "as is" without express or implied warranty.
8159c6e
+#
8159c6e
+# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
8159c6e
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
8159c6e
+# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
8159c6e
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
8159c6e
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
8159c6e
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8159c6e
+# PERFORMANCE OF THIS SOFTWARE.
8159c6e
+#
8159c6e
+# Santali (Devanagari script) (sat)
8159c6e
+#
8159c6e
+# Source: Enhanced inscript: http://pune.cdac.in/html/gist/down/inscript_d.asp
8159c6e
+# Or
8159c6e
+# Source: http://malayalam.kerala.gov.in/images/8/80/Qwerty_enhancedinscriptkeyboardlayout.pdf Page No. 86
8159c6e
+#
8159c6e
+0901-0903       # Various Signs 
8159c6e
+0905-090a	# Independent vowels
8159c6e
+090f-0910       # Independent vowels
8159c6e
+0913-0914       # Independent vowels
8159c6e
+0915-0928       # Consonants
8159c6e
+092a-0930       # Consonants
8159c6e
+0932-0932      # Consonants
8159c6e
+0935            # Consonants
8159c6e
+0938-0939       # Consonants
8159c6e
+093c-0942       # Various and Dependent vowel signs
8159c6e
+0947-0948       # Dependent vowel signs
8159c6e
+094b-094d       # Dependent vowel signs and virama
8159c6e
+0950            # Sign
8159c6e
+0964-0965       # Punctuations
8159c6e
+0966-096F       # Digits
8159c6e
+0970            # Abbrevation sign
8159c6e
diff --git a/fc-lang/ug.orth b/fc-lang/ug.orth
8159c6e
index bf8e674..1a6f28d 100644
8159c6e
--- a/fc-lang/ug.orth
8159c6e
+++ b/fc-lang/ug.orth
8159c6e
@@ -1,15 +1,19 @@
8159c6e
 #
8159c6e
 # fontconfig/fc-lang/ug.orth
8159c6e
 #
8159c6e
-# Copyright © 2002 Keith Packard
8159c6e
+# Copyright © 2010
8159c6e
+# UKIJ - Uyghur Computer Science Association (http://www.ukij.org/)
8159c6e
+# Ubuntu Uyghur Translation Team (https://launchpad.net/~ubuntu-l10n-ug)
8159c6e
+# Kenjisoft (http://kenjisoft.homelinux.com/)
8159c6e
+# Bilik (http://www.bilik.cn/)
8159c6e
 #
8159c6e
 # Permission to use, copy, modify, distribute, and sell this software and its
8159c6e
 # documentation for any purpose is hereby granted without fee, provided that
8159c6e
 # the above copyright notice appear in all copies and that both that
8159c6e
 # copyright notice and this permission notice appear in supporting
8159c6e
-# documentation, and that the name of Keith Packard not be used in
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
 # advertising or publicity pertaining to distribution of the software without
8159c6e
-# specific, written prior permission.  Keith Packard makes no
8159c6e
+# specific, written prior permission.  The authors makes no
8159c6e
 # representations about the suitability of this software for any purpose.  It
8159c6e
 # is provided "as is" without express or implied warranty.
8159c6e
 #
8159c6e
@@ -21,9 +25,26 @@
8159c6e
 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8159c6e
 # PERFORMANCE OF THIS SOFTWARE.
8159c6e
 #
8159c6e
-# Uighur (UG)
8159c6e
+# Uyghur (UG)
8159c6e
 #
8159c6e
-# Uighur is written in a varient of Perso-Arabic, but I haven't found
8159c6e
-# any references which define the variations.  So, for now we'll use Arabic
8159c6e
-# fonts
8159c6e
-include ar.orth
8159c6e
+# Uyghur is written in a modified Persian-Arabic script. For detailed
8159c6e
+# information, refer to http://en.wikipedia.org/wiki/Uyghur_language
8159c6e
+#
8159c6e
+0626-0628
8159c6e
+062A
8159c6e
+062C
8159c6e
+062E-062F
8159c6e
+0631-0634
8159c6e
+063A
8159c6e
+0641-0646
8159c6e
+0648-064A
8159c6e
+067E
8159c6e
+0686
8159c6e
+0698
8159c6e
+06AD
8159c6e
+06AF
8159c6e
+06BE
8159c6e
+06C6-06C8
8159c6e
+06CB
8159c6e
+06D0
8159c6e
+06D5
8159c6e
diff --git a/fc-lang/ur.orth b/fc-lang/ur.orth
8159c6e
index d9b944a..5b39a50 100644
8159c6e
--- a/fc-lang/ur.orth
8159c6e
+++ b/fc-lang/ur.orth
8159c6e
@@ -8,9 +8,9 @@
8159c6e
 # documentation for any purpose is hereby granted without fee, provided that
8159c6e
 # the above copyright notice appear in all copies and that both that
8159c6e
 # copyright notice and this permission notice appear in supporting
8159c6e
-# documentation, and that the name of Keith Packard not be used in
8159c6e
+# documentation, and that the name of the author(s) not be used in
8159c6e
 # advertising or publicity pertaining to distribution of the software without
8159c6e
-# specific, written prior permission.  Keith Packard makes no
8159c6e
+# specific, written prior permission.  The authors make no
8159c6e
 # representations about the suitability of this software for any purpose.  It
8159c6e
 # is provided "as is" without express or implied warranty.
8159c6e
 #
8159c6e
@@ -34,9 +34,11 @@
8159c6e
 #
8159c6e
 # General forms:
8159c6e
 0621-0624
8159c6e
-0626-063a
8159c6e
+0626-0628
8159c6e
+063a
8159c6e
 0641-0642
8159c6e
-0644-0648
8159c6e
+0644-0646
8159c6e
+0648
8159c6e
 0679
8159c6e
 067e
8159c6e
 0686
8159c6e
@@ -47,6 +49,7 @@
8159c6e
 06af
8159c6e
 06ba
8159c6e
 06be
8159c6e
+06c3
8159c6e
 06cc
8159c6e
 06d2
8159c6e
 # Presentations forms: