summaryrefslogtreecommitdiff
path: root/fc-lang
AgeCommit message (Collapse)AuthorFilesLines
2021-01-30ie.orth: Corrected; mistaken source replacedCarmina161-1/+13
2020-09-03Make more clearer the license termsAkira TAGOH4-4/+4
COPYING is missing non-expat license terms for some files and some files is also missing license terms. This is changes to makes it clearer and update. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/219
2020-08-26Integrate python scripts to autotools buildAkira TAGOH2-596/+1
Recently some python scripts has been added to the build toolchain for meson build support. but we don't want to maintain multiple files for one purpose. since autotools build support will be guradually discontinued, integrating those scripts into autotools would be better.
2020-07-31Add Meson build systemTim-Philipp Müller2-0/+643
See https://mesonbuild.com
2020-07-21Fix some typos/spelling errorsAlan Coopersmith5-5/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-05-25Drop elements with its namespace from confAkira TAGOH1-1/+3
The translation related elements are now provided by separate files fontconfig.its and fontconfig.loc. we don't need to have it in conf anymore. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/234
2019-07-26Add 35-lang-normalize.confAkira TAGOH1-0/+15
This avoids a situation where the score of lang becomes lower or equal to others and then figures out the best font according to other properties and the order of family names. This typically happens only when our orthography files are the subset of lang in patterns. i.e. fc-match :lang=en-us to match on en.orth. In this case, the score is lower than the exact match (en to en) and the partial match (en to en-us). thus, the result of 'fc-match :lang=en-us' isn't necessarily same to 'fc-match :lang=en'. So 35-lang-normalize.conf contains languages only which is available as orth without countries and tries to update properties to match on orth exactly like: <match> <test name="lang" compare="contains"> <string>en</string> </test> <edit name="lang" mode="assign" binding="same"> <string>en</string> </edit> </match> Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/155
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