summaryrefslogtreecommitdiff
path: root/fc-lang
Commit message (Collapse)AuthorAgeFilesLines
* Change index type to 16 bit and bump cache version to 9Mike FABIAN2022-12-091-2/+2
| | | | The number of .orth files is now > 256, therefore the index type needs to be 16 bit.
* Add ↵Mike FABIAN2022-12-0929-1/+925
| | | | | | | | | {agr,ayc,bem,ckb,cmn,dsb,hak,lij,lzh,mfe,mhr,miq,mjw,mnw,nan,nhn,niu,rif,sgs,shn,szl,tcy,tpi,unm,wae,yue,yuw}.orth Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/341 Also move {anp,bhb,hif,mag,raj,the}.orth which were recently added to the proper insert position in fc-lang/{Makefile.am,meson.build}
* Do not change the order of orth filesAkira TAGOH2022-12-082-13/+13
|
* Add anp.orth, bhb.orth, hif.orth, mag.orth, raj.orth, and the.orthMike FABIAN2022-12-058-0/+186
| | | | Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/340
* Remove Bugzilla referencesRyan Schmidt2021-07-141-1/+1
|
* ie.orth: Corrected; mistaken source replacedCarmina162021-01-301-1/+13
|
* Make more clearer the license termsAkira TAGOH2020-09-034-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
* Integrate python scripts to autotools buildAkira TAGOH2020-08-262-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.
* Add Meson build systemTim-Philipp Müller2020-07-312-0/+643
| | | | See https://mesonbuild.com
* Fix some typos/spelling errorsAlan Coopersmith2020-07-215-5/+5
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Drop elements with its namespace from confAkira TAGOH2020-05-251-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
* Add 35-lang-normalize.confAkira TAGOH2019-07-261-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
* Fix undefined-shift UBSAN errorsTom Anderson2018-04-161-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 <<".
* und_zsye.orth: polish to get for NotoEmoji-Regular.ttfAkira TAGOH2017-09-141-2/+2
|
* Polish und_zmth.orth more for Cambria Math and Minion MathAkira TAGOH2017-08-231-14/+0
|
* Polish und_zmth.orth for Libertinus MathAkira TAGOH2017-08-231-32/+0
|
* Add und_zmth.orth to support Math in langAkira TAGOH2017-08-222-1/+192
|
* Remove unneeded codepointsBehdad Esfahbod2017-08-021-219/+1
|
* Add more code points to und-zsye.orthAkira TAGOH2017-08-021-0/+123
|
* [fc-lang] Allow using ".." instead of "-" in rangesBehdad Esfahbod2017-08-022-1/+6
| | | | Allows copying emoji-data.txt and other Unicode data files intact.
* Add und-zsye.orth to support emoji in langAkira TAGOH2017-08-022-1/+248
|
* fc-lang: gracefully handle the case where the last language initial is < 'z'Florent Rougon2017-06-091-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.
* [ko.orth] Remove U+3164 HANGUL FILLERBehdad Esfahbod2014-06-121-1/+0
| | | | | Better not to reject a font just over that. Note that we do NOT list U+115F and U+1160 either.
* Rebase ja.orth against Joyo kanji charactersAkira TAGOH2014-04-221-4227/+7
| | | | Patch from Akihiro TSUKADA
* Add README describes the criteria to add/modify the orthography filesAkira TAGOH2014-03-181-0/+28
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=73461
* Update zh_hk.orthAkira TAGOH2014-01-171-1685/+564
| | | | | | Patch from Abel Cheung https://bugs.freedesktop.org/show_bug.cgi?id=73461
* Leave room for null terminators in arraysAlan Coopersmith2013-11-051-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>
* Add quz.orth to Makefile.amAkira TAGOH2013-08-291-0/+1
|
* Bug 68587 - copy qu.orth to quz.orthAkira TAGOH2013-08-271-0/+36
|
* Really fix cross-compiling and building of tools this timeBehdad Esfahbod2013-01-022-40/+12
|
* Use CC_FOR_BUILD to generate source filesBehdad Esfahbod2013-01-021-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.
* Switch .gitignore to git.mkBehdad Esfahbod2013-01-021-0/+2
|
* Remove unneeded stuffBehdad Esfahbod2012-12-311-11/+0
|
* Fix build issues on clean treeAkira TAGOH2012-11-301-3/+6
|
* Fix build when srcdir != builddirJon TURNEY2012-11-291-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>
* Fix N'ko orthographyBehdad Esfahbod2012-08-251-2/+1
|
* Bug 32853 - Export API to get the default languageAkira TAGOH2012-06-081-0/+6
| | | | | Add a new API FcGetDefaultLangs() to export the string sets of the default languages.
* Bug 24729 - [ne_NP] Fix ortho fileAkira TAGOH2012-03-301-3/+20
| | | | | | further update for ne.orth Patch from Pravin Satpute.
* Revert "Fix a build fail on some environment"Akira TAGOH2012-03-161-2/+2
| | | | This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604.
* Revert "Fix a build fail on some environment."Akira TAGOH2012-03-161-1/+1
| | | | | | | | This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am
* Fix a build fail on some environment.Akira TAGOH2012-03-101-1/+1
|
* Fix a build fail on some environmentAkira TAGOH2012-03-101-2/+2
|
* Fix distcheck errorAkira TAGOH2012-03-091-0/+3
|
* Bug 25652 - Add ortho file for locale mni_INPravin Satpute2012-02-242-1/+37
| | | | | | Add mni.orth for Maniputi Signed-off-by: Akira TAGOH <akira@tagoh.org>
* Bug 25653 - Add ortho file for locale doi_INPravin Satpute2012-02-242-1/+42
| | | | | | Add doi.orth for Dogri Signed-off-by: Akira TAGOH <akira@tagoh.org>
* Add brx.orth and sat.orthAkira TAGOH2012-02-231-1/+3
|
* Bug 25650 - Add ortho file for locale sat_INParag Nemade2012-02-231-0/+44
| | | | | | Add sat.orth for Santali Signed-off-by: Akira TAGOH <akira@tagoh.org>
* Bug 25651 - Add ortho file for locale brx_INParag Nemade2012-02-231-0/+46
| | | | | | Add brx.orth for Bodo. Signed-off-by: Akira TAGOH <akira@tagoh.org>
* Bug 43321 - Required corrections in urdu.orth filePravin Satpute2012-02-211-2/+5
| | | | | | Drop U+0629 and U+0647, and add U+06c3 to ur.orth Signed-off-by: Akira TAGOH <akira@tagoh.org>
* Add a missing fileAkira TAGOH2012-02-211-1/+2
|