1. 19 Jul, 2018 4 commits
  2. 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
  3. 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
  4. 25 May, 2018 2 commits
  5. 05 May, 2018 1 commit
  6. 15 Mar, 2018 1 commit
  7. 14 Mar, 2018 1 commit
  8. 05 Feb, 2018 1 commit
  9. 04 Jan, 2018 2 commits
  10. 03 Jan, 2018 1 commit
  11. 20 Nov, 2017 3 commits
  12. 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
  13. 20 Sep, 2017 2 commits
  14. 12 Sep, 2017 2 commits
  15. 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
  16. 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
  17. 17 Jun, 2015 1 commit
  18. 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
  19. 23 Mar, 2015 1 commit
  20. 02 Mar, 2015 1 commit
  21. 27 Feb, 2015 1 commit
  22. 09 Dec, 2014 1 commit
  23. 12 Aug, 2014 1 commit
  24. 23 Jul, 2014 1 commit
  25. 04 Jul, 2014 1 commit
  26. 30 Jun, 2014 2 commits
  27. 17 Jun, 2014 1 commit
  28. 13 May, 2014 1 commit
  29. 26 Mar, 2014 1 commit
    • Akira TAGOH's avatar
      Bug 71287 - size specific design selection support in OS/2 table version 5 · 3cd573fc
      Akira TAGOH authored
      This feature requires the FreeType 2.5.1 or later at the build time.
      
      Besides <range> element allows <double> elements with this changes.
      
      This may breaks the cache but not bumping in this change sets at this moment.
      please be aware if you want to try it and run fc-cache before/after to
      avoid the weird thing against it.
      3cd573fc
  30. 31 Aug, 2013 1 commit