1. 02 Dec, 2006 4 commits
    • Keith Packard's avatar
      Fix grep pattern in makealias to work on non-Gnu grep (bug 8368). · 5e234d9e
      Keith Packard authored
      grep -l -w '^foo' doesn't work on Solaris. Replace with
      grep -l '^foo\>' instead which does. Also, grep -l will
      report the filename more than once (!), so add | head -1
      to pick just the first one.
      5e234d9e
    • Keith Packard's avatar
      Avoid writing uninitialized structure pad bytes to cache files. · 2b77216e
      Keith Packard authored
      The union inside the FcValue structure contains pad bytes. Instead of
      copying the whole structure to the cache block, copy only the initialized
      fields to avoid writing whichever bytes serve as padding within the
      structure.
      2b77216e
    • Keith Packard's avatar
      Warn (and recover) from config file without <cachedir> elements. · 64d7e303
      Keith Packard authored
      When updating from older fontconfig versions, if the config file
      is not replaced, it will not contain <cachedir> elements. Lacking these,
      fontconfig has no place to store cached font information and cannot operate
      reasonably.
      
      Add code to check and see if the loaded configuration has no cache
      directories, and if so, warn the user and add both the default system cache
      directory and the normal per-user cache directory.
      64d7e303
    • Keith Packard's avatar
      Use explicit platform/nameid order when scanning ttf files. · 253ec760
      Keith Packard authored
      Instead of accepting whatever order names appear in the font file,
      use an explicit ordering for both platform and nameid.
      
      Platforms are high precedence than nameids.
      
      The platform order is:
      
      	microsoft, apple unicode, macintosh, (other)
      
      The family nameid order is:
      
      	preferred family, font family
      
      The fullname nameid order is:
      
      	mac full name, full name
      
      The style nameid order is
      
      	preferred subfamily, font subfamily
      
      This will change the names visible to users in various application UIs, but
      should not change how existing font names are matched as all names remain
      present in the resulting database. The hope is that family names will, in
      general, be less ambiguous. Testing here shows that commercial fonts
      have longer names now while DejaVu has a shorter family name, and moves more
      of the font description to the style name.
      253ec760
  2. 13 Nov, 2006 2 commits
  3. 27 Oct, 2006 1 commit
  4. 18 Sep, 2006 1 commit
  5. 17 Sep, 2006 4 commits
  6. 15 Sep, 2006 2 commits
  7. 14 Sep, 2006 2 commits
  8. 11 Sep, 2006 2 commits
  9. 10 Sep, 2006 6 commits
  10. 09 Sep, 2006 5 commits
  11. 07 Sep, 2006 9 commits
  12. 05 Sep, 2006 2 commits