1 2006-02-07 Dirk Mueller <dmueller@suse.com>
4 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
6 Perf optimizations. Inline FcValueCanonicalize,
7 reduce FcValueListPtrU usage, remove redundant cast.
9 2006-02-07 Takashi Iwai <tiwai@suse.de>
12 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
15 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
16 Declare extern for static arrays as arrays, not pointers.
17 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
19 2006-02-07 Dirk Mueller <dmueller@suse.com>
32 Add Euro sign to list of symbols required by European languages.
34 2006-02-07 Patrick Lam <plam@mit.edu>
35 * src/fccache.c (FcCacheReadString):
37 Fix hidden variable warning.
39 2006-02-07 Dirk Mueller <dmueller@suse.com>
42 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
44 Remove de-escaping logic because FcCacheWriteString
45 doesn't escape anyway. Do blockwise reading instead
46 of byte-wise for performance.
48 2006-02-06 Patrick Lam <plam@mit.edu>
49 Takashi Iwai <tiwai@suse.de>
51 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
53 Don't loop infinitely on recursive symlinks (client-side).
55 2006-02-06 Takashi Iwai <tiwai@suse.de>
57 * fc-cache/fc-cache.c (scanDirs, main):
59 Don't loop infinitely on recursive symlinks.
61 2006-02-06 Takashi Iwai <tiwai@suse.de>
63 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
64 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
65 FcGlobalCacheSave, FcCacheReadDirs):
68 Skip subdirs when skipping over stale bits of global cache.
69 Introduce state machine into FcGlobalCacheDir to avoid
70 doing inappropriate operations on global dir entries, e.g.
71 writing out an out-of-date cache entry.
73 2006-02-06 Takashi Iwai <tiwai@suse.de>
75 * src/fcdir.c (FcFileScanConfig):
77 Hoist FcFileIsDir check out of FcFileScanConfig loop.
79 2006-02-06 Takashi Iwai <tiwai@suse.de>
82 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
83 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
85 Don't rescan when trying to normalize a non-declared font dir.
86 Don't add font dirs multiple times (even if they're aliased).
88 2006-02-06 Dirk Mueller <dmueller@suse.de>
91 * src/fcfs.c (FcFontSetUnserialize):
93 Explain apples/oranges comparison and fix compilation error.
95 2006-02-06 Dirk Mueller <dmueller@suse.de>
98 * src/fcfs.c (FcFontSetUnserialize):
100 Insert check for integer overflow in # of fonts.
102 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
106 * fc-cache/Makefile.am:
107 * fc-cat/Makefile.am:
108 * fc-list/Makefile.am:
110 Make 'make distcheck' work with automake 1.6.3.
112 2006-02-03 Takashi IWAI <tiwai@suse.de>
115 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
118 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
119 FcDirCacheConsume, FcDirCacheWrite)
120 * src/fcxml.c (FcConfigMessage):
122 Check I/O call return values and eliminate unused variable
125 2006-02-03 Takashi Iwai <tiwai@suse.de>
128 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
132 2006-02-03 Dirk Mueller <dmueller@suse.de>
135 * src/fcfs.c (FcFontSetUnserialize):
137 Gracefully handle the case where a cache asserts that it
138 has a negative number of fonts, causing overflow.
140 2006-02-03 Patrick Lam <plam@mit.edu>
141 * src/fccache.c (FcDirCacheUnlink):
143 Fix double free in error case.
145 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
146 Stephan Kulow <coolo@suse.de>
149 * fc-cache/Makefile.am:
151 Replace 'stamp' target with mkinstalldirs.
153 2006-01-31 Mike Fabian <mfabian@suse.de>
156 * src/fccache.c (FcGlobalCacheLoad):
158 Toast broken global cache files.
160 2006-01-30 Patrick Lam <plam@mit.edu>
161 * src/fccache.c (FcGlobalCacheReadDir):
163 Actually use the directories that I added to the global cache.
166 2006-01-30 Mike Fabian <mfabian@suse.de>
169 * fc-cache/fc-cache.c (scanDirs):
171 Don't stop scanning if a directory in fonts.conf doesn't
172 exist, because subsequent directories might exist.
174 2006-01-30 Patrick Lam <plam@mit.edu>
175 * src/fccache.c (FcGlobalCacheLoad):
177 Make global cache work again after putting dir names into global
178 cache (I misplaced the recording of a file offset).
180 2006-01-30 Patrick Lam <plam@mit.edu>
181 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
183 Update fc-cat to handle subdir lists in global cache file.
185 * src/fccache.c (FcGlobalCacheLoad):
187 Another FcCacheReadString return value check.
189 2006-01-30 Mike Fabian <mfabian@suse.de>
192 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
193 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
195 Make fccache more resilient to broken cache files by checking
196 return value of FcCacheReadString all the time.
198 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
201 * fc-match/fc-match.1:
202 * fc-lang/fc-lang.man:
204 Remove references to dead fontconfig(3) manpages in
205 other fontconfig manpages.
207 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
210 * doc/fcpattern.fncs:
212 Fix world's tiniest typo in code example.
214 2006-01-29 Mike Fabian <mfabian@suse.de>
217 * src/fccache.c (FcGlobalCacheReadDir):
219 Fix global cache reads of subdirectories.
221 2006-01-29 Patrick Lam <plam@mit.edu>
223 Add documentation for FcConfigNormalizeFontDir.
225 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
226 FcGlobalCacheUpdate, FcGlobalCacheSave):
227 * src/fcdir.c (FcDirScanConfig):
230 Write directory information to global caches to fix make check
231 (reported by Ronny V. Vindenes). This changes the global cache
234 2006-01-27 Patrick Lam <plam@mit.edu>
235 * fc-cache/fc-cache.c (scanDirs):
236 * fontconfig/fontconfig.h:
238 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
240 Move FcConfigNormalizeFontDir call so that it doesn't result in
241 infinite recursion (reported by Ronny V. Vindenes).
243 2006-01-26 Patrick Lam <plam@mit.edu>
244 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
245 * src/fccfg.c (FcConfigNormalizeFontDir):
247 Add a couple of missing normalizations to make fc-cache work
248 right; only scan subdirectories once.
250 2006-01-26 Mike Fabian <mfabian@suse.de>
253 * src/fcacache.c (FcGlobalCacheReadDir):
255 Don't crash on non-existant directories in global cache.
257 2006-01-26 Patirck Lam <plam@mit.edu>
258 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
259 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
260 * src/fcdir.c (FcDirScanConfig):
261 * src/fcxml.c (FcEndElement):
263 Stop trampling the directory name when writing out caches.
264 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
265 subdirs when necessary. Don't scan directories that can't be
268 2006-01-25 Patrick Lam <plam@mit.edu>
269 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
270 * src/fccfg.c (FcConfigEvaluate):
271 * src/fcfreetype.c (FcPatternAddWithBinding):
273 Fix additional memory leaks reported by Ronny V. Vindenes: don't
274 invoke FcValueSave on hashed static strings in
275 FcPatternAddWithBinding.
277 Add another st_dev check in FcDirCacheOpen.
279 2006-01-24 James Su <james.su@gmail.com>
282 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
283 * fc-lang/zh_hk.orth:
285 Treat zh-hk fonts differently from zh-tw fonts. This patch may
286 cause fontconfig to treat A-X fonts differently from A-Y fonts;
287 please mail the fontconfig list if this causes any problems.
289 2006-01-24 Patrick Lam <plam@mit.edu>
290 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
291 * src/fcfreetype.c (FcFreeTypeQuery):
293 Fix memory leaks reported by Ronny V. Vindenes.
295 2006-01-19 Andreas Schwab <schwab@suse.de>
298 * src/fcpat.c (FcStrNeededBytes):
300 Fix for unaligned memory accesses.
302 2006-01-18 Mike Fabian <mfabian@suse.de>
305 * src/fcdir.c (FcDirScanConfig):
307 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
308 calls to avoid crashes.
310 2006-01-14 Patrick Lam <plam@mit.edu>
311 * src/fccache.c (FcDirCacheConsume):
313 Fix segfault when consuming zero-length caches in fc-cat
314 (which has no config, so FcConfigAddFontDir shouldn't be called.)
316 2006-01-14 Patrick Lam <plam@mit.edu>
317 * fc-cache/fc-cache.c (scanDirs):
318 * fontconfig/fontconfig.h:
319 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
320 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
321 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
322 * src/fcdir.c (FcDirScanConfig):
325 Compare device numbers as well as inodes.
326 Always normalize directory names before comparing them.
328 2006-01-11 Mike Fabian <mfabian@suse.de>
331 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
333 Allocate extra space for appended '/' in directory name.
335 2006-01-10 Patrick Lam <plam@mit.edu>
336 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
337 FcDirCacheValid, FcDirCacheHasCurrentArch,
338 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
339 * fc-cache/fc-cache.c (main):
341 Explicitly add font dirs to config.fontDirs even if they're empty.
342 Set current config in fc-cache.c.
343 Fix treatment of cache directory as read from cache file; don't
344 use string equality to determine if we have the right file,
347 2006-01-09 Patrick Lam <plam@mit.edu>
348 * fc-cache/fc-cache.c (scanDirs):
349 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
350 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
351 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
352 * src/fccfg.c (FcConfigNormalizeFontDir):
353 * src/fcdir.c (FcDirScanConfig):
356 Normalize font dirs by using the form, as given in fonts.conf, and
357 recorded in FcConfig's fontDirs string set, as canonical.
359 Actually update config.fontDirs as font directories are scanned.
361 2006-01-08 James Su <james.su@gmail.com>
362 * src/fcmatch.c (FcFontSetMatch):
364 Fix matching bug when multiple elements match; don't use
365 the sum of all scores, but the best score.
367 Also more perf opts, e.g. evaluate best over all font sets
368 rather than on a per-set basis (and other changes).
370 2006-01-08 Patrick Lam <plam@mit.edu>
371 * src/fccache.c (FcDirCacheConsume):
373 Properly skip past dir caches that contain zero fonts (as occurs
374 in global caches.) Reported by Mike Fabian.
376 2006-01-06 Patrick Lam <plam@mit.edu>
377 * src/fcdbg.c (FcPatternPrint):
379 Print out full pathname in fc-match -v as well. Reported by
382 2006-01-06 Mike Fabian <mfabian@suse.de>
385 * src/fcname.c (FcNameParse):
387 Fix bug where fc-match crashes when given __DUMMY__ property to
390 (I added the __DUMMY__ string to enable callers of
391 FcObjectToPtrLookup to distinguish an error return from a
392 successful return. -PL)
394 2006-01-05 Patrick Lam <plam@mit.edu>
397 Add self to AUTHORS list.
399 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
400 FcCacheFileRead, FcCachePrintSet, main):
401 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
402 FcGlobalCacheSave, FcCacheNextOffset,
403 FcDirCacheHasCurrentArch, FcDirCacheRead,
404 FcDirCacheConsume, FcDirCacheWrite):
406 * src/fcpat.c (comment):
408 Minor change to global cache file format to fix fc-cat bug
409 reported by Frederic Crozat, and buglet with not globally caching
410 directories with zero fonts cached.
412 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
415 * src/fccfg.c (FcConfigEvaluate):
417 Fix double-free which occurs because FcValueCanonicalize doesn't
418 create an extra copy of the returned value, it only canonicalizes
421 2006-01-02 Patrick Lam <plam@mit.edu>
422 * doc/fontconfig-user.sgml:
424 Fix version of .cache file (currently 1 -> currently 2). Reported
427 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
430 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
432 Shut up GCC warnings on amd.
434 2005-12-20 Patrick Lam <plam@mit.edu>
438 * fontconfig/fontconfig.h:
440 Bump version to 2.3.93.
442 2005-12-20 Patrick Lam <plam@mit.edu>
443 * src/fccharset.c (FcLangCharSetPopulate):
444 * src/fcint.h (FcCacheBankToIndex):
446 Avoid check on _fcBankId nullness and fix case where it used to
449 2005-12-20 Patrick Lam <plam@mit.edu>
450 * src/fcxml.c (FcConfigParseAndLoad):
452 Use open instead of fopen (requested by Phil Race for Sun).
454 2005-12-20 Patrick Lam <plam@mit.edu>
455 * src/fccache.c (FcDirCacheWrite);
456 * fc-cache/Makefile.am:
458 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
461 2005-12-20 Patrick Lam <plam@mit.edu>
462 * src/fcfreetype.c (FcFreeTypeQuery):
464 Restore code to skip over PCF fonts that have no encoded
466 (We guess that a font is PCF by presence of the PIXEL_SIZE
469 2005-12-12 Patrick Lam <plam@mit.edu>
470 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
472 Read and write the original location as a fallback for the
473 hashed cache file locations. This is mostly for users to be
474 able to have per-directory cache files.
476 2005-12-12 Patrick Lam <plam@mit.edu>
477 * fc-cache/fc-cache.c (scanDirs):
478 * fc-cache/Makefile.am:
479 * src/fccache.c (FcDirCacheHashName):
481 Improve error message when fc-cache can't write the cache. Add
482 missing slash. Reported by Behdad. Incorporate Behdad's patch to
483 create /var/cache/fontconfig when appropriate.
485 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
488 * src/fcxml.c (FcConfigGetAttribute):
490 Fix crash reported by Frederic Crozat when using libxml2.
492 2005-12-09 Patrick Lam <plam@mit.edu>
495 * fc-cache/Makefile.am:
496 * fc-cat/Makefile.am:
498 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
499 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
500 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
501 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
502 FcDirCacheHasCurrentArch, FcDirCacheHashName,
503 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
505 Migrate cache files from fonts directories to
506 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
507 but requires that all caches get rebuilt.
509 Also, autogen.sh now needs the additional parameter
510 --localstatedir=/var.
512 2005-12-07 Patrick Lam <plam@mit.edu>
513 * src/fcpat.c (FcPatternAddString):
515 Because we've changed FcPatternAddString to use FcStrStaticName
516 and not FcValueSave, explicitly handle the case of a null string.
518 2005-12-06 Patrick Lam <plam@mit.edu>
519 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
523 2005-12-05 Patrick Lam <plam@mit.edu>
524 * src/fcname.c (FcNameGetObjectType):
526 Don't assign types to user object names.
528 2005-12-05 Patrick Lam <plam@mit.edu>
529 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
531 Don't free strings that have been returned from FcStrStaticName.
533 2005-12-01 Patrick Lam <plam@mit.edu>
534 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
536 Add codepath for reading global cache files as well.
538 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
541 * conf.d/10-fonts.persian.conf:
542 * conf.d/Makefile.am:
544 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
546 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
549 * src/fcxml.c (FcConfigParseAndLoad):
551 Only add a config file to the set of config files once.
553 2005-11-29 Patrick Lam <plam@mit.edu>
554 * src/fcint.h (FcCacheBankToIndex);
556 Fix segfault by guarding array dereference.
558 2005-11-29 Dirk Mueller <dmueller@suse.de>
562 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
563 FcCacheBankToIndex, FcCacheBankToIndexMTF,
567 Refactor FcCacheBankToIndex into an inlineable part
568 (in fcint.h) which checks the front of the list and a
569 non-inlineable part which finds and moves the appropriate element
570 to the front of the list.
572 2005-11-29 Patrick Lam <plam@mit.edu>
573 * src/fccfg.c (FcConfigBuildFonts):
574 * src/fccache.c (FcCacheReadDirs):
576 Make the perf guys hate me a bit less: hoist the directory-name
577 FcConfigAcceptFont check for cached fonts up to directory cache
578 read time, rather than running it for each font.
580 2005-11-29 Patrick Lam <plam@mit.edu>
581 * src/fccfg.c (FcConfigBuildFonts):
583 * src/fcpat.c (FcPatternFindFullFname):
585 Don't make FcPatternFindFullFname available to fccfg, it's not
586 really safe. Instead go through FcPatternGetString (sorry,
587 perf guys.) Also, use globs for dirs as well.
589 2005-11-28 Patrick Lam <plam@mit.edu>
590 * src/fccfg.c (FcConfigBuildFonts):
594 2005-11-28 Patrick Lam <plam@mit.edu>
596 * src/fcpat.c (FcPatternFindFullFname):
597 * src/fccfg.c (FcConfigBuildFonts):
599 Fix problem dating back at least to 2.3.2 where globs weren't
600 being applied to patterns loaded from a cache.
602 2005-11-28 Patrick Lam <plam@mit.edu>
603 * doc/fontconfig-user.sgml:
605 Fix some obvious spelling mistakes.
607 2005-11-28 Dirk Mueller <dmueller@suse.com>
608 Stephan Kulow <coolo@suse.de>
611 * src/fcmatch.c (FcFontSetMatch):
613 Don't kill all fonts during match (oops!)
616 2005-11-25 Dirk Mueller <dmueller@suse.com>
617 Stephan Kulow <coolo@suse.de>
618 Michael Matz <matz@suse.de>
621 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
624 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
625 inline FcCompare into FcFontSetMatch and reorder the
626 loops, adding a boolean array which blocks patterns from future
627 consideration if they're known to not be best on some past
630 2005-11-26 Dirk Mueller <dmueller@suse.com>
633 * src/fcmatch.c (FcCompareValueList):
637 2005-11-25 Patrick Lam <plam@mit.edu>
638 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
640 Don't do random matching when bad objects are passed into
643 2005-11-25 Patrick Lam <plam@mit.edu>
645 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
646 FcPatternSerialize, FcPatternUnserialize,
647 FcValueListEnsureBank, FcValueListDistributeBytes,
648 FcValueListUnserialize):
650 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
651 _fcPatternElts, _fcValueLists for consistency.
653 2005-11-25 Dirk Mueller <dmueller@suse.com>
658 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
660 2005-11-25 Patrick Lam <plam@mit.edu>
662 * src/fccache.c (FcDirCacheConsume):
663 * src/fccharset.c (FcCharSetUnserialize):
664 * src/fcfs.c (FcFontSetUnserialize):
665 * src/fclang.c (FcLangSetUnserialize):
666 * src/fcname.c (FcObjectUnserialize):
667 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
668 FcPatternUnserialize):
670 Pass around FcCache *s to the Unserialize functions for extra
671 consistency (and less overhead, for what that's worth).
673 2005-11-24 Dirk Mueller <dmueller@suse.com>
677 * src/fcmatch.c (FcCompare*, FcFontSetSort):
678 * src/fcname.c (FcNameUnparseValue):
680 Inline the *PtrU functions to gain perf.
681 Remove unneeded params for the FcCompare* functions.
683 2005-11-24 Dirk Mueller <dmueller@suse.com>
686 * src/fcint.h, fontconfig/fontconfig.h:
688 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
690 * src/fcpat.c, src/fcint.h, src/fcname.c:
692 Check for type validity during FcPatternAddWithBinding, don't
693 verify type in FcFontMatch, don't call FcCanonicalize here
694 (which always does a deep copy).
696 2005-11-24 Dirk Mueller <dmueller@suse.com>
699 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
700 * src/fcpat.c (FcPatternAddWithBinding):
702 Make FcCompareString and FcCompareFamily less expensive.
703 Only add a value for FC_FAMILY if the proposed value is a string.
705 2005-11-24 Dirk Mueller <dmueller@suse.com>
708 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
709 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
710 * src/fcint.h (FcDebug):
712 Inline FcDebug invocations and only initialize once, in FcInit*.
713 Improve debug msg in FcPatternPrint.
715 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
718 * fontconfig/fontconfig.h:
721 Minor code warning cleanups.
723 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
726 * fc-match/fc-match.c (main):
728 Make getopt_long accept -s parameter to fc-match as well.
730 2005-11-21 Dirk Mueller <dmueller@suse.com>
733 * src/fcmatch.c (FcCompareValueList):
735 Manually perform inlining & partial redundancy elimination to
736 reduce calls to FcValueListPtrU.
738 2005-11-21 Dirk Mueller <dmueller@suse.com>
741 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
742 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
744 Only invoke strlen() when really necessary.
746 2005-11-19 Matthias Clasen <mclasen@redhat.com>
750 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
755 Get rid of the use of freetype internal headers in fcfreetype.c,
756 since those headers will go away with freetype 2.2. Replace with
757 public domain ftglue code from pango. Note that the patch removes
758 some extra error checking in FT_Get_BDF_Property() and comments
759 out the skipping of empty pcf fonts.
761 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
764 * fc-lang/fc-lang.c (main):
766 Further fix of patch from 2005-11-04: miscounted numbers count
767 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
768 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
770 Removed leafidx_count and numbers_count since they are the same
771 and replaced them with offset_count.
773 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
776 * fc-cat/fc-cat.c (main):
778 Don't crash when fc-cat invoked with no arguments.
780 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
783 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
785 Fix invalid read access caused by premature free and
786 GCC4 warnings in libxml2 codepath.
788 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
791 * src/fccfg.c (FcConfigValues):
793 List iteration not needed in FcConfigValues, since it's building
794 up the list itself; we can just strip FcVoid elements during
797 2005-11-17 Patrick Lam <plam@mit.edu>
798 * src/fccfg.c (FcConfigValues):
800 Fix crash on invalid constants in config files (forgot to update
801 a pointer upon list iteration.)
803 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
806 * src/fcxml.c (FcTypecheckExpr):
808 Complain about invalid constants in config files.
810 2005-11-17 Andreas Schwab <schwab@suse.de>
813 * src/fccache.c (FcGlobalCacheSave):
815 Don't add current_arch_start more than once.
817 2005-11-16 Patrick Lam <plam@mit.edu>
818 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
819 * src/fcfs.c (FcFontSetUnserialize):
820 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
821 * src/fcpat.c (FcStrUnserialize):
823 Fix ordering of ALIGN with respect to saving block_ptr; add
824 another ALIGN to fcfs.c.
826 2005-11-16 Patrick Lam <plam@mit.edu>
827 * src/fccache.c (FcDirCacheProduce)
829 Fix case where alignment bytes bumped up metadata->count
830 causing unwarranted failures to write cache files.
831 (Reported by Stephan Kulow).
833 2005-11-16 Patrick Lam <plam@mit.edu>
834 * src/fccache.c (FcDirCacheProduce):
835 * src/fccharset.c (FcCharSetDistributeBytes):
836 * src/fcfs.c (FcFontSetDistributeBytes):
838 * src/fclang.c (FcLangSetDistributeBytes):
839 * src/fcname.c (FcObjectDistributeBytes):
840 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
843 Add *NeededBytesAlign(), which overestimates the padding which is
844 later added by the new ALIGN macro. Fix alignment problems on
845 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
846 version by Andreas Schwab).
848 2005-11-16 Stephan Kulow <coolo@kde.org>
853 Use sysconf to determine proper PAGESIZE value; this
854 appears to be POSIX-compliant. (reported by Andreas Schwab)
856 2005-11-04 Patrick Lam <plam@mit.edu>
862 Fix bug 2878 (excessive relocations at startup for charsets,
863 reported by Ross Burton): fc-lang/fc-lang now creates the
864 static form of the langset, not the dynamic form, so that
865 the charsets should now be in .rodata.
867 2005-11-04 Patrick Lam <plam@mit.edu>
868 * src/fcdir.c (FcDirScanConfig):
870 Add test for validity of directory caches that
871 somehow got lost (reported by make distcheck).
873 2005-11-04 Patrick Lam <plam@mit.edu>
877 * fontconfig/fontconfig.h:
879 Bump version to 2.3.92.
881 2005-11-02 Patrick Lam <plam@mit.edu>
882 * src/fcpat.c (FcPatternDuplicate):
884 Fix argument ordering problem in call to FcPatternTransferFullFname.
886 2005-11-02 Patrick Lam <plam@mit.edu>
887 * src/fcfreetype.c (FcFreetypeQuery):
888 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
889 FcPatternTransferFullFname):
891 Fix warnings and embarrassing double-free error.
893 2005-11-02 Zhe Su <zsu@novell.com>
898 Change the rule for artificial emboldening in fonts.conf.in. This
899 enables the support for artificial emboldening included in cairo.
901 2005-11-02 Patrick Lam <plam@mit.edu>
902 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
904 Don't zero out full names for FC_REF_CONSTANT fonts;
905 also, duplicate full names when transferring, and free
906 full names when freeing the associated font.
907 Reported by Jinghua Luo.
909 2005-11-02 Patrick Lam <plam@mit.edu>
910 * fc-cache/fc-cache.c (scanDirs):
911 * src/fcpat.c (FcValueListSerialize):
913 Revert the previous patch and commit the correct patch:
914 I forgot a canonicalization in FcValueListSerialize, so
915 that it would choke on already-serialized input files. Duh!
917 2005-11-02 Patrick Lam <plam@mit.edu>
918 * fc-cache/fc-cache.c (scanDirs):
920 Forcibly rescan a directory before writing a fresh local
921 cache file for that directory, fixing the losing-fonts
922 problem reported by Mike Fabian and also apparently the
923 font cache file corruption.
925 2005-11-02 Patrick Lam <plam@mit.edu>
926 * src/fccache.c (FcGlobalCacheLoad):
928 Fix thinko: actually, the whole global cache is stale
929 if the global cache is older than the (newest) config file.
931 2005-11-02 Patrick Lam <plam@mit.edu>
932 * src/fccache.c (FcGlobalCacheLoad):
933 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
936 Declare the global cache of a directory's contents to be stale if
937 the directory is newer than the (newest) configuration file.
939 2005-10-31 Patrick Lam <plam@mit.edu>
941 * src/fclist.c (FcListAppend):
942 * src/fcmatch.c (FcFontRenderPrepare):
943 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
944 FcPatternFreeze, FcPatternBaseFreeze):
946 Copy the full pathname whenever duplicating an FcPattern; otherwise,
947 applications continue breaking.
949 2005-10-31 Patrick Lam <plam@mit.edu>
950 * fc-cat/fc-cat.c (FcCacheFileRead, main):
951 * src/fcfreetype.c (FcFreeTypeQuery):
953 Fix small memory error (tried to free argv); use basename and
954 dirname correctly (they can modify their arguments).
956 2005-10-31 Patrick Lam <plam@mit.edu>
964 Reinstate basename patch, but keep a hash table linking FcPatterns
965 to their fully-qualified font names for clients' benefit. Clients
966 only pay for the font names once they request the FC_FILE property
967 from an FcPattern, but the font name is malloc'd at that point (i.e.
968 not mmapped: that's impossible, since it may vary between machines.)
969 Clients do have to pay for a copy of the path name per cache file.
971 Note that FcPatternGetString now does some rewriting if you ask
972 for an FC_FILE, appending the pathname as appropriate.
974 2005-10-31 Patrick Lam <plam@mit.edu>
975 * src/fcfreetype.c (FcFreeTypeQuery):
977 Revert basename patch, which breaks fontconfig clients on my system.
979 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
982 * fontconfig/fonts.conf.in:
983 * fontconfig/fontconfig.h:
987 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
988 to load embedded bitmaps or not.
990 2005-10-25 Patrick Lam <plam@mit.edu>
991 * src/fcfreetype.c (FcFreeTypeQuery):
993 Only add basename to patterns' FC_FILE element, not any part of
996 2005-10-22 Patrick Lam <plam@mit.edu>
999 Add some more consts, fixing more GCC4 warnings.
1001 2005-10-22 Zhe Su <zsu@novell.com>
1004 Support localized font family and style names.
1005 This has been reported to break old apps like xfd, but modern
1006 (gtk+/qt/mozilla) apps work fine.
1008 2005-10-21 Patrick Lam <plam@mit.edu>
1009 * src/fccache.c (FcGlobalCacheLoad):
1011 Destroy the global cache file if it's terminally broken. (reported by
1014 2005-10-21 Patrick Lam <plam@mit.edu>
1015 * fc-list/fc-list.c (main):
1016 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1017 * fontconfig/fontconfig.h:
1019 Prevent fc-list from escaping strings when printing them (reported by
1022 2005-10-20 Marcus Meissner <meissner@suse.de>
1025 * fontconfig/fontconfig.h:
1027 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1029 2005-10-14 Ross Burton <ross@burtonini.com>
1032 * fc-glyphname/fc-glyphname.c:
1035 Add consts to variables so as to move arrays into .rodata.
1037 2005-10-14 Mike Fabian <mfabian@suse.de>
1040 * src/fccache.c (FcDirCacheUnlink):
1042 Check existence of directory cache file before attempting to unlink.
1044 2005-10-13 Patrick Lam <plam@mit.edu>
1045 * src/fccache.c (FcDirCacheUnlink):
1047 Fix flipped return value on unlink. (Reported by Mike Fabian)
1049 2005-10-12 Patrick Lam <plam@mit.edu>
1052 * src/fcdir.c (FcDirScanConfig):
1055 When fc-cache is run without --force, use directory cache files
1056 to speed up fc-cache run time. (Reported by Mike Fabian)
1058 2005-10-06 Patrick Lam <plam@mit.edu>
1060 * src/fcname.c (FcObjectToPtr):
1061 * src/fcpat.c (FcStrStaticName):
1063 Add padding to make valgrind and glibc not hate each other
1064 when calling strlen().
1066 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1067 reviewed by: plam & keithp
1071 Modify config file to use Greek fonts before Asian fonts with
1074 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1075 reviewed by: plam & keithp
1079 Use libtool -no-undefined flag on all platforms.
1081 2005-10-05 Patrick Lam <plam@mit.edu>
1082 * src/fccache.c (FcCacheHaveBank):
1084 Implement move-to-front array for banks (perf regression
1085 reported by Ronny V. Vindenes).
1087 2005-10-04 Patrick Lam <plam@mit.edu>
1088 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1089 FcDirCacheHasCurrentArch):
1090 * fc-cache/fc-cache.c (scanDirs):
1091 * fontconfig/fontconfig.h:
1093 Add new API which unlinks directory caches and checks dir caches
1094 for existence of appropriate sections. Fix fc-cache to unlink
1095 stale cache files and save directory caches that lack relevant
1098 2005-10-03 Patrick Lam <plam@mit.edu>
1099 * src/fccache.c (FcDirCacheValid):
1101 Ensure that a directory cache has the appropriate section
1102 before reporting that it is valid (reported by Matthias Clasen).
1104 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1112 Use libxml2 if requested (with --enable-libxml2) or if
1113 expat is not available.
1115 2005-09-29 Patrick Lam <plam@mit.edu>
1116 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1118 Fix multi-arch cache files: compute the position for the
1119 block to be added using info from OrigFile, not NewFile.
1121 2005-09-28 Patrick Lam <plam@mit.edu>
1122 * src/fccache.c (FcCacheMachineSignature):
1124 Cast results of sizeof() to unsigned int to get rid of
1125 warnings on x86_64 (thanks Matthias Clasen).
1127 2005-09-27 Patrick Lam <plam@mit.edu>
1128 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1131 Use FcAtomic to rewrite cache files.
1133 2005-09-27 Patrick Lam <plam@mit.edu>
1135 * src/fccache.c (FcDirCacheWrite):
1137 Don't unlink the fonts.cache-2 file even if there's no data
1138 to write; just write an empty cache file. (thanks Lubos Lunak)
1140 2005-09-27 Patrick Lam <plam@mit.edu>
1142 * src/fccache.c (FcDirCacheWrite):
1144 Allocate room for the subdirectory names in each
1145 directory cache. Thanks to James Cloos for finding
1146 and diagnosing this bug!
1148 2005-09-22 Patrick Lam <plam@mit.edu>
1150 * fc-cache/fc-cache.sgml:
1151 * src/fccache.c (FcDirCacheWrite):
1152 * src/fccache.h (struct FcCache):
1154 Update documentation -- fc-cache's man page now says that you
1155 need to run fc-cache once per cached architecture; add some
1156 documentation to the FcCache structure.
1158 Make fc-cache write out fonts.cache-2 files for directories with
1159 no fonts (i.e. only subdirectories).
1161 2005-09-22 Patrick Lam <plam@mit.edu>
1163 * fc-cache/fc-cache.sgml:
1164 * fc-case/fc-case.c:
1165 * fc-glyphname/fc-glyphname.c:
1171 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1175 * fc-lang/fc-lang.c:
1176 * fontconfig/fcprivate.h:
1177 * fontconfig/fontconfig.h:
1191 Implement new mmaped cache for font information.
1192 Bump so revision to 2.3.90.
1194 2005-07-25 Keith Packard <keithp@keithp.com>
1196 * doc/fontconfig-user.sgml:
1197 * fc-glyphname/fc-glyphname.c: (scan), (main):
1198 * fc-lang/fc-lang.c: (FcConfigHome):
1199 * fc-match/fc-match.c: (main):
1200 * src/fccfg.c: (FcConfigHome):
1201 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1202 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1203 (addtag), (FcFontCapabilities):
1204 * src/fcpat.c: (FcValueListEntCreate):
1205 * src/fcstr.c: (FcStrCaseWalkerInit):
1206 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1208 Various GCC 4 cleanups for signed vs unsigned char
1210 Match only [0-9]*.conf files in <include>{directory}</include>
1211 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1213 2005-07-15 Carl Worth <cworth@cworth.org>
1216 * src/fcinit.c: (FcFini):
1217 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1220 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1221 Pull the FcObjectStateName hash table out to file scope, and add
1222 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1225 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1228 2005-06-16 Patrick Lam <plam@MIT.EDU>
1232 * src/fccfg.c: (FcConfigCompareValue):
1233 Make FcOpNotContains use FcStrStr for strings so that
1234 it matches semantics for !FcOpContains.
1236 2005-05-20 Keith Packard <keithp@keithp.com>
1240 Move fontconfig source package to libs as per override
1242 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1244 reviewed by: Mike Fabian
1247 The ka.orth file requires several characters which are not
1248 used anymore in modern Georgian and which are missing in the free
1249 Georgian TrueType fonts downloadable at:
1251 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1253 2005-04-27 Keith Packard <keithp@keithp.com>
1257 Update date to real 2.3.2 release date.
1258 Fix change attributions
1260 2005-04-27 Keith Packard <keithp@keithp.com>
1263 Bump so revision for 2.3.2
1264 * fc-cache/fc-cache.c: (scanDirs):
1265 Fix a few minor leaks in error cases.
1267 2005-04-23 Keith Packard <keithp@keithp.com>
1272 * fontconfig/fontconfig.h:
1273 Update for version 2.3.2
1275 2005-04-21 Keith Packard <keithp@keithp.com>
1277 * debian/fontconfig.postinst:
1278 Don't force bitmap font enable in default
1279 configuration; allows users to override this in
1289 * debian/po/pt_BR.po:
1290 * debian/po/templates.pot:
1292 * debian/po/zh_CN.po:
1293 Updated translations
1295 * fc-cache/fc-cache.c: (main):
1296 Destroy font configuration on exit to help valgrind
1299 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1300 (FcFreeTypeCheckGlyph):
1301 Use own transcoding routines in preference to iconv
1302 which appears to have leaks in some translators.
1303 Call iconv_close after using iconv (oops).
1305 Prefer unicode encoding of Euro char as some
1306 fonts mis-encode Euro in other ones.
1308 Must fetch bitmap glyphs to get width values
1309 to check for monospace/dual-width fonts.
1311 2005-04-13 Ross Burton <ross@burtonini.com>
1314 Check that a pattern isn't already frozen in FcPatternFreeze.
1316 2005-03-31 Ross Burton <ross@burtonini.com>
1321 Run all FcPattern objects through FcObjectStaticName, so that
1322 compares can be done on pointers instead of strings (#2659)
1324 2005-03-17 Tor Lillqvist <tml@novell.com>
1326 * src/fontconfig.def.in: Add the .dll to the dll name.
1328 2005-03-10 Keith Packard <keithp@keithp.com>
1330 * debian/README.Debian:
1331 Update to reflect configuration changes
1333 * debian/fontconfig.postinst:
1334 Fix Autohint vs Autohinter mistake
1335 * debian/fontconfig.templates:
1336 Adopt changes from Josselin Mouette for configuration descriptions
1337 Update debian to version 2.3.1-2
1339 2005-03-08 Keith Packard <keithp@keithp.com>
1343 Update debian for 2.3.1
1345 2005-03-09 Tor Lillqvist <tml@novell.com>
1347 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1350 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1353 2005-03-08 Keith Packard <keithp@keithp.com>
1357 * fontconfig/fontconfig.h:
1360 2005-03-05 Keith Packard <keithp@keithp.com>
1362 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1363 Include space and remove numbers from valid script tags.
1364 This ensures that tags like 'lao ' work while rejecting
1365 those which have any digits.
1366 Eliminate a spurious debugging variable (len)
1368 2005-03-05 Keith Packard <keithp@keithp.com>
1370 * src/fcfreetype.c: (addtag), (GetScriptTags),
1371 (FcFontCapabilities):
1372 Rework GSUB/GPOS script parsing to survive broken fonts.
1373 Thanks for the broken font go to Manish Singh
1375 2005-03-05 Keith Packard <keithp@keithp.com>
1380 * debian/fontconfig.config:
1381 * debian/fontconfig.templates:
1383 Include 2.3 release information in changelog
1384 Add Josselin Mouette as an Uploader
1385 Set hinting_type to low priority configuration option
1388 * debian/fontconfig.postinst:
1389 yes_bitmaps.conf -> yes-bitmaps.conf
1395 2005-03-02 Keith Packard <keithp@keithp.com>
1398 * conf.d/Makefile.am:
1399 * conf.d/autohint.conf:
1400 * conf.d/no-sub-pixel.conf:
1401 * conf.d/sub-pixel.conf:
1402 * conf.d/unhinted.conf:
1403 * debian/autohint.conf:
1404 * debian/fontconfig.install:
1405 * debian/fontconfig.postinst:
1406 * debian/fontconfig.templates:
1407 * debian/no-sub-pixel.conf:
1408 * debian/unhinted.conf:
1409 Move debian-specific conf file examples upstream.
1411 Sub-pixel configuration examples must smash subpixel value
1412 as Xft always sets it from X.
1414 Change sub-pixel rendering debconf descriptions from
1415 Enable/Disable to Always/Never.
1417 2005-03-02 Keith Packard <keithp@keithp.com>
1420 * conf.d/.cvsignore:
1422 Ignore more build detritus
1425 Add debian package construction stuff.
1427 * config/config.guess:
1428 * config/config.sub:
1429 Update to newer versions of these tools
1432 Get library manuals to build again (we love automake).
1434 * debian/README.Debian:
1435 * debian/autohint.conf:
1440 * debian/fontconfig-udeb.install:
1441 * debian/fontconfig.config:
1442 * debian/fontconfig.defoma:
1443 * debian/fontconfig.dirs:
1444 * debian/fontconfig.install:
1445 * debian/fontconfig.postinst:
1446 * debian/fontconfig.postrm:
1447 * debian/fontconfig.templates:
1448 * debian/libfontconfig1-dev.install:
1449 * debian/libfontconfig1.install:
1450 * debian/local.conf.md5sum:
1451 * debian/no-sub-pixel.conf:
1452 * debian/po/POTFILES.in:
1461 * debian/po/pt_BR.po:
1462 * debian/po/templates.pot:
1464 * debian/po/zh_CN.po:
1466 * debian/unhinted.conf:
1467 Update debian build system to switch maintainers and
1468 deal with 2.3 functionality
1470 2005-03-01 Keith Packard <keithp@keithp.com>
1474 * fontconfig/fontconfig.h:
1477 2005-03-01 Keith Packard <keithp@keithp.com>
1480 Generate and install PDF versions of the manuals
1482 * doc/fcpattern.fncs:
1485 * doc/fcstring.fncs:
1486 Add missing exported functions, fix data types
1488 * doc/fontconfig-devel.sgml:
1489 Add missing pattern elements.
1491 * doc/fontconfig-user.sgml:
1492 Add missing pattern elements. Document conf.d usage,
1493 clarify available orthography list. Fix some config file
1494 attributes. Complete list of constants.
1496 * fontconfig/fontconfig.h:
1497 Mark FC_SOURCE deprecated.
1499 * src/fcfreetype.c: (FcFreeTypeQuery):
1500 Don't set FC_SOURCE any longer.
1502 2005-02-28 Keith Packard <keithp@keithp.com>
1505 * conf.d/Makefile.am:
1507 * conf.d/no-bitmaps.conf:
1508 * conf.d/sub-pixel.conf:
1509 * conf.d/yes-bitmaps.conf:
1511 Create prototype /etc/fonts/conf.d directory with a few
1512 sample configuration files.
1513 Deprecate use of local.conf for local customizations in favor of
1514 this directory based scheme which is more easily integrated into
1515 installation systems.
1518 Tag FC_EMBOLDEN as a boolean variable
1520 2005-02-10 Keith Packard <keithp@keithp.com>
1522 reviewed by: pborelli@katamail.com
1524 * src/fcdir.c: (FcFileScanConfig):
1525 Free patterns from fonts which are rejected by configuration
1528 2005-01-28 Keith Packard <keithp@keithp.com>
1532 * fontconfig/fontconfig.h:
1533 Update for version 2.2.99
1535 2005-01-28 Keith Packard <keithp@keithp.com>
1538 Add a few pointers (#2284, #2285)
1540 2005-01-28 Keith Packard <keithp@keithp.com>
1543 * src/fcname.c: (FcNameBool):
1544 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1545 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1546 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1547 Polite typechecking for test and edit expressions. Helps
1548 catch errors in the font configuration. (bug 229)
1550 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1552 reviewed by: Keith Packard <keithp@keithp.com>
1555 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1557 2005-01-13 Keith Packard <keithp@keithp.com>
1559 * doc/fontconfig-user.sgml:
1560 Add SEE ALSO section (bug 2085)
1562 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1564 reviewed by: Keith Packard <keithp@keithp.com>
1569 * fc-case/Makefile.am:
1570 * fc-glyphname/Makefile.am:
1571 * fc-lang/Makefile.am:
1572 * src/fontconfig.def.in:
1573 Cross compiling fixes (bug 280)
1575 2005-01-13 Keith Packard <keithp@keithp.com>
1578 Update blanks list (Closes bug 86)
1580 2005-01-04 Keith Packard <keithp@keithp.com>
1582 * src/fccache.c: (FcCacheFontSetAdd):
1583 Verify that every font pattern loaded from cache has
1584 both FC_FILE and FC_FAMILY entries.
1585 Attempt to fix bug #2219.
1587 2004-12-29 Keith Packard <keithp@keithp.com>
1591 * fontconfig/fontconfig.h:
1592 Update for version 2.2.98
1594 2004-12-29 Keith Packard <keithp@keithp.com>
1596 * fontconfig/fontconfig.h:
1597 Document ASCII limitations of Fc character conversion macros
1598 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1599 Fix off-by-one error in utf-8 case walking code.
1600 Add FcStrDowncase (useful for testing case conversion functions)
1602 2004-12-29 Keith Packard <keithp@keithp.com>
1605 * fc-case/.cvsignore:
1606 clean up CVS ignore lists
1607 * fc-lang/iso-3166.txt:
1608 Add territory database
1610 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1612 Reviewed by: Keith Packard
1615 Remove Han characters from Korean orthography
1617 2004-12-29 Keith Packard <keithp@keithp.com>
1620 Reorder utility programs to make sure fc-case is run before fc-lang
1621 as fc-lang uses fcstr.c which uses fccase.h
1625 2004-12-29 Keith Packard <keithp@keithp.com>
1628 Adopt some RedHat suggestions for standard font configuration.
1632 * fc-case/CaseFolding.txt:
1633 * fc-case/Makefile.am:
1634 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1635 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1636 (dump), (parseRaw), (caseFoldReadRaw), (main):
1637 * fc-case/fccase.tmpl.h:
1638 Add new helper program 'fc-case' to construct case folding
1639 tables from standard Unicode CaseFolding.txt file
1642 * src/fclist.c: (FcListValueHash):
1643 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1644 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1645 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1646 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1647 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1648 Re-implement case insensitive functions with Unicode
1649 aware versions (including full case folding mappings)
1651 2004-12-13 Keith Packard <keithp@keithp.com>
1653 reviewed by: Owen Taylor <otaylor@redhat.com>
1655 * src/fcmatch.c: (FcFontSetSort):
1656 I changed FcFontSetSort to respect the generic aliases better
1657 in the face of language matching.
1659 What I did was to ammend the strict sort order used by FcFontSort so
1660 that it 'satisfies' the language specified in the pattern by locating
1661 the best matching font supporting each pattern language and then
1662 ignores language in the remaining fonts for purposes of matching.
1664 So, when asking for 'sans:lang=en', you'll get an English font first,
1665 and then the remaining fonts sorted with respect to the 'sans' alias
1666 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1668 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1670 reviewed by: Keith Packard <keithp@keithp.com>
1672 * fontconfig/fontconfig.h:
1675 Configuration changes to request synthetic emboldening of
1676 fonts. The actual emboldening code will live in Xft.
1678 2004-12-09 John Thacker <thacker@math.cornell.edu>
1680 reviewed by: Keith Packard <keithp@keithp.com>
1684 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1685 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1686 и), and don't even appear in KOI8-R. (The hypothesis that they
1687 don't appear in KOI8-R due to their similarity with Latin I and i is
1688 eliminated by their presence in KOI8-U.) I have a couple of fonts
1689 with Russian support that don't have the letter.
1691 Therefore, 0406 and 0456 should be removed from or commented out of
1694 2004-12-06 michael meeks <mmeeks@novell.com>
1696 Reviewed by: Keith Packard <keithp@keithp.com>
1698 * src/fcinit.c: (FcMemReport):
1700 * src/fclist.c: (FcObjectSetAdd):
1701 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1702 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1703 * src/fcxml.c: (FcParsePatelt):
1704 memoize strings and share a single copy for all uses. Note that
1705 this could be improved further by using statically allocated blocks
1706 and gluing multiple strings together, but I'm basically lazy.
1707 In my environment with 800 font files, I get a savings of about 90KB.
1709 2004-12-06 Keith Packard <keithp@keithp.com>
1713 * config/Makedefs.in:
1716 * doc/fcatomic.fncs:
1717 * doc/fcblanks.fncs:
1718 * doc/fccharset.fncs:
1719 * doc/fcconfig.fncs:
1720 * doc/fcconstant.fncs:
1722 * doc/fcfontset.fncs:
1723 * doc/fcfreetype.fncs:
1725 * doc/fcmatrix.fncs:
1726 * doc/fcobjectset.fncs:
1727 * doc/fcobjecttype.fncs:
1728 * doc/fcpattern.fncs:
1729 * doc/fcstring.fncs:
1730 * doc/fcstrset.fncs:
1732 * doc/fontconfig-devel.sgml:
1733 * doc/fontconfig-user.sgml:
1735 * doc/version.sgml.in:
1736 * fc-cache/Makefile.am:
1737 * fc-cache/fc-cache.c:
1738 * fc-glyphname/Makefile.am:
1739 * fc-glyphname/fc-glyphname.c:
1740 * fc-glyphname/fcglyphname.tmpl.h:
1741 * fc-lang/Makefile.am:
1751 * fc-lang/az_ir.orth:
1785 * fc-lang/fc-lang.c:
1786 * fc-lang/fc-lang.man:
1787 * fc-lang/fclang.tmpl.h:
1832 * fc-lang/ku_ir.orth:
1865 * fc-lang/ps_af.orth:
1866 * fc-lang/ps_pk.orth:
1895 * fc-lang/ti_er.orth:
1896 * fc-lang/ti_et.orth:
1922 * fc-lang/zh_cn.orth:
1923 * fc-lang/zh_hk.orth:
1924 * fc-lang/zh_mo.orth:
1925 * fc-lang/zh_sg.orth:
1926 * fc-lang/zh_tw.orth:
1928 * fc-list/Makefile.am:
1929 * fc-list/fc-list.c:
1930 * fc-match/Makefile.am:
1931 * fc-match/fc-match.1:
1932 * fc-match/fc-match.c:
1933 * fontconfig/fcfreetype.h:
1934 * fontconfig/fcprivate.h:
1935 * fontconfig/fontconfig.h:
1956 Change files from ISO-Latin-1 to UTF-8
1958 2004-12-04 Keith Packard <keithp@keithp.com>
1961 Update links to new freedesktop.org locations
1963 Add uninstall-local to get rid of fonts.conf and local.conf if they
1964 match the distributed versions. Fixes 'make distcheck'
1966 2004-12-04 Keith Packard <keithp@keithp.com>
1970 * fontconfig/fontconfig.h:
1971 Updates for version 2.2.97
1973 2004-12-04 Owen Taylor <otaylor@redhat.com>
1975 reviewed by: Keith Packard <keithp@keithp.com>
1977 * fc-cache/fc-cache.c: (main):
1978 Sleep for two seconds before exiting to make sure timestamps
1979 for future changes have distinct mod times in the file system.
1982 Add Punjabi orthography. Bug #1671.
1984 2004-12-04 Keith Packard <keithp@keithp.com>
1987 Just remove the FC_FONTDATE -- it has locale issues and
1988 annoys redhat multi-arch installs. Now that all X fonts are
1989 included without prejudice, the chances of the date being at
1990 all interesting are rather limited. Bug #505.
1992 Add copyright and license
1994 2004-12-04 Keith Packard <keithp@keithp.com>
1997 Change default set of fonts to include all of
1998 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1999 * doc/fontconfig-user.sgml:
2000 Document new <include>directory-name</include> semantics
2002 add <include ignore_missing="yes">conf.d</include>
2004 Add selectfont to ignore bitmap fonts, add comment for
2005 selectfont which accepts bitmap fonts.
2008 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2009 Allow <include> configuration elements to reference directories.
2010 Parse and load all files of the form [0-9]* in sorted order.
2012 2004-12-04 Keith Packard <keithp@keithp.com>
2015 Report command line for $srcdir/configure accurately.
2018 2004-12-04 Keith Packard <keithp@keithp.com>
2020 * src/fcfreetype.c: (FcFreeTypeQuery):
2021 Check for non-empty face->family_name and face->style_name
2022 before using those for the font. Empty names match everything.
2025 2004-12-04 Keith Packard <keithp@keithp.com>
2028 * fontconfig/fontconfig.h:
2029 * src/fcfreetype.c: (FcFreeTypeQuery):
2031 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2032 available. This provides font file format information (BDF, Type 1,
2033 PCF, TrueType) for each font. Closes #109.
2035 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2037 reviewed by: Keith Packard <keithp@keithp.com>
2039 * doc/fontconfig-user.sgml:
2042 * fontconfig/fontconfig.h:
2043 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2044 (GetScriptTags), (FcFontCapabilities):
2046 Add detection for font capabilities (bug #105)
2048 2004-12-04 Keith Packard <keithp@keithp.com>
2051 Move existing fonts.conf to fonts.conf.bak
2054 Add detection of iconv
2056 * doc/fcpattern.fncs:
2057 * doc/fontconfig-devel.sgml:
2058 * doc/fontconfig-user.sgml:
2060 Document new selectfont elements
2063 Switch to UTF-8 in comment
2065 * fontconfig/fontconfig.h:
2067 Add fullname, and family/style/fullname language entries
2069 * src/fccache.c: (FcCacheFontSetAdd):
2070 * src/fcdir.c: (FcFileScanConfig):
2071 Respect selectfont/*/glob
2074 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2075 (FcConfigCompareValue), (FcConfigPatternsAdd),
2076 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2077 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2078 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2079 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2080 Add support for selectfont
2082 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2083 (FcStringInPatternElement), (FcFreeTypeQuery):
2084 Add multi-lingual family/style/fullname support
2086 * src/fclist.c: (FcListPatternMatchAny):
2087 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2089 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2090 (FcObjectStaticName):
2091 Add new FcPatternRemove/FcPatternAppend.
2092 FcObjectStaticName stores computed pattern element names which
2093 are required to be static.
2095 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2100 Remove spurious / after $(DESTDIR)
2102 2004-06-30 Keith Packard <keithp@keithp.com>
2106 * fontconfig/fontconfig.h:
2109 2004-06-30 Keith Packard <keithp@keithp.com>
2111 Provided by: Lubos Lunak <l.lunak@suse.cz>
2113 * src/fccfg.c: (FcConfigUptoDate):
2114 However FcConfigUptoDate() doesn't seem to work. See the attached
2115 patch. First there's an obvious misplaced parenthesis making it
2116 return always false, and second, even this call fails to detect font
2117 changes (e.g. adding a new font to
2118 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2119 well. The problem seems to be triggered by my fonts.conf specifying
2120 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2121 doesn't include subdirs, unlike config->fontDirs.
2123 2004-06-03 Keith Packard <keithp@keithp.com>
2125 * fontconfig/fontconfig.h:
2126 Remove comma at end of FcResult enum definition.
2128 2004-05-29 Keith Packard <keithp@keithp.com>
2131 Add steps to md5sum release
2133 2004-05-29 Keith Packard <keithp@keithp.com>
2137 * fontconfig/fontconfig.h:
2140 2004-05-29 Keith Packard <keithp@keithp.com>
2142 * fontconfig/fontconfig.h:
2143 * src/fcmatch.c: (FcFontSetMatch):
2144 Add FcResultOutOfMemory to provide an accurate error when
2145 FcFontSetMatch fails in this way
2148 Make #warning about lacking various FreeType features indicate
2149 which version those features appeared so users know how to
2150 fix the problem (Thanks to Anton Tropashko)
2152 2004-05-05 Keith Packard <keithp@keithp.com>
2154 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2155 Replace MIN/MAX/ABS macros which happen to have come
2156 from FreeType with fontconfig-specific ones (FC_*)
2158 2004-04-23 Keith Packard <keithp@keithp.com>
2161 Extend release preparation instructions to include
2162 notification and distribution steps
2164 2004-04-23 Keith Packard <keithp@keithp.com>
2168 * fontconfig/fontconfig.h:
2169 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2171 2004-04-23 Keith Packard <keithp@keithp.com>
2174 Ignore a few more autotool files
2176 2004-04-14 Keith Packard <keithp@keithp.com>
2179 Add instructions for doing a release
2181 * fontconfig.spec.in:
2182 clean up .spec file; perhaps this will be useful to somebody...
2186 * fontconfig/fontconfig.h:
2189 * fc-lang/fc-lang.c:
2190 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2192 * fc-glyphname/Makefile.am:
2193 * fc-lang/Makefile.am:
2194 * fc-list/Makefile.am:
2195 * fc-match/Makefile.am:
2197 Add WARN_CFLAGS to pass -W flags for GCC systems
2199 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2200 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2201 Change various char types around to match across
2203 Fixed bug in using available_sizes[i].height which
2204 is in pixels, not 64ths of a pixel.
2206 2004-03-06 Keith Packard <keithp@keithp.com>
2208 * src/fcfreetype.c: (FcFreeTypeQuery):
2209 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2210 matches looking for explicit values prefer exact matches
2212 2004-03-02 Keith Packard <keithp@keithp.com>
2214 Supplied by: mfabian@suse.de (Mike FABIAN)
2216 * src/fcfreetype.c: (FcFreeTypeQuery):
2217 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2218 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2220 2004-02-21 Manish Singh <yosh@gimp.org>
2222 * fc-glyphname/fc-glyphname.c: (main):
2223 Cast strlen to int for printf, so we're 64-bit clean.
2225 2004-02-11 Keith Packard <keithp@keithp.com>
2228 * src/fcfreetype.c: (FcGetPixelSize):
2229 Ok, so I messed up the test for y_ppem. Let's see if I
2230 got it right this time.
2232 2004-02-10 Keith Packard <keithp@keithp.com>
2235 * src/fcfreetype.c: (FcGetPixelSize):
2236 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2237 FT_Bitmap_Size record. Add a configure.in test for this
2238 and change the code accordingly (using height instead).
2240 2004-02-06 Keith Packard <keithp@keithp.com>
2243 Add Low Saxon orthography
2244 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2246 * src/fccfg.c: (FcConfigNewestFile):
2247 Oops. Left 'newest.set' unset, which would miscompute
2250 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2251 (FcFreeTypeCheckGlyph):
2252 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2253 font properties (which report the wrong value in current FreeType)
2255 Don't attempt to check for empty glyphs in non-scalable fonts; they
2258 2004-02-01 Tor Lillqvist <tml@iki.fi>
2260 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2261 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2262 cache if config->cache is NULL, which happens if FcConfigHome() is
2263 NULL. Guard against that by using the temp folder in that case.
2265 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2267 * fc-lang/az_ir.orth:
2268 * fc-lang/ku_ir.orth:
2269 * fc-lang/ps_af.orth:
2270 * fc-lang/ps_pk.orth:
2271 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2272 (Afghan and Pakistani).
2274 Updated Urdu orthography with real data.
2276 2003-12-11 Carl Worth <cworth@east.isi.edu>
2278 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2281 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2283 (all-local): Remove excessive whitespace.
2285 * autogen.sh: Add 'set -e' to abort when any program fails,
2286 (avoids printing of 'now type make' after configure aborts).
2288 2003-11-17 Eric Christopherson <rakko@charter.net>
2290 reviewed by: Keith Packard <keithp@keithp.com>
2293 * fontconfig/fcfreetype.h:
2295 Switch to FreeType 2.1.7 style includes. Bug #150.
2297 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2299 * fc-list/fc-list.sgml: Add some example usages.
2301 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2304 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2307 2003-10-27 Keith Packard <keith@keithp.com>
2310 * fontconfig/fontconfig.h:
2311 Update to version 2.2.92
2313 2003-10-27 Keith Packard <keithp@keithp.com>
2318 * fc-cache/Makefile.am:
2319 * fc-glyphname/Makefile.am:
2320 * fc-lang/Makefile.am:
2321 * fc-list/Makefile.am:
2322 * fc-match/Makefile.am:
2325 Yet more cleanups to finish getting 'make distcheck' working
2326 This has been tested to ensure that it even works from a _build
2329 2003-10-26 Keith Packard <keithp@keithp.com>
2333 * fc-cache/Makefile.am:
2334 * fc-glyphname/Makefile.am:
2335 * fc-lang/Makefile.am:
2336 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2337 * fc-list/Makefile.am:
2338 * fc-match/Makefile.am:
2339 Attempts to fix 'make distcheck' work. Things are
2340 progressing pretty well, but there are still failures
2341 long into the process dealing with docs (as always).
2343 The big changes here are mostly to make $(srcdir) != "."
2344 work correctly, fixing the docbook related sections and
2345 fc-lang were particularily tricky. Docbook refuses to load
2346 system entities from anywhere other than where the original .sgml
2347 file was located, so no luck looking in "." for the
2348 configure-generated version.sgml and confdir.sgml files.
2350 fc-lang needed help finding .orth files; added a -d option
2351 to set the directory as the least evil of many options.
2353 Now to go use a faster machine and try and wring out the last
2356 2003-10-26 Keith Packard <keithp@keithp.com>
2360 2003-10-26 Keith Packard <keithp@keithp.com>
2363 Include confdir.sgml.in in EXTRA_DIST
2365 2003-10-09 Josselin Mouette <joss@debian.org>
2367 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2368 * fc-list/fc-list.sgml fc-list/Makefile.am:
2369 Replace fc-cache and fc-list manpages with more detailed, SGML
2372 2003-09-23 Owen Taylor <otaylor@redhat.com>
2374 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2375 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2376 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2379 2003-09-23 Owen Taylor <otaylor@redhat.com>
2381 * fc-lang/ka.orth: Remove Georgian capitals, they
2382 aren't used for normal writing. (Bug #116)
2384 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2386 * doc/fontconfig-devel.sgml:
2387 * doc/fontconfig-user.sgml:
2388 * fontconfig/fontconfig.h:
2390 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2391 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2393 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2394 monospace and dual-width fonts, allow roughly a 3% variance in the
2397 2003-08-31 Manish Singh <yosh@gimp.org>
2399 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2402 2003-08-15 Carl Worth <cworth@isi.edu>
2404 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2405 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2407 * src/fcpat.c (FcValueListEntDestroy): New function to support
2408 FcFini memory cleanup. Some statistics are not kept in
2410 (FcValueListFreeze): Move hashTable outside this function so it
2411 can be accessed by FcValueListThawAll.
2412 (FcValueListThawAll): New function complements FcValueListFreeze.
2413 (FcPatternBaseFreeze): Move hashTable outside this function so it
2414 can be accessed by FcPatternBaseThawAll.
2415 (FcPatternBaseThawAll): New function complements
2416 FcPatternBaseFreeze.
2417 (FcPatternThawAll): New function complements FcPatternFreeze.
2419 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2421 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2422 allocated FcCharLeafEnt "blocks" so they can be freed later.
2423 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2424 can be accessed by FcCharSetThawAllLeaf.
2425 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2426 (FcCharSetFreezeBase): Move hashTable outside this function so it
2427 can be accessed by FcCharSetThawAll.
2428 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2430 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2431 (FcConfigDestroy): Fic leak of FcBlanks.
2433 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2434 (main): Add call to FcFini when finished.
2436 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2437 static. Add prototypes.
2439 * doc/fcinit.fncs: Add documentation for FcFini function.
2441 * doc/edit-sgml.c: Mark several local functions as static. Add
2444 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2446 2003-06-15 Tor Lillqvist <tml@iki.fi>
2448 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2449 before comparing (needed on Windows).
2451 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2453 2003-06-13 Tor Lillqvist <tml@iki.fi>
2455 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2458 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2459 WINDOWSFONTDIR token.
2461 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2462 end, not to confuse libtool, which expects the EXPORTS line to be
2463 the first. Add FcConfigEnableHome.
2465 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2466 built as a DLL on Win32.
2468 2003-06-09 Keith Packard <keithp@keithp.com>
2470 * Tag version 2.2.90
2472 2003-06-09 Keith Packard <keithp@keithp.com>
2474 * Optimization in FcLangSetIndex was broken, occasionally
2475 returning a pointer to the wrong location on miss
2477 * Add fc-match to test font matching from the command line.
2479 2003-05-31 Keith Packard <keithp@keithp.com>
2481 * (Bug 85) add support for culmus fonts
2482 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2483 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2485 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2487 * Fix "contains" op for strings and langsets.
2489 2003-05-17 Keith Packard <keithp@keithp.com>
2491 * Fix build error with BDF prop local. Free langset after query
2493 2003-05-14 Keith Packard <keithp@keithp.com>
2495 * Extract spacing from XLFD atom
2497 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2499 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2500 disappeared in 1.30.
2502 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2504 2003-05-12 Keith Packard <keithp@keithp.com>
2506 * Use FcIsWidth to share code
2508 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2509 misclassifying some Han fonts as monospaced.
2511 2003-05-07 Keith Packard <keithp@keithp.com>
2513 * Add filename-based accept/reject to ammend available fonts.
2515 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2516 older FreeType releases.
2518 2003-05-06 Keith Packard <keithp@keithp.com>
2520 * Remove 0b82 and Tamil numbers from tamil
2521 orthography (Jungshik Shin <jshin@mailaps.org>)
2523 2003-05-04 Keith Packard <keithp@keithp.com>
2525 + Map glyph names in fonts with adobe custom encoding to unicode
2527 2003-05-02 Keith Packard <keithp@keithp.com>
2529 * Add FC_WEIGHT_BOOK as weight 75
2531 2003-04-30 Keith Packard <keithp@keithp.com>
2533 * Typo in bitstream foundry name
2535 2003-04-24 Keith Packard <keithp@keithp.com>
2537 * Eliminate italic_angle check for PS fonts
2539 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2541 * Getting closer to fixing /etc/fonts hard-coding.
2543 2003-04-22 Keith Packard <keithp@keithp.com>
2545 * Update autogen.sh to work with newer automake versions
2546 * Handle pattern elements moving during multiple edits
2548 2003-04-23 James Henstridge <james@daa.com.au>
2550 * doc/fontconfig-devel.sgml: close the <para> element.
2552 * doc/fcpattern.fncs: close the <para> element.
2554 * doc/func.sgml: close the <refsynopsisdiv> element.
2556 2003-04-22 Keith Packard <keithp@keithp.com
2558 * Update autogen.sh to work with newer automake versions
2559 * Handle pattern elements moving during multiple edits
2561 2003-04-17 Colin Walters <walters@debian.org>
2563 + Remove some unused variables, and initialize some other ones so
2564 gcc doesn't warn us.
2566 2003-04-16 Keith Packard <keithp@keithp.com>
2568 + tag version 2.1.94
2570 2003-04-16 Keith Packard <keithp@keithp.com>
2572 + add BDF property fetching support for foundry
2573 (from Juliusz Chroboczek)
2574 + add BDF property fetching support for width
2576 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2578 + Implemented foundry generation for Type 1 and TrueType
2580 2003-04-11 Gerard Escalante <g2@magestudios.net>
2582 + Retrieve information from Type1 FontInfo dictionaries
2584 2003-04-07 Colin Walters <walters@verbum.org>
2586 + src/Makefile.am: Fix dummy makefile target names when
2587 MS_LIB_AVAILABLE isn't set.
2589 2003-03-22 Tor Lillqvist <tml@iki.fi>
2591 Changes for Windows:
2593 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2595 + We don't want to hardcode the fonts.conf file location in the
2596 DLL, so we look up the DLL location at run-time in a DllMain()
2597 function. The fonts.conf location is deduced from that.
2599 + The colon can't be used as path separator on Windows,
2600 semicolon is used instead. File path components can be separated
2601 with either slash or backslash. Absolute paths can also begin
2602 with a drive letter.
2604 + Add internal function FcStrLastSlash that strrchr's the last
2605 slash, or backslash on Windows.
2607 + There is no link() on Windows. For atomicity checks, mkdir a
2608 lock directory instead.
2610 + In addition to HOME, also look for USERPROFILE.
2612 + Recognize the special font directory token WINDOWSFONTDIR, to
2613 use the system's font directory.
2615 + Remove the fontconfig-def.cpp that was obsolete. Add
2616 fontconfig.def(.in), without internal functions.
2618 + Add a fontconfig-zip(.in) script, used to build a binary
2621 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2622 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2623 to main package and man3/* to devel package
2625 + Added missing defattr(-, root, root) to main RPM package
2627 + Added HTML and text development documentation to -devel subpackage
2629 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2630 + Added back the configure macro options --disable-docs, otherwise
2631 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2632 version number) unconditionally, causing RPM to fail the build due
2633 to _unpackaged_files_terminate_build. We pick up the pregenerated
2634 docs with %doc already.
2636 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2637 + Removed commented out rpm macro define at top of spec file,
2638 replacing it with a simple explanation, since rpm macros are
2639 expanded by rpm even in comments.
2641 + Changed /usr/bin to _bindir in BuildRequires lines
2643 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2645 + Reorganized file manifest lists
2647 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2649 + fontconfig.spec.in: Improvements from Red Hat spec file.
2651 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2653 + docs/*.sgml: SGML fixes.
2655 Sat Mar 1 17:28:53 PST 2003 keithp
2656 + Ok, so the ChangeLog is a bit out of date
2658 + Lots of bugs fixed; most are in bugzilla, the
2659 biggest problems were in cache management where
2660 Owen discovered the library would lose badly when
2661 combining fonts-cache and ~/.fonts-cache data
2663 + Converted from autoconf to automake. This after
2664 getting patches accepted into libtool to allow
2665 the '-version-number' argument which lets
2666 packages set version numbers explicitly rather
2667 than the roundabout libtool way
2669 + Converted documentation to SGML using the docbook
2670 DTD. Now .txt and .html documents are installed
2671 in /usr/share/doc/fontconfig and there's no
2672 man page. Perhaps a man version can be written
2675 Sat Aug 31 15:21:22 PDT 2002 keithp
2676 + Xrender and Xft had several bugs related to
2677 rendering manually placed or poly-face text
2679 + Added more complete memory tracing in fontconfig
2680 Checked with (patched) mozilla and found no leaks
2682 + Updated Latin orthographies by comparing those from
2683 evertype.com with those from eki.ee. Tried to make
2684 sensible choices, including chars that occured in both
2685 and leaving some optional chars out that occured only
2688 Mon Aug 26 16:33:04 PDT 2002 keithp
2689 + Owen discovered that FcLangSetHasLang wasn't actually
2690 checking the language set.
2692 Mon Aug 26 13:37:23 PDT 2002 keithp
2693 + Append a version number to cache filenames
2695 Thu Aug 22 11:36:18 PDT 2002 keithp
2697 + Add "contains" and "not_contains" operators and elements to
2700 + Changed semantics of eq operator for LangSets to check for
2701 FcLangEqual so that any match will do
2703 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2704 of FcValueEqual to check for identical values when inserting into
2705 the results. This broke when the above semantic change was made,
2706 now it uses FcValueEqual which is "more correct" in any case.
2708 Thu Aug 22 00:32:29 PDT 2002 keithp
2710 + Reimplement FC_LANG as new datatype. Lists of strings
2711 was consuming over a megabyte of memory for 401 fonts.
2713 + Freeze patterns loaded from cache files. This shares
2714 common value lists and common patterns which saves
2715 considerable memory.
2717 + Change the denotation of 'constant' charsets to use special
2718 ref value instead of separate boolean.
2720 + Clean up leak tracing stuff, found several unannoted alloc/free
2723 Tue Aug 20 16:17:37 PDT 2002 keithp
2725 + Fix memory leak when parsing matrices from XML
2727 Mon Aug 19 11:57:27 PDT 2002 keithp
2729 + Fix autoconf files to pass FONTCONFIG_PATH on
2730 compile line so that ${prefix} gets substituted
2733 + Use getc_unlocked/putc_unlocked on systems that
2734 provide them to avoid damage done to stdio by posix
2736 + Eliminate FC_PATTERN and FcTypePattern in favor of
2737 an extended api for FcConfigSubstitute which takes
2738 both the font and the pattern.
2740 + Add 'sans serif' alias for 'sans-serif' as some apps
2741 can't handle hyphens in family names
2743 + Eliminate pretense of support for libxml2
2745 + Comment origins of Han orthographies
2747 Tue Jul 30 18:37:09 PDT 2002 keithp
2749 + Add binding property to edit element so that strong
2750 binding values may be inserted by the config file.
2751 The default remains weak.
2753 Sun 28 Jul 04:16:55 PDT 2002 keithp
2755 + Tagged release candidate 1 in the CVS tree and
2756 placed fcpackage.rc1.tar.gz for distribution
2758 Thu Aug 1 08:55:08 PDT 2002 keithp
2760 + Fixed autoconf builds to always specify install
2761 target files (for BSD). Also fixed to
2762 define FONTCONFIG_PATH in config.h so that
2763 nonstandard installs will actually work.