- 01 Apr, 2020 1 commit
-
-
Caleb Hearon authored
-
- 28 Mar, 2020 1 commit
-
-
Nicolas Mailhot authored
XML tools interpret “fonts.dtd” as a relative path. Unfortunately, that can not work now that the configuration is spread over multiple system-dependant directories, without a common relative path to this file. And, an absolute path can not be defined in a system-independant way. System independance is a requirement to share config files between systems. Therefore, replace the broken relative path by a formal URN, that will work the same way on all systems, without network access. This makes the DTD registerable with commands like: $ xmlcatalog --noout --add system \ "urn:fontconfig:fonts.dtd" \ "file:///usr/share/xml/fontconfig/fonts.dtd" \ /etc/xml/catalog That enables easy config file checking: $ xmllint --loaddtd ${config_file} >/dev/null
-
- 23 Mar, 2020 1 commit
-
-
Akira TAGOH authored
The previous fix in fbc05949 was wrong. reverting. When reading older caches, FcDirCacheMapHelper() returns FcFalse and it became the return value from FcDirCacheProcess() too, which is wrong. Actually one of calls for FcDirCacheMapHelper() should be successfully finished and closure should have a valid pointer for cache. Due to this, the proper finalization process wasn't running against cache in closure. Fixes fontconfig/fontconfig#227
-
- 19 Mar, 2020 1 commit
-
-
Nirbheek Chauhan authored
iPhone 2.1 was released a long time ago, and the macro for checking the target iOS SDK version has changed. We can simplify everything and do a very basic check.
-
- 27 Feb, 2020 1 commit
-
-
Akira TAGOH authored
This is a regression since 48e9e5f4
-
- 26 Feb, 2020 1 commit
-
-
Akira TAGOH authored
Due to the unproper initialization of `latest_mtime', the duplicate caches was still in fcCacheChains with no references. which means no one frees them. thus, the memory leak was happened. Fixes fontconfig/fontconfig#227
-
- 19 Feb, 2020 2 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
Don't address the real filename when a named pipe is given in FONTCONFIG_FILE.
-
- 09 Dec, 2019 1 commit
-
-
Akira TAGOH authored
Try to build a fullname from a family and a style name for a named-instance. Fixes fontconfig/fontconfig#185
-
- 05 Dec, 2019 1 commit
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#201
-
- 28 Nov, 2019 1 commit
-
-
Akira TAGOH authored
FC_FULLNAME is affected by variables and could be different against it. FC_FULLNAME should be dropped from meta face. Fixes fontconfig/fontconfig#185
-
- 20 Nov, 2019 1 commit
-
-
Jan Tojnar authored
Empty elements need to be declared as such in well-formed DTDs.
-
- 06 Nov, 2019 2 commits
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#184
-
Akira TAGOH authored
-
- 01 Nov, 2019 1 commit
-
-
Akira TAGOH authored
This may improves to be MT-safe. Reported at https://bugs.chromium.org/p/chromium/issues/detail?id=1004254
-
- 31 Oct, 2019 1 commit
-
-
Akira TAGOH authored
-
- 28 Oct, 2019 1 commit
-
-
Akira TAGOH authored
Right now fontconfig uses a cache found first in a path and cachedirs are the order of the system-wide path and then the user path. this is due to avoid writing caches into the user path when running as root. However, changing caches by certain config only, e.g. using <match target="scan"> may not take effect by this behavior, because it may be stored into the user path. Thus, needing to find the latest cache out from paths. Fixes fontconfig/fontconfig#182
-
- 21 Oct, 2019 1 commit
-
-
Akira TAGOH authored
When loading the default config file with FONTCONFIG_SYSROOT, it fails if no /etc/fonts/fonts.conf is available, even if it is there where is based on sysroot. To address this, FcConfig is required to determine the sysroot. therefore, this change makes FcConfigFilename() deprecated, use FcConfigGetFilename() instead. Fixes fontconfig/fontconfig#181
-
- 08 Oct, 2019 1 commit
-
-
Akira TAGOH authored
cachedir is used to determine where cache files are stored. the empty directory will ends up to put them under the top of directory of XDG_CACHE_HOME. that messes it up and must be avoided. As a note, if you want to read/write something from the top of XDG_DATA_HOME (dir) and/or XDG_CACHE_HOME (cachedir), put "." instead of the empty. fontconfig/fontconfig#180
-
- 29 Aug, 2019 1 commit
-
-
Jan Tojnar authored
It is a successor of EmojiOne. https://www.joypixels.com/
-
- 28 Aug, 2019 1 commit
-
-
- 21 Aug, 2019 1 commit
-
-
Szunti authored
-
- 09 Aug, 2019 1 commit
-
-
Akira TAGOH authored
-
- 07 Aug, 2019 1 commit
-
-
Akira TAGOH authored
This change reduces the call cost of strcmp 1.5 % less.
-
- 31 Jul, 2019 1 commit
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#172
-
- 30 Jul, 2019 1 commit
-
-
Akira TAGOH authored
-
- 29 Jul, 2019 1 commit
-
-
Akira TAGOH authored
This may helps to enable autohint only when font doesn't have any hinting
-
- 26 Jul, 2019 2 commits
-
-
Akira TAGOH authored
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 fontconfig/fontconfig#155
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#170
-
- 23 Jul, 2019 4 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
Fallback code to UUID-based cache name was broken. Fixes fontconfig/fontconfig#169
-
Akira TAGOH authored
-
Akira TAGOH authored
-
- 22 Jul, 2019 1 commit
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#168 Reported by Lawrence D'Oliveiro
-
- 09 Jul, 2019 2 commits
-
-
Akira TAGOH authored
In some cases, non-English languages might appears first in current order. and when having English name with non-English language ID like Google Noto CJK TC, English name with English language ID will be dropped due to duplicate. This fixes that issue.
-
Akira TAGOH authored
-
- 08 Jul, 2019 1 commit
-
-
Akira TAGOH authored
-
- 02 Jul, 2019 1 commit
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#167
-
- 26 Jun, 2019 1 commit
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#166
-
- 21 Jun, 2019 1 commit
-
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#165
-