1 2006-02-13 Patrick Lam <plam@mit.edu>
2 * src/fcfreetype.c (FcFreeTypeQuery):
4 Fix memory leak in error condition code.
6 2006-02-13 Mike Fabian <mfabian@suse.de>
8 * src/fcfreetype.c (FcFreeTypeQuery):
10 Skip bitmap fonts which can't even get it together enough to
11 declare a family name; this appears to reproduce previous
14 2006-02-10 Takashi Iwai <tiwai@suse.de>
16 * src/fccache.c (FcDirCacheOpen):
18 Try to open /var/cache/fontconfig/[hashed name] before
19 fonts.cache-2 in a directory, because /var/cache/fontconfig
20 failures ought to be fixable, unlike fonts.cache-2 failures,
21 which may leave you screwed.
23 2006-02-10 Takashi Iwai <tiwai@suse.de>
25 * src/fcmatch.c (FcFontSetMatch):
27 Use a tri-state to mark the fonts which didn't get blocked but
28 were just missing an element, to distinguish them from the
29 fonts that do match the element.
31 2006-02-10 Takashi Iwai <tiwai@suse.de>
33 * src/fcmatch.c (FcFontSetMatch):
35 Don't kill fonts because they don't declare an element that's
38 2006-02-09 Patrick Lam <plam@mit.edu>
39 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
40 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
42 Define and pass O_BINARY to open if appropriate, for those
43 platforms that need it. Reported by Doodle.
45 2006-02-09 Patrick Lam <plam@mit.edu>
46 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
49 Fix problem with missing 'en' due to euro.patch: change
50 cache file format slightly to coincide with that generated
53 2006-02-07 Patrick Lam <plam@mit.edu>
54 * src/fccache.c (FcCacheReadDirs):
58 2006-02-07 Patrick Lam <plam@mit.edu>
59 * src/fcdir.c (FcDirScanConfig):
61 Don't reject dirs that can't be normalized (fixes lilypond, and
62 is correct in the context of application font directories.)
64 2006-02-07 Takashi Iwai <tiwai@suse.de>
67 * src/fccache.c (FcCacheReadDirs):
69 Use normalized directory name exclusively in FcCacheReadDirs.
71 2006-02-07 Dirk Mueller <dmueller@suse.com>
74 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
76 Perf optimizations. Inline FcValueCanonicalize,
77 reduce FcValueListPtrU usage, remove redundant cast.
79 2006-02-07 Takashi Iwai <tiwai@suse.de>
82 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
85 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
86 Declare extern for static arrays as arrays, not pointers.
87 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
89 2006-02-07 Dirk Mueller <dmueller@suse.com>
102 Add Euro sign to list of symbols required by European languages.
104 2006-02-07 Patrick Lam <plam@mit.edu>
105 * src/fccache.c (FcCacheReadString):
107 Fix hidden variable warning.
109 2006-02-07 Dirk Mueller <dmueller@suse.com>
112 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
114 Remove de-escaping logic because FcCacheWriteString
115 doesn't escape anyway. Do blockwise reading instead
116 of byte-wise for performance.
118 2006-02-06 Patrick Lam <plam@mit.edu>
119 Takashi Iwai <tiwai@suse.de>
121 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
123 Don't loop infinitely on recursive symlinks (client-side).
125 2006-02-06 Takashi Iwai <tiwai@suse.de>
127 * fc-cache/fc-cache.c (scanDirs, main):
129 Don't loop infinitely on recursive symlinks.
131 2006-02-06 Takashi Iwai <tiwai@suse.de>
133 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
134 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
135 FcGlobalCacheSave, FcCacheReadDirs):
138 Skip subdirs when skipping over stale bits of global cache.
139 Introduce state machine into FcGlobalCacheDir to avoid
140 doing inappropriate operations on global dir entries, e.g.
141 writing out an out-of-date cache entry.
143 2006-02-06 Takashi Iwai <tiwai@suse.de>
145 * src/fcdir.c (FcFileScanConfig):
147 Hoist FcFileIsDir check out of FcFileScanConfig loop.
149 2006-02-06 Takashi Iwai <tiwai@suse.de>
152 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
153 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
155 Don't rescan when trying to normalize a non-declared font dir.
156 Don't add font dirs multiple times (even if they're aliased).
158 2006-02-06 Dirk Mueller <dmueller@suse.de>
161 * src/fcfs.c (FcFontSetUnserialize):
163 Explain apples/oranges comparison and fix compilation error.
165 2006-02-06 Dirk Mueller <dmueller@suse.de>
168 * src/fcfs.c (FcFontSetUnserialize):
170 Insert check for integer overflow in # of fonts.
172 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
176 * fc-cache/Makefile.am:
177 * fc-cat/Makefile.am:
178 * fc-list/Makefile.am:
180 Make 'make distcheck' work with automake 1.6.3.
182 2006-02-03 Takashi IWAI <tiwai@suse.de>
185 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
188 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
189 FcDirCacheConsume, FcDirCacheWrite)
190 * src/fcxml.c (FcConfigMessage):
192 Check I/O call return values and eliminate unused variable
195 2006-02-03 Takashi Iwai <tiwai@suse.de>
198 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
202 2006-02-03 Dirk Mueller <dmueller@suse.de>
205 * src/fcfs.c (FcFontSetUnserialize):
207 Gracefully handle the case where a cache asserts that it
208 has a negative number of fonts, causing overflow.
210 2006-02-03 Patrick Lam <plam@mit.edu>
211 * src/fccache.c (FcDirCacheUnlink):
213 Fix double free in error case.
215 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
216 Stephan Kulow <coolo@suse.de>
219 * fc-cache/Makefile.am:
221 Replace 'stamp' target with mkinstalldirs.
223 2006-01-31 Mike Fabian <mfabian@suse.de>
226 * src/fccache.c (FcGlobalCacheLoad):
228 Toast broken global cache files.
230 2006-01-30 Patrick Lam <plam@mit.edu>
231 * src/fccache.c (FcGlobalCacheReadDir):
233 Actually use the directories that I added to the global cache.
236 2006-01-30 Mike Fabian <mfabian@suse.de>
239 * fc-cache/fc-cache.c (scanDirs):
241 Don't stop scanning if a directory in fonts.conf doesn't
242 exist, because subsequent directories might exist.
244 2006-01-30 Patrick Lam <plam@mit.edu>
245 * src/fccache.c (FcGlobalCacheLoad):
247 Make global cache work again after putting dir names into global
248 cache (I misplaced the recording of a file offset).
250 2006-01-30 Patrick Lam <plam@mit.edu>
251 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
253 Update fc-cat to handle subdir lists in global cache file.
255 * src/fccache.c (FcGlobalCacheLoad):
257 Another FcCacheReadString return value check.
259 2006-01-30 Mike Fabian <mfabian@suse.de>
262 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
263 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
265 Make fccache more resilient to broken cache files by checking
266 return value of FcCacheReadString all the time.
268 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
271 * fc-match/fc-match.1:
272 * fc-lang/fc-lang.man:
274 Remove references to dead fontconfig(3) manpages in
275 other fontconfig manpages.
277 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
280 * doc/fcpattern.fncs:
282 Fix world's tiniest typo in code example.
284 2006-01-29 Mike Fabian <mfabian@suse.de>
287 * src/fccache.c (FcGlobalCacheReadDir):
289 Fix global cache reads of subdirectories.
291 2006-01-29 Patrick Lam <plam@mit.edu>
293 Add documentation for FcConfigNormalizeFontDir.
295 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
296 FcGlobalCacheUpdate, FcGlobalCacheSave):
297 * src/fcdir.c (FcDirScanConfig):
300 Write directory information to global caches to fix make check
301 (reported by Ronny V. Vindenes). This changes the global cache
304 2006-01-27 Patrick Lam <plam@mit.edu>
305 * fc-cache/fc-cache.c (scanDirs):
306 * fontconfig/fontconfig.h:
308 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
310 Move FcConfigNormalizeFontDir call so that it doesn't result in
311 infinite recursion (reported by Ronny V. Vindenes).
313 2006-01-26 Patrick Lam <plam@mit.edu>
314 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
315 * src/fccfg.c (FcConfigNormalizeFontDir):
317 Add a couple of missing normalizations to make fc-cache work
318 right; only scan subdirectories once.
320 2006-01-26 Mike Fabian <mfabian@suse.de>
323 * src/fcacache.c (FcGlobalCacheReadDir):
325 Don't crash on non-existant directories in global cache.
327 2006-01-26 Patirck Lam <plam@mit.edu>
328 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
329 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
330 * src/fcdir.c (FcDirScanConfig):
331 * src/fcxml.c (FcEndElement):
333 Stop trampling the directory name when writing out caches.
334 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
335 subdirs when necessary. Don't scan directories that can't be
338 2006-01-25 Patrick Lam <plam@mit.edu>
339 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
340 * src/fccfg.c (FcConfigEvaluate):
341 * src/fcfreetype.c (FcPatternAddWithBinding):
343 Fix additional memory leaks reported by Ronny V. Vindenes: don't
344 invoke FcValueSave on hashed static strings in
345 FcPatternAddWithBinding.
347 Add another st_dev check in FcDirCacheOpen.
349 2006-01-24 James Su <james.su@gmail.com>
352 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
353 * fc-lang/zh_hk.orth:
355 Treat zh-hk fonts differently from zh-tw fonts. This patch may
356 cause fontconfig to treat A-X fonts differently from A-Y fonts;
357 please mail the fontconfig list if this causes any problems.
359 2006-01-24 Patrick Lam <plam@mit.edu>
360 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
361 * src/fcfreetype.c (FcFreeTypeQuery):
363 Fix memory leaks reported by Ronny V. Vindenes.
365 2006-01-19 Andreas Schwab <schwab@suse.de>
368 * src/fcpat.c (FcStrNeededBytes):
370 Fix for unaligned memory accesses.
372 2006-01-18 Mike Fabian <mfabian@suse.de>
375 * src/fcdir.c (FcDirScanConfig):
377 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
378 calls to avoid crashes.
380 2006-01-14 Patrick Lam <plam@mit.edu>
381 * src/fccache.c (FcDirCacheConsume):
383 Fix segfault when consuming zero-length caches in fc-cat
384 (which has no config, so FcConfigAddFontDir shouldn't be called.)
386 2006-01-14 Patrick Lam <plam@mit.edu>
387 * fc-cache/fc-cache.c (scanDirs):
388 * fontconfig/fontconfig.h:
389 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
390 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
391 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
392 * src/fcdir.c (FcDirScanConfig):
395 Compare device numbers as well as inodes.
396 Always normalize directory names before comparing them.
398 2006-01-11 Mike Fabian <mfabian@suse.de>
401 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
403 Allocate extra space for appended '/' in directory name.
405 2006-01-10 Patrick Lam <plam@mit.edu>
406 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
407 FcDirCacheValid, FcDirCacheHasCurrentArch,
408 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
409 * fc-cache/fc-cache.c (main):
411 Explicitly add font dirs to config.fontDirs even if they're empty.
412 Set current config in fc-cache.c.
413 Fix treatment of cache directory as read from cache file; don't
414 use string equality to determine if we have the right file,
417 2006-01-09 Patrick Lam <plam@mit.edu>
418 * fc-cache/fc-cache.c (scanDirs):
419 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
420 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
421 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
422 * src/fccfg.c (FcConfigNormalizeFontDir):
423 * src/fcdir.c (FcDirScanConfig):
426 Normalize font dirs by using the form, as given in fonts.conf, and
427 recorded in FcConfig's fontDirs string set, as canonical.
429 Actually update config.fontDirs as font directories are scanned.
431 2006-01-08 James Su <james.su@gmail.com>
432 * src/fcmatch.c (FcFontSetMatch):
434 Fix matching bug when multiple elements match; don't use
435 the sum of all scores, but the best score.
437 Also more perf opts, e.g. evaluate best over all font sets
438 rather than on a per-set basis (and other changes).
440 2006-01-08 Patrick Lam <plam@mit.edu>
441 * src/fccache.c (FcDirCacheConsume):
443 Properly skip past dir caches that contain zero fonts (as occurs
444 in global caches.) Reported by Mike Fabian.
446 2006-01-06 Patrick Lam <plam@mit.edu>
447 * src/fcdbg.c (FcPatternPrint):
449 Print out full pathname in fc-match -v as well. Reported by
452 2006-01-06 Mike Fabian <mfabian@suse.de>
455 * src/fcname.c (FcNameParse):
457 Fix bug where fc-match crashes when given __DUMMY__ property to
460 (I added the __DUMMY__ string to enable callers of
461 FcObjectToPtrLookup to distinguish an error return from a
462 successful return. -PL)
464 2006-01-05 Patrick Lam <plam@mit.edu>
467 Add self to AUTHORS list.
469 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
470 FcCacheFileRead, FcCachePrintSet, main):
471 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
472 FcGlobalCacheSave, FcCacheNextOffset,
473 FcDirCacheHasCurrentArch, FcDirCacheRead,
474 FcDirCacheConsume, FcDirCacheWrite):
476 * src/fcpat.c (comment):
478 Minor change to global cache file format to fix fc-cat bug
479 reported by Frederic Crozat, and buglet with not globally caching
480 directories with zero fonts cached.
482 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
485 * src/fccfg.c (FcConfigEvaluate):
487 Fix double-free which occurs because FcValueCanonicalize doesn't
488 create an extra copy of the returned value, it only canonicalizes
491 2006-01-02 Patrick Lam <plam@mit.edu>
492 * doc/fontconfig-user.sgml:
494 Fix version of .cache file (currently 1 -> currently 2). Reported
497 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
500 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
502 Shut up GCC warnings on amd.
504 2005-12-20 Patrick Lam <plam@mit.edu>
508 * fontconfig/fontconfig.h:
510 Bump version to 2.3.93.
512 2005-12-20 Patrick Lam <plam@mit.edu>
513 * src/fccharset.c (FcLangCharSetPopulate):
514 * src/fcint.h (FcCacheBankToIndex):
516 Avoid check on _fcBankId nullness and fix case where it used to
519 2005-12-20 Patrick Lam <plam@mit.edu>
520 * src/fcxml.c (FcConfigParseAndLoad):
522 Use open instead of fopen (requested by Phil Race for Sun).
524 2005-12-20 Patrick Lam <plam@mit.edu>
525 * src/fccache.c (FcDirCacheWrite);
526 * fc-cache/Makefile.am:
528 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
531 2005-12-20 Patrick Lam <plam@mit.edu>
532 * src/fcfreetype.c (FcFreeTypeQuery):
534 Restore code to skip over PCF fonts that have no encoded
536 (We guess that a font is PCF by presence of the PIXEL_SIZE
539 2005-12-12 Patrick Lam <plam@mit.edu>
540 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
542 Read and write the original location as a fallback for the
543 hashed cache file locations. This is mostly for users to be
544 able to have per-directory cache files.
546 2005-12-12 Patrick Lam <plam@mit.edu>
547 * fc-cache/fc-cache.c (scanDirs):
548 * fc-cache/Makefile.am:
549 * src/fccache.c (FcDirCacheHashName):
551 Improve error message when fc-cache can't write the cache. Add
552 missing slash. Reported by Behdad. Incorporate Behdad's patch to
553 create /var/cache/fontconfig when appropriate.
555 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
558 * src/fcxml.c (FcConfigGetAttribute):
560 Fix crash reported by Frederic Crozat when using libxml2.
562 2005-12-09 Patrick Lam <plam@mit.edu>
565 * fc-cache/Makefile.am:
566 * fc-cat/Makefile.am:
568 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
569 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
570 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
571 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
572 FcDirCacheHasCurrentArch, FcDirCacheHashName,
573 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
575 Migrate cache files from fonts directories to
576 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
577 but requires that all caches get rebuilt.
579 Also, autogen.sh now needs the additional parameter
580 --localstatedir=/var.
582 2005-12-07 Patrick Lam <plam@mit.edu>
583 * src/fcpat.c (FcPatternAddString):
585 Because we've changed FcPatternAddString to use FcStrStaticName
586 and not FcValueSave, explicitly handle the case of a null string.
588 2005-12-06 Patrick Lam <plam@mit.edu>
589 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
593 2005-12-05 Patrick Lam <plam@mit.edu>
594 * src/fcname.c (FcNameGetObjectType):
596 Don't assign types to user object names.
598 2005-12-05 Patrick Lam <plam@mit.edu>
599 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
601 Don't free strings that have been returned from FcStrStaticName.
603 2005-12-01 Patrick Lam <plam@mit.edu>
604 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
606 Add codepath for reading global cache files as well.
608 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
611 * conf.d/10-fonts.persian.conf:
612 * conf.d/Makefile.am:
614 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
616 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
619 * src/fcxml.c (FcConfigParseAndLoad):
621 Only add a config file to the set of config files once.
623 2005-11-29 Patrick Lam <plam@mit.edu>
624 * src/fcint.h (FcCacheBankToIndex);
626 Fix segfault by guarding array dereference.
628 2005-11-29 Dirk Mueller <dmueller@suse.de>
632 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
633 FcCacheBankToIndex, FcCacheBankToIndexMTF,
637 Refactor FcCacheBankToIndex into an inlineable part
638 (in fcint.h) which checks the front of the list and a
639 non-inlineable part which finds and moves the appropriate element
640 to the front of the list.
642 2005-11-29 Patrick Lam <plam@mit.edu>
643 * src/fccfg.c (FcConfigBuildFonts):
644 * src/fccache.c (FcCacheReadDirs):
646 Make the perf guys hate me a bit less: hoist the directory-name
647 FcConfigAcceptFont check for cached fonts up to directory cache
648 read time, rather than running it for each font.
650 2005-11-29 Patrick Lam <plam@mit.edu>
651 * src/fccfg.c (FcConfigBuildFonts):
653 * src/fcpat.c (FcPatternFindFullFname):
655 Don't make FcPatternFindFullFname available to fccfg, it's not
656 really safe. Instead go through FcPatternGetString (sorry,
657 perf guys.) Also, use globs for dirs as well.
659 2005-11-28 Patrick Lam <plam@mit.edu>
660 * src/fccfg.c (FcConfigBuildFonts):
664 2005-11-28 Patrick Lam <plam@mit.edu>
666 * src/fcpat.c (FcPatternFindFullFname):
667 * src/fccfg.c (FcConfigBuildFonts):
669 Fix problem dating back at least to 2.3.2 where globs weren't
670 being applied to patterns loaded from a cache.
672 2005-11-28 Patrick Lam <plam@mit.edu>
673 * doc/fontconfig-user.sgml:
675 Fix some obvious spelling mistakes.
677 2005-11-28 Dirk Mueller <dmueller@suse.com>
678 Stephan Kulow <coolo@suse.de>
681 * src/fcmatch.c (FcFontSetMatch):
683 Don't kill all fonts during match (oops!)
686 2005-11-25 Dirk Mueller <dmueller@suse.com>
687 Stephan Kulow <coolo@suse.de>
688 Michael Matz <matz@suse.de>
691 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
694 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
695 inline FcCompare into FcFontSetMatch and reorder the
696 loops, adding a boolean array which blocks patterns from future
697 consideration if they're known to not be best on some past
700 2005-11-26 Dirk Mueller <dmueller@suse.com>
703 * src/fcmatch.c (FcCompareValueList):
707 2005-11-25 Patrick Lam <plam@mit.edu>
708 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
710 Don't do random matching when bad objects are passed into
713 2005-11-25 Patrick Lam <plam@mit.edu>
715 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
716 FcPatternSerialize, FcPatternUnserialize,
717 FcValueListEnsureBank, FcValueListDistributeBytes,
718 FcValueListUnserialize):
720 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
721 _fcPatternElts, _fcValueLists for consistency.
723 2005-11-25 Dirk Mueller <dmueller@suse.com>
728 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
730 2005-11-25 Patrick Lam <plam@mit.edu>
732 * src/fccache.c (FcDirCacheConsume):
733 * src/fccharset.c (FcCharSetUnserialize):
734 * src/fcfs.c (FcFontSetUnserialize):
735 * src/fclang.c (FcLangSetUnserialize):
736 * src/fcname.c (FcObjectUnserialize):
737 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
738 FcPatternUnserialize):
740 Pass around FcCache *s to the Unserialize functions for extra
741 consistency (and less overhead, for what that's worth).
743 2005-11-24 Dirk Mueller <dmueller@suse.com>
747 * src/fcmatch.c (FcCompare*, FcFontSetSort):
748 * src/fcname.c (FcNameUnparseValue):
750 Inline the *PtrU functions to gain perf.
751 Remove unneeded params for the FcCompare* functions.
753 2005-11-24 Dirk Mueller <dmueller@suse.com>
756 * src/fcint.h, fontconfig/fontconfig.h:
758 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
760 * src/fcpat.c, src/fcint.h, src/fcname.c:
762 Check for type validity during FcPatternAddWithBinding, don't
763 verify type in FcFontMatch, don't call FcCanonicalize here
764 (which always does a deep copy).
766 2005-11-24 Dirk Mueller <dmueller@suse.com>
769 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
770 * src/fcpat.c (FcPatternAddWithBinding):
772 Make FcCompareString and FcCompareFamily less expensive.
773 Only add a value for FC_FAMILY if the proposed value is a string.
775 2005-11-24 Dirk Mueller <dmueller@suse.com>
778 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
779 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
780 * src/fcint.h (FcDebug):
782 Inline FcDebug invocations and only initialize once, in FcInit*.
783 Improve debug msg in FcPatternPrint.
785 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
788 * fontconfig/fontconfig.h:
791 Minor code warning cleanups.
793 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
796 * fc-match/fc-match.c (main):
798 Make getopt_long accept -s parameter to fc-match as well.
800 2005-11-21 Dirk Mueller <dmueller@suse.com>
803 * src/fcmatch.c (FcCompareValueList):
805 Manually perform inlining & partial redundancy elimination to
806 reduce calls to FcValueListPtrU.
808 2005-11-21 Dirk Mueller <dmueller@suse.com>
811 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
812 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
814 Only invoke strlen() when really necessary.
816 2005-11-19 Matthias Clasen <mclasen@redhat.com>
820 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
825 Get rid of the use of freetype internal headers in fcfreetype.c,
826 since those headers will go away with freetype 2.2. Replace with
827 public domain ftglue code from pango. Note that the patch removes
828 some extra error checking in FT_Get_BDF_Property() and comments
829 out the skipping of empty pcf fonts.
831 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
834 * fc-lang/fc-lang.c (main):
836 Further fix of patch from 2005-11-04: miscounted numbers count
837 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
838 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
840 Removed leafidx_count and numbers_count since they are the same
841 and replaced them with offset_count.
843 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
846 * fc-cat/fc-cat.c (main):
848 Don't crash when fc-cat invoked with no arguments.
850 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
853 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
855 Fix invalid read access caused by premature free and
856 GCC4 warnings in libxml2 codepath.
858 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
861 * src/fccfg.c (FcConfigValues):
863 List iteration not needed in FcConfigValues, since it's building
864 up the list itself; we can just strip FcVoid elements during
867 2005-11-17 Patrick Lam <plam@mit.edu>
868 * src/fccfg.c (FcConfigValues):
870 Fix crash on invalid constants in config files (forgot to update
871 a pointer upon list iteration.)
873 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
876 * src/fcxml.c (FcTypecheckExpr):
878 Complain about invalid constants in config files.
880 2005-11-17 Andreas Schwab <schwab@suse.de>
883 * src/fccache.c (FcGlobalCacheSave):
885 Don't add current_arch_start more than once.
887 2005-11-16 Patrick Lam <plam@mit.edu>
888 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
889 * src/fcfs.c (FcFontSetUnserialize):
890 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
891 * src/fcpat.c (FcStrUnserialize):
893 Fix ordering of ALIGN with respect to saving block_ptr; add
894 another ALIGN to fcfs.c.
896 2005-11-16 Patrick Lam <plam@mit.edu>
897 * src/fccache.c (FcDirCacheProduce)
899 Fix case where alignment bytes bumped up metadata->count
900 causing unwarranted failures to write cache files.
901 (Reported by Stephan Kulow).
903 2005-11-16 Patrick Lam <plam@mit.edu>
904 * src/fccache.c (FcDirCacheProduce):
905 * src/fccharset.c (FcCharSetDistributeBytes):
906 * src/fcfs.c (FcFontSetDistributeBytes):
908 * src/fclang.c (FcLangSetDistributeBytes):
909 * src/fcname.c (FcObjectDistributeBytes):
910 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
913 Add *NeededBytesAlign(), which overestimates the padding which is
914 later added by the new ALIGN macro. Fix alignment problems on
915 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
916 version by Andreas Schwab).
918 2005-11-16 Stephan Kulow <coolo@kde.org>
923 Use sysconf to determine proper PAGESIZE value; this
924 appears to be POSIX-compliant. (reported by Andreas Schwab)
926 2005-11-04 Patrick Lam <plam@mit.edu>
932 Fix bug 2878 (excessive relocations at startup for charsets,
933 reported by Ross Burton): fc-lang/fc-lang now creates the
934 static form of the langset, not the dynamic form, so that
935 the charsets should now be in .rodata.
937 2005-11-04 Patrick Lam <plam@mit.edu>
938 * src/fcdir.c (FcDirScanConfig):
940 Add test for validity of directory caches that
941 somehow got lost (reported by make distcheck).
943 2005-11-04 Patrick Lam <plam@mit.edu>
947 * fontconfig/fontconfig.h:
949 Bump version to 2.3.92.
951 2005-11-02 Patrick Lam <plam@mit.edu>
952 * src/fcpat.c (FcPatternDuplicate):
954 Fix argument ordering problem in call to FcPatternTransferFullFname.
956 2005-11-02 Patrick Lam <plam@mit.edu>
957 * src/fcfreetype.c (FcFreetypeQuery):
958 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
959 FcPatternTransferFullFname):
961 Fix warnings and embarrassing double-free error.
963 2005-11-02 Zhe Su <zsu@novell.com>
968 Change the rule for artificial emboldening in fonts.conf.in. This
969 enables the support for artificial emboldening included in cairo.
971 2005-11-02 Patrick Lam <plam@mit.edu>
972 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
974 Don't zero out full names for FC_REF_CONSTANT fonts;
975 also, duplicate full names when transferring, and free
976 full names when freeing the associated font.
977 Reported by Jinghua Luo.
979 2005-11-02 Patrick Lam <plam@mit.edu>
980 * fc-cache/fc-cache.c (scanDirs):
981 * src/fcpat.c (FcValueListSerialize):
983 Revert the previous patch and commit the correct patch:
984 I forgot a canonicalization in FcValueListSerialize, so
985 that it would choke on already-serialized input files. Duh!
987 2005-11-02 Patrick Lam <plam@mit.edu>
988 * fc-cache/fc-cache.c (scanDirs):
990 Forcibly rescan a directory before writing a fresh local
991 cache file for that directory, fixing the losing-fonts
992 problem reported by Mike Fabian and also apparently the
993 font cache file corruption.
995 2005-11-02 Patrick Lam <plam@mit.edu>
996 * src/fccache.c (FcGlobalCacheLoad):
998 Fix thinko: actually, the whole global cache is stale
999 if the global cache is older than the (newest) config file.
1001 2005-11-02 Patrick Lam <plam@mit.edu>
1002 * src/fccache.c (FcGlobalCacheLoad):
1003 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1006 Declare the global cache of a directory's contents to be stale if
1007 the directory is newer than the (newest) configuration file.
1009 2005-10-31 Patrick Lam <plam@mit.edu>
1011 * src/fclist.c (FcListAppend):
1012 * src/fcmatch.c (FcFontRenderPrepare):
1013 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1014 FcPatternFreeze, FcPatternBaseFreeze):
1016 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1017 applications continue breaking.
1019 2005-10-31 Patrick Lam <plam@mit.edu>
1020 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1021 * src/fcfreetype.c (FcFreeTypeQuery):
1023 Fix small memory error (tried to free argv); use basename and
1024 dirname correctly (they can modify their arguments).
1026 2005-10-31 Patrick Lam <plam@mit.edu>
1034 Reinstate basename patch, but keep a hash table linking FcPatterns
1035 to their fully-qualified font names for clients' benefit. Clients
1036 only pay for the font names once they request the FC_FILE property
1037 from an FcPattern, but the font name is malloc'd at that point (i.e.
1038 not mmapped: that's impossible, since it may vary between machines.)
1039 Clients do have to pay for a copy of the path name per cache file.
1041 Note that FcPatternGetString now does some rewriting if you ask
1042 for an FC_FILE, appending the pathname as appropriate.
1044 2005-10-31 Patrick Lam <plam@mit.edu>
1045 * src/fcfreetype.c (FcFreeTypeQuery):
1047 Revert basename patch, which breaks fontconfig clients on my system.
1049 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1052 * fontconfig/fonts.conf.in:
1053 * fontconfig/fontconfig.h:
1057 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1058 to load embedded bitmaps or not.
1060 2005-10-25 Patrick Lam <plam@mit.edu>
1061 * src/fcfreetype.c (FcFreeTypeQuery):
1063 Only add basename to patterns' FC_FILE element, not any part of
1066 2005-10-22 Patrick Lam <plam@mit.edu>
1069 Add some more consts, fixing more GCC4 warnings.
1071 2005-10-22 Zhe Su <zsu@novell.com>
1074 Support localized font family and style names.
1075 This has been reported to break old apps like xfd, but modern
1076 (gtk+/qt/mozilla) apps work fine.
1078 2005-10-21 Patrick Lam <plam@mit.edu>
1079 * src/fccache.c (FcGlobalCacheLoad):
1081 Destroy the global cache file if it's terminally broken. (reported by
1084 2005-10-21 Patrick Lam <plam@mit.edu>
1085 * fc-list/fc-list.c (main):
1086 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1087 * fontconfig/fontconfig.h:
1089 Prevent fc-list from escaping strings when printing them (reported by
1092 2005-10-20 Marcus Meissner <meissner@suse.de>
1095 * fontconfig/fontconfig.h:
1097 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1099 2005-10-14 Ross Burton <ross@burtonini.com>
1102 * fc-glyphname/fc-glyphname.c:
1105 Add consts to variables so as to move arrays into .rodata.
1107 2005-10-14 Mike Fabian <mfabian@suse.de>
1110 * src/fccache.c (FcDirCacheUnlink):
1112 Check existence of directory cache file before attempting to unlink.
1114 2005-10-13 Patrick Lam <plam@mit.edu>
1115 * src/fccache.c (FcDirCacheUnlink):
1117 Fix flipped return value on unlink. (Reported by Mike Fabian)
1119 2005-10-12 Patrick Lam <plam@mit.edu>
1122 * src/fcdir.c (FcDirScanConfig):
1125 When fc-cache is run without --force, use directory cache files
1126 to speed up fc-cache run time. (Reported by Mike Fabian)
1128 2005-10-06 Patrick Lam <plam@mit.edu>
1130 * src/fcname.c (FcObjectToPtr):
1131 * src/fcpat.c (FcStrStaticName):
1133 Add padding to make valgrind and glibc not hate each other
1134 when calling strlen().
1136 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1137 reviewed by: plam & keithp
1141 Modify config file to use Greek fonts before Asian fonts with
1144 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1145 reviewed by: plam & keithp
1149 Use libtool -no-undefined flag on all platforms.
1151 2005-10-05 Patrick Lam <plam@mit.edu>
1152 * src/fccache.c (FcCacheHaveBank):
1154 Implement move-to-front array for banks (perf regression
1155 reported by Ronny V. Vindenes).
1157 2005-10-04 Patrick Lam <plam@mit.edu>
1158 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1159 FcDirCacheHasCurrentArch):
1160 * fc-cache/fc-cache.c (scanDirs):
1161 * fontconfig/fontconfig.h:
1163 Add new API which unlinks directory caches and checks dir caches
1164 for existence of appropriate sections. Fix fc-cache to unlink
1165 stale cache files and save directory caches that lack relevant
1168 2005-10-03 Patrick Lam <plam@mit.edu>
1169 * src/fccache.c (FcDirCacheValid):
1171 Ensure that a directory cache has the appropriate section
1172 before reporting that it is valid (reported by Matthias Clasen).
1174 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1182 Use libxml2 if requested (with --enable-libxml2) or if
1183 expat is not available.
1185 2005-09-29 Patrick Lam <plam@mit.edu>
1186 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1188 Fix multi-arch cache files: compute the position for the
1189 block to be added using info from OrigFile, not NewFile.
1191 2005-09-28 Patrick Lam <plam@mit.edu>
1192 * src/fccache.c (FcCacheMachineSignature):
1194 Cast results of sizeof() to unsigned int to get rid of
1195 warnings on x86_64 (thanks Matthias Clasen).
1197 2005-09-27 Patrick Lam <plam@mit.edu>
1198 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1201 Use FcAtomic to rewrite cache files.
1203 2005-09-27 Patrick Lam <plam@mit.edu>
1205 * src/fccache.c (FcDirCacheWrite):
1207 Don't unlink the fonts.cache-2 file even if there's no data
1208 to write; just write an empty cache file. (thanks Lubos Lunak)
1210 2005-09-27 Patrick Lam <plam@mit.edu>
1212 * src/fccache.c (FcDirCacheWrite):
1214 Allocate room for the subdirectory names in each
1215 directory cache. Thanks to James Cloos for finding
1216 and diagnosing this bug!
1218 2005-09-22 Patrick Lam <plam@mit.edu>
1220 * fc-cache/fc-cache.sgml:
1221 * src/fccache.c (FcDirCacheWrite):
1222 * src/fccache.h (struct FcCache):
1224 Update documentation -- fc-cache's man page now says that you
1225 need to run fc-cache once per cached architecture; add some
1226 documentation to the FcCache structure.
1228 Make fc-cache write out fonts.cache-2 files for directories with
1229 no fonts (i.e. only subdirectories).
1231 2005-09-22 Patrick Lam <plam@mit.edu>
1233 * fc-cache/fc-cache.sgml:
1234 * fc-case/fc-case.c:
1235 * fc-glyphname/fc-glyphname.c:
1241 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1245 * fc-lang/fc-lang.c:
1246 * fontconfig/fcprivate.h:
1247 * fontconfig/fontconfig.h:
1261 Implement new mmaped cache for font information.
1262 Bump so revision to 2.3.90.
1264 2005-07-25 Keith Packard <keithp@keithp.com>
1266 * doc/fontconfig-user.sgml:
1267 * fc-glyphname/fc-glyphname.c: (scan), (main):
1268 * fc-lang/fc-lang.c: (FcConfigHome):
1269 * fc-match/fc-match.c: (main):
1270 * src/fccfg.c: (FcConfigHome):
1271 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1272 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1273 (addtag), (FcFontCapabilities):
1274 * src/fcpat.c: (FcValueListEntCreate):
1275 * src/fcstr.c: (FcStrCaseWalkerInit):
1276 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1278 Various GCC 4 cleanups for signed vs unsigned char
1280 Match only [0-9]*.conf files in <include>{directory}</include>
1281 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1283 2005-07-15 Carl Worth <cworth@cworth.org>
1286 * src/fcinit.c: (FcFini):
1287 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1290 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1291 Pull the FcObjectStateName hash table out to file scope, and add
1292 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1295 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1298 2005-06-16 Patrick Lam <plam@MIT.EDU>
1302 * src/fccfg.c: (FcConfigCompareValue):
1303 Make FcOpNotContains use FcStrStr for strings so that
1304 it matches semantics for !FcOpContains.
1306 2005-05-20 Keith Packard <keithp@keithp.com>
1310 Move fontconfig source package to libs as per override
1312 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1314 reviewed by: Mike Fabian
1317 The ka.orth file requires several characters which are not
1318 used anymore in modern Georgian and which are missing in the free
1319 Georgian TrueType fonts downloadable at:
1321 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1323 2005-04-27 Keith Packard <keithp@keithp.com>
1327 Update date to real 2.3.2 release date.
1328 Fix change attributions
1330 2005-04-27 Keith Packard <keithp@keithp.com>
1333 Bump so revision for 2.3.2
1334 * fc-cache/fc-cache.c: (scanDirs):
1335 Fix a few minor leaks in error cases.
1337 2005-04-23 Keith Packard <keithp@keithp.com>
1342 * fontconfig/fontconfig.h:
1343 Update for version 2.3.2
1345 2005-04-21 Keith Packard <keithp@keithp.com>
1347 * debian/fontconfig.postinst:
1348 Don't force bitmap font enable in default
1349 configuration; allows users to override this in
1359 * debian/po/pt_BR.po:
1360 * debian/po/templates.pot:
1362 * debian/po/zh_CN.po:
1363 Updated translations
1365 * fc-cache/fc-cache.c: (main):
1366 Destroy font configuration on exit to help valgrind
1369 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1370 (FcFreeTypeCheckGlyph):
1371 Use own transcoding routines in preference to iconv
1372 which appears to have leaks in some translators.
1373 Call iconv_close after using iconv (oops).
1375 Prefer unicode encoding of Euro char as some
1376 fonts mis-encode Euro in other ones.
1378 Must fetch bitmap glyphs to get width values
1379 to check for monospace/dual-width fonts.
1381 2005-04-13 Ross Burton <ross@burtonini.com>
1384 Check that a pattern isn't already frozen in FcPatternFreeze.
1386 2005-03-31 Ross Burton <ross@burtonini.com>
1391 Run all FcPattern objects through FcObjectStaticName, so that
1392 compares can be done on pointers instead of strings (#2659)
1394 2005-03-17 Tor Lillqvist <tml@novell.com>
1396 * src/fontconfig.def.in: Add the .dll to the dll name.
1398 2005-03-10 Keith Packard <keithp@keithp.com>
1400 * debian/README.Debian:
1401 Update to reflect configuration changes
1403 * debian/fontconfig.postinst:
1404 Fix Autohint vs Autohinter mistake
1405 * debian/fontconfig.templates:
1406 Adopt changes from Josselin Mouette for configuration descriptions
1407 Update debian to version 2.3.1-2
1409 2005-03-08 Keith Packard <keithp@keithp.com>
1413 Update debian for 2.3.1
1415 2005-03-09 Tor Lillqvist <tml@novell.com>
1417 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1420 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1423 2005-03-08 Keith Packard <keithp@keithp.com>
1427 * fontconfig/fontconfig.h:
1430 2005-03-05 Keith Packard <keithp@keithp.com>
1432 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1433 Include space and remove numbers from valid script tags.
1434 This ensures that tags like 'lao ' work while rejecting
1435 those which have any digits.
1436 Eliminate a spurious debugging variable (len)
1438 2005-03-05 Keith Packard <keithp@keithp.com>
1440 * src/fcfreetype.c: (addtag), (GetScriptTags),
1441 (FcFontCapabilities):
1442 Rework GSUB/GPOS script parsing to survive broken fonts.
1443 Thanks for the broken font go to Manish Singh
1445 2005-03-05 Keith Packard <keithp@keithp.com>
1450 * debian/fontconfig.config:
1451 * debian/fontconfig.templates:
1453 Include 2.3 release information in changelog
1454 Add Josselin Mouette as an Uploader
1455 Set hinting_type to low priority configuration option
1458 * debian/fontconfig.postinst:
1459 yes_bitmaps.conf -> yes-bitmaps.conf
1465 2005-03-02 Keith Packard <keithp@keithp.com>
1468 * conf.d/Makefile.am:
1469 * conf.d/autohint.conf:
1470 * conf.d/no-sub-pixel.conf:
1471 * conf.d/sub-pixel.conf:
1472 * conf.d/unhinted.conf:
1473 * debian/autohint.conf:
1474 * debian/fontconfig.install:
1475 * debian/fontconfig.postinst:
1476 * debian/fontconfig.templates:
1477 * debian/no-sub-pixel.conf:
1478 * debian/unhinted.conf:
1479 Move debian-specific conf file examples upstream.
1481 Sub-pixel configuration examples must smash subpixel value
1482 as Xft always sets it from X.
1484 Change sub-pixel rendering debconf descriptions from
1485 Enable/Disable to Always/Never.
1487 2005-03-02 Keith Packard <keithp@keithp.com>
1490 * conf.d/.cvsignore:
1492 Ignore more build detritus
1495 Add debian package construction stuff.
1497 * config/config.guess:
1498 * config/config.sub:
1499 Update to newer versions of these tools
1502 Get library manuals to build again (we love automake).
1504 * debian/README.Debian:
1505 * debian/autohint.conf:
1510 * debian/fontconfig-udeb.install:
1511 * debian/fontconfig.config:
1512 * debian/fontconfig.defoma:
1513 * debian/fontconfig.dirs:
1514 * debian/fontconfig.install:
1515 * debian/fontconfig.postinst:
1516 * debian/fontconfig.postrm:
1517 * debian/fontconfig.templates:
1518 * debian/libfontconfig1-dev.install:
1519 * debian/libfontconfig1.install:
1520 * debian/local.conf.md5sum:
1521 * debian/no-sub-pixel.conf:
1522 * debian/po/POTFILES.in:
1531 * debian/po/pt_BR.po:
1532 * debian/po/templates.pot:
1534 * debian/po/zh_CN.po:
1536 * debian/unhinted.conf:
1537 Update debian build system to switch maintainers and
1538 deal with 2.3 functionality
1540 2005-03-01 Keith Packard <keithp@keithp.com>
1544 * fontconfig/fontconfig.h:
1547 2005-03-01 Keith Packard <keithp@keithp.com>
1550 Generate and install PDF versions of the manuals
1552 * doc/fcpattern.fncs:
1555 * doc/fcstring.fncs:
1556 Add missing exported functions, fix data types
1558 * doc/fontconfig-devel.sgml:
1559 Add missing pattern elements.
1561 * doc/fontconfig-user.sgml:
1562 Add missing pattern elements. Document conf.d usage,
1563 clarify available orthography list. Fix some config file
1564 attributes. Complete list of constants.
1566 * fontconfig/fontconfig.h:
1567 Mark FC_SOURCE deprecated.
1569 * src/fcfreetype.c: (FcFreeTypeQuery):
1570 Don't set FC_SOURCE any longer.
1572 2005-02-28 Keith Packard <keithp@keithp.com>
1575 * conf.d/Makefile.am:
1577 * conf.d/no-bitmaps.conf:
1578 * conf.d/sub-pixel.conf:
1579 * conf.d/yes-bitmaps.conf:
1581 Create prototype /etc/fonts/conf.d directory with a few
1582 sample configuration files.
1583 Deprecate use of local.conf for local customizations in favor of
1584 this directory based scheme which is more easily integrated into
1585 installation systems.
1588 Tag FC_EMBOLDEN as a boolean variable
1590 2005-02-10 Keith Packard <keithp@keithp.com>
1592 reviewed by: pborelli@katamail.com
1594 * src/fcdir.c: (FcFileScanConfig):
1595 Free patterns from fonts which are rejected by configuration
1598 2005-01-28 Keith Packard <keithp@keithp.com>
1602 * fontconfig/fontconfig.h:
1603 Update for version 2.2.99
1605 2005-01-28 Keith Packard <keithp@keithp.com>
1608 Add a few pointers (#2284, #2285)
1610 2005-01-28 Keith Packard <keithp@keithp.com>
1613 * src/fcname.c: (FcNameBool):
1614 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1615 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1616 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1617 Polite typechecking for test and edit expressions. Helps
1618 catch errors in the font configuration. (bug 229)
1620 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1622 reviewed by: Keith Packard <keithp@keithp.com>
1625 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1627 2005-01-13 Keith Packard <keithp@keithp.com>
1629 * doc/fontconfig-user.sgml:
1630 Add SEE ALSO section (bug 2085)
1632 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1634 reviewed by: Keith Packard <keithp@keithp.com>
1639 * fc-case/Makefile.am:
1640 * fc-glyphname/Makefile.am:
1641 * fc-lang/Makefile.am:
1642 * src/fontconfig.def.in:
1643 Cross compiling fixes (bug 280)
1645 2005-01-13 Keith Packard <keithp@keithp.com>
1648 Update blanks list (Closes bug 86)
1650 2005-01-04 Keith Packard <keithp@keithp.com>
1652 * src/fccache.c: (FcCacheFontSetAdd):
1653 Verify that every font pattern loaded from cache has
1654 both FC_FILE and FC_FAMILY entries.
1655 Attempt to fix bug #2219.
1657 2004-12-29 Keith Packard <keithp@keithp.com>
1661 * fontconfig/fontconfig.h:
1662 Update for version 2.2.98
1664 2004-12-29 Keith Packard <keithp@keithp.com>
1666 * fontconfig/fontconfig.h:
1667 Document ASCII limitations of Fc character conversion macros
1668 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1669 Fix off-by-one error in utf-8 case walking code.
1670 Add FcStrDowncase (useful for testing case conversion functions)
1672 2004-12-29 Keith Packard <keithp@keithp.com>
1675 * fc-case/.cvsignore:
1676 clean up CVS ignore lists
1677 * fc-lang/iso-3166.txt:
1678 Add territory database
1680 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1682 Reviewed by: Keith Packard
1685 Remove Han characters from Korean orthography
1687 2004-12-29 Keith Packard <keithp@keithp.com>
1690 Reorder utility programs to make sure fc-case is run before fc-lang
1691 as fc-lang uses fcstr.c which uses fccase.h
1695 2004-12-29 Keith Packard <keithp@keithp.com>
1698 Adopt some RedHat suggestions for standard font configuration.
1702 * fc-case/CaseFolding.txt:
1703 * fc-case/Makefile.am:
1704 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1705 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1706 (dump), (parseRaw), (caseFoldReadRaw), (main):
1707 * fc-case/fccase.tmpl.h:
1708 Add new helper program 'fc-case' to construct case folding
1709 tables from standard Unicode CaseFolding.txt file
1712 * src/fclist.c: (FcListValueHash):
1713 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1714 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1715 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1716 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1717 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1718 Re-implement case insensitive functions with Unicode
1719 aware versions (including full case folding mappings)
1721 2004-12-13 Keith Packard <keithp@keithp.com>
1723 reviewed by: Owen Taylor <otaylor@redhat.com>
1725 * src/fcmatch.c: (FcFontSetSort):
1726 I changed FcFontSetSort to respect the generic aliases better
1727 in the face of language matching.
1729 What I did was to ammend the strict sort order used by FcFontSort so
1730 that it 'satisfies' the language specified in the pattern by locating
1731 the best matching font supporting each pattern language and then
1732 ignores language in the remaining fonts for purposes of matching.
1734 So, when asking for 'sans:lang=en', you'll get an English font first,
1735 and then the remaining fonts sorted with respect to the 'sans' alias
1736 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1738 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1740 reviewed by: Keith Packard <keithp@keithp.com>
1742 * fontconfig/fontconfig.h:
1745 Configuration changes to request synthetic emboldening of
1746 fonts. The actual emboldening code will live in Xft.
1748 2004-12-09 John Thacker <thacker@math.cornell.edu>
1750 reviewed by: Keith Packard <keithp@keithp.com>
1754 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1755 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1756 и), and don't even appear in KOI8-R. (The hypothesis that they
1757 don't appear in KOI8-R due to their similarity with Latin I and i is
1758 eliminated by their presence in KOI8-U.) I have a couple of fonts
1759 with Russian support that don't have the letter.
1761 Therefore, 0406 and 0456 should be removed from or commented out of
1764 2004-12-06 michael meeks <mmeeks@novell.com>
1766 Reviewed by: Keith Packard <keithp@keithp.com>
1768 * src/fcinit.c: (FcMemReport):
1770 * src/fclist.c: (FcObjectSetAdd):
1771 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1772 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1773 * src/fcxml.c: (FcParsePatelt):
1774 memoize strings and share a single copy for all uses. Note that
1775 this could be improved further by using statically allocated blocks
1776 and gluing multiple strings together, but I'm basically lazy.
1777 In my environment with 800 font files, I get a savings of about 90KB.
1779 2004-12-06 Keith Packard <keithp@keithp.com>
1783 * config/Makedefs.in:
1786 * doc/fcatomic.fncs:
1787 * doc/fcblanks.fncs:
1788 * doc/fccharset.fncs:
1789 * doc/fcconfig.fncs:
1790 * doc/fcconstant.fncs:
1792 * doc/fcfontset.fncs:
1793 * doc/fcfreetype.fncs:
1795 * doc/fcmatrix.fncs:
1796 * doc/fcobjectset.fncs:
1797 * doc/fcobjecttype.fncs:
1798 * doc/fcpattern.fncs:
1799 * doc/fcstring.fncs:
1800 * doc/fcstrset.fncs:
1802 * doc/fontconfig-devel.sgml:
1803 * doc/fontconfig-user.sgml:
1805 * doc/version.sgml.in:
1806 * fc-cache/Makefile.am:
1807 * fc-cache/fc-cache.c:
1808 * fc-glyphname/Makefile.am:
1809 * fc-glyphname/fc-glyphname.c:
1810 * fc-glyphname/fcglyphname.tmpl.h:
1811 * fc-lang/Makefile.am:
1821 * fc-lang/az_ir.orth:
1855 * fc-lang/fc-lang.c:
1856 * fc-lang/fc-lang.man:
1857 * fc-lang/fclang.tmpl.h:
1902 * fc-lang/ku_ir.orth:
1935 * fc-lang/ps_af.orth:
1936 * fc-lang/ps_pk.orth:
1965 * fc-lang/ti_er.orth:
1966 * fc-lang/ti_et.orth:
1992 * fc-lang/zh_cn.orth:
1993 * fc-lang/zh_hk.orth:
1994 * fc-lang/zh_mo.orth:
1995 * fc-lang/zh_sg.orth:
1996 * fc-lang/zh_tw.orth:
1998 * fc-list/Makefile.am:
1999 * fc-list/fc-list.c:
2000 * fc-match/Makefile.am:
2001 * fc-match/fc-match.1:
2002 * fc-match/fc-match.c:
2003 * fontconfig/fcfreetype.h:
2004 * fontconfig/fcprivate.h:
2005 * fontconfig/fontconfig.h:
2026 Change files from ISO-Latin-1 to UTF-8
2028 2004-12-04 Keith Packard <keithp@keithp.com>
2031 Update links to new freedesktop.org locations
2033 Add uninstall-local to get rid of fonts.conf and local.conf if they
2034 match the distributed versions. Fixes 'make distcheck'
2036 2004-12-04 Keith Packard <keithp@keithp.com>
2040 * fontconfig/fontconfig.h:
2041 Updates for version 2.2.97
2043 2004-12-04 Owen Taylor <otaylor@redhat.com>
2045 reviewed by: Keith Packard <keithp@keithp.com>
2047 * fc-cache/fc-cache.c: (main):
2048 Sleep for two seconds before exiting to make sure timestamps
2049 for future changes have distinct mod times in the file system.
2052 Add Punjabi orthography. Bug #1671.
2054 2004-12-04 Keith Packard <keithp@keithp.com>
2057 Just remove the FC_FONTDATE -- it has locale issues and
2058 annoys redhat multi-arch installs. Now that all X fonts are
2059 included without prejudice, the chances of the date being at
2060 all interesting are rather limited. Bug #505.
2062 Add copyright and license
2064 2004-12-04 Keith Packard <keithp@keithp.com>
2067 Change default set of fonts to include all of
2068 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2069 * doc/fontconfig-user.sgml:
2070 Document new <include>directory-name</include> semantics
2072 add <include ignore_missing="yes">conf.d</include>
2074 Add selectfont to ignore bitmap fonts, add comment for
2075 selectfont which accepts bitmap fonts.
2078 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2079 Allow <include> configuration elements to reference directories.
2080 Parse and load all files of the form [0-9]* in sorted order.
2082 2004-12-04 Keith Packard <keithp@keithp.com>
2085 Report command line for $srcdir/configure accurately.
2088 2004-12-04 Keith Packard <keithp@keithp.com>
2090 * src/fcfreetype.c: (FcFreeTypeQuery):
2091 Check for non-empty face->family_name and face->style_name
2092 before using those for the font. Empty names match everything.
2095 2004-12-04 Keith Packard <keithp@keithp.com>
2098 * fontconfig/fontconfig.h:
2099 * src/fcfreetype.c: (FcFreeTypeQuery):
2101 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2102 available. This provides font file format information (BDF, Type 1,
2103 PCF, TrueType) for each font. Closes #109.
2105 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2107 reviewed by: Keith Packard <keithp@keithp.com>
2109 * doc/fontconfig-user.sgml:
2112 * fontconfig/fontconfig.h:
2113 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2114 (GetScriptTags), (FcFontCapabilities):
2116 Add detection for font capabilities (bug #105)
2118 2004-12-04 Keith Packard <keithp@keithp.com>
2121 Move existing fonts.conf to fonts.conf.bak
2124 Add detection of iconv
2126 * doc/fcpattern.fncs:
2127 * doc/fontconfig-devel.sgml:
2128 * doc/fontconfig-user.sgml:
2130 Document new selectfont elements
2133 Switch to UTF-8 in comment
2135 * fontconfig/fontconfig.h:
2137 Add fullname, and family/style/fullname language entries
2139 * src/fccache.c: (FcCacheFontSetAdd):
2140 * src/fcdir.c: (FcFileScanConfig):
2141 Respect selectfont/*/glob
2144 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2145 (FcConfigCompareValue), (FcConfigPatternsAdd),
2146 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2147 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2148 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2149 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2150 Add support for selectfont
2152 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2153 (FcStringInPatternElement), (FcFreeTypeQuery):
2154 Add multi-lingual family/style/fullname support
2156 * src/fclist.c: (FcListPatternMatchAny):
2157 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2159 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2160 (FcObjectStaticName):
2161 Add new FcPatternRemove/FcPatternAppend.
2162 FcObjectStaticName stores computed pattern element names which
2163 are required to be static.
2165 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2170 Remove spurious / after $(DESTDIR)
2172 2004-06-30 Keith Packard <keithp@keithp.com>
2176 * fontconfig/fontconfig.h:
2179 2004-06-30 Keith Packard <keithp@keithp.com>
2181 Provided by: Lubos Lunak <l.lunak@suse.cz>
2183 * src/fccfg.c: (FcConfigUptoDate):
2184 However FcConfigUptoDate() doesn't seem to work. See the attached
2185 patch. First there's an obvious misplaced parenthesis making it
2186 return always false, and second, even this call fails to detect font
2187 changes (e.g. adding a new font to
2188 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2189 well. The problem seems to be triggered by my fonts.conf specifying
2190 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2191 doesn't include subdirs, unlike config->fontDirs.
2193 2004-06-03 Keith Packard <keithp@keithp.com>
2195 * fontconfig/fontconfig.h:
2196 Remove comma at end of FcResult enum definition.
2198 2004-05-29 Keith Packard <keithp@keithp.com>
2201 Add steps to md5sum release
2203 2004-05-29 Keith Packard <keithp@keithp.com>
2207 * fontconfig/fontconfig.h:
2210 2004-05-29 Keith Packard <keithp@keithp.com>
2212 * fontconfig/fontconfig.h:
2213 * src/fcmatch.c: (FcFontSetMatch):
2214 Add FcResultOutOfMemory to provide an accurate error when
2215 FcFontSetMatch fails in this way
2218 Make #warning about lacking various FreeType features indicate
2219 which version those features appeared so users know how to
2220 fix the problem (Thanks to Anton Tropashko)
2222 2004-05-05 Keith Packard <keithp@keithp.com>
2224 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2225 Replace MIN/MAX/ABS macros which happen to have come
2226 from FreeType with fontconfig-specific ones (FC_*)
2228 2004-04-23 Keith Packard <keithp@keithp.com>
2231 Extend release preparation instructions to include
2232 notification and distribution steps
2234 2004-04-23 Keith Packard <keithp@keithp.com>
2238 * fontconfig/fontconfig.h:
2239 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2241 2004-04-23 Keith Packard <keithp@keithp.com>
2244 Ignore a few more autotool files
2246 2004-04-14 Keith Packard <keithp@keithp.com>
2249 Add instructions for doing a release
2251 * fontconfig.spec.in:
2252 clean up .spec file; perhaps this will be useful to somebody...
2256 * fontconfig/fontconfig.h:
2259 * fc-lang/fc-lang.c:
2260 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2262 * fc-glyphname/Makefile.am:
2263 * fc-lang/Makefile.am:
2264 * fc-list/Makefile.am:
2265 * fc-match/Makefile.am:
2267 Add WARN_CFLAGS to pass -W flags for GCC systems
2269 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2270 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2271 Change various char types around to match across
2273 Fixed bug in using available_sizes[i].height which
2274 is in pixels, not 64ths of a pixel.
2276 2004-03-06 Keith Packard <keithp@keithp.com>
2278 * src/fcfreetype.c: (FcFreeTypeQuery):
2279 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2280 matches looking for explicit values prefer exact matches
2282 2004-03-02 Keith Packard <keithp@keithp.com>
2284 Supplied by: mfabian@suse.de (Mike FABIAN)
2286 * src/fcfreetype.c: (FcFreeTypeQuery):
2287 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2288 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2290 2004-02-21 Manish Singh <yosh@gimp.org>
2292 * fc-glyphname/fc-glyphname.c: (main):
2293 Cast strlen to int for printf, so we're 64-bit clean.
2295 2004-02-11 Keith Packard <keithp@keithp.com>
2298 * src/fcfreetype.c: (FcGetPixelSize):
2299 Ok, so I messed up the test for y_ppem. Let's see if I
2300 got it right this time.
2302 2004-02-10 Keith Packard <keithp@keithp.com>
2305 * src/fcfreetype.c: (FcGetPixelSize):
2306 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2307 FT_Bitmap_Size record. Add a configure.in test for this
2308 and change the code accordingly (using height instead).
2310 2004-02-06 Keith Packard <keithp@keithp.com>
2313 Add Low Saxon orthography
2314 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2316 * src/fccfg.c: (FcConfigNewestFile):
2317 Oops. Left 'newest.set' unset, which would miscompute
2320 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2321 (FcFreeTypeCheckGlyph):
2322 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2323 font properties (which report the wrong value in current FreeType)
2325 Don't attempt to check for empty glyphs in non-scalable fonts; they
2328 2004-02-01 Tor Lillqvist <tml@iki.fi>
2330 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2331 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2332 cache if config->cache is NULL, which happens if FcConfigHome() is
2333 NULL. Guard against that by using the temp folder in that case.
2335 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2337 * fc-lang/az_ir.orth:
2338 * fc-lang/ku_ir.orth:
2339 * fc-lang/ps_af.orth:
2340 * fc-lang/ps_pk.orth:
2341 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2342 (Afghan and Pakistani).
2344 Updated Urdu orthography with real data.
2346 2003-12-11 Carl Worth <cworth@east.isi.edu>
2348 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2351 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2353 (all-local): Remove excessive whitespace.
2355 * autogen.sh: Add 'set -e' to abort when any program fails,
2356 (avoids printing of 'now type make' after configure aborts).
2358 2003-11-17 Eric Christopherson <rakko@charter.net>
2360 reviewed by: Keith Packard <keithp@keithp.com>
2363 * fontconfig/fcfreetype.h:
2365 Switch to FreeType 2.1.7 style includes. Bug #150.
2367 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2369 * fc-list/fc-list.sgml: Add some example usages.
2371 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2374 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2377 2003-10-27 Keith Packard <keith@keithp.com>
2380 * fontconfig/fontconfig.h:
2381 Update to version 2.2.92
2383 2003-10-27 Keith Packard <keithp@keithp.com>
2388 * fc-cache/Makefile.am:
2389 * fc-glyphname/Makefile.am:
2390 * fc-lang/Makefile.am:
2391 * fc-list/Makefile.am:
2392 * fc-match/Makefile.am:
2395 Yet more cleanups to finish getting 'make distcheck' working
2396 This has been tested to ensure that it even works from a _build
2399 2003-10-26 Keith Packard <keithp@keithp.com>
2403 * fc-cache/Makefile.am:
2404 * fc-glyphname/Makefile.am:
2405 * fc-lang/Makefile.am:
2406 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2407 * fc-list/Makefile.am:
2408 * fc-match/Makefile.am:
2409 Attempts to fix 'make distcheck' work. Things are
2410 progressing pretty well, but there are still failures
2411 long into the process dealing with docs (as always).
2413 The big changes here are mostly to make $(srcdir) != "."
2414 work correctly, fixing the docbook related sections and
2415 fc-lang were particularily tricky. Docbook refuses to load
2416 system entities from anywhere other than where the original .sgml
2417 file was located, so no luck looking in "." for the
2418 configure-generated version.sgml and confdir.sgml files.
2420 fc-lang needed help finding .orth files; added a -d option
2421 to set the directory as the least evil of many options.
2423 Now to go use a faster machine and try and wring out the last
2426 2003-10-26 Keith Packard <keithp@keithp.com>
2430 2003-10-26 Keith Packard <keithp@keithp.com>
2433 Include confdir.sgml.in in EXTRA_DIST
2435 2003-10-09 Josselin Mouette <joss@debian.org>
2437 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2438 * fc-list/fc-list.sgml fc-list/Makefile.am:
2439 Replace fc-cache and fc-list manpages with more detailed, SGML
2442 2003-09-23 Owen Taylor <otaylor@redhat.com>
2444 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2445 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2446 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2449 2003-09-23 Owen Taylor <otaylor@redhat.com>
2451 * fc-lang/ka.orth: Remove Georgian capitals, they
2452 aren't used for normal writing. (Bug #116)
2454 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2456 * doc/fontconfig-devel.sgml:
2457 * doc/fontconfig-user.sgml:
2458 * fontconfig/fontconfig.h:
2460 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2461 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2463 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2464 monospace and dual-width fonts, allow roughly a 3% variance in the
2467 2003-08-31 Manish Singh <yosh@gimp.org>
2469 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2472 2003-08-15 Carl Worth <cworth@isi.edu>
2474 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2475 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2477 * src/fcpat.c (FcValueListEntDestroy): New function to support
2478 FcFini memory cleanup. Some statistics are not kept in
2480 (FcValueListFreeze): Move hashTable outside this function so it
2481 can be accessed by FcValueListThawAll.
2482 (FcValueListThawAll): New function complements FcValueListFreeze.
2483 (FcPatternBaseFreeze): Move hashTable outside this function so it
2484 can be accessed by FcPatternBaseThawAll.
2485 (FcPatternBaseThawAll): New function complements
2486 FcPatternBaseFreeze.
2487 (FcPatternThawAll): New function complements FcPatternFreeze.
2489 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2491 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2492 allocated FcCharLeafEnt "blocks" so they can be freed later.
2493 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2494 can be accessed by FcCharSetThawAllLeaf.
2495 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2496 (FcCharSetFreezeBase): Move hashTable outside this function so it
2497 can be accessed by FcCharSetThawAll.
2498 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2500 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2501 (FcConfigDestroy): Fic leak of FcBlanks.
2503 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2504 (main): Add call to FcFini when finished.
2506 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2507 static. Add prototypes.
2509 * doc/fcinit.fncs: Add documentation for FcFini function.
2511 * doc/edit-sgml.c: Mark several local functions as static. Add
2514 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2516 2003-06-15 Tor Lillqvist <tml@iki.fi>
2518 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2519 before comparing (needed on Windows).
2521 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2523 2003-06-13 Tor Lillqvist <tml@iki.fi>
2525 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2528 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2529 WINDOWSFONTDIR token.
2531 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2532 end, not to confuse libtool, which expects the EXPORTS line to be
2533 the first. Add FcConfigEnableHome.
2535 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2536 built as a DLL on Win32.
2538 2003-06-09 Keith Packard <keithp@keithp.com>
2540 * Tag version 2.2.90
2542 2003-06-09 Keith Packard <keithp@keithp.com>
2544 * Optimization in FcLangSetIndex was broken, occasionally
2545 returning a pointer to the wrong location on miss
2547 * Add fc-match to test font matching from the command line.
2549 2003-05-31 Keith Packard <keithp@keithp.com>
2551 * (Bug 85) add support for culmus fonts
2552 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2553 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2555 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2557 * Fix "contains" op for strings and langsets.
2559 2003-05-17 Keith Packard <keithp@keithp.com>
2561 * Fix build error with BDF prop local. Free langset after query
2563 2003-05-14 Keith Packard <keithp@keithp.com>
2565 * Extract spacing from XLFD atom
2567 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2569 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2570 disappeared in 1.30.
2572 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2574 2003-05-12 Keith Packard <keithp@keithp.com>
2576 * Use FcIsWidth to share code
2578 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2579 misclassifying some Han fonts as monospaced.
2581 2003-05-07 Keith Packard <keithp@keithp.com>
2583 * Add filename-based accept/reject to ammend available fonts.
2585 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2586 older FreeType releases.
2588 2003-05-06 Keith Packard <keithp@keithp.com>
2590 * Remove 0b82 and Tamil numbers from tamil
2591 orthography (Jungshik Shin <jshin@mailaps.org>)
2593 2003-05-04 Keith Packard <keithp@keithp.com>
2595 + Map glyph names in fonts with adobe custom encoding to unicode
2597 2003-05-02 Keith Packard <keithp@keithp.com>
2599 * Add FC_WEIGHT_BOOK as weight 75
2601 2003-04-30 Keith Packard <keithp@keithp.com>
2603 * Typo in bitstream foundry name
2605 2003-04-24 Keith Packard <keithp@keithp.com>
2607 * Eliminate italic_angle check for PS fonts
2609 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2611 * Getting closer to fixing /etc/fonts hard-coding.
2613 2003-04-22 Keith Packard <keithp@keithp.com>
2615 * Update autogen.sh to work with newer automake versions
2616 * Handle pattern elements moving during multiple edits
2618 2003-04-23 James Henstridge <james@daa.com.au>
2620 * doc/fontconfig-devel.sgml: close the <para> element.
2622 * doc/fcpattern.fncs: close the <para> element.
2624 * doc/func.sgml: close the <refsynopsisdiv> element.
2626 2003-04-22 Keith Packard <keithp@keithp.com
2628 * Update autogen.sh to work with newer automake versions
2629 * Handle pattern elements moving during multiple edits
2631 2003-04-17 Colin Walters <walters@debian.org>
2633 + Remove some unused variables, and initialize some other ones so
2634 gcc doesn't warn us.
2636 2003-04-16 Keith Packard <keithp@keithp.com>
2638 + tag version 2.1.94
2640 2003-04-16 Keith Packard <keithp@keithp.com>
2642 + add BDF property fetching support for foundry
2643 (from Juliusz Chroboczek)
2644 + add BDF property fetching support for width
2646 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2648 + Implemented foundry generation for Type 1 and TrueType
2650 2003-04-11 Gerard Escalante <g2@magestudios.net>
2652 + Retrieve information from Type1 FontInfo dictionaries
2654 2003-04-07 Colin Walters <walters@verbum.org>
2656 + src/Makefile.am: Fix dummy makefile target names when
2657 MS_LIB_AVAILABLE isn't set.
2659 2003-03-22 Tor Lillqvist <tml@iki.fi>
2661 Changes for Windows:
2663 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2665 + We don't want to hardcode the fonts.conf file location in the
2666 DLL, so we look up the DLL location at run-time in a DllMain()
2667 function. The fonts.conf location is deduced from that.
2669 + The colon can't be used as path separator on Windows,
2670 semicolon is used instead. File path components can be separated
2671 with either slash or backslash. Absolute paths can also begin
2672 with a drive letter.
2674 + Add internal function FcStrLastSlash that strrchr's the last
2675 slash, or backslash on Windows.
2677 + There is no link() on Windows. For atomicity checks, mkdir a
2678 lock directory instead.
2680 + In addition to HOME, also look for USERPROFILE.
2682 + Recognize the special font directory token WINDOWSFONTDIR, to
2683 use the system's font directory.
2685 + Remove the fontconfig-def.cpp that was obsolete. Add
2686 fontconfig.def(.in), without internal functions.
2688 + Add a fontconfig-zip(.in) script, used to build a binary
2691 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2692 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2693 to main package and man3/* to devel package
2695 + Added missing defattr(-, root, root) to main RPM package
2697 + Added HTML and text development documentation to -devel subpackage
2699 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2700 + Added back the configure macro options --disable-docs, otherwise
2701 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2702 version number) unconditionally, causing RPM to fail the build due
2703 to _unpackaged_files_terminate_build. We pick up the pregenerated
2704 docs with %doc already.
2706 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2707 + Removed commented out rpm macro define at top of spec file,
2708 replacing it with a simple explanation, since rpm macros are
2709 expanded by rpm even in comments.
2711 + Changed /usr/bin to _bindir in BuildRequires lines
2713 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2715 + Reorganized file manifest lists
2717 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2719 + fontconfig.spec.in: Improvements from Red Hat spec file.
2721 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2723 + docs/*.sgml: SGML fixes.
2725 Sat Mar 1 17:28:53 PST 2003 keithp
2726 + Ok, so the ChangeLog is a bit out of date
2728 + Lots of bugs fixed; most are in bugzilla, the
2729 biggest problems were in cache management where
2730 Owen discovered the library would lose badly when
2731 combining fonts-cache and ~/.fonts-cache data
2733 + Converted from autoconf to automake. This after
2734 getting patches accepted into libtool to allow
2735 the '-version-number' argument which lets
2736 packages set version numbers explicitly rather
2737 than the roundabout libtool way
2739 + Converted documentation to SGML using the docbook
2740 DTD. Now .txt and .html documents are installed
2741 in /usr/share/doc/fontconfig and there's no
2742 man page. Perhaps a man version can be written
2745 Sat Aug 31 15:21:22 PDT 2002 keithp
2746 + Xrender and Xft had several bugs related to
2747 rendering manually placed or poly-face text
2749 + Added more complete memory tracing in fontconfig
2750 Checked with (patched) mozilla and found no leaks
2752 + Updated Latin orthographies by comparing those from
2753 evertype.com with those from eki.ee. Tried to make
2754 sensible choices, including chars that occured in both
2755 and leaving some optional chars out that occured only
2758 Mon Aug 26 16:33:04 PDT 2002 keithp
2759 + Owen discovered that FcLangSetHasLang wasn't actually
2760 checking the language set.
2762 Mon Aug 26 13:37:23 PDT 2002 keithp
2763 + Append a version number to cache filenames
2765 Thu Aug 22 11:36:18 PDT 2002 keithp
2767 + Add "contains" and "not_contains" operators and elements to
2770 + Changed semantics of eq operator for LangSets to check for
2771 FcLangEqual so that any match will do
2773 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2774 of FcValueEqual to check for identical values when inserting into
2775 the results. This broke when the above semantic change was made,
2776 now it uses FcValueEqual which is "more correct" in any case.
2778 Thu Aug 22 00:32:29 PDT 2002 keithp
2780 + Reimplement FC_LANG as new datatype. Lists of strings
2781 was consuming over a megabyte of memory for 401 fonts.
2783 + Freeze patterns loaded from cache files. This shares
2784 common value lists and common patterns which saves
2785 considerable memory.
2787 + Change the denotation of 'constant' charsets to use special
2788 ref value instead of separate boolean.
2790 + Clean up leak tracing stuff, found several unannoted alloc/free
2793 Tue Aug 20 16:17:37 PDT 2002 keithp
2795 + Fix memory leak when parsing matrices from XML
2797 Mon Aug 19 11:57:27 PDT 2002 keithp
2799 + Fix autoconf files to pass FONTCONFIG_PATH on
2800 compile line so that ${prefix} gets substituted
2803 + Use getc_unlocked/putc_unlocked on systems that
2804 provide them to avoid damage done to stdio by posix
2806 + Eliminate FC_PATTERN and FcTypePattern in favor of
2807 an extended api for FcConfigSubstitute which takes
2808 both the font and the pattern.
2810 + Add 'sans serif' alias for 'sans-serif' as some apps
2811 can't handle hyphens in family names
2813 + Eliminate pretense of support for libxml2
2815 + Comment origins of Han orthographies
2817 Tue Jul 30 18:37:09 PDT 2002 keithp
2819 + Add binding property to edit element so that strong
2820 binding values may be inserted by the config file.
2821 The default remains weak.
2823 Sun 28 Jul 04:16:55 PDT 2002 keithp
2825 + Tagged release candidate 1 in the CVS tree and
2826 placed fcpackage.rc1.tar.gz for distribution
2828 Thu Aug 1 08:55:08 PDT 2002 keithp
2830 + Fixed autoconf builds to always specify install
2831 target files (for BSD). Also fixed to
2832 define FONTCONFIG_PATH in config.h so that
2833 nonstandard installs will actually work.