]> git.wh0rd.org - fontconfig.git/blobdiff - ChangeLog
Restore code to skip over PCF fonts that have no encoded characters. (We
[fontconfig.git] / ChangeLog
index 4ac398d5d88d4c66b194db95422beb6d2fac4917..f296a88ddbf4561a35e9b38eddb5b3c3d7b80305 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,185 @@
+2005-12-20  Patrick Lam  <plam@mit.edu>
+       * src/fcfreetype.c (FcFreeTypeQuery):
+
+       Restore code to skip over PCF fonts that have no encoded
+       characters.
+       (We guess that a font is PCF by presence of the PIXEL_SIZE
+       BDF property.)
+
+2005-12-12  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
+
+       Read and write the original location as a fallback for the
+       hashed cache file locations.  This is mostly for users to be
+       able to have per-directory cache files.
+
+2005-12-12  Patrick Lam  <plam@mit.edu>
+       * fc-cache/fc-cache.c (scanDirs):
+       * fc-cache/Makefile.am:
+       * src/fccache.c (FcDirCacheHashName):
+
+       Improve error message when fc-cache can't write the cache.  Add
+       missing slash.  Reported by Behdad.  Incorporate Behdad's patch to
+       create /var/cache/fontconfig when appropriate.
+
+2005-12-12  Behdad Esfahbod  <behdad@cs.toronto.edu>
+       reviewed by: plam
+       
+       * src/fcxml.c (FcConfigGetAttribute):
+
+       Fix crash reported by Frederic Crozat when using libxml2.
+
+2005-12-09  Patrick Lam  <plam@mit.edu>
+       * INSTALL:
+       * configure.in:
+       * fc-cache/Makefile.am:
+       * fc-cat/Makefile.am:
+       * src/Makefile.am:
+       * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
+       * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
+       * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
+                       FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
+                       FcDirCacheHasCurrentArch, FcDirCacheHashName,
+                       FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
+
+       Migrate cache files from fonts directories to
+       /var/cache/fontconfig.  This helps make fontconfig FHS-compliant,
+       but requires that all caches get rebuilt.
+
+       Also, autogen.sh now needs the additional parameter
+       --localstatedir=/var.
+       
+2005-12-07  Patrick Lam  <plam@mit.edu>
+       * src/fcpat.c (FcPatternAddString):
+
+       Because we've changed FcPatternAddString to use FcStrStaticName
+       and not FcValueSave, explicitly handle the case of a null string.
+
+2005-12-06  Patrick Lam  <plam@mit.edu>
+       * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
+
+       Fix warnings.
+
+2005-12-05  Patrick Lam  <plam@mit.edu>
+       * src/fcname.c (FcNameGetObjectType):
+
+       Don't assign types to user object names.
+
+2005-12-05  Patrick Lam  <plam@mit.edu>
+       * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
+
+       Don't free strings that have been returned from FcStrStaticName.
+
+2005-12-01  Patrick Lam  <plam@mit.edu>
+       * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
+
+       Add codepath for reading global cache files as well.
+
+2005-12-01  Behdad Esfahbod  <behdad@cs.toronto.edu>
+       reviewed by: plam
+
+       * conf.d/10-fonts.persian.conf:
+       * conf.d/Makefile.am:
+
+       Add config file for Persian fonts from Sharif FarsiWeb, Inc.
+
+2005-11-30  Behdad Esfahbod  <behdad@cs.toronto.edu>
+       reviewed by: plam
+
+       * src/fcxml.c (FcConfigParseAndLoad):
+
+       Only add a config file to the set of config files once.
+
+2005-11-29  Patrick Lam  <plam@mit.edu>
+       * src/fcint.h (FcCacheBankToIndex);
+
+       Fix segfault by guarding array dereference.
+
+2005-11-29  Dirk Mueller  <dmueller@suse.de>
+       reviewed by: plam
+       
+       * fc-lang/fc-lang.c:
+       * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
+                        FcCacheBankToIndex, FcCacheBankToIndexMTF,
+                        FcCacheAddBankDir):
+       * src/fcint.h:
+
+       Refactor FcCacheBankToIndex into an inlineable part
+       (in fcint.h) which checks the front of the list and a
+       non-inlineable part which finds and moves the appropriate element
+       to the front of the list.
+
+2005-11-29  Patrick Lam  <plam@mit.edu>
+       * src/fccfg.c (FcConfigBuildFonts):
+       * src/fccache.c (FcCacheReadDirs):
+
+       Make the perf guys hate me a bit less: hoist the directory-name
+       FcConfigAcceptFont check for cached fonts up to directory cache
+       read time, rather than running it for each font.
+
+2005-11-29  Patrick Lam  <plam@mit.edu>
+       * src/fccfg.c (FcConfigBuildFonts):
+       * src/fcint.h:
+       * src/fcpat.c (FcPatternFindFullFname):
+
+       Don't make FcPatternFindFullFname available to fccfg, it's not
+       really safe.  Instead go through FcPatternGetString (sorry,
+       perf guys.)  Also, use globs for dirs as well.
+
+2005-11-28  Patrick Lam  <plam@mit.edu>
+       * src/fccfg.c (FcConfigBuildFonts):
+
+       Fix segfault.
+
+2005-11-28  Patrick Lam  <plam@mit.edu>
+       * src/fcint.h:
+       * src/fcpat.c (FcPatternFindFullFname):
+       * src/fccfg.c (FcConfigBuildFonts):
+
+       Fix problem dating back at least to 2.3.2 where globs weren't
+       being applied to patterns loaded from a cache.
+
+2005-11-28  Patrick Lam  <plam@mit.edu>
+       * doc/fontconfig-user.sgml:
+
+       Fix some obvious spelling mistakes.
+       
+2005-11-28  Dirk Mueller  <dmueller@suse.com>
+           Stephan Kulow  <coolo@suse.de>
+       reviewed by: plam
+
+       * src/fcmatch.c (FcFontSetMatch):
+
+       Don't kill all fonts during match (oops!)
+
+
+2005-11-25  Dirk Mueller  <dmueller@suse.com>
+            Stephan Kulow  <coolo@suse.de>
+            Michael Matz  <matz@suse.de>
+        reviewed by: plam
+
+        * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
+                FcFontSetMatch):
+
+        Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
+        inline FcCompare into FcFontSetMatch and reorder the
+        loops, adding a boolean array which blocks patterns from future
+        consideration if they're known to not be best on some past
+        criterion.
+
+2005-11-26  Dirk Mueller  <dmueller@suse.com>
+       reviewed by: plam
+       
+       * src/fcmatch.c (FcCompareValueList):
+
+       Fix incorrect merge.
+
+2005-11-25  Patrick Lam  <plam@mit.edu>
+       * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
+
+       Don't do random matching when bad objects are passed into
+       FcCompareValueList.
+
 2005-11-25  Patrick Lam  <plam@mit.edu>
        * src/fcint.h:
        * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,