Commit Graph

213 Commits

Author SHA1 Message Date
Akira TAGOH 0671eec812 und_zsye.orth: polish to get for NotoEmoji-Regular.ttf 2017-09-21 16:56:52 +09:00
Akira TAGOH 69918f0eaa Polish und_zmth.orth more for Cambria Math and Minion Math 2017-08-23 12:36:15 +09:00
Akira TAGOH a7fcaed61e Polish und_zmth.orth for Libertinus Math 2017-08-23 11:21:10 +09:00
Akira TAGOH 53c4440ee3 Add und_zmth.orth to support Math in lang 2017-08-22 20:37:30 +09:00
Behdad Esfahbod 26fdd3e4c6 Remove unneeded codepoints 2017-08-02 16:48:33 +01:00
Akira TAGOH ef0b5f8901 Add more code points to und-zsye.orth 2017-08-02 16:02:41 +01:00
Behdad Esfahbod 9978203bf1 [fc-lang] Allow using ".." instead of "-" in ranges
Allows copying emoji-data.txt and other Unicode data files intact.
2017-08-02 15:31:15 +01:00
Akira TAGOH 1bb8e691bd Add und-zsye.orth to support emoji in lang 2017-08-02 15:18:53 +01:00
Florent Rougon 02161ef2d6 fc-lang: gracefully handle the case where the last language initial is < 'z'
FcLangSetIndex() contains code like this:

  low = fcLangCharSetRanges[firstChar - 'a'].begin;
  high = fcLangCharSetRanges[firstChar - 'a'].end;
  /* no matches */
  if (low > high)

The assumption behind this test didn't hold before this commit, unless
there is at least one language name that starts with 'z' (which is
thankfully the case in our world :-). If the last language name in
lexicographic order starts for instance with 'x', this change ensures
that fcLangCharSetRanges['y' - 'a'].begin and
     fcLangCharSetRanges['z' - 'a'].begin
are equal to NUM_LANG_CHAR_SET, in order to make the above assumption
correct in all cases.
2017-06-09 13:48:00 +09:00
Behdad Esfahbod cd9631d83e [ko.orth] Remove U+3164 HANGUL FILLER
Better not to reject a font just over that.  Note that we do NOT
list U+115F and U+1160 either.
2014-06-12 17:02:10 -04:00
Akira TAGOH 81664fe54f Rebase ja.orth against Joyo kanji characters
Patch from Akihiro TSUKADA
2014-04-22 12:39:12 +09:00
Akira TAGOH 5478192f37 Add README describes the criteria to add/modify the orthography files
https://bugs.freedesktop.org/show_bug.cgi?id=73461
2014-03-18 12:14:03 +09:00
Akira TAGOH f35b44c35b Update zh_hk.orth
Patch from Abel Cheung

https://bugs.freedesktop.org/show_bug.cgi?id=73461
2014-01-17 12:24:02 +09:00
Alan Coopersmith cb72901d0b Leave room for null terminators in arrays
Code currently returns a fatal error if it tries to add more entries
than the array has room for, but it wasn't checking to make sure
the final null terminator entry would fit.

Reported by parfait 1.3:
Error: Buffer overrun
   Buffer overflow (CWE 120): In array dereference of files[i] with index i
      Array size is 256 elements (of 4 bytes each), index >= 0 and index <= 256
        at line 250 of fc-glyphname/fc-glyphname.c in function 'main'.
Error: Buffer overrun
   Buffer overflow (CWE 120): In array dereference of entries[i] with index i
      Array size is 1024 elements (of 8 bytes each), index >= 0 and index <= 1024
        at line 298 of fc-lang/fc-lang.c in function 'main'.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-11-05 11:42:59 +09:00
Akira TAGOH 53ad60deab Add quz.orth to Makefile.am 2013-08-29 17:12:45 +09:00
Akira TAGOH c6228f8091 Bug 68587 - copy qu.orth to quz.orth 2013-08-27 12:28:52 +09:00
Behdad Esfahbod bc62c40597 Really fix cross-compiling and building of tools this time 2013-01-02 20:09:05 -06:00
Behdad Esfahbod 558b3c65f9 Use CC_FOR_BUILD to generate source files
Previously we were failing if CROSS_COMPILING and the generated headers
were not present.  It works just fine now.

One caveat: the fix is not fully correct since config.h is being
included in the files built with CC_FOR_BUILD, but config.h has config
for the host system, not the build system.  Should be fine though.
2013-01-02 17:49:41 -06:00
Behdad Esfahbod ed41b23765 Switch .gitignore to git.mk 2013-01-02 00:36:12 -06:00
Behdad Esfahbod a0638ff0c7 Remove unneeded stuff 2012-12-31 17:20:12 -06:00
Akira TAGOH 2442d61157 Fix build issues on clean tree 2012-11-30 20:10:30 +09:00
Jon TURNEY faea1cac85 Fix build when srcdir != builddir
When ./configure'd in a directory other than the srcdir, we need to look
in ${top_builddir)/src for the generated header fcstdint.h

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2012-11-29 12:53:21 +09:00
Behdad Esfahbod 65da8c091c Fix N'ko orthography 2012-08-25 14:10:14 -04:00
Akira TAGOH bbc8fb5ba7 Bug 32853 - Export API to get the default language
Add a new API FcGetDefaultLangs() to export the string sets of the default
languages.
2012-06-08 15:18:30 +09:00
Akira TAGOH 9279f71a3a Bug 24729 - [ne_NP] Fix ortho file
further update for ne.orth

