summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add missing property descriptionsHEADmainAkira TAGOH2023-05-172-0/+6
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/360
* Change the order of the properties to the order of fontconfig cache formatAkira TAGOH2023-05-172-8/+8
|
* Some doc clarificationsJean Abou Samra2023-04-171-3/+21
|
* Fix leak of `reason` in _FcConfigParse when not complainingBen Wagner2023-03-301-0/+3
| | | | | | | | | | | | | | | 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
* Add optional 11-lcdfilter-none configurationSefa Eyeoglu2023-03-213-0/+19
| | | | | | | Of the possible lcdfilter options, `lcdnone` did not have a corresponding optional config file. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
* Update 65-nonlatin.conf for macOSAkira TAGOH2023-03-131-0/+12
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/353
* Add another test case for flatpakAkira TAGOH2023-03-062-0/+159
|
* Clean up unused codeAkira TAGOH2023-03-063-9/+0
|
* Reload MM/VF metadata for each font face in font collectionmsizanoen12023-02-221-0/+14
| | | | | | 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.
* In fcfreetype.c, `GetScriptTags`: fix `use_of_uninitialized_value` and ↵Vitaly Lysenkov2023-02-211-2/+2
| | | | return the correct number of parsed tags in case the font file contains less tags than indicated.
* Fix false-positive CFI failureTom Anderson2023-02-131-2/+2
| | | | | | | | | | | | | 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.
* Fix filepaths added when scanning with sysrootTom Anderson2023-02-091-11/+11
| | | | | | | | 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`.
* Bump version to 2.14.2Akira TAGOH2023-01-274-5/+37
|
* Adujst indentation between programlisting in fontconfig-user.sgmlAkira TAGOH2023-01-271-275/+315
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/344
* Add some missing constant names for weight.Akira TAGOH2023-01-254-5/+40
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/348
* Report more detailed logs instead of assertion.Akira TAGOH2023-01-251-10/+7
| | | | | | | | 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.
* Expand ~ in globOndrej Balaz2023-01-253-3/+12
| | | | | | Allow ~ home directory expansion in acceptfont and rejectfont globs. Fixes: #347
* Fix a typo in description for HAVE_STDATOMIC_PRIMITIVESAkira TAGOH2023-01-231-1/+1
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/346
* fix typolilinjie2023-01-121-1/+1
| | | | Signed-off-by: lilinjie <lilinjie@uniontech.com>
* src/meson.build: Store correct paths to fontconfig.pc.Akira TAGOH2022-12-281-2/+2
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/345
* Ignore LC_CTYPE if set to "UTF-8"Jean Abou Samra2022-12-141-1/+11
| | | | | | | | | | | | | | | 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.
* Convert more tabs to spaces in docsAkira TAGOH2022-12-139-133/+133
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
* Convert tabs to spacesAkira TAGOH2022-12-1325-1325/+1325
| | | | | | This fixes broken layout on pdf. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
* Change index type to 16 bit and bump cache version to 9Mike FABIAN2022-12-092-3/+3
| | | | 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
* Ignore null pointer on Fc*Destroy functionsAkira TAGOH2022-12-058-78/+95
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/339
* Update po-conf/POTFILES.inAkira TAGOH2022-11-281-1/+5
|
* Add --with-default-sub-pixel-rendering optionAkira TAGOH2022-11-285-14/+37
| | | | | | To make a choice of 10-sub-pixel-*.conf configurable. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337
* Add FC_DESKTOP_NAME propertyAkira TAGOH2022-11-265-25/+82
| | | | To allow users to have desktop-specific matching rule.
* Store artifacts for meson windows CIAkira TAGOH2022-10-281-0/+6
|
* Fix the build issue on meson when -g option is added to c_argsAkira TAGOH2022-10-271-1/+2
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/335
* meson: Update freetype2 git repository to upstreamJason Francis2022-10-262-4/+4
| | | | | | 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.
* meson: modify gperf test to remove sh dependencyChristopher Degawa2022-10-252-24/+19
| | | | | | | | | | 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>
* Bump version to 2.14.12.14.1Akira TAGOH2022-10-214-5/+49
|
* Enable 10-sub-pixel-rgb.conf by defaultAkira TAGOH2022-10-172-0/+2
|
* ci: update macOS imageTim-Philipp Müller2022-10-141-1/+1
|
* ci: update windows image to a 2022-server based oneTim-Philipp Müller2022-10-141-4/+6
| | | | | | The 1809 windows runners are going to be phased out soon. Rename jobs to vs2019 because that's the default on those images now.
* Add config files to enable/disable antialiasAkira TAGOH2022-10-144-0/+22
|
* po: Add Georgian translationNorwayFun2022-10-011-0/+139
|
* po: add Georgian translationNorwayFun2022-10-011-0/+660
|
* add GeorgianNorwayFun2022-10-011-0/+1
|
* add GeorgianNorwayFun2022-10-011-0/+1
|
* Add back sort commandAkira TAGOH2022-09-291-1/+1
| | | | Oops
* Fix test cases for wrong use of remap-dirAkira TAGOH2022-09-281-3/+9
|
* Real fix of 91114d18cAkira TAGOH2022-09-281-5/+1
| | | | | | | | The change in 91114d18c broke remapping font paths. Patch from Mattias Clasen Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/331
* link_confs.py: Fix prepending DESTDIR to absolute pathXavier Claessens2022-09-131-1/+3
| | | | | | | 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.
* meson: Fix configuration warningsXavier Claessens2022-09-133-3/+4
|
* meson: Do not run fc-cache when installing into a DESTDIRXavier Claessens2022-09-132-2/+3
| | | | | It cause permission denied errors because it is often not run as root. This requires Meson >=0.57.0.