1. 07 Jul, 2020 1 commit
  2. 02 Jul, 2020 1 commit
  3. 01 Jul, 2020 4 commits
  4. 24 Jun, 2020 1 commit
  5. 02 Jun, 2020 1 commit
  6. 25 May, 2020 2 commits
    • Akira TAGOH's avatar
      Add FC_ORDER property into cache · 68d021b6
      Akira TAGOH authored
      "fontversion" used to be modified to sort out fonts as a technique.
      But that lost the original purpose to do the version control between
      releases.
      
      This change adds the dedicated property into the cache.
      
      Fixes #226
      68d021b6
    • Akira TAGOH's avatar
      Drop elements with its namespace from conf · 528b17b2
      Akira TAGOH authored
      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 #234
      528b17b2
  7. 19 May, 2020 1 commit
  8. 12 May, 2020 1 commit
    • Akira TAGOH's avatar
      Fix cache conflicts on OSTree based system · fdbd9d13
      Akira TAGOH authored
      mtime isn't reliable to detect updates of fonts on OSTree based system
      since they reset mtime to 0 for system files.
      Due to this, there are the situation likely to happen where mtime is
      newer but content is older.
      
      Fortunately, OSTree based system requires reboot to deploy changes. so
      we can assume we won't see any changes on system fonts. so system caches
      are always up-to-date. we can ignore meta data for system fonts in
      user caches.
      fdbd9d13
  9. 28 Apr, 2020 1 commit
  10. 10 Apr, 2020 1 commit
  11. 28 Mar, 2020 1 commit
    • Nicolas Mailhot's avatar
      Use an URN for DTD ID · 9c46ef4a
      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
      9c46ef4a
  12. 23 Mar, 2020 1 commit
    • Akira TAGOH's avatar
      Fix assertion in FcCacheFini() again · 6f6b3978
      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 #227
      6f6b3978
  13. 19 Mar, 2020 1 commit
  14. 27 Feb, 2020 1 commit
  15. 26 Feb, 2020 1 commit
    • Akira TAGOH's avatar
      Fix assertion in FcFini() · fbc05949
      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 #227
      fbc05949
  16. 19 Feb, 2020 2 commits
  17. 09 Dec, 2019 1 commit
  18. 05 Dec, 2019 1 commit
  19. 28 Nov, 2019 1 commit
  20. 20 Nov, 2019 1 commit
  21. 06 Nov, 2019 2 commits
  22. 01 Nov, 2019 1 commit
  23. 31 Oct, 2019 1 commit
  24. 28 Oct, 2019 1 commit
    • Akira TAGOH's avatar
      Read latest cache in paths · c9862b6e
      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 #182
      c9862b6e
  25. 21 Oct, 2019 1 commit
  26. 08 Oct, 2019 1 commit
    • Akira TAGOH's avatar
      Warn as well if no directory name for cachedir provided · 75eadca2
      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.
      
      #180
      75eadca2
  27. 29 Aug, 2019 1 commit
  28. 28 Aug, 2019 1 commit
  29. 21 Aug, 2019 1 commit
  30. 09 Aug, 2019 1 commit
  31. 07 Aug, 2019 1 commit
  32. 31 Jul, 2019 1 commit
  33. 30 Jul, 2019 1 commit
  34. 29 Jul, 2019 1 commit