1. 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.
      212c9f43
  2. 15 Jul, 2005 1 commit
  3. 07 Jul, 2005 1 commit
  4. 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
  5. 17 Jun, 2005 1 commit
  6. 20 May, 2005 2 commits
  7. 27 Apr, 2005 2 commits
  8. 23 Apr, 2005 1 commit
  9. 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
          ones.
      Must fetch bitmap glyphs to get width values to check for
          monospace/dual-width fonts.
      716ac8b8
  10. 13 Apr, 2005 1 commit
  11. 31 Mar, 2005 1 commit
  12. 17 Mar, 2005 1 commit
  13. 10 Mar, 2005 1 commit
  14. 09 Mar, 2005 2 commits
  15. 08 Mar, 2005 1 commit
  16. 05 Mar, 2005 3 commits
  17. 03 Mar, 2005 2 commits
    • Keith Packard's avatar
      Move debian-specific conf file examples upstream. · 683dc3c4
      Keith Packard authored
      Sub-pixel configuration examples must smash subpixel value as Xft always
          sets it from X.
      Change sub-pixel rendering debconf descriptions from Enable/Disable to
          Always/Never.
      683dc3c4
    • Keith Packard's avatar
      Ignore more build detritus · dc2e06ab
      Keith Packard authored
      Add debian package construction stuff.
      Update to newer versions of these tools
      Get library manuals to build again (we love automake).
      Update debian build system to switch maintainers and deal with 2.3
          functionality
      dc2e06ab
  18. 01 Mar, 2005 2 commits
    • Keith Packard's avatar
      Update for 2.3.0 · 4afc00ca
      Keith Packard authored
      4afc00ca
    • Keith Packard's avatar
      Generate and install PDF versions of the manuals · 0c009d2b
      Keith Packard authored
      Fix formatting
      Add missing exported functions, fix data types
      Add missing pattern elements.
      Add missing pattern elements. Document conf.d usage, clarify available
          orthography list. Fix some config file attributes. Complete list of
          constants.
      Mark FC_SOURCE deprecated.
      Don't set FC_SOURCE any longer.
      0c009d2b
  19. 28 Feb, 2005 1 commit
  20. 10 Feb, 2005 1 commit
  21. 29 Jan, 2005 2 commits
  22. 28 Jan, 2005 1 commit
  23. 16 Jan, 2005 1 commit
  24. 13 Jan, 2005 2 commits
  25. 04 Jan, 2005 1 commit
  26. 29 Dec, 2004 5 commits
  27. 14 Dec, 2004 1 commit
    • Keith Packard's avatar
      I changed FcFontSetSort to respect the generic aliases better in the face · 5cf8c536
      Keith Packard authored
          of language matching.
      What I did was to ammend the strict sort order used by FcFontSort so that
          it 'satisfies' the language specified in the pattern by locating the
          best matching font supporting each pattern language and then ignores
          language in the remaining fonts for purposes of matching.
      So, when asking for 'sans:lang=en', you'll get an English font first, and
          then the remaining fonts sorted with respect to the 'sans' alias alone
          -- pushing Kochi fonts ahead of other English-supporting Han fonts.
      reviewed by: Owen Taylor <otaylor@redhat.com>
      5cf8c536