Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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
|
|
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.
|
|
See https://mesonbuild.com
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
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
|
|
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
|
|
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 <<".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allows copying emoji-data.txt and other Unicode data files intact.
|
|
|
|
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.
|
|
Better not to reject a font just over that. Note that we do NOT
list U+115F and U+1160 either.
|
|
Patch from Akihiro TSUKADA
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=73461
|
|
Patch from Abel Cheung
https://bugs.freedesktop.org/show_bug.cgi?id=73461
|
|
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>
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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>
|
|
|
|
Add a new API FcGetDefaultLangs() to export the string sets of the default
languages.
|
|
further update for ne.orth
Patch from Pravin Satpute.
|
|
This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604.
|
|
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af.
Conflicts:
doc/Makefile.am
|
|
|
|
|
|
|
|
Add mni.orth for Maniputi
Signed-off-by: Akira TAGOH <akira@tagoh.org>
|
|
Add doi.orth for Dogri
Signed-off-by: Akira TAGOH <akira@tagoh.org>
|
|
|
|
Add sat.orth for Santali
Signed-off-by: Akira TAGOH <akira@tagoh.org>
|
|
Add brx.orth for Bodo.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
|
|
Drop U+0629 and U+0647, and add U+06c3 to ur.orth
Signed-off-by: Akira TAGOH <akira@tagoh.org>
|
|
|
|
Add U+1E24, U+1E25, U+1E36 and U+1e37 for Asturian
|
|
|
|
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>
|
|
Add nqo.orth for N'Ko
|
|
|