1. 21 Dec, 2005 1 commit
    • Patrick Lam's avatar
      Bump version to 2.3.93. · 3bfae75d
      Patrick Lam authored
      Use open instead of fopen (requested by Phil Race for Sun).
      src/fccache.c (FcDirCacheWrite);
      Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig dir.
      3bfae75d
  2. 12 Dec, 2005 1 commit
  3. 30 Nov, 2005 1 commit
  4. 18 Nov, 2005 1 commit
  5. 17 Nov, 2005 1 commit
  6. 29 Sep, 2005 1 commit
  7. 22 Sep, 2005 1 commit
    • Patrick Lam's avatar
      Fix more gcc4 warnings: · 67accef4
      Patrick Lam authored
      - Cast sizeof to int, to shut up signedness warnings in comparison.
      - Add consts where appropriate.
      reviewed by: Patrick Lam <plam@mit.edu>
      67accef4
  8. 11 Sep, 2005 1 commit
  9. 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.
      4262e0b3
  10. 15 Jul, 2005 1 commit
  11. 07 Jul, 2005 1 commit
  12. 28 Jun, 2005 1 commit
    • Patrick Lam's avatar
      Add functionality to allow fontconfig data structure serialization. · cd2ec1a9
      Patrick Lam authored
      This patch allows the fundamental fontconfig data structures to be
          serialized. I've converted everything from FcPattern down to be able to
          use *Ptr objects, which can be either static or dynamic (using a union
          which either contains a pointer or an index) and replaced storage of
          pointers in the heap with the appropriate *Ptr object. I then changed
          all writes of pointers to the heap with a *CreateDynamic call, which
          creates a dynamic Ptr object pointing to the same object as before.
          This way, the fundamental fontconfig semantics should be unchanged; I
          did not have to change external signatures this way, although I did
          change some internal signatures. When given a *Ptr object, just run *U
          to get back to a normal pointer; it gives the right answer regardless
          of whether we're using static or dynamic storage.
      I've also implemented a Fc*Serialize call. Calling FcFontSetSerialize
          converts the dynamic FcFontSets contained in the config object to
          static FcFontSets and also converts its dependencies (e.g. everything
          you'd need to write to disk) to static objects. Note that you have to
          call Fc*PrepareSerialize first; this call will count the number of
          objects that actually needs to be allocated, so that we can avoid
          realloc. The Fc*Serialize calls then check the static pointers for
          nullness, and allocate the buffers if necessary. I've tested the
          execution of fc-list and fc-match after Fc*Serialize and they appear to
          work the same way.
      cd2ec1a9
  13. 28 Jan, 2005 1 commit
  14. 07 Dec, 2004 2 commits
  15. 05 Dec, 2004 1 commit
    • Keith Packard's avatar
      Change default set of fonts to include all of /usr/X11R6/lib/X11/fonts (or · 2d9c79c0
      Keith Packard authored
          wherever the X fonts are located).
      Document new <include>directory-name</include> semantics
      add <include ignore_missing="yes">conf.d</include>
      Add selectfont to ignore bitmap fonts, add comment for selectfont which
          accepts bitmap fonts.
      Allow <include> configuration elements to reference directories. Parse and
          load all files of the form [0-9]* in sorted order.
      2d9c79c0
  16. 04 Dec, 2004 1 commit
    • Keith Packard's avatar
      Move existing fonts.conf to fonts.conf.bak · 4f27c1c0
      Keith Packard authored
      Add detection of iconv
      Document new selectfont elements
      Switch to UTF-8 in comment
      Add fullname, and family/style/fullname language entries
      Respect selectfont/*/glob
      Add support for selectfont
      Add multi-lingual family/style/fullname support
      Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
      Add new FcPatternRemove/FcPatternAppend. FcObjectStaticName stores computed
          pattern element names which are required to be static.
      4f27c1c0
  17. 10 Nov, 2003 1 commit
  18. 15 Aug, 2003 1 commit
  19. 20 Jul, 2003 1 commit
    • Keith Packard's avatar
      Implement new semantics for Contains and LISTING: · 74a623e0
      Keith Packard authored
      LISTING requires that the font Contain all of the pattern values, where
          Contain is redefined for strings to mean precise matching (so that
          Courier 10 Pitch doesn't list Courier fonts)
      "Contains" for lang means both langs have the same language and either the
          same country or one is missing the country
      74a623e0
  20. 09 Jul, 2003 1 commit
  21. 07 May, 2003 1 commit
  22. 15 Apr, 2003 1 commit
  23. 22 Mar, 2003 1 commit
    • Tor Lillqvist's avatar
      Changes for Windows: · daeed6e0
      Tor Lillqvist authored
      On Windows with gcc (a.k.a. mingw) build as a DLL.
      We don't want to hardcode the fonts.conf file location in the DLL, so we
          look up the DLL location at run-time in a DllMain() function. The
          fonts.conf location is deduced from that.
      The colon can't be used as path separator on Windows, semicolon is used
          instead. File path components can be separated with either slash or
          backslash. Absolute paths can also begin with a drive letter.
      Add internal function FcStrLastSlash that strrchr's the last slash, or
          backslash on Windows.
      There is no link() on Windows. For atomicity checks, mkdir a lock directory
          instead.
      In addition to HOME, also look for USERPROFILE.
      Recognize the special font directory token WINDOWSFONTDIR, to use the
          system's font directory.
      Remove the fontconfig-def.cpp that was obsolete. Add fontconfig.def(.in),
          without internal functions.
      Add a fontconfig-zip(.in) script, used to build a binary distribution.
      daeed6e0
  24. 05 Mar, 2003 1 commit
  25. 02 Mar, 2003 1 commit
  26. 12 Feb, 2003 1 commit
  27. 31 Aug, 2002 1 commit
  28. 22 Aug, 2002 1 commit
  29. 20 Aug, 2002 1 commit
  30. 19 Aug, 2002 1 commit
  31. 11 Aug, 2002 1 commit
  32. 31 Jul, 2002 1 commit
  33. 12 Jul, 2002 1 commit
  34. 26 Jun, 2002 1 commit
  35. 21 Jun, 2002 2 commits
  36. 19 Jun, 2002 1 commit
  37. 18 Jun, 2002 1 commit
  38. 08 Jun, 2002 1 commit