| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/360
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In "Do not return FcFalse from FcConfigParseAndLoad*() if complain is
set to false" [0], _FcConfigParse was updated to return FcTrue early if
it was instructed not to complain on errors. In "Take effect sysroot
functionality to the default config file" [1] the error messages were
factored into a `reason` which was allocated. Be sure to free this
`reason` in the case of returning FcTrue early.
Discovered with a leak checker while attempting to configure in
interesting ways.
[0] https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/fcada522913e5e07efa6367eff87ace9f06d24c8
[1] https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/cd51cb241aad7b362b793200ca7d42595c14f52b
|
|
|
|
|
|
|
| |
Of the possible lcdfilter options, `lcdnone` did not have a
corresponding optional config file.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/353
|
| |
|
| |
|
|
|
|
|
|
| |
This ensures that the MM/VF metadata is the correct metadata for each
font face instead of whatever happens to be in the first one in the
collection.
|
|
|
|
| |
return the correct number of parsed tags in case the font file contains less tags than indicated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building Chromium with upstream Fontconfig with CFI,
the following build error is raised:
../../third_party/fontconfig/src/src/fchash.c:105:21: runtime error:
control flow integrity check for type 'unsigned int (const void *)'
failed during indirect function call
This occurs because CFI doesn't like the conversion from
`unsigned int (const void *)` to `unsigned int (const char *)`.
To fix this, simply redefine `FcHashFunc` to use `char *` instead.
|
|
|
|
|
|
|
|
| |
This fixes a regression introduced by 76f88e780. When
using FONTCONFIG_SYSROOT=/home/tom/test_fonts, strace
reveals that fontconfig attempted to open /test_fonts/Ahem.ttf
instead of /home/tom/test_fonts/Ahem.ttf. The fix is to use
`s_dir` instead of `dir` in `file_prefix`.
|
| |
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/344
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/348
|
|
|
|
|
|
|
|
| |
Getting backtraces against this assertion isn't useful at all.
Fontconfig isn't capable to report who really have a reference
of caches though, this report may be better than assertion.
So we can try analysis tools then.
And report it only when running with FC_DEBUG=16.
|
|
|
|
|
|
| |
Allow ~ home directory expansion in acceptfont and rejectfont globs.
Fixes: #347
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/346
|
|
|
|
| |
Signed-off-by: lilinjie <lilinjie@uniontech.com>
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LC_CTYPE is set to "UTF-8" on some macOS systems, which is
POSIX-compliant in a strict sense, but breaks the usual assumption
that a locale name has the form "ll_LL.encoding".
https://unix.stackexchange.com/questions/503110/valid-values-for-lc-ctype
Previously, this would cause the warning
Fontconfig warning: ignoring UTF-8: not a valid region tag
Now, we just skip this variable if set to "UTF-8", since that value
doesn't give any language information, and move on to try LANG.
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
|
|
|
|
|
|
| |
This fixes broken layout on pdf.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
|
|
|
|
| |
The number of .orth files is now > 256, therefore the index type needs to be 16 bit.
|
|
|
|
|
|
|
|
|
| |
{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}
|
| |
|
|
|
|
| |
Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/340
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/339
|
| |
|
|
|
|
|
|
| |
To make a choice of 10-sub-pixel-*.conf configurable.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337
|
|
|
|
| |
To allow users to have desktop-specific matching rule.
|
| |
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/335
|
|
|
|
|
|
| |
The forked repository is unmaintained and several releases out of date.
The upstream repository now includes meson support, so the forked
repository is no longer necessary.
|
|
|
|
|
|
|
|
|
|
| |
modifies the gperf test to instead rely on a file input
rather than piping in using sh, as sh is often not reliable
on Windows due to paths.
Also changes the if else ladder into a foreach loop.
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The 1809 windows runners are going to be phased out soon.
Rename jobs to vs2019 because that's the default on those images now.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Oops
|
| |
|
|
|
|
|
|
|
|
| |
The change in 91114d18c broke remapping font paths.
Patch from Mattias Clasen
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/331
|
|
|
|
|
|
|
| |
Stripping the first char of a path to make it relative only works with
UNIX paths like '/prefix' but not with Windows paths like 'c:\prefix'.
This copies the code Meson uses.
|
| |
|
|
|
|
|
| |
It cause permission denied errors because it is often not run as root.
This requires Meson >=0.57.0.
|