1. 18 Oct, 2007 1 commit
    • Keith Packard's avatar
      Remove unneeded call to access(2) in fc-cache. · e12f718f
      Keith Packard authored
      This call was followed by a call to stat(2) which provided the necessary
      information. This call to access(2) was necessary when cache files were
      stored in the font directory as that would check for write permission
  2. 27 Oct, 2006 1 commit
  3. 14 Sep, 2006 1 commit
  4. 04 Sep, 2006 1 commit
    • Keith Packard's avatar
      Hide private functions in shared library. Export functionality for utilities. · 4984242e
      Keith Packard authored
      Borrowing header stuff written for cairo, fontconfig now exposes in the
      shared library only the symbols which are included in the public header
      files. All private symbols are hidden using suitable compiler directives.
      A few new public functions were required for the fontconfig utility programs
      (fc-cat and fc-cache) so those were added, bumping the .so minor version number
      in the process.
  5. 02 Sep, 2006 1 commit
  6. 01 Sep, 2006 2 commits
  7. 31 Aug, 2006 3 commits
    • Keith Packard's avatar
      Revert ABI changes from version 2.3 · f57783d2
      Keith Packard authored
      Accidental ABI changes and additions were discovered by looking at the
      differences in fontconfig.h. All of those have been reverted.
    • Keith Packard's avatar
      Automatically remove invalid cache files. · d8ab9e6c
      Keith Packard authored
      Cache files for missing or more recently modified directories are
      automatically removed at the end of every fc-cache run.
    • Keith Packard's avatar
      Skip broken caches. Cache files are auto-written, don't rewrite in fc-cache. · 2d3387fd
      Keith Packard authored
      Validate cache contents and skip broken caches, looking down cache path for
      valid ones.
      Every time a directory is scanned, it will be written to a cache file if
      possible, so fc-cache doesn't need to re-write the cache file. This makes
      detecting when the cache was generated a bit tricky, so we guess that if the
      cache wasn't valid before running and is valid afterwards, the cache file
      was written.
      Also, allow empty charsets to be serialized with null leaves/numbers.
      Eliminate a leak in FcEdit by switching to FcObject sooner.
      Call FcFini from fc-match to make valgrind happy.
  8. 28 Aug, 2006 3 commits
  9. 04 Aug, 2006 1 commit
  10. 25 Apr, 2006 1 commit
  11. 07 Apr, 2006 1 commit
    • Patrick Lam's avatar
      Patrick Lam <plam@mit.edu> · d6217cc6
      Patrick Lam authored
      Make fontconfig compile under MinGW:
      1) remove unneeded #includes;
      2) make use of mmap and sysconf conditional;
      3) replace rand_r by srand/rand if needed;
      4) use chsize instead of ftruncate; and
      5) update libtool exports file
  12. 18 Feb, 2006 1 commit
  13. 16 Feb, 2006 2 commits
  14. 06 Feb, 2006 1 commit
  15. 31 Jan, 2006 1 commit
  16. 27 Jan, 2006 1 commit
  17. 14 Jan, 2006 1 commit
  18. 10 Jan, 2006 1 commit
  19. 09 Jan, 2006 1 commit
  20. 12 Dec, 2005 1 commit
  21. 02 Nov, 2005 2 commits
  22. 05 Oct, 2005 1 commit
  23. 23 Sep, 2005 1 commit
  24. 01 Sep, 2005 1 commit
    • Patrick Lam's avatar
      : · 2304e38f
      Patrick Lam authored
      Save subdirectory names in cache files to save time. This completely
          restores the original fontconfig API, BTW. Note that directories
          without fonts don't get a cache file; but then how many files would it
          have in that directory...
  25. 31 Aug, 2005 1 commit
  26. 30 Aug, 2005 1 commit
    • Patrick Lam's avatar
      src/fcint.c · eb0cf671
      Patrick Lam authored
      The global cache now uses the same mmap-based cache infrastructure as the
          per-directory caches. Furthermore, the global cache is automatically
          updated (if possible) whenever fontconfig is used. Rip out remnants of
          the old cache infrastructure.
  27. 24 Aug, 2005 1 commit
    • Patrick Lam's avatar
      Overhaul the serialization system to create one mmapable file per directory · 4262e0b3
      Patrick Lam authored
          and distribute bytes for each directory from a single malloc for that
          directory. Store pointers as differences between the data pointed to
          and the pointer's address (s_off = s - v). Don't serialize data
          structures that never actually get serialized. Separate strings used
          for keys from strings used for values (in FcPatternElt and FcValue,
          respectively). Bump FC_CACHE_VERSION to 2.
  28. 25 Jul, 2005 1 commit
    • Patrick Lam's avatar
      #ifdef out old cache stuff, replace with first version of new mmapping · 212c9f43
      Patrick Lam authored
          cache. Add *Read and *Write procedures which mmap in and write out the
          fontconfig data structures to disk. Currently, create cache in /tmp,
          with different sections for each architecture (as returned by uname's
          .machine field. Run the fc-cache binary to create a new cache file;
          fontconfig then uses this cache file on subsequent runs, saving lots of
          memory. Also fixes a few bugs and leaks.
  29. 27 Apr, 2005 1 commit
  30. 21 Apr, 2005 1 commit
    • Keith Packard's avatar
      Don't force bitmap font enable in default configuration; allows users to · 716ac8b8
      Keith Packard authored
          override this in ~/.fonts.conf
      Updated translations
      Destroy font configuration on exit to help valgrind
      Use own transcoding routines in preference to iconv which appears to have
          leaks in some translators. Call iconv_close after using iconv (oops).
      Prefer unicode encoding of Euro char as some fonts mis-encode Euro in other
      Must fetch bitmap glyphs to get width values to check for
          monospace/dual-width fonts.
  31. 07 Dec, 2004 1 commit
  32. 05 Dec, 2004 1 commit
  33. 31 May, 2003 1 commit