1 2006-02-07 Dirk Mueller <dmueller@suse.com>
3 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
5 Remove de-escaping logic because FcCacheWriteString
6 doesn't escape anyway. Do blockwise reading instead
7 of byte-wise for performance.
9 2006-02-06 Patrick Lam <plam@mit.edu>
10 Takashi Iwai <tiwai@suse.de>
12 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
14 Don't loop infinitely on recursive symlinks (client-side).
16 2006-02-06 Takashi Iwai <tiwai@suse.de>
18 * fc-cache/fc-cache.c (scanDirs, main):
20 Don't loop infinitely on recursive symlinks.
22 2006-02-06 Takashi Iwai <tiwai@suse.de>
24 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
25 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
26 FcGlobalCacheSave, FcCacheReadDirs):
29 Skip subdirs when skipping over stale bits of global cache.
30 Introduce state machine into FcGlobalCacheDir to avoid
31 doing inappropriate operations on global dir entries, e.g.
32 writing out an out-of-date cache entry.
34 2006-02-06 Takashi Iwai <tiwai@suse.de>
36 * src/fcdir.c (FcFileScanConfig):
38 Hoist FcFileIsDir check out of FcFileScanConfig loop.
40 2006-02-06 Takashi Iwai <tiwai@suse.de>
43 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
44 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
46 Don't rescan when trying to normalize a non-declared font dir.
47 Don't add font dirs multiple times (even if they're aliased).
49 2006-02-06 Dirk Mueller <dmueller@suse.de>
52 * src/fcfs.c (FcFontSetUnserialize):
54 Explain apples/oranges comparison and fix compilation error.
56 2006-02-06 Dirk Mueller <dmueller@suse.de>
59 * src/fcfs.c (FcFontSetUnserialize):
61 Insert check for integer overflow in # of fonts.
63 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
67 * fc-cache/Makefile.am:
69 * fc-list/Makefile.am:
71 Make 'make distcheck' work with automake 1.6.3.
73 2006-02-03 Takashi IWAI <tiwai@suse.de>
76 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
79 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
80 FcDirCacheConsume, FcDirCacheWrite)
81 * src/fcxml.c (FcConfigMessage):
83 Check I/O call return values and eliminate unused variable
86 2006-02-03 Takashi Iwai <tiwai@suse.de>
89 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
93 2006-02-03 Dirk Mueller <dmueller@suse.de>
96 * src/fcfs.c (FcFontSetUnserialize):
98 Gracefully handle the case where a cache asserts that it
99 has a negative number of fonts, causing overflow.
101 2006-02-03 Patrick Lam <plam@mit.edu>
102 * src/fccache.c (FcDirCacheUnlink):
104 Fix double free in error case.
106 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
107 Stephan Kulow <coolo@suse.de>
110 * fc-cache/Makefile.am:
112 Replace 'stamp' target with mkinstalldirs.
114 2006-01-31 Mike Fabian <mfabian@suse.de>
117 * src/fccache.c (FcGlobalCacheLoad):
119 Toast broken global cache files.
121 2006-01-30 Patrick Lam <plam@mit.edu>
122 * src/fccache.c (FcGlobalCacheReadDir):
124 Actually use the directories that I added to the global cache.
127 2006-01-30 Mike Fabian <mfabian@suse.de>
130 * fc-cache/fc-cache.c (scanDirs):
132 Don't stop scanning if a directory in fonts.conf doesn't
133 exist, because subsequent directories might exist.
135 2006-01-30 Patrick Lam <plam@mit.edu>
136 * src/fccache.c (FcGlobalCacheLoad):
138 Make global cache work again after putting dir names into global
139 cache (I misplaced the recording of a file offset).
141 2006-01-30 Patrick Lam <plam@mit.edu>
142 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
144 Update fc-cat to handle subdir lists in global cache file.
146 * src/fccache.c (FcGlobalCacheLoad):
148 Another FcCacheReadString return value check.
150 2006-01-30 Mike Fabian <mfabian@suse.de>
153 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
154 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
156 Make fccache more resilient to broken cache files by checking
157 return value of FcCacheReadString all the time.
159 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
162 * fc-match/fc-match.1:
163 * fc-lang/fc-lang.man:
165 Remove references to dead fontconfig(3) manpages in
166 other fontconfig manpages.
168 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
171 * doc/fcpattern.fncs:
173 Fix world's tiniest typo in code example.
175 2006-01-29 Mike Fabian <mfabian@suse.de>
178 * src/fccache.c (FcGlobalCacheReadDir):
180 Fix global cache reads of subdirectories.
182 2006-01-29 Patrick Lam <plam@mit.edu>
184 Add documentation for FcConfigNormalizeFontDir.
186 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
187 FcGlobalCacheUpdate, FcGlobalCacheSave):
188 * src/fcdir.c (FcDirScanConfig):
191 Write directory information to global caches to fix make check
192 (reported by Ronny V. Vindenes). This changes the global cache
195 2006-01-27 Patrick Lam <plam@mit.edu>
196 * fc-cache/fc-cache.c (scanDirs):
197 * fontconfig/fontconfig.h:
199 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
201 Move FcConfigNormalizeFontDir call so that it doesn't result in
202 infinite recursion (reported by Ronny V. Vindenes).
204 2006-01-26 Patrick Lam <plam@mit.edu>
205 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
206 * src/fccfg.c (FcConfigNormalizeFontDir):
208 Add a couple of missing normalizations to make fc-cache work
209 right; only scan subdirectories once.
211 2006-01-26 Mike Fabian <mfabian@suse.de>
214 * src/fcacache.c (FcGlobalCacheReadDir):
216 Don't crash on non-existant directories in global cache.
218 2006-01-26 Patirck Lam <plam@mit.edu>
219 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
220 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
221 * src/fcdir.c (FcDirScanConfig):
222 * src/fcxml.c (FcEndElement):
224 Stop trampling the directory name when writing out caches.
225 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
226 subdirs when necessary. Don't scan directories that can't be
229 2006-01-25 Patrick Lam <plam@mit.edu>
230 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
231 * src/fccfg.c (FcConfigEvaluate):
232 * src/fcfreetype.c (FcPatternAddWithBinding):
234 Fix additional memory leaks reported by Ronny V. Vindenes: don't
235 invoke FcValueSave on hashed static strings in
236 FcPatternAddWithBinding.
238 Add another st_dev check in FcDirCacheOpen.
240 2006-01-24 James Su <james.su@gmail.com>
243 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
244 * fc-lang/zh_hk.orth:
246 Treat zh-hk fonts differently from zh-tw fonts. This patch may
247 cause fontconfig to treat A-X fonts differently from A-Y fonts;
248 please mail the fontconfig list if this causes any problems.
250 2006-01-24 Patrick Lam <plam@mit.edu>
251 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
252 * src/fcfreetype.c (FcFreeTypeQuery):
254 Fix memory leaks reported by Ronny V. Vindenes.
256 2006-01-19 Andreas Schwab <schwab@suse.de>
259 * src/fcpat.c (FcStrNeededBytes):
261 Fix for unaligned memory accesses.
263 2006-01-18 Mike Fabian <mfabian@suse.de>
266 * src/fcdir.c (FcDirScanConfig):
268 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
269 calls to avoid crashes.
271 2006-01-14 Patrick Lam <plam@mit.edu>
272 * src/fccache.c (FcDirCacheConsume):
274 Fix segfault when consuming zero-length caches in fc-cat
275 (which has no config, so FcConfigAddFontDir shouldn't be called.)
277 2006-01-14 Patrick Lam <plam@mit.edu>
278 * fc-cache/fc-cache.c (scanDirs):
279 * fontconfig/fontconfig.h:
280 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
281 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
282 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
283 * src/fcdir.c (FcDirScanConfig):
286 Compare device numbers as well as inodes.
287 Always normalize directory names before comparing them.
289 2006-01-11 Mike Fabian <mfabian@suse.de>
292 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
294 Allocate extra space for appended '/' in directory name.
296 2006-01-10 Patrick Lam <plam@mit.edu>
297 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
298 FcDirCacheValid, FcDirCacheHasCurrentArch,
299 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
300 * fc-cache/fc-cache.c (main):
302 Explicitly add font dirs to config.fontDirs even if they're empty.
303 Set current config in fc-cache.c.
304 Fix treatment of cache directory as read from cache file; don't
305 use string equality to determine if we have the right file,
308 2006-01-09 Patrick Lam <plam@mit.edu>
309 * fc-cache/fc-cache.c (scanDirs):
310 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
311 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
312 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
313 * src/fccfg.c (FcConfigNormalizeFontDir):
314 * src/fcdir.c (FcDirScanConfig):
317 Normalize font dirs by using the form, as given in fonts.conf, and
318 recorded in FcConfig's fontDirs string set, as canonical.
320 Actually update config.fontDirs as font directories are scanned.
322 2006-01-08 James Su <james.su@gmail.com>
323 * src/fcmatch.c (FcFontSetMatch):
325 Fix matching bug when multiple elements match; don't use
326 the sum of all scores, but the best score.
328 Also more perf opts, e.g. evaluate best over all font sets
329 rather than on a per-set basis (and other changes).
331 2006-01-08 Patrick Lam <plam@mit.edu>
332 * src/fccache.c (FcDirCacheConsume):
334 Properly skip past dir caches that contain zero fonts (as occurs
335 in global caches.) Reported by Mike Fabian.
337 2006-01-06 Patrick Lam <plam@mit.edu>
338 * src/fcdbg.c (FcPatternPrint):
340 Print out full pathname in fc-match -v as well. Reported by
343 2006-01-06 Mike Fabian <mfabian@suse.de>
346 * src/fcname.c (FcNameParse):
348 Fix bug where fc-match crashes when given __DUMMY__ property to
351 (I added the __DUMMY__ string to enable callers of
352 FcObjectToPtrLookup to distinguish an error return from a
353 successful return. -PL)
355 2006-01-05 Patrick Lam <plam@mit.edu>
358 Add self to AUTHORS list.
360 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
361 FcCacheFileRead, FcCachePrintSet, main):
362 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
363 FcGlobalCacheSave, FcCacheNextOffset,
364 FcDirCacheHasCurrentArch, FcDirCacheRead,
365 FcDirCacheConsume, FcDirCacheWrite):
367 * src/fcpat.c (comment):
369 Minor change to global cache file format to fix fc-cat bug
370 reported by Frederic Crozat, and buglet with not globally caching
371 directories with zero fonts cached.
373 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
376 * src/fccfg.c (FcConfigEvaluate):
378 Fix double-free which occurs because FcValueCanonicalize doesn't
379 create an extra copy of the returned value, it only canonicalizes
382 2006-01-02 Patrick Lam <plam@mit.edu>
383 * doc/fontconfig-user.sgml:
385 Fix version of .cache file (currently 1 -> currently 2). Reported
388 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
391 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
393 Shut up GCC warnings on amd.
395 2005-12-20 Patrick Lam <plam@mit.edu>
399 * fontconfig/fontconfig.h:
401 Bump version to 2.3.93.
403 2005-12-20 Patrick Lam <plam@mit.edu>
404 * src/fccharset.c (FcLangCharSetPopulate):
405 * src/fcint.h (FcCacheBankToIndex):
407 Avoid check on _fcBankId nullness and fix case where it used to
410 2005-12-20 Patrick Lam <plam@mit.edu>
411 * src/fcxml.c (FcConfigParseAndLoad):
413 Use open instead of fopen (requested by Phil Race for Sun).
415 2005-12-20 Patrick Lam <plam@mit.edu>
416 * src/fccache.c (FcDirCacheWrite);
417 * fc-cache/Makefile.am:
419 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
422 2005-12-20 Patrick Lam <plam@mit.edu>
423 * src/fcfreetype.c (FcFreeTypeQuery):
425 Restore code to skip over PCF fonts that have no encoded
427 (We guess that a font is PCF by presence of the PIXEL_SIZE
430 2005-12-12 Patrick Lam <plam@mit.edu>
431 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
433 Read and write the original location as a fallback for the
434 hashed cache file locations. This is mostly for users to be
435 able to have per-directory cache files.
437 2005-12-12 Patrick Lam <plam@mit.edu>
438 * fc-cache/fc-cache.c (scanDirs):
439 * fc-cache/Makefile.am:
440 * src/fccache.c (FcDirCacheHashName):
442 Improve error message when fc-cache can't write the cache. Add
443 missing slash. Reported by Behdad. Incorporate Behdad's patch to
444 create /var/cache/fontconfig when appropriate.
446 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
449 * src/fcxml.c (FcConfigGetAttribute):
451 Fix crash reported by Frederic Crozat when using libxml2.
453 2005-12-09 Patrick Lam <plam@mit.edu>
456 * fc-cache/Makefile.am:
457 * fc-cat/Makefile.am:
459 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
460 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
461 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
462 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
463 FcDirCacheHasCurrentArch, FcDirCacheHashName,
464 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
466 Migrate cache files from fonts directories to
467 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
468 but requires that all caches get rebuilt.
470 Also, autogen.sh now needs the additional parameter
471 --localstatedir=/var.
473 2005-12-07 Patrick Lam <plam@mit.edu>
474 * src/fcpat.c (FcPatternAddString):
476 Because we've changed FcPatternAddString to use FcStrStaticName
477 and not FcValueSave, explicitly handle the case of a null string.
479 2005-12-06 Patrick Lam <plam@mit.edu>
480 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
484 2005-12-05 Patrick Lam <plam@mit.edu>
485 * src/fcname.c (FcNameGetObjectType):
487 Don't assign types to user object names.
489 2005-12-05 Patrick Lam <plam@mit.edu>
490 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
492 Don't free strings that have been returned from FcStrStaticName.
494 2005-12-01 Patrick Lam <plam@mit.edu>
495 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
497 Add codepath for reading global cache files as well.
499 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
502 * conf.d/10-fonts.persian.conf:
503 * conf.d/Makefile.am:
505 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
507 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
510 * src/fcxml.c (FcConfigParseAndLoad):
512 Only add a config file to the set of config files once.
514 2005-11-29 Patrick Lam <plam@mit.edu>
515 * src/fcint.h (FcCacheBankToIndex);
517 Fix segfault by guarding array dereference.
519 2005-11-29 Dirk Mueller <dmueller@suse.de>
523 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
524 FcCacheBankToIndex, FcCacheBankToIndexMTF,
528 Refactor FcCacheBankToIndex into an inlineable part
529 (in fcint.h) which checks the front of the list and a
530 non-inlineable part which finds and moves the appropriate element
531 to the front of the list.
533 2005-11-29 Patrick Lam <plam@mit.edu>
534 * src/fccfg.c (FcConfigBuildFonts):
535 * src/fccache.c (FcCacheReadDirs):
537 Make the perf guys hate me a bit less: hoist the directory-name
538 FcConfigAcceptFont check for cached fonts up to directory cache
539 read time, rather than running it for each font.
541 2005-11-29 Patrick Lam <plam@mit.edu>
542 * src/fccfg.c (FcConfigBuildFonts):
544 * src/fcpat.c (FcPatternFindFullFname):
546 Don't make FcPatternFindFullFname available to fccfg, it's not
547 really safe. Instead go through FcPatternGetString (sorry,
548 perf guys.) Also, use globs for dirs as well.
550 2005-11-28 Patrick Lam <plam@mit.edu>
551 * src/fccfg.c (FcConfigBuildFonts):
555 2005-11-28 Patrick Lam <plam@mit.edu>
557 * src/fcpat.c (FcPatternFindFullFname):
558 * src/fccfg.c (FcConfigBuildFonts):
560 Fix problem dating back at least to 2.3.2 where globs weren't
561 being applied to patterns loaded from a cache.
563 2005-11-28 Patrick Lam <plam@mit.edu>
564 * doc/fontconfig-user.sgml:
566 Fix some obvious spelling mistakes.
568 2005-11-28 Dirk Mueller <dmueller@suse.com>
569 Stephan Kulow <coolo@suse.de>
572 * src/fcmatch.c (FcFontSetMatch):
574 Don't kill all fonts during match (oops!)
577 2005-11-25 Dirk Mueller <dmueller@suse.com>
578 Stephan Kulow <coolo@suse.de>
579 Michael Matz <matz@suse.de>
582 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
585 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
586 inline FcCompare into FcFontSetMatch and reorder the
587 loops, adding a boolean array which blocks patterns from future
588 consideration if they're known to not be best on some past
591 2005-11-26 Dirk Mueller <dmueller@suse.com>
594 * src/fcmatch.c (FcCompareValueList):
598 2005-11-25 Patrick Lam <plam@mit.edu>
599 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
601 Don't do random matching when bad objects are passed into
604 2005-11-25 Patrick Lam <plam@mit.edu>
606 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
607 FcPatternSerialize, FcPatternUnserialize,
608 FcValueListEnsureBank, FcValueListDistributeBytes,
609 FcValueListUnserialize):
611 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
612 _fcPatternElts, _fcValueLists for consistency.
614 2005-11-25 Dirk Mueller <dmueller@suse.com>
619 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
621 2005-11-25 Patrick Lam <plam@mit.edu>
623 * src/fccache.c (FcDirCacheConsume):
624 * src/fccharset.c (FcCharSetUnserialize):
625 * src/fcfs.c (FcFontSetUnserialize):
626 * src/fclang.c (FcLangSetUnserialize):
627 * src/fcname.c (FcObjectUnserialize):
628 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
629 FcPatternUnserialize):
631 Pass around FcCache *s to the Unserialize functions for extra
632 consistency (and less overhead, for what that's worth).
634 2005-11-24 Dirk Mueller <dmueller@suse.com>
638 * src/fcmatch.c (FcCompare*, FcFontSetSort):
639 * src/fcname.c (FcNameUnparseValue):
641 Inline the *PtrU functions to gain perf.
642 Remove unneeded params for the FcCompare* functions.
644 2005-11-24 Dirk Mueller <dmueller@suse.com>
647 * src/fcint.h, fontconfig/fontconfig.h:
649 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
651 * src/fcpat.c, src/fcint.h, src/fcname.c:
653 Check for type validity during FcPatternAddWithBinding, don't
654 verify type in FcFontMatch, don't call FcCanonicalize here
655 (which always does a deep copy).
657 2005-11-24 Dirk Mueller <dmueller@suse.com>
660 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
661 * src/fcpat.c (FcPatternAddWithBinding):
663 Make FcCompareString and FcCompareFamily less expensive.
664 Only add a value for FC_FAMILY if the proposed value is a string.
666 2005-11-24 Dirk Mueller <dmueller@suse.com>
669 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
670 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
671 * src/fcint.h (FcDebug):
673 Inline FcDebug invocations and only initialize once, in FcInit*.
674 Improve debug msg in FcPatternPrint.
676 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
679 * fontconfig/fontconfig.h:
682 Minor code warning cleanups.
684 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
687 * fc-match/fc-match.c (main):
689 Make getopt_long accept -s parameter to fc-match as well.
691 2005-11-21 Dirk Mueller <dmueller@suse.com>
694 * src/fcmatch.c (FcCompareValueList):
696 Manually perform inlining & partial redundancy elimination to
697 reduce calls to FcValueListPtrU.
699 2005-11-21 Dirk Mueller <dmueller@suse.com>
702 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
703 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
705 Only invoke strlen() when really necessary.
707 2005-11-19 Matthias Clasen <mclasen@redhat.com>
711 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
716 Get rid of the use of freetype internal headers in fcfreetype.c,
717 since those headers will go away with freetype 2.2. Replace with
718 public domain ftglue code from pango. Note that the patch removes
719 some extra error checking in FT_Get_BDF_Property() and comments
720 out the skipping of empty pcf fonts.
722 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
725 * fc-lang/fc-lang.c (main):
727 Further fix of patch from 2005-11-04: miscounted numbers count
728 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
729 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
731 Removed leafidx_count and numbers_count since they are the same
732 and replaced them with offset_count.
734 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
737 * fc-cat/fc-cat.c (main):
739 Don't crash when fc-cat invoked with no arguments.
741 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
744 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
746 Fix invalid read access caused by premature free and
747 GCC4 warnings in libxml2 codepath.
749 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
752 * src/fccfg.c (FcConfigValues):
754 List iteration not needed in FcConfigValues, since it's building
755 up the list itself; we can just strip FcVoid elements during
758 2005-11-17 Patrick Lam <plam@mit.edu>
759 * src/fccfg.c (FcConfigValues):
761 Fix crash on invalid constants in config files (forgot to update
762 a pointer upon list iteration.)
764 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
767 * src/fcxml.c (FcTypecheckExpr):
769 Complain about invalid constants in config files.
771 2005-11-17 Andreas Schwab <schwab@suse.de>
774 * src/fccache.c (FcGlobalCacheSave):
776 Don't add current_arch_start more than once.
778 2005-11-16 Patrick Lam <plam@mit.edu>
779 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
780 * src/fcfs.c (FcFontSetUnserialize):
781 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
782 * src/fcpat.c (FcStrUnserialize):
784 Fix ordering of ALIGN with respect to saving block_ptr; add
785 another ALIGN to fcfs.c.
787 2005-11-16 Patrick Lam <plam@mit.edu>
788 * src/fccache.c (FcDirCacheProduce)
790 Fix case where alignment bytes bumped up metadata->count
791 causing unwarranted failures to write cache files.
792 (Reported by Stephan Kulow).
794 2005-11-16 Patrick Lam <plam@mit.edu>
795 * src/fccache.c (FcDirCacheProduce):
796 * src/fccharset.c (FcCharSetDistributeBytes):
797 * src/fcfs.c (FcFontSetDistributeBytes):
799 * src/fclang.c (FcLangSetDistributeBytes):
800 * src/fcname.c (FcObjectDistributeBytes):
801 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
804 Add *NeededBytesAlign(), which overestimates the padding which is
805 later added by the new ALIGN macro. Fix alignment problems on
806 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
807 version by Andreas Schwab).
809 2005-11-16 Stephan Kulow <coolo@kde.org>
814 Use sysconf to determine proper PAGESIZE value; this
815 appears to be POSIX-compliant. (reported by Andreas Schwab)
817 2005-11-04 Patrick Lam <plam@mit.edu>
823 Fix bug 2878 (excessive relocations at startup for charsets,
824 reported by Ross Burton): fc-lang/fc-lang now creates the
825 static form of the langset, not the dynamic form, so that
826 the charsets should now be in .rodata.
828 2005-11-04 Patrick Lam <plam@mit.edu>
829 * src/fcdir.c (FcDirScanConfig):
831 Add test for validity of directory caches that
832 somehow got lost (reported by make distcheck).
834 2005-11-04 Patrick Lam <plam@mit.edu>
838 * fontconfig/fontconfig.h:
840 Bump version to 2.3.92.
842 2005-11-02 Patrick Lam <plam@mit.edu>
843 * src/fcpat.c (FcPatternDuplicate):
845 Fix argument ordering problem in call to FcPatternTransferFullFname.
847 2005-11-02 Patrick Lam <plam@mit.edu>
848 * src/fcfreetype.c (FcFreetypeQuery):
849 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
850 FcPatternTransferFullFname):
852 Fix warnings and embarrassing double-free error.
854 2005-11-02 Zhe Su <zsu@novell.com>
859 Change the rule for artificial emboldening in fonts.conf.in. This
860 enables the support for artificial emboldening included in cairo.
862 2005-11-02 Patrick Lam <plam@mit.edu>
863 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
865 Don't zero out full names for FC_REF_CONSTANT fonts;
866 also, duplicate full names when transferring, and free
867 full names when freeing the associated font.
868 Reported by Jinghua Luo.
870 2005-11-02 Patrick Lam <plam@mit.edu>
871 * fc-cache/fc-cache.c (scanDirs):
872 * src/fcpat.c (FcValueListSerialize):
874 Revert the previous patch and commit the correct patch:
875 I forgot a canonicalization in FcValueListSerialize, so
876 that it would choke on already-serialized input files. Duh!
878 2005-11-02 Patrick Lam <plam@mit.edu>
879 * fc-cache/fc-cache.c (scanDirs):
881 Forcibly rescan a directory before writing a fresh local
882 cache file for that directory, fixing the losing-fonts
883 problem reported by Mike Fabian and also apparently the
884 font cache file corruption.
886 2005-11-02 Patrick Lam <plam@mit.edu>
887 * src/fccache.c (FcGlobalCacheLoad):
889 Fix thinko: actually, the whole global cache is stale
890 if the global cache is older than the (newest) config file.
892 2005-11-02 Patrick Lam <plam@mit.edu>
893 * src/fccache.c (FcGlobalCacheLoad):
894 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
897 Declare the global cache of a directory's contents to be stale if
898 the directory is newer than the (newest) configuration file.
900 2005-10-31 Patrick Lam <plam@mit.edu>
902 * src/fclist.c (FcListAppend):
903 * src/fcmatch.c (FcFontRenderPrepare):
904 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
905 FcPatternFreeze, FcPatternBaseFreeze):
907 Copy the full pathname whenever duplicating an FcPattern; otherwise,
908 applications continue breaking.
910 2005-10-31 Patrick Lam <plam@mit.edu>
911 * fc-cat/fc-cat.c (FcCacheFileRead, main):
912 * src/fcfreetype.c (FcFreeTypeQuery):
914 Fix small memory error (tried to free argv); use basename and
915 dirname correctly (they can modify their arguments).
917 2005-10-31 Patrick Lam <plam@mit.edu>
925 Reinstate basename patch, but keep a hash table linking FcPatterns
926 to their fully-qualified font names for clients' benefit. Clients
927 only pay for the font names once they request the FC_FILE property
928 from an FcPattern, but the font name is malloc'd at that point (i.e.
929 not mmapped: that's impossible, since it may vary between machines.)
930 Clients do have to pay for a copy of the path name per cache file.
932 Note that FcPatternGetString now does some rewriting if you ask
933 for an FC_FILE, appending the pathname as appropriate.
935 2005-10-31 Patrick Lam <plam@mit.edu>
936 * src/fcfreetype.c (FcFreeTypeQuery):
938 Revert basename patch, which breaks fontconfig clients on my system.
940 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
943 * fontconfig/fonts.conf.in:
944 * fontconfig/fontconfig.h:
948 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
949 to load embedded bitmaps or not.
951 2005-10-25 Patrick Lam <plam@mit.edu>
952 * src/fcfreetype.c (FcFreeTypeQuery):
954 Only add basename to patterns' FC_FILE element, not any part of
957 2005-10-22 Patrick Lam <plam@mit.edu>
960 Add some more consts, fixing more GCC4 warnings.
962 2005-10-22 Zhe Su <zsu@novell.com>
965 Support localized font family and style names.
966 This has been reported to break old apps like xfd, but modern
967 (gtk+/qt/mozilla) apps work fine.
969 2005-10-21 Patrick Lam <plam@mit.edu>
970 * src/fccache.c (FcGlobalCacheLoad):
972 Destroy the global cache file if it's terminally broken. (reported by
975 2005-10-21 Patrick Lam <plam@mit.edu>
976 * fc-list/fc-list.c (main):
977 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
978 * fontconfig/fontconfig.h:
980 Prevent fc-list from escaping strings when printing them (reported by
983 2005-10-20 Marcus Meissner <meissner@suse.de>
986 * fontconfig/fontconfig.h:
988 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
990 2005-10-14 Ross Burton <ross@burtonini.com>
993 * fc-glyphname/fc-glyphname.c:
996 Add consts to variables so as to move arrays into .rodata.
998 2005-10-14 Mike Fabian <mfabian@suse.de>
1001 * src/fccache.c (FcDirCacheUnlink):
1003 Check existence of directory cache file before attempting to unlink.
1005 2005-10-13 Patrick Lam <plam@mit.edu>
1006 * src/fccache.c (FcDirCacheUnlink):
1008 Fix flipped return value on unlink. (Reported by Mike Fabian)
1010 2005-10-12 Patrick Lam <plam@mit.edu>
1013 * src/fcdir.c (FcDirScanConfig):
1016 When fc-cache is run without --force, use directory cache files
1017 to speed up fc-cache run time. (Reported by Mike Fabian)
1019 2005-10-06 Patrick Lam <plam@mit.edu>
1021 * src/fcname.c (FcObjectToPtr):
1022 * src/fcpat.c (FcStrStaticName):
1024 Add padding to make valgrind and glibc not hate each other
1025 when calling strlen().
1027 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1028 reviewed by: plam & keithp
1032 Modify config file to use Greek fonts before Asian fonts with
1035 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1036 reviewed by: plam & keithp
1040 Use libtool -no-undefined flag on all platforms.
1042 2005-10-05 Patrick Lam <plam@mit.edu>
1043 * src/fccache.c (FcCacheHaveBank):
1045 Implement move-to-front array for banks (perf regression
1046 reported by Ronny V. Vindenes).
1048 2005-10-04 Patrick Lam <plam@mit.edu>
1049 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1050 FcDirCacheHasCurrentArch):
1051 * fc-cache/fc-cache.c (scanDirs):
1052 * fontconfig/fontconfig.h:
1054 Add new API which unlinks directory caches and checks dir caches
1055 for existence of appropriate sections. Fix fc-cache to unlink
1056 stale cache files and save directory caches that lack relevant
1059 2005-10-03 Patrick Lam <plam@mit.edu>
1060 * src/fccache.c (FcDirCacheValid):
1062 Ensure that a directory cache has the appropriate section
1063 before reporting that it is valid (reported by Matthias Clasen).
1065 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1073 Use libxml2 if requested (with --enable-libxml2) or if
1074 expat is not available.
1076 2005-09-29 Patrick Lam <plam@mit.edu>
1077 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1079 Fix multi-arch cache files: compute the position for the
1080 block to be added using info from OrigFile, not NewFile.
1082 2005-09-28 Patrick Lam <plam@mit.edu>
1083 * src/fccache.c (FcCacheMachineSignature):
1085 Cast results of sizeof() to unsigned int to get rid of
1086 warnings on x86_64 (thanks Matthias Clasen).
1088 2005-09-27 Patrick Lam <plam@mit.edu>
1089 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1092 Use FcAtomic to rewrite cache files.
1094 2005-09-27 Patrick Lam <plam@mit.edu>
1096 * src/fccache.c (FcDirCacheWrite):
1098 Don't unlink the fonts.cache-2 file even if there's no data
1099 to write; just write an empty cache file. (thanks Lubos Lunak)
1101 2005-09-27 Patrick Lam <plam@mit.edu>
1103 * src/fccache.c (FcDirCacheWrite):
1105 Allocate room for the subdirectory names in each
1106 directory cache. Thanks to James Cloos for finding
1107 and diagnosing this bug!
1109 2005-09-22 Patrick Lam <plam@mit.edu>
1111 * fc-cache/fc-cache.sgml:
1112 * src/fccache.c (FcDirCacheWrite):
1113 * src/fccache.h (struct FcCache):
1115 Update documentation -- fc-cache's man page now says that you
1116 need to run fc-cache once per cached architecture; add some
1117 documentation to the FcCache structure.
1119 Make fc-cache write out fonts.cache-2 files for directories with
1120 no fonts (i.e. only subdirectories).
1122 2005-09-22 Patrick Lam <plam@mit.edu>
1124 * fc-cache/fc-cache.sgml:
1125 * fc-case/fc-case.c:
1126 * fc-glyphname/fc-glyphname.c:
1132 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1136 * fc-lang/fc-lang.c:
1137 * fontconfig/fcprivate.h:
1138 * fontconfig/fontconfig.h:
1152 Implement new mmaped cache for font information.
1153 Bump so revision to 2.3.90.
1155 2005-07-25 Keith Packard <keithp@keithp.com>
1157 * doc/fontconfig-user.sgml:
1158 * fc-glyphname/fc-glyphname.c: (scan), (main):
1159 * fc-lang/fc-lang.c: (FcConfigHome):
1160 * fc-match/fc-match.c: (main):
1161 * src/fccfg.c: (FcConfigHome):
1162 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1163 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1164 (addtag), (FcFontCapabilities):
1165 * src/fcpat.c: (FcValueListEntCreate):
1166 * src/fcstr.c: (FcStrCaseWalkerInit):
1167 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1169 Various GCC 4 cleanups for signed vs unsigned char
1171 Match only [0-9]*.conf files in <include>{directory}</include>
1172 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1174 2005-07-15 Carl Worth <cworth@cworth.org>
1177 * src/fcinit.c: (FcFini):
1178 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1181 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1182 Pull the FcObjectStateName hash table out to file scope, and add
1183 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1186 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1189 2005-06-16 Patrick Lam <plam@MIT.EDU>
1193 * src/fccfg.c: (FcConfigCompareValue):
1194 Make FcOpNotContains use FcStrStr for strings so that
1195 it matches semantics for !FcOpContains.
1197 2005-05-20 Keith Packard <keithp@keithp.com>
1201 Move fontconfig source package to libs as per override
1203 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1205 reviewed by: Mike Fabian
1208 The ka.orth file requires several characters which are not
1209 used anymore in modern Georgian and which are missing in the free
1210 Georgian TrueType fonts downloadable at:
1212 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1214 2005-04-27 Keith Packard <keithp@keithp.com>
1218 Update date to real 2.3.2 release date.
1219 Fix change attributions
1221 2005-04-27 Keith Packard <keithp@keithp.com>
1224 Bump so revision for 2.3.2
1225 * fc-cache/fc-cache.c: (scanDirs):
1226 Fix a few minor leaks in error cases.
1228 2005-04-23 Keith Packard <keithp@keithp.com>
1233 * fontconfig/fontconfig.h:
1234 Update for version 2.3.2
1236 2005-04-21 Keith Packard <keithp@keithp.com>
1238 * debian/fontconfig.postinst:
1239 Don't force bitmap font enable in default
1240 configuration; allows users to override this in
1250 * debian/po/pt_BR.po:
1251 * debian/po/templates.pot:
1253 * debian/po/zh_CN.po:
1254 Updated translations
1256 * fc-cache/fc-cache.c: (main):
1257 Destroy font configuration on exit to help valgrind
1260 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1261 (FcFreeTypeCheckGlyph):
1262 Use own transcoding routines in preference to iconv
1263 which appears to have leaks in some translators.
1264 Call iconv_close after using iconv (oops).
1266 Prefer unicode encoding of Euro char as some
1267 fonts mis-encode Euro in other ones.
1269 Must fetch bitmap glyphs to get width values
1270 to check for monospace/dual-width fonts.
1272 2005-04-13 Ross Burton <ross@burtonini.com>
1275 Check that a pattern isn't already frozen in FcPatternFreeze.
1277 2005-03-31 Ross Burton <ross@burtonini.com>
1282 Run all FcPattern objects through FcObjectStaticName, so that
1283 compares can be done on pointers instead of strings (#2659)
1285 2005-03-17 Tor Lillqvist <tml@novell.com>
1287 * src/fontconfig.def.in: Add the .dll to the dll name.
1289 2005-03-10 Keith Packard <keithp@keithp.com>
1291 * debian/README.Debian:
1292 Update to reflect configuration changes
1294 * debian/fontconfig.postinst:
1295 Fix Autohint vs Autohinter mistake
1296 * debian/fontconfig.templates:
1297 Adopt changes from Josselin Mouette for configuration descriptions
1298 Update debian to version 2.3.1-2
1300 2005-03-08 Keith Packard <keithp@keithp.com>
1304 Update debian for 2.3.1
1306 2005-03-09 Tor Lillqvist <tml@novell.com>
1308 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1311 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1314 2005-03-08 Keith Packard <keithp@keithp.com>
1318 * fontconfig/fontconfig.h:
1321 2005-03-05 Keith Packard <keithp@keithp.com>
1323 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1324 Include space and remove numbers from valid script tags.
1325 This ensures that tags like 'lao ' work while rejecting
1326 those which have any digits.
1327 Eliminate a spurious debugging variable (len)
1329 2005-03-05 Keith Packard <keithp@keithp.com>
1331 * src/fcfreetype.c: (addtag), (GetScriptTags),
1332 (FcFontCapabilities):
1333 Rework GSUB/GPOS script parsing to survive broken fonts.
1334 Thanks for the broken font go to Manish Singh
1336 2005-03-05 Keith Packard <keithp@keithp.com>
1341 * debian/fontconfig.config:
1342 * debian/fontconfig.templates:
1344 Include 2.3 release information in changelog
1345 Add Josselin Mouette as an Uploader
1346 Set hinting_type to low priority configuration option
1349 * debian/fontconfig.postinst:
1350 yes_bitmaps.conf -> yes-bitmaps.conf
1356 2005-03-02 Keith Packard <keithp@keithp.com>
1359 * conf.d/Makefile.am:
1360 * conf.d/autohint.conf:
1361 * conf.d/no-sub-pixel.conf:
1362 * conf.d/sub-pixel.conf:
1363 * conf.d/unhinted.conf:
1364 * debian/autohint.conf:
1365 * debian/fontconfig.install:
1366 * debian/fontconfig.postinst:
1367 * debian/fontconfig.templates:
1368 * debian/no-sub-pixel.conf:
1369 * debian/unhinted.conf:
1370 Move debian-specific conf file examples upstream.
1372 Sub-pixel configuration examples must smash subpixel value
1373 as Xft always sets it from X.
1375 Change sub-pixel rendering debconf descriptions from
1376 Enable/Disable to Always/Never.
1378 2005-03-02 Keith Packard <keithp@keithp.com>
1381 * conf.d/.cvsignore:
1383 Ignore more build detritus
1386 Add debian package construction stuff.
1388 * config/config.guess:
1389 * config/config.sub:
1390 Update to newer versions of these tools
1393 Get library manuals to build again (we love automake).
1395 * debian/README.Debian:
1396 * debian/autohint.conf:
1401 * debian/fontconfig-udeb.install:
1402 * debian/fontconfig.config:
1403 * debian/fontconfig.defoma:
1404 * debian/fontconfig.dirs:
1405 * debian/fontconfig.install:
1406 * debian/fontconfig.postinst:
1407 * debian/fontconfig.postrm:
1408 * debian/fontconfig.templates:
1409 * debian/libfontconfig1-dev.install:
1410 * debian/libfontconfig1.install:
1411 * debian/local.conf.md5sum:
1412 * debian/no-sub-pixel.conf:
1413 * debian/po/POTFILES.in:
1422 * debian/po/pt_BR.po:
1423 * debian/po/templates.pot:
1425 * debian/po/zh_CN.po:
1427 * debian/unhinted.conf:
1428 Update debian build system to switch maintainers and
1429 deal with 2.3 functionality
1431 2005-03-01 Keith Packard <keithp@keithp.com>
1435 * fontconfig/fontconfig.h:
1438 2005-03-01 Keith Packard <keithp@keithp.com>
1441 Generate and install PDF versions of the manuals
1443 * doc/fcpattern.fncs:
1446 * doc/fcstring.fncs:
1447 Add missing exported functions, fix data types
1449 * doc/fontconfig-devel.sgml:
1450 Add missing pattern elements.
1452 * doc/fontconfig-user.sgml:
1453 Add missing pattern elements. Document conf.d usage,
1454 clarify available orthography list. Fix some config file
1455 attributes. Complete list of constants.
1457 * fontconfig/fontconfig.h:
1458 Mark FC_SOURCE deprecated.
1460 * src/fcfreetype.c: (FcFreeTypeQuery):
1461 Don't set FC_SOURCE any longer.
1463 2005-02-28 Keith Packard <keithp@keithp.com>
1466 * conf.d/Makefile.am:
1468 * conf.d/no-bitmaps.conf:
1469 * conf.d/sub-pixel.conf:
1470 * conf.d/yes-bitmaps.conf:
1472 Create prototype /etc/fonts/conf.d directory with a few
1473 sample configuration files.
1474 Deprecate use of local.conf for local customizations in favor of
1475 this directory based scheme which is more easily integrated into
1476 installation systems.
1479 Tag FC_EMBOLDEN as a boolean variable
1481 2005-02-10 Keith Packard <keithp@keithp.com>
1483 reviewed by: pborelli@katamail.com
1485 * src/fcdir.c: (FcFileScanConfig):
1486 Free patterns from fonts which are rejected by configuration
1489 2005-01-28 Keith Packard <keithp@keithp.com>
1493 * fontconfig/fontconfig.h:
1494 Update for version 2.2.99
1496 2005-01-28 Keith Packard <keithp@keithp.com>
1499 Add a few pointers (#2284, #2285)
1501 2005-01-28 Keith Packard <keithp@keithp.com>
1504 * src/fcname.c: (FcNameBool):
1505 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1506 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1507 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1508 Polite typechecking for test and edit expressions. Helps
1509 catch errors in the font configuration. (bug 229)
1511 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1513 reviewed by: Keith Packard <keithp@keithp.com>
1516 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1518 2005-01-13 Keith Packard <keithp@keithp.com>
1520 * doc/fontconfig-user.sgml:
1521 Add SEE ALSO section (bug 2085)
1523 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1525 reviewed by: Keith Packard <keithp@keithp.com>
1530 * fc-case/Makefile.am:
1531 * fc-glyphname/Makefile.am:
1532 * fc-lang/Makefile.am:
1533 * src/fontconfig.def.in:
1534 Cross compiling fixes (bug 280)
1536 2005-01-13 Keith Packard <keithp@keithp.com>
1539 Update blanks list (Closes bug 86)
1541 2005-01-04 Keith Packard <keithp@keithp.com>
1543 * src/fccache.c: (FcCacheFontSetAdd):
1544 Verify that every font pattern loaded from cache has
1545 both FC_FILE and FC_FAMILY entries.
1546 Attempt to fix bug #2219.
1548 2004-12-29 Keith Packard <keithp@keithp.com>
1552 * fontconfig/fontconfig.h:
1553 Update for version 2.2.98
1555 2004-12-29 Keith Packard <keithp@keithp.com>
1557 * fontconfig/fontconfig.h:
1558 Document ASCII limitations of Fc character conversion macros
1559 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1560 Fix off-by-one error in utf-8 case walking code.
1561 Add FcStrDowncase (useful for testing case conversion functions)
1563 2004-12-29 Keith Packard <keithp@keithp.com>
1566 * fc-case/.cvsignore:
1567 clean up CVS ignore lists
1568 * fc-lang/iso-3166.txt:
1569 Add territory database
1571 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1573 Reviewed by: Keith Packard
1576 Remove Han characters from Korean orthography
1578 2004-12-29 Keith Packard <keithp@keithp.com>
1581 Reorder utility programs to make sure fc-case is run before fc-lang
1582 as fc-lang uses fcstr.c which uses fccase.h
1586 2004-12-29 Keith Packard <keithp@keithp.com>
1589 Adopt some RedHat suggestions for standard font configuration.
1593 * fc-case/CaseFolding.txt:
1594 * fc-case/Makefile.am:
1595 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1596 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1597 (dump), (parseRaw), (caseFoldReadRaw), (main):
1598 * fc-case/fccase.tmpl.h:
1599 Add new helper program 'fc-case' to construct case folding
1600 tables from standard Unicode CaseFolding.txt file
1603 * src/fclist.c: (FcListValueHash):
1604 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1605 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1606 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1607 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1608 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1609 Re-implement case insensitive functions with Unicode
1610 aware versions (including full case folding mappings)
1612 2004-12-13 Keith Packard <keithp@keithp.com>
1614 reviewed by: Owen Taylor <otaylor@redhat.com>
1616 * src/fcmatch.c: (FcFontSetSort):
1617 I changed FcFontSetSort to respect the generic aliases better
1618 in the face of language matching.
1620 What I did was to ammend the strict sort order used by FcFontSort so
1621 that it 'satisfies' the language specified in the pattern by locating
1622 the best matching font supporting each pattern language and then
1623 ignores language in the remaining fonts for purposes of matching.
1625 So, when asking for 'sans:lang=en', you'll get an English font first,
1626 and then the remaining fonts sorted with respect to the 'sans' alias
1627 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1629 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1631 reviewed by: Keith Packard <keithp@keithp.com>
1633 * fontconfig/fontconfig.h:
1636 Configuration changes to request synthetic emboldening of
1637 fonts. The actual emboldening code will live in Xft.
1639 2004-12-09 John Thacker <thacker@math.cornell.edu>
1641 reviewed by: Keith Packard <keithp@keithp.com>
1645 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1646 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1647 и), and don't even appear in KOI8-R. (The hypothesis that they
1648 don't appear in KOI8-R due to their similarity with Latin I and i is
1649 eliminated by their presence in KOI8-U.) I have a couple of fonts
1650 with Russian support that don't have the letter.
1652 Therefore, 0406 and 0456 should be removed from or commented out of
1655 2004-12-06 michael meeks <mmeeks@novell.com>
1657 Reviewed by: Keith Packard <keithp@keithp.com>
1659 * src/fcinit.c: (FcMemReport):
1661 * src/fclist.c: (FcObjectSetAdd):
1662 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1663 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1664 * src/fcxml.c: (FcParsePatelt):
1665 memoize strings and share a single copy for all uses. Note that
1666 this could be improved further by using statically allocated blocks
1667 and gluing multiple strings together, but I'm basically lazy.
1668 In my environment with 800 font files, I get a savings of about 90KB.
1670 2004-12-06 Keith Packard <keithp@keithp.com>
1674 * config/Makedefs.in:
1677 * doc/fcatomic.fncs:
1678 * doc/fcblanks.fncs:
1679 * doc/fccharset.fncs:
1680 * doc/fcconfig.fncs:
1681 * doc/fcconstant.fncs:
1683 * doc/fcfontset.fncs:
1684 * doc/fcfreetype.fncs:
1686 * doc/fcmatrix.fncs:
1687 * doc/fcobjectset.fncs:
1688 * doc/fcobjecttype.fncs:
1689 * doc/fcpattern.fncs:
1690 * doc/fcstring.fncs:
1691 * doc/fcstrset.fncs:
1693 * doc/fontconfig-devel.sgml:
1694 * doc/fontconfig-user.sgml:
1696 * doc/version.sgml.in:
1697 * fc-cache/Makefile.am:
1698 * fc-cache/fc-cache.c:
1699 * fc-glyphname/Makefile.am:
1700 * fc-glyphname/fc-glyphname.c:
1701 * fc-glyphname/fcglyphname.tmpl.h:
1702 * fc-lang/Makefile.am:
1712 * fc-lang/az_ir.orth:
1746 * fc-lang/fc-lang.c:
1747 * fc-lang/fc-lang.man:
1748 * fc-lang/fclang.tmpl.h:
1793 * fc-lang/ku_ir.orth:
1826 * fc-lang/ps_af.orth:
1827 * fc-lang/ps_pk.orth:
1856 * fc-lang/ti_er.orth:
1857 * fc-lang/ti_et.orth:
1883 * fc-lang/zh_cn.orth:
1884 * fc-lang/zh_hk.orth:
1885 * fc-lang/zh_mo.orth:
1886 * fc-lang/zh_sg.orth:
1887 * fc-lang/zh_tw.orth:
1889 * fc-list/Makefile.am:
1890 * fc-list/fc-list.c:
1891 * fc-match/Makefile.am:
1892 * fc-match/fc-match.1:
1893 * fc-match/fc-match.c:
1894 * fontconfig/fcfreetype.h:
1895 * fontconfig/fcprivate.h:
1896 * fontconfig/fontconfig.h:
1917 Change files from ISO-Latin-1 to UTF-8
1919 2004-12-04 Keith Packard <keithp@keithp.com>
1922 Update links to new freedesktop.org locations
1924 Add uninstall-local to get rid of fonts.conf and local.conf if they
1925 match the distributed versions. Fixes 'make distcheck'
1927 2004-12-04 Keith Packard <keithp@keithp.com>
1931 * fontconfig/fontconfig.h:
1932 Updates for version 2.2.97
1934 2004-12-04 Owen Taylor <otaylor@redhat.com>
1936 reviewed by: Keith Packard <keithp@keithp.com>
1938 * fc-cache/fc-cache.c: (main):
1939 Sleep for two seconds before exiting to make sure timestamps
1940 for future changes have distinct mod times in the file system.
1943 Add Punjabi orthography. Bug #1671.
1945 2004-12-04 Keith Packard <keithp@keithp.com>
1948 Just remove the FC_FONTDATE -- it has locale issues and
1949 annoys redhat multi-arch installs. Now that all X fonts are
1950 included without prejudice, the chances of the date being at
1951 all interesting are rather limited. Bug #505.
1953 Add copyright and license
1955 2004-12-04 Keith Packard <keithp@keithp.com>
1958 Change default set of fonts to include all of
1959 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1960 * doc/fontconfig-user.sgml:
1961 Document new <include>directory-name</include> semantics
1963 add <include ignore_missing="yes">conf.d</include>
1965 Add selectfont to ignore bitmap fonts, add comment for
1966 selectfont which accepts bitmap fonts.
1969 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1970 Allow <include> configuration elements to reference directories.
1971 Parse and load all files of the form [0-9]* in sorted order.
1973 2004-12-04 Keith Packard <keithp@keithp.com>
1976 Report command line for $srcdir/configure accurately.
1979 2004-12-04 Keith Packard <keithp@keithp.com>
1981 * src/fcfreetype.c: (FcFreeTypeQuery):
1982 Check for non-empty face->family_name and face->style_name
1983 before using those for the font. Empty names match everything.
1986 2004-12-04 Keith Packard <keithp@keithp.com>
1989 * fontconfig/fontconfig.h:
1990 * src/fcfreetype.c: (FcFreeTypeQuery):
1992 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1993 available. This provides font file format information (BDF, Type 1,
1994 PCF, TrueType) for each font. Closes #109.
1996 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1998 reviewed by: Keith Packard <keithp@keithp.com>
2000 * doc/fontconfig-user.sgml:
2003 * fontconfig/fontconfig.h:
2004 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2005 (GetScriptTags), (FcFontCapabilities):
2007 Add detection for font capabilities (bug #105)
2009 2004-12-04 Keith Packard <keithp@keithp.com>
2012 Move existing fonts.conf to fonts.conf.bak
2015 Add detection of iconv
2017 * doc/fcpattern.fncs:
2018 * doc/fontconfig-devel.sgml:
2019 * doc/fontconfig-user.sgml:
2021 Document new selectfont elements
2024 Switch to UTF-8 in comment
2026 * fontconfig/fontconfig.h:
2028 Add fullname, and family/style/fullname language entries
2030 * src/fccache.c: (FcCacheFontSetAdd):
2031 * src/fcdir.c: (FcFileScanConfig):
2032 Respect selectfont/*/glob
2035 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2036 (FcConfigCompareValue), (FcConfigPatternsAdd),
2037 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2038 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2039 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2040 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2041 Add support for selectfont
2043 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2044 (FcStringInPatternElement), (FcFreeTypeQuery):
2045 Add multi-lingual family/style/fullname support
2047 * src/fclist.c: (FcListPatternMatchAny):
2048 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2050 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2051 (FcObjectStaticName):
2052 Add new FcPatternRemove/FcPatternAppend.
2053 FcObjectStaticName stores computed pattern element names which
2054 are required to be static.
2056 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2061 Remove spurious / after $(DESTDIR)
2063 2004-06-30 Keith Packard <keithp@keithp.com>
2067 * fontconfig/fontconfig.h:
2070 2004-06-30 Keith Packard <keithp@keithp.com>
2072 Provided by: Lubos Lunak <l.lunak@suse.cz>
2074 * src/fccfg.c: (FcConfigUptoDate):
2075 However FcConfigUptoDate() doesn't seem to work. See the attached
2076 patch. First there's an obvious misplaced parenthesis making it
2077 return always false, and second, even this call fails to detect font
2078 changes (e.g. adding a new font to
2079 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2080 well. The problem seems to be triggered by my fonts.conf specifying
2081 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2082 doesn't include subdirs, unlike config->fontDirs.
2084 2004-06-03 Keith Packard <keithp@keithp.com>
2086 * fontconfig/fontconfig.h:
2087 Remove comma at end of FcResult enum definition.
2089 2004-05-29 Keith Packard <keithp@keithp.com>
2092 Add steps to md5sum release
2094 2004-05-29 Keith Packard <keithp@keithp.com>
2098 * fontconfig/fontconfig.h:
2101 2004-05-29 Keith Packard <keithp@keithp.com>
2103 * fontconfig/fontconfig.h:
2104 * src/fcmatch.c: (FcFontSetMatch):
2105 Add FcResultOutOfMemory to provide an accurate error when
2106 FcFontSetMatch fails in this way
2109 Make #warning about lacking various FreeType features indicate
2110 which version those features appeared so users know how to
2111 fix the problem (Thanks to Anton Tropashko)
2113 2004-05-05 Keith Packard <keithp@keithp.com>
2115 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2116 Replace MIN/MAX/ABS macros which happen to have come
2117 from FreeType with fontconfig-specific ones (FC_*)
2119 2004-04-23 Keith Packard <keithp@keithp.com>
2122 Extend release preparation instructions to include
2123 notification and distribution steps
2125 2004-04-23 Keith Packard <keithp@keithp.com>
2129 * fontconfig/fontconfig.h:
2130 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2132 2004-04-23 Keith Packard <keithp@keithp.com>
2135 Ignore a few more autotool files
2137 2004-04-14 Keith Packard <keithp@keithp.com>
2140 Add instructions for doing a release
2142 * fontconfig.spec.in:
2143 clean up .spec file; perhaps this will be useful to somebody...
2147 * fontconfig/fontconfig.h:
2150 * fc-lang/fc-lang.c:
2151 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2153 * fc-glyphname/Makefile.am:
2154 * fc-lang/Makefile.am:
2155 * fc-list/Makefile.am:
2156 * fc-match/Makefile.am:
2158 Add WARN_CFLAGS to pass -W flags for GCC systems
2160 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2161 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2162 Change various char types around to match across
2164 Fixed bug in using available_sizes[i].height which
2165 is in pixels, not 64ths of a pixel.
2167 2004-03-06 Keith Packard <keithp@keithp.com>
2169 * src/fcfreetype.c: (FcFreeTypeQuery):
2170 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2171 matches looking for explicit values prefer exact matches
2173 2004-03-02 Keith Packard <keithp@keithp.com>
2175 Supplied by: mfabian@suse.de (Mike FABIAN)
2177 * src/fcfreetype.c: (FcFreeTypeQuery):
2178 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2179 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2181 2004-02-21 Manish Singh <yosh@gimp.org>
2183 * fc-glyphname/fc-glyphname.c: (main):
2184 Cast strlen to int for printf, so we're 64-bit clean.
2186 2004-02-11 Keith Packard <keithp@keithp.com>
2189 * src/fcfreetype.c: (FcGetPixelSize):
2190 Ok, so I messed up the test for y_ppem. Let's see if I
2191 got it right this time.
2193 2004-02-10 Keith Packard <keithp@keithp.com>
2196 * src/fcfreetype.c: (FcGetPixelSize):
2197 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2198 FT_Bitmap_Size record. Add a configure.in test for this
2199 and change the code accordingly (using height instead).
2201 2004-02-06 Keith Packard <keithp@keithp.com>
2204 Add Low Saxon orthography
2205 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2207 * src/fccfg.c: (FcConfigNewestFile):
2208 Oops. Left 'newest.set' unset, which would miscompute
2211 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2212 (FcFreeTypeCheckGlyph):
2213 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2214 font properties (which report the wrong value in current FreeType)
2216 Don't attempt to check for empty glyphs in non-scalable fonts; they
2219 2004-02-01 Tor Lillqvist <tml@iki.fi>
2221 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2222 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2223 cache if config->cache is NULL, which happens if FcConfigHome() is
2224 NULL. Guard against that by using the temp folder in that case.
2226 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2228 * fc-lang/az_ir.orth:
2229 * fc-lang/ku_ir.orth:
2230 * fc-lang/ps_af.orth:
2231 * fc-lang/ps_pk.orth:
2232 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2233 (Afghan and Pakistani).
2235 Updated Urdu orthography with real data.
2237 2003-12-11 Carl Worth <cworth@east.isi.edu>
2239 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2242 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2244 (all-local): Remove excessive whitespace.
2246 * autogen.sh: Add 'set -e' to abort when any program fails,
2247 (avoids printing of 'now type make' after configure aborts).
2249 2003-11-17 Eric Christopherson <rakko@charter.net>
2251 reviewed by: Keith Packard <keithp@keithp.com>
2254 * fontconfig/fcfreetype.h:
2256 Switch to FreeType 2.1.7 style includes. Bug #150.
2258 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2260 * fc-list/fc-list.sgml: Add some example usages.
2262 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2265 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2268 2003-10-27 Keith Packard <keith@keithp.com>
2271 * fontconfig/fontconfig.h:
2272 Update to version 2.2.92
2274 2003-10-27 Keith Packard <keithp@keithp.com>
2279 * fc-cache/Makefile.am:
2280 * fc-glyphname/Makefile.am:
2281 * fc-lang/Makefile.am:
2282 * fc-list/Makefile.am:
2283 * fc-match/Makefile.am:
2286 Yet more cleanups to finish getting 'make distcheck' working
2287 This has been tested to ensure that it even works from a _build
2290 2003-10-26 Keith Packard <keithp@keithp.com>
2294 * fc-cache/Makefile.am:
2295 * fc-glyphname/Makefile.am:
2296 * fc-lang/Makefile.am:
2297 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2298 * fc-list/Makefile.am:
2299 * fc-match/Makefile.am:
2300 Attempts to fix 'make distcheck' work. Things are
2301 progressing pretty well, but there are still failures
2302 long into the process dealing with docs (as always).
2304 The big changes here are mostly to make $(srcdir) != "."
2305 work correctly, fixing the docbook related sections and
2306 fc-lang were particularily tricky. Docbook refuses to load
2307 system entities from anywhere other than where the original .sgml
2308 file was located, so no luck looking in "." for the
2309 configure-generated version.sgml and confdir.sgml files.
2311 fc-lang needed help finding .orth files; added a -d option
2312 to set the directory as the least evil of many options.
2314 Now to go use a faster machine and try and wring out the last
2317 2003-10-26 Keith Packard <keithp@keithp.com>
2321 2003-10-26 Keith Packard <keithp@keithp.com>
2324 Include confdir.sgml.in in EXTRA_DIST
2326 2003-10-09 Josselin Mouette <joss@debian.org>
2328 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2329 * fc-list/fc-list.sgml fc-list/Makefile.am:
2330 Replace fc-cache and fc-list manpages with more detailed, SGML
2333 2003-09-23 Owen Taylor <otaylor@redhat.com>
2335 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2336 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2337 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2340 2003-09-23 Owen Taylor <otaylor@redhat.com>
2342 * fc-lang/ka.orth: Remove Georgian capitals, they
2343 aren't used for normal writing. (Bug #116)
2345 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2347 * doc/fontconfig-devel.sgml:
2348 * doc/fontconfig-user.sgml:
2349 * fontconfig/fontconfig.h:
2351 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2352 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2354 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2355 monospace and dual-width fonts, allow roughly a 3% variance in the
2358 2003-08-31 Manish Singh <yosh@gimp.org>
2360 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2363 2003-08-15 Carl Worth <cworth@isi.edu>
2365 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2366 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2368 * src/fcpat.c (FcValueListEntDestroy): New function to support
2369 FcFini memory cleanup. Some statistics are not kept in
2371 (FcValueListFreeze): Move hashTable outside this function so it
2372 can be accessed by FcValueListThawAll.
2373 (FcValueListThawAll): New function complements FcValueListFreeze.
2374 (FcPatternBaseFreeze): Move hashTable outside this function so it
2375 can be accessed by FcPatternBaseThawAll.
2376 (FcPatternBaseThawAll): New function complements
2377 FcPatternBaseFreeze.
2378 (FcPatternThawAll): New function complements FcPatternFreeze.
2380 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2382 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2383 allocated FcCharLeafEnt "blocks" so they can be freed later.
2384 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2385 can be accessed by FcCharSetThawAllLeaf.
2386 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2387 (FcCharSetFreezeBase): Move hashTable outside this function so it
2388 can be accessed by FcCharSetThawAll.
2389 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2391 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2392 (FcConfigDestroy): Fic leak of FcBlanks.
2394 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2395 (main): Add call to FcFini when finished.
2397 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2398 static. Add prototypes.
2400 * doc/fcinit.fncs: Add documentation for FcFini function.
2402 * doc/edit-sgml.c: Mark several local functions as static. Add
2405 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2407 2003-06-15 Tor Lillqvist <tml@iki.fi>
2409 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2410 before comparing (needed on Windows).
2412 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2414 2003-06-13 Tor Lillqvist <tml@iki.fi>
2416 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2419 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2420 WINDOWSFONTDIR token.
2422 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2423 end, not to confuse libtool, which expects the EXPORTS line to be
2424 the first. Add FcConfigEnableHome.
2426 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2427 built as a DLL on Win32.
2429 2003-06-09 Keith Packard <keithp@keithp.com>
2431 * Tag version 2.2.90
2433 2003-06-09 Keith Packard <keithp@keithp.com>
2435 * Optimization in FcLangSetIndex was broken, occasionally
2436 returning a pointer to the wrong location on miss
2438 * Add fc-match to test font matching from the command line.
2440 2003-05-31 Keith Packard <keithp@keithp.com>
2442 * (Bug 85) add support for culmus fonts
2443 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2444 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2446 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2448 * Fix "contains" op for strings and langsets.
2450 2003-05-17 Keith Packard <keithp@keithp.com>
2452 * Fix build error with BDF prop local. Free langset after query
2454 2003-05-14 Keith Packard <keithp@keithp.com>
2456 * Extract spacing from XLFD atom
2458 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2460 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2461 disappeared in 1.30.
2463 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2465 2003-05-12 Keith Packard <keithp@keithp.com>
2467 * Use FcIsWidth to share code
2469 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2470 misclassifying some Han fonts as monospaced.
2472 2003-05-07 Keith Packard <keithp@keithp.com>
2474 * Add filename-based accept/reject to ammend available fonts.
2476 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2477 older FreeType releases.
2479 2003-05-06 Keith Packard <keithp@keithp.com>
2481 * Remove 0b82 and Tamil numbers from tamil
2482 orthography (Jungshik Shin <jshin@mailaps.org>)
2484 2003-05-04 Keith Packard <keithp@keithp.com>
2486 + Map glyph names in fonts with adobe custom encoding to unicode
2488 2003-05-02 Keith Packard <keithp@keithp.com>
2490 * Add FC_WEIGHT_BOOK as weight 75
2492 2003-04-30 Keith Packard <keithp@keithp.com>
2494 * Typo in bitstream foundry name
2496 2003-04-24 Keith Packard <keithp@keithp.com>
2498 * Eliminate italic_angle check for PS fonts
2500 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2502 * Getting closer to fixing /etc/fonts hard-coding.
2504 2003-04-22 Keith Packard <keithp@keithp.com>
2506 * Update autogen.sh to work with newer automake versions
2507 * Handle pattern elements moving during multiple edits
2509 2003-04-23 James Henstridge <james@daa.com.au>
2511 * doc/fontconfig-devel.sgml: close the <para> element.
2513 * doc/fcpattern.fncs: close the <para> element.
2515 * doc/func.sgml: close the <refsynopsisdiv> element.
2517 2003-04-22 Keith Packard <keithp@keithp.com
2519 * Update autogen.sh to work with newer automake versions
2520 * Handle pattern elements moving during multiple edits
2522 2003-04-17 Colin Walters <walters@debian.org>
2524 + Remove some unused variables, and initialize some other ones so
2525 gcc doesn't warn us.
2527 2003-04-16 Keith Packard <keithp@keithp.com>
2529 + tag version 2.1.94
2531 2003-04-16 Keith Packard <keithp@keithp.com>
2533 + add BDF property fetching support for foundry
2534 (from Juliusz Chroboczek)
2535 + add BDF property fetching support for width
2537 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2539 + Implemented foundry generation for Type 1 and TrueType
2541 2003-04-11 Gerard Escalante <g2@magestudios.net>
2543 + Retrieve information from Type1 FontInfo dictionaries
2545 2003-04-07 Colin Walters <walters@verbum.org>
2547 + src/Makefile.am: Fix dummy makefile target names when
2548 MS_LIB_AVAILABLE isn't set.
2550 2003-03-22 Tor Lillqvist <tml@iki.fi>
2552 Changes for Windows:
2554 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2556 + We don't want to hardcode the fonts.conf file location in the
2557 DLL, so we look up the DLL location at run-time in a DllMain()
2558 function. The fonts.conf location is deduced from that.
2560 + The colon can't be used as path separator on Windows,
2561 semicolon is used instead. File path components can be separated
2562 with either slash or backslash. Absolute paths can also begin
2563 with a drive letter.
2565 + Add internal function FcStrLastSlash that strrchr's the last
2566 slash, or backslash on Windows.
2568 + There is no link() on Windows. For atomicity checks, mkdir a
2569 lock directory instead.
2571 + In addition to HOME, also look for USERPROFILE.
2573 + Recognize the special font directory token WINDOWSFONTDIR, to
2574 use the system's font directory.
2576 + Remove the fontconfig-def.cpp that was obsolete. Add
2577 fontconfig.def(.in), without internal functions.
2579 + Add a fontconfig-zip(.in) script, used to build a binary
2582 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2583 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2584 to main package and man3/* to devel package
2586 + Added missing defattr(-, root, root) to main RPM package
2588 + Added HTML and text development documentation to -devel subpackage
2590 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2591 + Added back the configure macro options --disable-docs, otherwise
2592 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2593 version number) unconditionally, causing RPM to fail the build due
2594 to _unpackaged_files_terminate_build. We pick up the pregenerated
2595 docs with %doc already.
2597 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2598 + Removed commented out rpm macro define at top of spec file,
2599 replacing it with a simple explanation, since rpm macros are
2600 expanded by rpm even in comments.
2602 + Changed /usr/bin to _bindir in BuildRequires lines
2604 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2606 + Reorganized file manifest lists
2608 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2610 + fontconfig.spec.in: Improvements from Red Hat spec file.
2612 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2614 + docs/*.sgml: SGML fixes.
2616 Sat Mar 1 17:28:53 PST 2003 keithp
2617 + Ok, so the ChangeLog is a bit out of date
2619 + Lots of bugs fixed; most are in bugzilla, the
2620 biggest problems were in cache management where
2621 Owen discovered the library would lose badly when
2622 combining fonts-cache and ~/.fonts-cache data
2624 + Converted from autoconf to automake. This after
2625 getting patches accepted into libtool to allow
2626 the '-version-number' argument which lets
2627 packages set version numbers explicitly rather
2628 than the roundabout libtool way
2630 + Converted documentation to SGML using the docbook
2631 DTD. Now .txt and .html documents are installed
2632 in /usr/share/doc/fontconfig and there's no
2633 man page. Perhaps a man version can be written
2636 Sat Aug 31 15:21:22 PDT 2002 keithp
2637 + Xrender and Xft had several bugs related to
2638 rendering manually placed or poly-face text
2640 + Added more complete memory tracing in fontconfig
2641 Checked with (patched) mozilla and found no leaks
2643 + Updated Latin orthographies by comparing those from
2644 evertype.com with those from eki.ee. Tried to make
2645 sensible choices, including chars that occured in both
2646 and leaving some optional chars out that occured only
2649 Mon Aug 26 16:33:04 PDT 2002 keithp
2650 + Owen discovered that FcLangSetHasLang wasn't actually
2651 checking the language set.
2653 Mon Aug 26 13:37:23 PDT 2002 keithp
2654 + Append a version number to cache filenames
2656 Thu Aug 22 11:36:18 PDT 2002 keithp
2658 + Add "contains" and "not_contains" operators and elements to
2661 + Changed semantics of eq operator for LangSets to check for
2662 FcLangEqual so that any match will do
2664 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2665 of FcValueEqual to check for identical values when inserting into
2666 the results. This broke when the above semantic change was made,
2667 now it uses FcValueEqual which is "more correct" in any case.
2669 Thu Aug 22 00:32:29 PDT 2002 keithp
2671 + Reimplement FC_LANG as new datatype. Lists of strings
2672 was consuming over a megabyte of memory for 401 fonts.
2674 + Freeze patterns loaded from cache files. This shares
2675 common value lists and common patterns which saves
2676 considerable memory.
2678 + Change the denotation of 'constant' charsets to use special
2679 ref value instead of separate boolean.
2681 + Clean up leak tracing stuff, found several unannoted alloc/free
2684 Tue Aug 20 16:17:37 PDT 2002 keithp
2686 + Fix memory leak when parsing matrices from XML
2688 Mon Aug 19 11:57:27 PDT 2002 keithp
2690 + Fix autoconf files to pass FONTCONFIG_PATH on
2691 compile line so that ${prefix} gets substituted
2694 + Use getc_unlocked/putc_unlocked on systems that
2695 provide them to avoid damage done to stdio by posix
2697 + Eliminate FC_PATTERN and FcTypePattern in favor of
2698 an extended api for FcConfigSubstitute which takes
2699 both the font and the pattern.
2701 + Add 'sans serif' alias for 'sans-serif' as some apps
2702 can't handle hyphens in family names
2704 + Eliminate pretense of support for libxml2
2706 + Comment origins of Han orthographies
2708 Tue Jul 30 18:37:09 PDT 2002 keithp
2710 + Add binding property to edit element so that strong
2711 binding values may be inserted by the config file.
2712 The default remains weak.
2714 Sun 28 Jul 04:16:55 PDT 2002 keithp
2716 + Tagged release candidate 1 in the CVS tree and
2717 placed fcpackage.rc1.tar.gz for distribution
2719 Thu Aug 1 08:55:08 PDT 2002 keithp
2721 + Fixed autoconf builds to always specify install
2722 target files (for BSD). Also fixed to
2723 define FONTCONFIG_PATH in config.h so that
2724 nonstandard installs will actually work.