summaryrefslogtreecommitdiff
path: root/fc-lang
AgeCommit message (Collapse)AuthorFilesLines
2018-04-16Fix undefined-shift UBSAN errorsTom Anderson1-1/+1
The expression "1 << 31" will cause UBSAN to complain with this error message: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' The same operation on unsigned types is fine, however. This CL replaces the strings "1 <<" with "1U <<".
2017-09-14und_zsye.orth: polish to get for NotoEmoji-Regular.ttfAkira TAGOH1-2/+2
2017-08-23Polish und_zmth.orth more for Cambria Math and Minion MathAkira TAGOH1-14/+0
2017-08-23Polish und_zmth.orth for Libertinus MathAkira TAGOH1-32/+0
2017-08-22Add und_zmth.orth to support Math in langAkira TAGOH2-1/+192
2017-08-02Remove unneeded codepointsBehdad Esfahbod1-219/+1
2017-08-02Add more code points to und-zsye.orthAkira TAGOH1-0/+123
2017-08-02[fc-lang] Allow using ".." instead of "-" in rangesBehdad Esfahbod2-1/+6
Allows copying emoji-data.txt and other Unicode data files intact.
2017-08-02Add und-zsye.orth to support emoji in langAkira TAGOH2-1/+248
2017-06-09fc-lang: gracefully handle the case where the last language initial is < 'z'Florent Rougon1-0/+3
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.
2014-06-12[ko.orth] Remove U+3164 HANGUL FILLERBehdad Esfahbod1-1/+0
Better not to reject a font just over that. Note that we do NOT list U+115F and U+1160 either.
2014-04-22Rebase ja.orth against Joyo kanji charactersAkira TAGOH1-4227/+7
Patch from Akihiro TSUKADA
2014-03-18Add README describes the criteria to add/modify the orthography filesAkira TAGOH1-0/+28
https://bugs.freedesktop.org/show_bug.cgi?id=73461
2014-01-17Update zh_hk.orthAkira TAGOH1-1685/+564
Patch from Abel Cheung https://bugs.freedesktop.org/show_bug.cgi?id=73461
2013-11-05Leave room for null terminators in arraysAlan Coopersmith1-1/+1
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-08-29Add quz.orth to Makefile.amAkira TAGOH1-0/+1
2013-08-27Bug 68587 - copy qu.orth to quz.orthAkira TAGOH1-0/+36
2013-01-02Really fix cross-compiling and building of tools this timeBehdad Esfahbod2-40/+12
2013-01-02Use CC_FOR_BUILD to generate source filesBehdad Esfahbod1-6/+3
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-02Switch .gitignore to git.mkBehdad Esfahbod1-0/+2
2012-12-31Remove unneeded stuffBehdad Esfahbod1-11/+0
2012-11-30Fix build issues on clean treeAkira TAGOH1-3/+6
2012-11-29Fix build when srcdir != builddirJon TURNEY1-1/+1
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-08-25Fix N'ko orthographyBehdad Esfahbod1-2/+1
2012-06-08Bug 32853 - Export API to get the default languageAkira TAGOH1-0/+6
Add a new API FcGetDefaultLangs() to export the string sets of the default languages.
2012-03-30Bug 24729 - [ne_NP] Fix ortho fileAkira TAGOH1-3/+20
further update for ne.orth Patch from Pravin Satpute.
2012-03-16Revert "Fix a build fail on some environment"Akira TAGOH1-2/+2
This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604.
2012-03-16Revert "Fix a build fail on some environment."Akira TAGOH1-1/+1
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am
2012-03-10Fix a build fail on some environment.Akira TAGOH1-1/+1
2012-03-10Fix a build fail on some environmentAkira TAGOH1-2/+2
2012-03-09Fix distcheck errorAkira TAGOH1-0/+3
2012-02-24Bug 25652 - Add ortho file for locale mni_INPravin Satpute2-1/+37
Add mni.orth for Maniputi Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-24Bug 25653 - Add ortho file for locale doi_INPravin Satpute2-1/+42
Add doi.orth for Dogri Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-23Add brx.orth and sat.orthAkira TAGOH1-1/+3
2012-02-23Bug 25650 - Add ortho file for locale sat_INParag Nemade1-0/+44
Add sat.orth for Santali Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-23Bug 25651 - Add ortho file for locale brx_INParag Nemade1-0/+46
Add brx.orth for Bodo. Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21Bug 43321 - Required corrections in urdu.orth filePravin Satpute1-2/+5
Drop U+0629 and U+0647, and add U+06c3 to ur.orth Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21Add a missing fileAkira TAGOH1-1/+2
2012-02-21Bug 32965 - Asturian (ast-ES) language matching missing ḷḷḥAkira TAGOH1-0/+4
Add U+1E24, U+1E25, U+1E36 and U+1e37 for Asturian
2012-02-21Remove the unnecessary comment in ks.orthAkira TAGOH1-4/+0
2012-02-21Bug 27195 - need updates to ks.orth filePravin Satpute1-0/+6
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>
2011-11-14Bug 24744 - No n'ko orthographyAkira TAGOH1-0/+31
Add nqo.orth for N'Ko
2011-03-14Fix warningBehdad Esfahbod1-1/+1
2011-03-14Bug 20113 - Uighur (ug) orthography incompleteBehdad Esfahbod1-7/+28
2010-12-27Make most generated-files cross-compiling-safeBehdad Esfahbod1-7/+10
By simply including a copy in the tarball. Remains fc-arch which is trickier.
2010-11-10Cleanup copyright notices to replace "Keith Packard" with "the author(s)"Behdad Esfahbod181-362/+362
2010-09-21Bug 24729 - [ne_NP] Fix ortho fileBehdad Esfahbod1-0/+1
Exclude three characters (U+090C..090E) from Nepalese.
2010-09-21[fc-lang] Support excluding charactersBehdad Esfahbod1-10/+25
By prefixing a line by a hyphen/minus sign. Useful when including other orth files.
2010-06-02Fix compiler warningsAlan Coopersmith1-3/+3
2009-11-18Clean up Makefile's a bitBehdad Esfahbod1-1/+1