- 31 Mar, 2022 1 commit
-
-
Akira TAGOH authored
-
- 19 Feb, 2022 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 04 Feb, 2022 3 commits
-
-
Akira TAGOH authored
-
-
Akira TAGOH authored
Fixes #310
-
- 01 Feb, 2022 1 commit
-
-
Akira TAGOH authored
-
- 31 Jan, 2022 2 commits
-
-
Akira TAGOH authored
Reported by Ruth Ivimey-Cook Fixes #302
-
Trying to early loading a custom fonts.xml created on the fly results in the pGetSystemWindowsDirectory function pointer being found intialized. Normally the initialization is performed in the default configuration loading. The commit factorizes the lazy initialization of both WIN32 getters (together with pSHGetFolderPathA) in a function and call it when actually needed.
-
- 28 Jan, 2022 1 commit
-
-
Akira TAGOH authored
Fixes #307
-
- 17 Jan, 2022 1 commit
-
-
Akira TAGOH authored
Patch from @takase1121 Fixes #144
-
- 13 Jan, 2022 5 commits
-
-
Pierre Ducroquet authored
-
Pierre Ducroquet authored
-
Pierre Ducroquet authored
This failed the CI for reasons unknown to me, and I don't see the point in translating these files.
-
Pierre Ducroquet authored
-
Pierre Ducroquet authored
Previously, requesting a monospace font with an invalid font family (for instance, when a font is not embedded in a PDF, poppler may issue such queries), the font family would be filled by configuration file 49-sansserrif.conf with sans-serif This new rule set the family to monospace if spacing=100 is specified in the query.
-
- 09 Jan, 2022 1 commit
-
-
Nirbheek Chauhan authored
The version_compare() block is redundant because we require meson 0.56 now, and it fixes a spurious warning: ``` fontconfig| WARNING: Project targeting '>= 0.53' but tried to use feature introduced in '0.54.0': list_sep arg in summary. ```
-
- 21 Dec, 2021 2 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
Fixes #299
-
- 09 Dec, 2021 3 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
Regression by d62d984e
-
Akira TAGOH authored
The number of a couple of 'family' and 'familylang' and 'style' and 'stylelang' is different. need to reset the counter to get the property regarding to regarding to the lang. Fixes #303
-
- 06 Dec, 2021 1 commit
-
-
Ben Wagner authored
Because the loop body is just 'break' the loop never loops and at most one leading space is skipped. Remove the body to allow the loop to continue. Found with ClangTidy.
-
- 16 Nov, 2021 1 commit
-
-
Ben Wagner authored
Instead of fixed number of buckets with chaining use an open addressing hash table with linear probing, max load factor 0.75, and a power of two number of buckets.
-
- 11 Nov, 2021 1 commit
-
-
Ryan Gonzalez authored
In particular, if an stdlib header goes first, it includes features.h which only checks _FILE_OFFSET_BITS *once*, meaning that these files end up compiled *without* _FILE_OFFSET_BITS taking effect, which affects fcxml's operations in listing directories. Signed-off-by:
Ryan Gonzalez <ryan.gonzalez@collabora.com>
-
- 09 Nov, 2021 2 commits
-
-
Akira TAGOH authored
Add an extra code to ignore an error of FT_Get_MM_Var() only when FT_MM_Var variable isn't used in any case.
-
Otherwise default-instance pattern would match as an "all sizes", which would be wrong. See: https://gitlab.gnome.org/GNOME/pango/-/issues/621#note_1305844
-
- 08 Nov, 2021 1 commit
-
-
Akira TAGOH authored
-
- 28 Oct, 2021 1 commit
-
-
Ben Wagner authored
FreeType's TT_OS2::achVendID is a FT_Char[4] array and not a pointer, so it does not need to be checked for NULL.
-
- 14 Oct, 2021 1 commit
-
-
Akira TAGOH authored
Fixes #296
-
- 11 Oct, 2021 1 commit
-
-
Akira TAGOH authored
When a config file is symlinked and obtaining an relative path from it for <dir>, it behaved like: $ realpath /path/to/foo.conf /path/to/realpath/foo.conf $ FONTCONFIG_FILE=/path/to/foo.conf fc-cache -v Font directories: /path/to/fonts /path/to/fonts: skipping, existing cache is valid: 1 fonts, 0 dirs /path/to/cachedir: cleaning cache directory fc-cache: succeeded And after this change: $ FONTCONFIG_FILE=/path/to/foo.conf fc-cache -v Font directories: /path/to/relpath/fonts /path/to/realpath/fonts: skipping, existing cache is valid: 1 fonts, 0 dirs /path/to/cachedir: cleaning cache directory fc-cache: succeeded Fixes #290
-
- 08 Oct, 2021 1 commit
-
-
Akira TAGOH authored
Before this fix: $ fc-match :postscriptname=LiberationSans LiberationSansNarrow.ttf: "Liberation Sans Narrow" "Regular" After this fix: $ fc-match :postscriptname=LiberationSans LiberationSans-Regular.ttf: "Liberation Sans" "Regular" See https://bugzilla.redhat.com/show_bug.cgi?id=1946871
-
- 05 Oct, 2021 1 commit
-
-
Fix processing of FC_DEFAULT_FONTS when it contains multiple comma- separated values (i.e. on macOS/Darwin) and fix inserting it into fonts.conf when using BSD sed. Fixes #287
-
- 06 Sep, 2021 2 commits
-
-
The argument passed to each thread in test-pthread.c indicates a thread number to report when finished. This value is read out by the thread into a local variable early in the thread's execution. Currently, the address passed as this argument is the address of a loop local. However, it is possible that the created thread will not be scheduled to run or will not read the argument before the thread creation loop finishes and the local is destroyed. This can lead to odd behavior, usually observed as multiple threads reporting the same thread_num. Fix this issue by storing the thread arguments in a parallel array to the array of threads. This ensures that the thread arguments are in scope as long as the threads themselves. Discovered with tests/test-pthread with AddressSanitizer enabled.
-
If two threads attempt to create the FcCache lock in lock_cache at the same time, both threads may create and initialize a local FcMutex. One thread will atomically make cache_lock point to its FcMutex. The other thread currently calls FcMutexFinish on the local lock, but does not free it. Change this behavior to free the unused lock. Found with test/test-pthread on an LeakSanitizer enabled build.
-
- 31 Aug, 2021 1 commit
-
-
Ben Wagner authored
Reduce the strength of the C11 atomics from memory_order_seq_cst to the actually required memory order constraints for each operation. In addition to reflecting the already documented memory order constraints, this should allow for better code generation.
-
- 25 Aug, 2021 1 commit
-
-
- 24 Aug, 2021 2 commits
-
-
Akira TAGOH authored
This change allows applications to see what property was matched perfectly and help to filter out for their needs. Fixes #294
-
Akira TAGOH authored
Bump the cache version to avoid unexpected behavior in older version of fontconfig. There was no real incompatible features introduced in a cache. But the older version of fontconfig can't deal with variable fonts and then it failed. To avoid this breakage, you may want to choose one of options like: 1) Applying this change to fontconfig in host and remove all the fontconfig caches and then regenerate them by fc-cache linked with older one and new one. or simply run applications. You'll see two versions of caches in the cache directories. 2) Remove variable fonts on system and remove all the fontconfig caches too. then regenerate caches. You'll still see one version of caches there but without the entries of variable fonts. After that, the problem should be gone. https://bugzilla.redhat.com/show_bug.cgi?id=1981500
-
- 18 Aug, 2021 1 commit
-
-
Alexander Richardson authored
If the `realloc(numbers)` call fails, shrinking the leaves allocation back to the old size is not guaranteed to return the old pointer value. While this might be the case with some malloc() implementations, realloc() could also just mark the following area as free. To make this less error-prone, we grow numbers first and then grow leaves since the numbers content does not need to be relocated, but leaves does. See https://bugs.freedesktop.org/show_bug.cgi?id=90867
-
- 20 Jul, 2021 1 commit
-
-
Akira TAGOH authored
Some applications needs this enabled by default on non-GNOME desktops. reference: https://bugzilla.redhat.com/show_bug.cgi?id=1965684
-