Patch from Pravin Satpute.
2012-03-30 11:52:25 +09:00
Akira TAGOH f2813ffc68 Revert "Fix a build fail on some environment"
This reverts commit b75eb63982.
2012-03-16 11:55:47 +09:00
Akira TAGOH a5b609196f Revert "Fix a build fail on some environment."
This reverts commit 0fdfddf2ac.

Conflicts:

	doc/Makefile.am
2012-03-16 11:55:30 +09:00
Akira TAGOH 0fdfddf2ac Fix a build fail on some environment. 2012-03-10 23:30:30 +09:00
Akira TAGOH b75eb63982 Fix a build fail on some environment 2012-03-10 22:05:07 +09:00
Akira TAGOH 353f7cc691 Fix distcheck error 2012-03-09 17:33:03 +09:00
Pravin Satpute c7a671ab60 Bug 25652 - Add ortho file for locale mni_IN
Add mni.orth for Maniputi

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-24 16:50:14 +09:00
Pravin Satpute 04c96f59b9 Bug 25653 - Add ortho file for locale doi_IN
Add doi.orth for Dogri

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-24 16:43:14 +09:00
Akira TAGOH 857753d368 Add brx.orth and sat.orth 2012-02-23 20:12:06 +09:00
Parag Nemade 942cb16f6c Bug 25650 - Add ortho file for locale sat_IN
Add sat.orth for Santali

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-23 20:06:41 +09:00
Parag Nemade 38b9c42fe2 Bug 25651 - Add ortho file for locale brx_IN
Add brx.orth for Bodo.

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-23 19:34:18 +09:00
Pravin Satpute a53553b4b6 Bug 43321 - Required corrections in urdu.orth file
Drop U+0629 and U+0647, and add U+06c3 to ur.orth

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:40:46 +09:00
Akira TAGOH d3c4382216 Add a missing file 2012-02-21 15:11:30 +09:00
Akira TAGOH 5582043a49 Bug 32965 - Asturian (ast-ES) language matching missing ḷḷḥ
Add U+1E24, U+1E25, U+1E36 and U+1e37 for Asturian
2012-02-21 15:08:47 +09:00
Akira TAGOH dab0afd810 Remove the unnecessary comment in ks.orth 2012-02-21 14:45:52 +09:00
Pravin Satpute dedc16733a Bug 27195 - need updates to ks.orth file
Add U+0620, U+0657, U+065f, U+0672, U+0673 and U+06c4 for Kashmiri

See http://www.unicode.org/charts/PDF/U0600.pdf

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 14:45:52 +09:00
Akira TAGOH a1ecd679db Bug 24744 - No n'ko orthography
Add nqo.orth for N'Ko
2011-11-14 17:44:24 +09:00
Behdad Esfahbod f0ee5761e1 Fix warning 2011-03-14 18:58:13 -03:00
Behdad Esfahbod ccc239b386 Bug 20113 - Uighur (ug) orthography incomplete 2011-03-14 17:28:53 -03:00
Behdad Esfahbod 2a6b235ff6 Make most generated-files cross-compiling-safe
By simply including a copy in the tarball.

Remains fc-arch which is trickier.
2010-12-27 13:20:47 -06:00
Behdad Esfahbod 5aaf466d38 Cleanup copyright notices to replace "Keith Packard" with "the author(s)" 2010-11-10 16:45:42 -05:00
Behdad Esfahbod caa4bec945 Bug 24729 - [ne_NP] Fix ortho file
Exclude three characters (U+090C..090E) from Nepalese.
2010-09-21 13:18:05 -04:00
Behdad Esfahbod 0a023b24da [fc-lang] Support excluding characters
By prefixing a line by a hyphen/minus sign.  Useful when including
other orth files.
2010-09-21 13:14:55 -04:00
Alan Coopersmith 7836684446 Fix compiler warnings 2010-06-02 22:38:19 -04:00
Behdad Esfahbod d2fb683796 Clean up Makefile's a bit 2009-11-18 09:35:40 -05:00
Roozbeh Pournader 25436fd08f Updated Arabic, Persian, and Urdu orthographies
- Arabic (ar), Persian (fa), and Urdu (ur) now use generic forms (bug #23004)
- Persian (fa) orthography updated to latest standards and orthographies
- Persian dialects Dari/Eastern Farsi (prs) and Western Farsi (pes) added
2009-09-02 20:03:42 -07:00