1. 06 Nov, 2018 1 commit
  2. 04 Sep, 2018 1 commit
  3. 19 Jul, 2018 4 commits
  4. 16 Jul, 2018 1 commit
    • Tom Anderson's avatar
      Return canonicalized paths from FcConfigRealFilename · d1f48f11
      Tom Anderson authored
      FcConfigRealFilename() follows symlinks, but the link may be relative to the
      directory containing the link.  For example, on my system, I have this file:
      
      /etc/fonts/conf.d/99-language-selector-zh.conf ->
          ../conf.avail/99-language-selector-zh.conf
      
      Since /etc/fonts/conf.d is probably not in PATH, open()ing the file would fail.
      This change makes FcConfigRealFilename() return the canonicalized filename
      instead.  So for the example above, it would return:
      
      /etc/fonts/conf.avail/99-language-selector-zh.conf
      
      This was causing bad font rendering in Chromium [1] after the regression I
      introduced in 7ad010e8.
      
      [1] https://bugs.chromium.org/p/chromium/issues/detail?id=857511
      d1f48f11
  5. 11 Jun, 2018 1 commit
    • Tom Anderson's avatar
      Fix CFI builds · 096e8019
      Tom Anderson authored
      CFI [1] is a dynamic analysis tool that checks types at runtime.  It reports an
      error when using a function with signature eg. (void (*)(char*)) as
      (void (*)(void*)).  This change adds some wrapper functions to avoid this issue.
      In optimized builds, the functions should get optimized away.
      
      [1] https://clang.llvm.org/docs/ControlFlowIntegrity.html
      096e8019
  6. 25 May, 2018 2 commits
  7. 05 May, 2018 1 commit
  8. 15 Mar, 2018 1 commit
  9. 14 Mar, 2018 1 commit
  10. 05 Feb, 2018 1 commit
  11. 04 Jan, 2018 2 commits
  12. 03 Jan, 2018 1 commit
  13. 20 Nov, 2017 3 commits
  14. 07 Nov, 2017 1 commit
    • Akira TAGOH's avatar
      Add the ruleset description support · 9a0fcb94
      Akira TAGOH authored
      Trying to address what these configuration files really do.
      This change allows to see the short description that mention
      the purpose of the content in the config file and obtain
      them through API.
      
      This change also encourage one who want to make some UI for
      the user-specific configuration management. it is the main
      purpose of this change for me though.
      
      Aside from that, I've also made programs translatable. so
      we see more dependencies on the build time for gettext,
      and itstool to generate PO from xml.
      9a0fcb94
  15. 20 Sep, 2017 2 commits
  16. 12 Sep, 2017 2 commits
  17. 12 Jan, 2016 1 commit
    • Patrick Haller's avatar
      Optimizations in FcStrSet · d570a841
      Patrick Haller authored
      Applied optimizations:
      - skip duplicate check in FcStrSetAppend for values originating from readdir()
      - grow FcStrSet in 64-element bulks for local FcStrSets (FcConfig layout unaltered)
      
      Starting gedit is measured to
      
                              Unoptimized     Optimized
      user[s]                         0,806         0,579
      sys[s]                          0,062         0,062
      Total Instr Fetch Cost: 1.658.683.750   895.069.820
      Cachegrind D Refs:        513.917.619   312.000.436
      Cachegrind Dl Misses:       8.605.632     4.954.639
      d570a841
  18. 27 Jun, 2015 1 commit
    • Behdad Esfahbod's avatar
      Revert changes made to FcConfigAppFontAddDir() recently · 46ec6a52
      Behdad Esfahbod authored
      In 32ac7c75 the behavior of
      FcConfigAppFontAddFile/Dir() were changed to return false
      if not fonts were found.  While this is welldefined and useful
      for AddFile(), it's quite problematic for AddDir().  For example,
      if the directory is empty, is that a failure or success?  Worse,
      the false value from AddDir() was being propagated all the way
      to FcInit() returning false now.  This only happened upon memory
      allocation failure before, and some clients assert that FcInit()
      is successful.
      
      With this change, AddDir() is reverted back to what it was.
      AddFont() change (which was actually in fcdir.c) from the original
      commit is left in.
      46ec6a52
  19. 17 Jun, 2015 1 commit
  20. 09 Apr, 2015 1 commit
    • LRN's avatar
      W32: Support cache paths relative to the root directory · f6e6a8a2
      LRN authored
      Paths starting with '/' don't make sense on W32 as-is,
      prepend the installation root directory to them.
      
      This allows the cache to be contained within a particular
      fontconfig installation (as long as the default
      --with-cache-dir= is overriden at configure time).
      f6e6a8a2
  21. 23 Mar, 2015 1 commit
  22. 02 Mar, 2015 1 commit
  23. 27 Feb, 2015 1 commit
  24. 09 Dec, 2014 1 commit
  25. 12 Aug, 2014 1 commit
  26. 23 Jul, 2014 1 commit
  27. 04 Jul, 2014 1 commit
  28. 30 Jun, 2014 2 commits
  29. 17 Jun, 2014 1 commit
  30. 13 May, 2014 1 commit