1 2006-02-09 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheValid, FcDirCacheWrite):
4 Fix attempt to close -1.
5 Don't unboundedly grow bad caches (reported by fcrozat).
7 2006-02-09 Patrick Lam <plam@mit.edu>
8 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
11 Fix problem with missing 'en' due to euro.patch: change
12 cache file format slightly to coincide with that generated
15 2006-02-07 Patrick Lam <plam@mit.edu>
16 * src/fccache.c (FcCacheReadDirs):
20 2006-02-07 Patrick Lam <plam@mit.edu>
21 * src/fcdir.c (FcDirScanConfig):
23 Don't reject dirs that can't be normalized (fixes lilypond, and
24 is correct in the context of application font directories.)
26 2006-02-07 Takashi Iwai <tiwai@suse.de>
29 * src/fccache.c (FcCacheReadDirs):
31 Use normalized directory name exclusively in FcCacheReadDirs.
33 2006-02-07 Dirk Mueller <dmueller@suse.com>
36 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
38 Perf optimizations. Inline FcValueCanonicalize,
39 reduce FcValueListPtrU usage, remove redundant cast.
41 2006-02-07 Takashi Iwai <tiwai@suse.de>
44 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
47 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
48 Declare extern for static arrays as arrays, not pointers.
49 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
51 2006-02-07 Dirk Mueller <dmueller@suse.com>
64 Add Euro sign to list of symbols required by European languages.
66 2006-02-07 Patrick Lam <plam@mit.edu>
67 * src/fccache.c (FcCacheReadString):
69 Fix hidden variable warning.
71 2006-02-07 Dirk Mueller <dmueller@suse.com>
74 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
76 Remove de-escaping logic because FcCacheWriteString
77 doesn't escape anyway. Do blockwise reading instead
78 of byte-wise for performance.
80 2006-02-06 Patrick Lam <plam@mit.edu>
81 Takashi Iwai <tiwai@suse.de>
83 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
85 Don't loop infinitely on recursive symlinks (client-side).
87 2006-02-06 Takashi Iwai <tiwai@suse.de>
89 * fc-cache/fc-cache.c (scanDirs, main):
91 Don't loop infinitely on recursive symlinks.
93 2006-02-06 Takashi Iwai <tiwai@suse.de>
95 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
96 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
97 FcGlobalCacheSave, FcCacheReadDirs):
100 Skip subdirs when skipping over stale bits of global cache.
101 Introduce state machine into FcGlobalCacheDir to avoid
102 doing inappropriate operations on global dir entries, e.g.
103 writing out an out-of-date cache entry.
105 2006-02-06 Takashi Iwai <tiwai@suse.de>
107 * src/fcdir.c (FcFileScanConfig):
109 Hoist FcFileIsDir check out of FcFileScanConfig loop.
111 2006-02-06 Takashi Iwai <tiwai@suse.de>
114 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
115 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
117 Don't rescan when trying to normalize a non-declared font dir.
118 Don't add font dirs multiple times (even if they're aliased).
120 2006-02-06 Dirk Mueller <dmueller@suse.de>
123 * src/fcfs.c (FcFontSetUnserialize):
125 Explain apples/oranges comparison and fix compilation error.
127 2006-02-06 Dirk Mueller <dmueller@suse.de>
130 * src/fcfs.c (FcFontSetUnserialize):
132 Insert check for integer overflow in # of fonts.
134 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
138 * fc-cache/Makefile.am:
139 * fc-cat/Makefile.am:
140 * fc-list/Makefile.am:
142 Make 'make distcheck' work with automake 1.6.3.
144 2006-02-03 Takashi IWAI <tiwai@suse.de>
147 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
150 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
151 FcDirCacheConsume, FcDirCacheWrite)
152 * src/fcxml.c (FcConfigMessage):
154 Check I/O call return values and eliminate unused variable
157 2006-02-03 Takashi Iwai <tiwai@suse.de>
160 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
164 2006-02-03 Dirk Mueller <dmueller@suse.de>
167 * src/fcfs.c (FcFontSetUnserialize):
169 Gracefully handle the case where a cache asserts that it
170 has a negative number of fonts, causing overflow.
172 2006-02-03 Patrick Lam <plam@mit.edu>
173 * src/fccache.c (FcDirCacheUnlink):
175 Fix double free in error case.
177 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
178 Stephan Kulow <coolo@suse.de>
181 * fc-cache/Makefile.am:
183 Replace 'stamp' target with mkinstalldirs.
185 2006-01-31 Mike Fabian <mfabian@suse.de>
188 * src/fccache.c (FcGlobalCacheLoad):
190 Toast broken global cache files.
192 2006-01-30 Patrick Lam <plam@mit.edu>
193 * src/fccache.c (FcGlobalCacheReadDir):
195 Actually use the directories that I added to the global cache.
198 2006-01-30 Mike Fabian <mfabian@suse.de>
201 * fc-cache/fc-cache.c (scanDirs):
203 Don't stop scanning if a directory in fonts.conf doesn't
204 exist, because subsequent directories might exist.
206 2006-01-30 Patrick Lam <plam@mit.edu>
207 * src/fccache.c (FcGlobalCacheLoad):
209 Make global cache work again after putting dir names into global
210 cache (I misplaced the recording of a file offset).
212 2006-01-30 Patrick Lam <plam@mit.edu>
213 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
215 Update fc-cat to handle subdir lists in global cache file.
217 * src/fccache.c (FcGlobalCacheLoad):
219 Another FcCacheReadString return value check.
221 2006-01-30 Mike Fabian <mfabian@suse.de>
224 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
225 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
227 Make fccache more resilient to broken cache files by checking
228 return value of FcCacheReadString all the time.
230 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
233 * fc-match/fc-match.1:
234 * fc-lang/fc-lang.man:
236 Remove references to dead fontconfig(3) manpages in
237 other fontconfig manpages.
239 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
242 * doc/fcpattern.fncs:
244 Fix world's tiniest typo in code example.
246 2006-01-29 Mike Fabian <mfabian@suse.de>
249 * src/fccache.c (FcGlobalCacheReadDir):
251 Fix global cache reads of subdirectories.
253 2006-01-29 Patrick Lam <plam@mit.edu>
255 Add documentation for FcConfigNormalizeFontDir.
257 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
258 FcGlobalCacheUpdate, FcGlobalCacheSave):
259 * src/fcdir.c (FcDirScanConfig):
262 Write directory information to global caches to fix make check
263 (reported by Ronny V. Vindenes). This changes the global cache
266 2006-01-27 Patrick Lam <plam@mit.edu>
267 * fc-cache/fc-cache.c (scanDirs):
268 * fontconfig/fontconfig.h:
270 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
272 Move FcConfigNormalizeFontDir call so that it doesn't result in
273 infinite recursion (reported by Ronny V. Vindenes).
275 2006-01-26 Patrick Lam <plam@mit.edu>
276 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
277 * src/fccfg.c (FcConfigNormalizeFontDir):
279 Add a couple of missing normalizations to make fc-cache work
280 right; only scan subdirectories once.
282 2006-01-26 Mike Fabian <mfabian@suse.de>
285 * src/fcacache.c (FcGlobalCacheReadDir):
287 Don't crash on non-existant directories in global cache.
289 2006-01-26 Patirck Lam <plam@mit.edu>
290 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
291 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
292 * src/fcdir.c (FcDirScanConfig):
293 * src/fcxml.c (FcEndElement):
295 Stop trampling the directory name when writing out caches.
296 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
297 subdirs when necessary. Don't scan directories that can't be
300 2006-01-25 Patrick Lam <plam@mit.edu>
301 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
302 * src/fccfg.c (FcConfigEvaluate):
303 * src/fcfreetype.c (FcPatternAddWithBinding):
305 Fix additional memory leaks reported by Ronny V. Vindenes: don't
306 invoke FcValueSave on hashed static strings in
307 FcPatternAddWithBinding.
309 Add another st_dev check in FcDirCacheOpen.
311 2006-01-24 James Su <james.su@gmail.com>
314 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
315 * fc-lang/zh_hk.orth:
317 Treat zh-hk fonts differently from zh-tw fonts. This patch may
318 cause fontconfig to treat A-X fonts differently from A-Y fonts;
319 please mail the fontconfig list if this causes any problems.
321 2006-01-24 Patrick Lam <plam@mit.edu>
322 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
323 * src/fcfreetype.c (FcFreeTypeQuery):
325 Fix memory leaks reported by Ronny V. Vindenes.
327 2006-01-19 Andreas Schwab <schwab@suse.de>
330 * src/fcpat.c (FcStrNeededBytes):
332 Fix for unaligned memory accesses.
334 2006-01-18 Mike Fabian <mfabian@suse.de>
337 * src/fcdir.c (FcDirScanConfig):
339 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
340 calls to avoid crashes.
342 2006-01-14 Patrick Lam <plam@mit.edu>
343 * src/fccache.c (FcDirCacheConsume):
345 Fix segfault when consuming zero-length caches in fc-cat
346 (which has no config, so FcConfigAddFontDir shouldn't be called.)
348 2006-01-14 Patrick Lam <plam@mit.edu>
349 * fc-cache/fc-cache.c (scanDirs):
350 * fontconfig/fontconfig.h:
351 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
352 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
353 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
354 * src/fcdir.c (FcDirScanConfig):
357 Compare device numbers as well as inodes.
358 Always normalize directory names before comparing them.
360 2006-01-11 Mike Fabian <mfabian@suse.de>
363 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
365 Allocate extra space for appended '/' in directory name.
367 2006-01-10 Patrick Lam <plam@mit.edu>
368 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
369 FcDirCacheValid, FcDirCacheHasCurrentArch,
370 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
371 * fc-cache/fc-cache.c (main):
373 Explicitly add font dirs to config.fontDirs even if they're empty.
374 Set current config in fc-cache.c.
375 Fix treatment of cache directory as read from cache file; don't
376 use string equality to determine if we have the right file,
379 2006-01-09 Patrick Lam <plam@mit.edu>
380 * fc-cache/fc-cache.c (scanDirs):
381 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
382 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
383 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
384 * src/fccfg.c (FcConfigNormalizeFontDir):
385 * src/fcdir.c (FcDirScanConfig):
388 Normalize font dirs by using the form, as given in fonts.conf, and
389 recorded in FcConfig's fontDirs string set, as canonical.
391 Actually update config.fontDirs as font directories are scanned.
393 2006-01-08 James Su <james.su@gmail.com>
394 * src/fcmatch.c (FcFontSetMatch):
396 Fix matching bug when multiple elements match; don't use
397 the sum of all scores, but the best score.
399 Also more perf opts, e.g. evaluate best over all font sets
400 rather than on a per-set basis (and other changes).
402 2006-01-08 Patrick Lam <plam@mit.edu>
403 * src/fccache.c (FcDirCacheConsume):
405 Properly skip past dir caches that contain zero fonts (as occurs
406 in global caches.) Reported by Mike Fabian.
408 2006-01-06 Patrick Lam <plam@mit.edu>
409 * src/fcdbg.c (FcPatternPrint):
411 Print out full pathname in fc-match -v as well. Reported by
414 2006-01-06 Mike Fabian <mfabian@suse.de>
417 * src/fcname.c (FcNameParse):
419 Fix bug where fc-match crashes when given __DUMMY__ property to
422 (I added the __DUMMY__ string to enable callers of
423 FcObjectToPtrLookup to distinguish an error return from a
424 successful return. -PL)
426 2006-01-05 Patrick Lam <plam@mit.edu>
429 Add self to AUTHORS list.
431 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
432 FcCacheFileRead, FcCachePrintSet, main):
433 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
434 FcGlobalCacheSave, FcCacheNextOffset,
435 FcDirCacheHasCurrentArch, FcDirCacheRead,
436 FcDirCacheConsume, FcDirCacheWrite):
438 * src/fcpat.c (comment):
440 Minor change to global cache file format to fix fc-cat bug
441 reported by Frederic Crozat, and buglet with not globally caching
442 directories with zero fonts cached.
444 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
447 * src/fccfg.c (FcConfigEvaluate):
449 Fix double-free which occurs because FcValueCanonicalize doesn't
450 create an extra copy of the returned value, it only canonicalizes
453 2006-01-02 Patrick Lam <plam@mit.edu>
454 * doc/fontconfig-user.sgml:
456 Fix version of .cache file (currently 1 -> currently 2). Reported
459 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
462 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
464 Shut up GCC warnings on amd.
466 2005-12-20 Patrick Lam <plam@mit.edu>
470 * fontconfig/fontconfig.h:
472 Bump version to 2.3.93.
474 2005-12-20 Patrick Lam <plam@mit.edu>
475 * src/fccharset.c (FcLangCharSetPopulate):
476 * src/fcint.h (FcCacheBankToIndex):
478 Avoid check on _fcBankId nullness and fix case where it used to
481 2005-12-20 Patrick Lam <plam@mit.edu>
482 * src/fcxml.c (FcConfigParseAndLoad):
484 Use open instead of fopen (requested by Phil Race for Sun).
486 2005-12-20 Patrick Lam <plam@mit.edu>
487 * src/fccache.c (FcDirCacheWrite);
488 * fc-cache/Makefile.am:
490 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
493 2005-12-20 Patrick Lam <plam@mit.edu>
494 * src/fcfreetype.c (FcFreeTypeQuery):
496 Restore code to skip over PCF fonts that have no encoded
498 (We guess that a font is PCF by presence of the PIXEL_SIZE
501 2005-12-12 Patrick Lam <plam@mit.edu>
502 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
504 Read and write the original location as a fallback for the
505 hashed cache file locations. This is mostly for users to be
506 able to have per-directory cache files.
508 2005-12-12 Patrick Lam <plam@mit.edu>
509 * fc-cache/fc-cache.c (scanDirs):
510 * fc-cache/Makefile.am:
511 * src/fccache.c (FcDirCacheHashName):
513 Improve error message when fc-cache can't write the cache. Add
514 missing slash. Reported by Behdad. Incorporate Behdad's patch to
515 create /var/cache/fontconfig when appropriate.
517 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
520 * src/fcxml.c (FcConfigGetAttribute):
522 Fix crash reported by Frederic Crozat when using libxml2.
524 2005-12-09 Patrick Lam <plam@mit.edu>
527 * fc-cache/Makefile.am:
528 * fc-cat/Makefile.am:
530 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
531 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
532 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
533 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
534 FcDirCacheHasCurrentArch, FcDirCacheHashName,
535 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
537 Migrate cache files from fonts directories to
538 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
539 but requires that all caches get rebuilt.
541 Also, autogen.sh now needs the additional parameter
542 --localstatedir=/var.
544 2005-12-07 Patrick Lam <plam@mit.edu>
545 * src/fcpat.c (FcPatternAddString):
547 Because we've changed FcPatternAddString to use FcStrStaticName
548 and not FcValueSave, explicitly handle the case of a null string.
550 2005-12-06 Patrick Lam <plam@mit.edu>
551 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
555 2005-12-05 Patrick Lam <plam@mit.edu>
556 * src/fcname.c (FcNameGetObjectType):
558 Don't assign types to user object names.
560 2005-12-05 Patrick Lam <plam@mit.edu>
561 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
563 Don't free strings that have been returned from FcStrStaticName.
565 2005-12-01 Patrick Lam <plam@mit.edu>
566 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
568 Add codepath for reading global cache files as well.
570 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
573 * conf.d/10-fonts.persian.conf:
574 * conf.d/Makefile.am:
576 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
578 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
581 * src/fcxml.c (FcConfigParseAndLoad):
583 Only add a config file to the set of config files once.
585 2005-11-29 Patrick Lam <plam@mit.edu>
586 * src/fcint.h (FcCacheBankToIndex);
588 Fix segfault by guarding array dereference.
590 2005-11-29 Dirk Mueller <dmueller@suse.de>
594 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
595 FcCacheBankToIndex, FcCacheBankToIndexMTF,
599 Refactor FcCacheBankToIndex into an inlineable part
600 (in fcint.h) which checks the front of the list and a
601 non-inlineable part which finds and moves the appropriate element
602 to the front of the list.
604 2005-11-29 Patrick Lam <plam@mit.edu>
605 * src/fccfg.c (FcConfigBuildFonts):
606 * src/fccache.c (FcCacheReadDirs):
608 Make the perf guys hate me a bit less: hoist the directory-name
609 FcConfigAcceptFont check for cached fonts up to directory cache
610 read time, rather than running it for each font.
612 2005-11-29 Patrick Lam <plam@mit.edu>
613 * src/fccfg.c (FcConfigBuildFonts):
615 * src/fcpat.c (FcPatternFindFullFname):
617 Don't make FcPatternFindFullFname available to fccfg, it's not
618 really safe. Instead go through FcPatternGetString (sorry,
619 perf guys.) Also, use globs for dirs as well.
621 2005-11-28 Patrick Lam <plam@mit.edu>
622 * src/fccfg.c (FcConfigBuildFonts):
626 2005-11-28 Patrick Lam <plam@mit.edu>
628 * src/fcpat.c (FcPatternFindFullFname):
629 * src/fccfg.c (FcConfigBuildFonts):
631 Fix problem dating back at least to 2.3.2 where globs weren't
632 being applied to patterns loaded from a cache.
634 2005-11-28 Patrick Lam <plam@mit.edu>
635 * doc/fontconfig-user.sgml:
637 Fix some obvious spelling mistakes.
639 2005-11-28 Dirk Mueller <dmueller@suse.com>
640 Stephan Kulow <coolo@suse.de>
643 * src/fcmatch.c (FcFontSetMatch):
645 Don't kill all fonts during match (oops!)
648 2005-11-25 Dirk Mueller <dmueller@suse.com>
649 Stephan Kulow <coolo@suse.de>
650 Michael Matz <matz@suse.de>
653 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
656 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
657 inline FcCompare into FcFontSetMatch and reorder the
658 loops, adding a boolean array which blocks patterns from future
659 consideration if they're known to not be best on some past
662 2005-11-26 Dirk Mueller <dmueller@suse.com>
665 * src/fcmatch.c (FcCompareValueList):
669 2005-11-25 Patrick Lam <plam@mit.edu>
670 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
672 Don't do random matching when bad objects are passed into
675 2005-11-25 Patrick Lam <plam@mit.edu>
677 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
678 FcPatternSerialize, FcPatternUnserialize,
679 FcValueListEnsureBank, FcValueListDistributeBytes,
680 FcValueListUnserialize):
682 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
683 _fcPatternElts, _fcValueLists for consistency.
685 2005-11-25 Dirk Mueller <dmueller@suse.com>
690 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
692 2005-11-25 Patrick Lam <plam@mit.edu>
694 * src/fccache.c (FcDirCacheConsume):
695 * src/fccharset.c (FcCharSetUnserialize):
696 * src/fcfs.c (FcFontSetUnserialize):
697 * src/fclang.c (FcLangSetUnserialize):
698 * src/fcname.c (FcObjectUnserialize):
699 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
700 FcPatternUnserialize):
702 Pass around FcCache *s to the Unserialize functions for extra
703 consistency (and less overhead, for what that's worth).
705 2005-11-24 Dirk Mueller <dmueller@suse.com>
709 * src/fcmatch.c (FcCompare*, FcFontSetSort):
710 * src/fcname.c (FcNameUnparseValue):
712 Inline the *PtrU functions to gain perf.
713 Remove unneeded params for the FcCompare* functions.
715 2005-11-24 Dirk Mueller <dmueller@suse.com>
718 * src/fcint.h, fontconfig/fontconfig.h:
720 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
722 * src/fcpat.c, src/fcint.h, src/fcname.c:
724 Check for type validity during FcPatternAddWithBinding, don't
725 verify type in FcFontMatch, don't call FcCanonicalize here
726 (which always does a deep copy).
728 2005-11-24 Dirk Mueller <dmueller@suse.com>
731 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
732 * src/fcpat.c (FcPatternAddWithBinding):
734 Make FcCompareString and FcCompareFamily less expensive.
735 Only add a value for FC_FAMILY if the proposed value is a string.
737 2005-11-24 Dirk Mueller <dmueller@suse.com>
740 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
741 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
742 * src/fcint.h (FcDebug):
744 Inline FcDebug invocations and only initialize once, in FcInit*.
745 Improve debug msg in FcPatternPrint.
747 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
750 * fontconfig/fontconfig.h:
753 Minor code warning cleanups.
755 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
758 * fc-match/fc-match.c (main):
760 Make getopt_long accept -s parameter to fc-match as well.
762 2005-11-21 Dirk Mueller <dmueller@suse.com>
765 * src/fcmatch.c (FcCompareValueList):
767 Manually perform inlining & partial redundancy elimination to
768 reduce calls to FcValueListPtrU.
770 2005-11-21 Dirk Mueller <dmueller@suse.com>
773 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
774 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
776 Only invoke strlen() when really necessary.
778 2005-11-19 Matthias Clasen <mclasen@redhat.com>
782 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
787 Get rid of the use of freetype internal headers in fcfreetype.c,
788 since those headers will go away with freetype 2.2. Replace with
789 public domain ftglue code from pango. Note that the patch removes
790 some extra error checking in FT_Get_BDF_Property() and comments
791 out the skipping of empty pcf fonts.
793 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
796 * fc-lang/fc-lang.c (main):
798 Further fix of patch from 2005-11-04: miscounted numbers count
799 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
800 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
802 Removed leafidx_count and numbers_count since they are the same
803 and replaced them with offset_count.
805 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
808 * fc-cat/fc-cat.c (main):
810 Don't crash when fc-cat invoked with no arguments.
812 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
815 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
817 Fix invalid read access caused by premature free and
818 GCC4 warnings in libxml2 codepath.
820 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
823 * src/fccfg.c (FcConfigValues):
825 List iteration not needed in FcConfigValues, since it's building
826 up the list itself; we can just strip FcVoid elements during
829 2005-11-17 Patrick Lam <plam@mit.edu>
830 * src/fccfg.c (FcConfigValues):
832 Fix crash on invalid constants in config files (forgot to update
833 a pointer upon list iteration.)
835 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
838 * src/fcxml.c (FcTypecheckExpr):
840 Complain about invalid constants in config files.
842 2005-11-17 Andreas Schwab <schwab@suse.de>
845 * src/fccache.c (FcGlobalCacheSave):
847 Don't add current_arch_start more than once.
849 2005-11-16 Patrick Lam <plam@mit.edu>
850 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
851 * src/fcfs.c (FcFontSetUnserialize):
852 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
853 * src/fcpat.c (FcStrUnserialize):
855 Fix ordering of ALIGN with respect to saving block_ptr; add
856 another ALIGN to fcfs.c.
858 2005-11-16 Patrick Lam <plam@mit.edu>
859 * src/fccache.c (FcDirCacheProduce)
861 Fix case where alignment bytes bumped up metadata->count
862 causing unwarranted failures to write cache files.
863 (Reported by Stephan Kulow).
865 2005-11-16 Patrick Lam <plam@mit.edu>
866 * src/fccache.c (FcDirCacheProduce):
867 * src/fccharset.c (FcCharSetDistributeBytes):
868 * src/fcfs.c (FcFontSetDistributeBytes):
870 * src/fclang.c (FcLangSetDistributeBytes):
871 * src/fcname.c (FcObjectDistributeBytes):
872 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
875 Add *NeededBytesAlign(), which overestimates the padding which is
876 later added by the new ALIGN macro. Fix alignment problems on
877 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
878 version by Andreas Schwab).
880 2005-11-16 Stephan Kulow <coolo@kde.org>
885 Use sysconf to determine proper PAGESIZE value; this
886 appears to be POSIX-compliant. (reported by Andreas Schwab)
888 2005-11-04 Patrick Lam <plam@mit.edu>
894 Fix bug 2878 (excessive relocations at startup for charsets,
895 reported by Ross Burton): fc-lang/fc-lang now creates the
896 static form of the langset, not the dynamic form, so that
897 the charsets should now be in .rodata.
899 2005-11-04 Patrick Lam <plam@mit.edu>
900 * src/fcdir.c (FcDirScanConfig):
902 Add test for validity of directory caches that
903 somehow got lost (reported by make distcheck).
905 2005-11-04 Patrick Lam <plam@mit.edu>
909 * fontconfig/fontconfig.h:
911 Bump version to 2.3.92.
913 2005-11-02 Patrick Lam <plam@mit.edu>
914 * src/fcpat.c (FcPatternDuplicate):
916 Fix argument ordering problem in call to FcPatternTransferFullFname.
918 2005-11-02 Patrick Lam <plam@mit.edu>
919 * src/fcfreetype.c (FcFreetypeQuery):
920 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
921 FcPatternTransferFullFname):
923 Fix warnings and embarrassing double-free error.
925 2005-11-02 Zhe Su <zsu@novell.com>
930 Change the rule for artificial emboldening in fonts.conf.in. This
931 enables the support for artificial emboldening included in cairo.
933 2005-11-02 Patrick Lam <plam@mit.edu>
934 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
936 Don't zero out full names for FC_REF_CONSTANT fonts;
937 also, duplicate full names when transferring, and free
938 full names when freeing the associated font.
939 Reported by Jinghua Luo.
941 2005-11-02 Patrick Lam <plam@mit.edu>
942 * fc-cache/fc-cache.c (scanDirs):
943 * src/fcpat.c (FcValueListSerialize):
945 Revert the previous patch and commit the correct patch:
946 I forgot a canonicalization in FcValueListSerialize, so
947 that it would choke on already-serialized input files. Duh!
949 2005-11-02 Patrick Lam <plam@mit.edu>
950 * fc-cache/fc-cache.c (scanDirs):
952 Forcibly rescan a directory before writing a fresh local
953 cache file for that directory, fixing the losing-fonts
954 problem reported by Mike Fabian and also apparently the
955 font cache file corruption.
957 2005-11-02 Patrick Lam <plam@mit.edu>
958 * src/fccache.c (FcGlobalCacheLoad):
960 Fix thinko: actually, the whole global cache is stale
961 if the global cache is older than the (newest) config file.
963 2005-11-02 Patrick Lam <plam@mit.edu>
964 * src/fccache.c (FcGlobalCacheLoad):
965 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
968 Declare the global cache of a directory's contents to be stale if
969 the directory is newer than the (newest) configuration file.
971 2005-10-31 Patrick Lam <plam@mit.edu>
973 * src/fclist.c (FcListAppend):
974 * src/fcmatch.c (FcFontRenderPrepare):
975 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
976 FcPatternFreeze, FcPatternBaseFreeze):
978 Copy the full pathname whenever duplicating an FcPattern; otherwise,
979 applications continue breaking.
981 2005-10-31 Patrick Lam <plam@mit.edu>
982 * fc-cat/fc-cat.c (FcCacheFileRead, main):
983 * src/fcfreetype.c (FcFreeTypeQuery):
985 Fix small memory error (tried to free argv); use basename and
986 dirname correctly (they can modify their arguments).
988 2005-10-31 Patrick Lam <plam@mit.edu>
996 Reinstate basename patch, but keep a hash table linking FcPatterns
997 to their fully-qualified font names for clients' benefit. Clients
998 only pay for the font names once they request the FC_FILE property
999 from an FcPattern, but the font name is malloc'd at that point (i.e.
1000 not mmapped: that's impossible, since it may vary between machines.)
1001 Clients do have to pay for a copy of the path name per cache file.
1003 Note that FcPatternGetString now does some rewriting if you ask
1004 for an FC_FILE, appending the pathname as appropriate.
1006 2005-10-31 Patrick Lam <plam@mit.edu>
1007 * src/fcfreetype.c (FcFreeTypeQuery):
1009 Revert basename patch, which breaks fontconfig clients on my system.
1011 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1014 * fontconfig/fonts.conf.in:
1015 * fontconfig/fontconfig.h:
1019 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1020 to load embedded bitmaps or not.
1022 2005-10-25 Patrick Lam <plam@mit.edu>
1023 * src/fcfreetype.c (FcFreeTypeQuery):
1025 Only add basename to patterns' FC_FILE element, not any part of
1028 2005-10-22 Patrick Lam <plam@mit.edu>
1031 Add some more consts, fixing more GCC4 warnings.
1033 2005-10-22 Zhe Su <zsu@novell.com>
1036 Support localized font family and style names.
1037 This has been reported to break old apps like xfd, but modern
1038 (gtk+/qt/mozilla) apps work fine.
1040 2005-10-21 Patrick Lam <plam@mit.edu>
1041 * src/fccache.c (FcGlobalCacheLoad):
1043 Destroy the global cache file if it's terminally broken. (reported by
1046 2005-10-21 Patrick Lam <plam@mit.edu>
1047 * fc-list/fc-list.c (main):
1048 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1049 * fontconfig/fontconfig.h:
1051 Prevent fc-list from escaping strings when printing them (reported by
1054 2005-10-20 Marcus Meissner <meissner@suse.de>
1057 * fontconfig/fontconfig.h:
1059 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1061 2005-10-14 Ross Burton <ross@burtonini.com>
1064 * fc-glyphname/fc-glyphname.c:
1067 Add consts to variables so as to move arrays into .rodata.
1069 2005-10-14 Mike Fabian <mfabian@suse.de>
1072 * src/fccache.c (FcDirCacheUnlink):
1074 Check existence of directory cache file before attempting to unlink.
1076 2005-10-13 Patrick Lam <plam@mit.edu>
1077 * src/fccache.c (FcDirCacheUnlink):
1079 Fix flipped return value on unlink. (Reported by Mike Fabian)
1081 2005-10-12 Patrick Lam <plam@mit.edu>
1084 * src/fcdir.c (FcDirScanConfig):
1087 When fc-cache is run without --force, use directory cache files
1088 to speed up fc-cache run time. (Reported by Mike Fabian)
1090 2005-10-06 Patrick Lam <plam@mit.edu>
1092 * src/fcname.c (FcObjectToPtr):
1093 * src/fcpat.c (FcStrStaticName):
1095 Add padding to make valgrind and glibc not hate each other
1096 when calling strlen().
1098 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1099 reviewed by: plam & keithp
1103 Modify config file to use Greek fonts before Asian fonts with
1106 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1107 reviewed by: plam & keithp
1111 Use libtool -no-undefined flag on all platforms.
1113 2005-10-05 Patrick Lam <plam@mit.edu>
1114 * src/fccache.c (FcCacheHaveBank):
1116 Implement move-to-front array for banks (perf regression
1117 reported by Ronny V. Vindenes).
1119 2005-10-04 Patrick Lam <plam@mit.edu>
1120 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1121 FcDirCacheHasCurrentArch):
1122 * fc-cache/fc-cache.c (scanDirs):
1123 * fontconfig/fontconfig.h:
1125 Add new API which unlinks directory caches and checks dir caches
1126 for existence of appropriate sections. Fix fc-cache to unlink
1127 stale cache files and save directory caches that lack relevant
1130 2005-10-03 Patrick Lam <plam@mit.edu>
1131 * src/fccache.c (FcDirCacheValid):
1133 Ensure that a directory cache has the appropriate section
1134 before reporting that it is valid (reported by Matthias Clasen).
1136 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1144 Use libxml2 if requested (with --enable-libxml2) or if
1145 expat is not available.
1147 2005-09-29 Patrick Lam <plam@mit.edu>
1148 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1150 Fix multi-arch cache files: compute the position for the
1151 block to be added using info from OrigFile, not NewFile.
1153 2005-09-28 Patrick Lam <plam@mit.edu>
1154 * src/fccache.c (FcCacheMachineSignature):
1156 Cast results of sizeof() to unsigned int to get rid of
1157 warnings on x86_64 (thanks Matthias Clasen).
1159 2005-09-27 Patrick Lam <plam@mit.edu>
1160 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1163 Use FcAtomic to rewrite cache files.
1165 2005-09-27 Patrick Lam <plam@mit.edu>
1167 * src/fccache.c (FcDirCacheWrite):
1169 Don't unlink the fonts.cache-2 file even if there's no data
1170 to write; just write an empty cache file. (thanks Lubos Lunak)
1172 2005-09-27 Patrick Lam <plam@mit.edu>
1174 * src/fccache.c (FcDirCacheWrite):
1176 Allocate room for the subdirectory names in each
1177 directory cache. Thanks to James Cloos for finding
1178 and diagnosing this bug!
1180 2005-09-22 Patrick Lam <plam@mit.edu>
1182 * fc-cache/fc-cache.sgml:
1183 * src/fccache.c (FcDirCacheWrite):
1184 * src/fccache.h (struct FcCache):
1186 Update documentation -- fc-cache's man page now says that you
1187 need to run fc-cache once per cached architecture; add some
1188 documentation to the FcCache structure.
1190 Make fc-cache write out fonts.cache-2 files for directories with
1191 no fonts (i.e. only subdirectories).
1193 2005-09-22 Patrick Lam <plam@mit.edu>
1195 * fc-cache/fc-cache.sgml:
1196 * fc-case/fc-case.c:
1197 * fc-glyphname/fc-glyphname.c:
1203 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1207 * fc-lang/fc-lang.c:
1208 * fontconfig/fcprivate.h:
1209 * fontconfig/fontconfig.h:
1223 Implement new mmaped cache for font information.
1224 Bump so revision to 2.3.90.
1226 2005-07-25 Keith Packard <keithp@keithp.com>
1228 * doc/fontconfig-user.sgml:
1229 * fc-glyphname/fc-glyphname.c: (scan), (main):
1230 * fc-lang/fc-lang.c: (FcConfigHome):
1231 * fc-match/fc-match.c: (main):
1232 * src/fccfg.c: (FcConfigHome):
1233 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1234 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1235 (addtag), (FcFontCapabilities):
1236 * src/fcpat.c: (FcValueListEntCreate):
1237 * src/fcstr.c: (FcStrCaseWalkerInit):
1238 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1240 Various GCC 4 cleanups for signed vs unsigned char
1242 Match only [0-9]*.conf files in <include>{directory}</include>
1243 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1245 2005-07-15 Carl Worth <cworth@cworth.org>
1248 * src/fcinit.c: (FcFini):
1249 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1252 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1253 Pull the FcObjectStateName hash table out to file scope, and add
1254 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1257 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1260 2005-06-16 Patrick Lam <plam@MIT.EDU>
1264 * src/fccfg.c: (FcConfigCompareValue):
1265 Make FcOpNotContains use FcStrStr for strings so that
1266 it matches semantics for !FcOpContains.
1268 2005-05-20 Keith Packard <keithp@keithp.com>
1272 Move fontconfig source package to libs as per override
1274 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1276 reviewed by: Mike Fabian
1279 The ka.orth file requires several characters which are not
1280 used anymore in modern Georgian and which are missing in the free
1281 Georgian TrueType fonts downloadable at:
1283 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1285 2005-04-27 Keith Packard <keithp@keithp.com>
1289 Update date to real 2.3.2 release date.
1290 Fix change attributions
1292 2005-04-27 Keith Packard <keithp@keithp.com>
1295 Bump so revision for 2.3.2
1296 * fc-cache/fc-cache.c: (scanDirs):
1297 Fix a few minor leaks in error cases.
1299 2005-04-23 Keith Packard <keithp@keithp.com>
1304 * fontconfig/fontconfig.h:
1305 Update for version 2.3.2
1307 2005-04-21 Keith Packard <keithp@keithp.com>
1309 * debian/fontconfig.postinst:
1310 Don't force bitmap font enable in default
1311 configuration; allows users to override this in
1321 * debian/po/pt_BR.po:
1322 * debian/po/templates.pot:
1324 * debian/po/zh_CN.po:
1325 Updated translations
1327 * fc-cache/fc-cache.c: (main):
1328 Destroy font configuration on exit to help valgrind
1331 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1332 (FcFreeTypeCheckGlyph):
1333 Use own transcoding routines in preference to iconv
1334 which appears to have leaks in some translators.
1335 Call iconv_close after using iconv (oops).
1337 Prefer unicode encoding of Euro char as some
1338 fonts mis-encode Euro in other ones.
1340 Must fetch bitmap glyphs to get width values
1341 to check for monospace/dual-width fonts.
1343 2005-04-13 Ross Burton <ross@burtonini.com>
1346 Check that a pattern isn't already frozen in FcPatternFreeze.
1348 2005-03-31 Ross Burton <ross@burtonini.com>
1353 Run all FcPattern objects through FcObjectStaticName, so that
1354 compares can be done on pointers instead of strings (#2659)
1356 2005-03-17 Tor Lillqvist <tml@novell.com>
1358 * src/fontconfig.def.in: Add the .dll to the dll name.
1360 2005-03-10 Keith Packard <keithp@keithp.com>
1362 * debian/README.Debian:
1363 Update to reflect configuration changes
1365 * debian/fontconfig.postinst:
1366 Fix Autohint vs Autohinter mistake
1367 * debian/fontconfig.templates:
1368 Adopt changes from Josselin Mouette for configuration descriptions
1369 Update debian to version 2.3.1-2
1371 2005-03-08 Keith Packard <keithp@keithp.com>
1375 Update debian for 2.3.1
1377 2005-03-09 Tor Lillqvist <tml@novell.com>
1379 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1382 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1385 2005-03-08 Keith Packard <keithp@keithp.com>
1389 * fontconfig/fontconfig.h:
1392 2005-03-05 Keith Packard <keithp@keithp.com>
1394 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1395 Include space and remove numbers from valid script tags.
1396 This ensures that tags like 'lao ' work while rejecting
1397 those which have any digits.
1398 Eliminate a spurious debugging variable (len)
1400 2005-03-05 Keith Packard <keithp@keithp.com>
1402 * src/fcfreetype.c: (addtag), (GetScriptTags),
1403 (FcFontCapabilities):
1404 Rework GSUB/GPOS script parsing to survive broken fonts.
1405 Thanks for the broken font go to Manish Singh
1407 2005-03-05 Keith Packard <keithp@keithp.com>
1412 * debian/fontconfig.config:
1413 * debian/fontconfig.templates:
1415 Include 2.3 release information in changelog
1416 Add Josselin Mouette as an Uploader
1417 Set hinting_type to low priority configuration option
1420 * debian/fontconfig.postinst:
1421 yes_bitmaps.conf -> yes-bitmaps.conf
1427 2005-03-02 Keith Packard <keithp@keithp.com>
1430 * conf.d/Makefile.am:
1431 * conf.d/autohint.conf:
1432 * conf.d/no-sub-pixel.conf:
1433 * conf.d/sub-pixel.conf:
1434 * conf.d/unhinted.conf:
1435 * debian/autohint.conf:
1436 * debian/fontconfig.install:
1437 * debian/fontconfig.postinst:
1438 * debian/fontconfig.templates:
1439 * debian/no-sub-pixel.conf:
1440 * debian/unhinted.conf:
1441 Move debian-specific conf file examples upstream.
1443 Sub-pixel configuration examples must smash subpixel value
1444 as Xft always sets it from X.
1446 Change sub-pixel rendering debconf descriptions from
1447 Enable/Disable to Always/Never.
1449 2005-03-02 Keith Packard <keithp@keithp.com>
1452 * conf.d/.cvsignore:
1454 Ignore more build detritus
1457 Add debian package construction stuff.
1459 * config/config.guess:
1460 * config/config.sub:
1461 Update to newer versions of these tools
1464 Get library manuals to build again (we love automake).
1466 * debian/README.Debian:
1467 * debian/autohint.conf:
1472 * debian/fontconfig-udeb.install:
1473 * debian/fontconfig.config:
1474 * debian/fontconfig.defoma:
1475 * debian/fontconfig.dirs:
1476 * debian/fontconfig.install:
1477 * debian/fontconfig.postinst:
1478 * debian/fontconfig.postrm:
1479 * debian/fontconfig.templates:
1480 * debian/libfontconfig1-dev.install:
1481 * debian/libfontconfig1.install:
1482 * debian/local.conf.md5sum:
1483 * debian/no-sub-pixel.conf:
1484 * debian/po/POTFILES.in:
1493 * debian/po/pt_BR.po:
1494 * debian/po/templates.pot:
1496 * debian/po/zh_CN.po:
1498 * debian/unhinted.conf:
1499 Update debian build system to switch maintainers and
1500 deal with 2.3 functionality
1502 2005-03-01 Keith Packard <keithp@keithp.com>
1506 * fontconfig/fontconfig.h:
1509 2005-03-01 Keith Packard <keithp@keithp.com>
1512 Generate and install PDF versions of the manuals
1514 * doc/fcpattern.fncs:
1517 * doc/fcstring.fncs:
1518 Add missing exported functions, fix data types
1520 * doc/fontconfig-devel.sgml:
1521 Add missing pattern elements.
1523 * doc/fontconfig-user.sgml:
1524 Add missing pattern elements. Document conf.d usage,
1525 clarify available orthography list. Fix some config file
1526 attributes. Complete list of constants.
1528 * fontconfig/fontconfig.h:
1529 Mark FC_SOURCE deprecated.
1531 * src/fcfreetype.c: (FcFreeTypeQuery):
1532 Don't set FC_SOURCE any longer.
1534 2005-02-28 Keith Packard <keithp@keithp.com>
1537 * conf.d/Makefile.am:
1539 * conf.d/no-bitmaps.conf:
1540 * conf.d/sub-pixel.conf:
1541 * conf.d/yes-bitmaps.conf:
1543 Create prototype /etc/fonts/conf.d directory with a few
1544 sample configuration files.
1545 Deprecate use of local.conf for local customizations in favor of
1546 this directory based scheme which is more easily integrated into
1547 installation systems.
1550 Tag FC_EMBOLDEN as a boolean variable
1552 2005-02-10 Keith Packard <keithp@keithp.com>
1554 reviewed by: pborelli@katamail.com
1556 * src/fcdir.c: (FcFileScanConfig):
1557 Free patterns from fonts which are rejected by configuration
1560 2005-01-28 Keith Packard <keithp@keithp.com>
1564 * fontconfig/fontconfig.h:
1565 Update for version 2.2.99
1567 2005-01-28 Keith Packard <keithp@keithp.com>
1570 Add a few pointers (#2284, #2285)
1572 2005-01-28 Keith Packard <keithp@keithp.com>
1575 * src/fcname.c: (FcNameBool):
1576 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1577 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1578 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1579 Polite typechecking for test and edit expressions. Helps
1580 catch errors in the font configuration. (bug 229)
1582 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1584 reviewed by: Keith Packard <keithp@keithp.com>
1587 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1589 2005-01-13 Keith Packard <keithp@keithp.com>
1591 * doc/fontconfig-user.sgml:
1592 Add SEE ALSO section (bug 2085)
1594 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1596 reviewed by: Keith Packard <keithp@keithp.com>
1601 * fc-case/Makefile.am:
1602 * fc-glyphname/Makefile.am:
1603 * fc-lang/Makefile.am:
1604 * src/fontconfig.def.in:
1605 Cross compiling fixes (bug 280)
1607 2005-01-13 Keith Packard <keithp@keithp.com>
1610 Update blanks list (Closes bug 86)
1612 2005-01-04 Keith Packard <keithp@keithp.com>
1614 * src/fccache.c: (FcCacheFontSetAdd):
1615 Verify that every font pattern loaded from cache has
1616 both FC_FILE and FC_FAMILY entries.
1617 Attempt to fix bug #2219.
1619 2004-12-29 Keith Packard <keithp@keithp.com>
1623 * fontconfig/fontconfig.h:
1624 Update for version 2.2.98
1626 2004-12-29 Keith Packard <keithp@keithp.com>
1628 * fontconfig/fontconfig.h:
1629 Document ASCII limitations of Fc character conversion macros
1630 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1631 Fix off-by-one error in utf-8 case walking code.
1632 Add FcStrDowncase (useful for testing case conversion functions)
1634 2004-12-29 Keith Packard <keithp@keithp.com>
1637 * fc-case/.cvsignore:
1638 clean up CVS ignore lists
1639 * fc-lang/iso-3166.txt:
1640 Add territory database
1642 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1644 Reviewed by: Keith Packard
1647 Remove Han characters from Korean orthography
1649 2004-12-29 Keith Packard <keithp@keithp.com>
1652 Reorder utility programs to make sure fc-case is run before fc-lang
1653 as fc-lang uses fcstr.c which uses fccase.h
1657 2004-12-29 Keith Packard <keithp@keithp.com>
1660 Adopt some RedHat suggestions for standard font configuration.
1664 * fc-case/CaseFolding.txt:
1665 * fc-case/Makefile.am:
1666 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1667 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1668 (dump), (parseRaw), (caseFoldReadRaw), (main):
1669 * fc-case/fccase.tmpl.h:
1670 Add new helper program 'fc-case' to construct case folding
1671 tables from standard Unicode CaseFolding.txt file
1674 * src/fclist.c: (FcListValueHash):
1675 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1676 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1677 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1678 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1679 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1680 Re-implement case insensitive functions with Unicode
1681 aware versions (including full case folding mappings)
1683 2004-12-13 Keith Packard <keithp@keithp.com>
1685 reviewed by: Owen Taylor <otaylor@redhat.com>
1687 * src/fcmatch.c: (FcFontSetSort):
1688 I changed FcFontSetSort to respect the generic aliases better
1689 in the face of language matching.
1691 What I did was to ammend the strict sort order used by FcFontSort so
1692 that it 'satisfies' the language specified in the pattern by locating
1693 the best matching font supporting each pattern language and then
1694 ignores language in the remaining fonts for purposes of matching.
1696 So, when asking for 'sans:lang=en', you'll get an English font first,
1697 and then the remaining fonts sorted with respect to the 'sans' alias
1698 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1700 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1702 reviewed by: Keith Packard <keithp@keithp.com>
1704 * fontconfig/fontconfig.h:
1707 Configuration changes to request synthetic emboldening of
1708 fonts. The actual emboldening code will live in Xft.
1710 2004-12-09 John Thacker <thacker@math.cornell.edu>
1712 reviewed by: Keith Packard <keithp@keithp.com>
1716 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1717 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1718 и), and don't even appear in KOI8-R. (The hypothesis that they
1719 don't appear in KOI8-R due to their similarity with Latin I and i is
1720 eliminated by their presence in KOI8-U.) I have a couple of fonts
1721 with Russian support that don't have the letter.
1723 Therefore, 0406 and 0456 should be removed from or commented out of
1726 2004-12-06 michael meeks <mmeeks@novell.com>
1728 Reviewed by: Keith Packard <keithp@keithp.com>
1730 * src/fcinit.c: (FcMemReport):
1732 * src/fclist.c: (FcObjectSetAdd):
1733 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1734 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1735 * src/fcxml.c: (FcParsePatelt):
1736 memoize strings and share a single copy for all uses. Note that
1737 this could be improved further by using statically allocated blocks
1738 and gluing multiple strings together, but I'm basically lazy.
1739 In my environment with 800 font files, I get a savings of about 90KB.
1741 2004-12-06 Keith Packard <keithp@keithp.com>
1745 * config/Makedefs.in:
1748 * doc/fcatomic.fncs:
1749 * doc/fcblanks.fncs:
1750 * doc/fccharset.fncs:
1751 * doc/fcconfig.fncs:
1752 * doc/fcconstant.fncs:
1754 * doc/fcfontset.fncs:
1755 * doc/fcfreetype.fncs:
1757 * doc/fcmatrix.fncs:
1758 * doc/fcobjectset.fncs:
1759 * doc/fcobjecttype.fncs:
1760 * doc/fcpattern.fncs:
1761 * doc/fcstring.fncs:
1762 * doc/fcstrset.fncs:
1764 * doc/fontconfig-devel.sgml:
1765 * doc/fontconfig-user.sgml:
1767 * doc/version.sgml.in:
1768 * fc-cache/Makefile.am:
1769 * fc-cache/fc-cache.c:
1770 * fc-glyphname/Makefile.am:
1771 * fc-glyphname/fc-glyphname.c:
1772 * fc-glyphname/fcglyphname.tmpl.h:
1773 * fc-lang/Makefile.am:
1783 * fc-lang/az_ir.orth:
1817 * fc-lang/fc-lang.c:
1818 * fc-lang/fc-lang.man:
1819 * fc-lang/fclang.tmpl.h:
1864 * fc-lang/ku_ir.orth:
1897 * fc-lang/ps_af.orth:
1898 * fc-lang/ps_pk.orth:
1927 * fc-lang/ti_er.orth:
1928 * fc-lang/ti_et.orth:
1954 * fc-lang/zh_cn.orth:
1955 * fc-lang/zh_hk.orth:
1956 * fc-lang/zh_mo.orth:
1957 * fc-lang/zh_sg.orth:
1958 * fc-lang/zh_tw.orth:
1960 * fc-list/Makefile.am:
1961 * fc-list/fc-list.c:
1962 * fc-match/Makefile.am:
1963 * fc-match/fc-match.1:
1964 * fc-match/fc-match.c:
1965 * fontconfig/fcfreetype.h:
1966 * fontconfig/fcprivate.h:
1967 * fontconfig/fontconfig.h:
1988 Change files from ISO-Latin-1 to UTF-8
1990 2004-12-04 Keith Packard <keithp@keithp.com>
1993 Update links to new freedesktop.org locations
1995 Add uninstall-local to get rid of fonts.conf and local.conf if they
1996 match the distributed versions. Fixes 'make distcheck'
1998 2004-12-04 Keith Packard <keithp@keithp.com>
2002 * fontconfig/fontconfig.h:
2003 Updates for version 2.2.97
2005 2004-12-04 Owen Taylor <otaylor@redhat.com>
2007 reviewed by: Keith Packard <keithp@keithp.com>
2009 * fc-cache/fc-cache.c: (main):
2010 Sleep for two seconds before exiting to make sure timestamps
2011 for future changes have distinct mod times in the file system.
2014 Add Punjabi orthography. Bug #1671.
2016 2004-12-04 Keith Packard <keithp@keithp.com>
2019 Just remove the FC_FONTDATE -- it has locale issues and
2020 annoys redhat multi-arch installs. Now that all X fonts are
2021 included without prejudice, the chances of the date being at
2022 all interesting are rather limited. Bug #505.
2024 Add copyright and license
2026 2004-12-04 Keith Packard <keithp@keithp.com>
2029 Change default set of fonts to include all of
2030 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2031 * doc/fontconfig-user.sgml:
2032 Document new <include>directory-name</include> semantics
2034 add <include ignore_missing="yes">conf.d</include>
2036 Add selectfont to ignore bitmap fonts, add comment for
2037 selectfont which accepts bitmap fonts.
2040 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2041 Allow <include> configuration elements to reference directories.
2042 Parse and load all files of the form [0-9]* in sorted order.
2044 2004-12-04 Keith Packard <keithp@keithp.com>
2047 Report command line for $srcdir/configure accurately.
2050 2004-12-04 Keith Packard <keithp@keithp.com>
2052 * src/fcfreetype.c: (FcFreeTypeQuery):
2053 Check for non-empty face->family_name and face->style_name
2054 before using those for the font. Empty names match everything.
2057 2004-12-04 Keith Packard <keithp@keithp.com>
2060 * fontconfig/fontconfig.h:
2061 * src/fcfreetype.c: (FcFreeTypeQuery):
2063 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2064 available. This provides font file format information (BDF, Type 1,
2065 PCF, TrueType) for each font. Closes #109.
2067 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2069 reviewed by: Keith Packard <keithp@keithp.com>
2071 * doc/fontconfig-user.sgml:
2074 * fontconfig/fontconfig.h:
2075 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2076 (GetScriptTags), (FcFontCapabilities):
2078 Add detection for font capabilities (bug #105)
2080 2004-12-04 Keith Packard <keithp@keithp.com>
2083 Move existing fonts.conf to fonts.conf.bak
2086 Add detection of iconv
2088 * doc/fcpattern.fncs:
2089 * doc/fontconfig-devel.sgml:
2090 * doc/fontconfig-user.sgml:
2092 Document new selectfont elements
2095 Switch to UTF-8 in comment
2097 * fontconfig/fontconfig.h:
2099 Add fullname, and family/style/fullname language entries
2101 * src/fccache.c: (FcCacheFontSetAdd):
2102 * src/fcdir.c: (FcFileScanConfig):
2103 Respect selectfont/*/glob
2106 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2107 (FcConfigCompareValue), (FcConfigPatternsAdd),
2108 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2109 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2110 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2111 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2112 Add support for selectfont
2114 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2115 (FcStringInPatternElement), (FcFreeTypeQuery):
2116 Add multi-lingual family/style/fullname support
2118 * src/fclist.c: (FcListPatternMatchAny):
2119 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2121 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2122 (FcObjectStaticName):
2123 Add new FcPatternRemove/FcPatternAppend.
2124 FcObjectStaticName stores computed pattern element names which
2125 are required to be static.
2127 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2132 Remove spurious / after $(DESTDIR)
2134 2004-06-30 Keith Packard <keithp@keithp.com>
2138 * fontconfig/fontconfig.h:
2141 2004-06-30 Keith Packard <keithp@keithp.com>
2143 Provided by: Lubos Lunak <l.lunak@suse.cz>
2145 * src/fccfg.c: (FcConfigUptoDate):
2146 However FcConfigUptoDate() doesn't seem to work. See the attached
2147 patch. First there's an obvious misplaced parenthesis making it
2148 return always false, and second, even this call fails to detect font
2149 changes (e.g. adding a new font to
2150 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2151 well. The problem seems to be triggered by my fonts.conf specifying
2152 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2153 doesn't include subdirs, unlike config->fontDirs.
2155 2004-06-03 Keith Packard <keithp@keithp.com>
2157 * fontconfig/fontconfig.h:
2158 Remove comma at end of FcResult enum definition.
2160 2004-05-29 Keith Packard <keithp@keithp.com>
2163 Add steps to md5sum release
2165 2004-05-29 Keith Packard <keithp@keithp.com>
2169 * fontconfig/fontconfig.h:
2172 2004-05-29 Keith Packard <keithp@keithp.com>
2174 * fontconfig/fontconfig.h:
2175 * src/fcmatch.c: (FcFontSetMatch):
2176 Add FcResultOutOfMemory to provide an accurate error when
2177 FcFontSetMatch fails in this way
2180 Make #warning about lacking various FreeType features indicate
2181 which version those features appeared so users know how to
2182 fix the problem (Thanks to Anton Tropashko)
2184 2004-05-05 Keith Packard <keithp@keithp.com>
2186 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2187 Replace MIN/MAX/ABS macros which happen to have come
2188 from FreeType with fontconfig-specific ones (FC_*)
2190 2004-04-23 Keith Packard <keithp@keithp.com>
2193 Extend release preparation instructions to include
2194 notification and distribution steps
2196 2004-04-23 Keith Packard <keithp@keithp.com>
2200 * fontconfig/fontconfig.h:
2201 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2203 2004-04-23 Keith Packard <keithp@keithp.com>
2206 Ignore a few more autotool files
2208 2004-04-14 Keith Packard <keithp@keithp.com>
2211 Add instructions for doing a release
2213 * fontconfig.spec.in:
2214 clean up .spec file; perhaps this will be useful to somebody...
2218 * fontconfig/fontconfig.h:
2221 * fc-lang/fc-lang.c:
2222 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2224 * fc-glyphname/Makefile.am:
2225 * fc-lang/Makefile.am:
2226 * fc-list/Makefile.am:
2227 * fc-match/Makefile.am:
2229 Add WARN_CFLAGS to pass -W flags for GCC systems
2231 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2232 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2233 Change various char types around to match across
2235 Fixed bug in using available_sizes[i].height which
2236 is in pixels, not 64ths of a pixel.
2238 2004-03-06 Keith Packard <keithp@keithp.com>
2240 * src/fcfreetype.c: (FcFreeTypeQuery):
2241 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2242 matches looking for explicit values prefer exact matches
2244 2004-03-02 Keith Packard <keithp@keithp.com>
2246 Supplied by: mfabian@suse.de (Mike FABIAN)
2248 * src/fcfreetype.c: (FcFreeTypeQuery):
2249 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2250 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2252 2004-02-21 Manish Singh <yosh@gimp.org>
2254 * fc-glyphname/fc-glyphname.c: (main):
2255 Cast strlen to int for printf, so we're 64-bit clean.
2257 2004-02-11 Keith Packard <keithp@keithp.com>
2260 * src/fcfreetype.c: (FcGetPixelSize):
2261 Ok, so I messed up the test for y_ppem. Let's see if I
2262 got it right this time.
2264 2004-02-10 Keith Packard <keithp@keithp.com>
2267 * src/fcfreetype.c: (FcGetPixelSize):
2268 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2269 FT_Bitmap_Size record. Add a configure.in test for this
2270 and change the code accordingly (using height instead).
2272 2004-02-06 Keith Packard <keithp@keithp.com>
2275 Add Low Saxon orthography
2276 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2278 * src/fccfg.c: (FcConfigNewestFile):
2279 Oops. Left 'newest.set' unset, which would miscompute
2282 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2283 (FcFreeTypeCheckGlyph):
2284 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2285 font properties (which report the wrong value in current FreeType)
2287 Don't attempt to check for empty glyphs in non-scalable fonts; they
2290 2004-02-01 Tor Lillqvist <tml@iki.fi>
2292 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2293 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2294 cache if config->cache is NULL, which happens if FcConfigHome() is
2295 NULL. Guard against that by using the temp folder in that case.
2297 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2299 * fc-lang/az_ir.orth:
2300 * fc-lang/ku_ir.orth:
2301 * fc-lang/ps_af.orth:
2302 * fc-lang/ps_pk.orth:
2303 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2304 (Afghan and Pakistani).
2306 Updated Urdu orthography with real data.
2308 2003-12-11 Carl Worth <cworth@east.isi.edu>
2310 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2313 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2315 (all-local): Remove excessive whitespace.
2317 * autogen.sh: Add 'set -e' to abort when any program fails,
2318 (avoids printing of 'now type make' after configure aborts).
2320 2003-11-17 Eric Christopherson <rakko@charter.net>
2322 reviewed by: Keith Packard <keithp@keithp.com>
2325 * fontconfig/fcfreetype.h:
2327 Switch to FreeType 2.1.7 style includes. Bug #150.
2329 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2331 * fc-list/fc-list.sgml: Add some example usages.
2333 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2336 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2339 2003-10-27 Keith Packard <keith@keithp.com>
2342 * fontconfig/fontconfig.h:
2343 Update to version 2.2.92
2345 2003-10-27 Keith Packard <keithp@keithp.com>
2350 * fc-cache/Makefile.am:
2351 * fc-glyphname/Makefile.am:
2352 * fc-lang/Makefile.am:
2353 * fc-list/Makefile.am:
2354 * fc-match/Makefile.am:
2357 Yet more cleanups to finish getting 'make distcheck' working
2358 This has been tested to ensure that it even works from a _build
2361 2003-10-26 Keith Packard <keithp@keithp.com>
2365 * fc-cache/Makefile.am:
2366 * fc-glyphname/Makefile.am:
2367 * fc-lang/Makefile.am:
2368 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2369 * fc-list/Makefile.am:
2370 * fc-match/Makefile.am:
2371 Attempts to fix 'make distcheck' work. Things are
2372 progressing pretty well, but there are still failures
2373 long into the process dealing with docs (as always).
2375 The big changes here are mostly to make $(srcdir) != "."
2376 work correctly, fixing the docbook related sections and
2377 fc-lang were particularily tricky. Docbook refuses to load
2378 system entities from anywhere other than where the original .sgml
2379 file was located, so no luck looking in "." for the
2380 configure-generated version.sgml and confdir.sgml files.
2382 fc-lang needed help finding .orth files; added a -d option
2383 to set the directory as the least evil of many options.
2385 Now to go use a faster machine and try and wring out the last
2388 2003-10-26 Keith Packard <keithp@keithp.com>
2392 2003-10-26 Keith Packard <keithp@keithp.com>
2395 Include confdir.sgml.in in EXTRA_DIST
2397 2003-10-09 Josselin Mouette <joss@debian.org>
2399 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2400 * fc-list/fc-list.sgml fc-list/Makefile.am:
2401 Replace fc-cache and fc-list manpages with more detailed, SGML
2404 2003-09-23 Owen Taylor <otaylor@redhat.com>
2406 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2407 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2408 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2411 2003-09-23 Owen Taylor <otaylor@redhat.com>
2413 * fc-lang/ka.orth: Remove Georgian capitals, they
2414 aren't used for normal writing. (Bug #116)
2416 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2418 * doc/fontconfig-devel.sgml:
2419 * doc/fontconfig-user.sgml:
2420 * fontconfig/fontconfig.h:
2422 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2423 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2425 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2426 monospace and dual-width fonts, allow roughly a 3% variance in the
2429 2003-08-31 Manish Singh <yosh@gimp.org>
2431 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2434 2003-08-15 Carl Worth <cworth@isi.edu>
2436 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2437 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2439 * src/fcpat.c (FcValueListEntDestroy): New function to support
2440 FcFini memory cleanup. Some statistics are not kept in
2442 (FcValueListFreeze): Move hashTable outside this function so it
2443 can be accessed by FcValueListThawAll.
2444 (FcValueListThawAll): New function complements FcValueListFreeze.
2445 (FcPatternBaseFreeze): Move hashTable outside this function so it
2446 can be accessed by FcPatternBaseThawAll.
2447 (FcPatternBaseThawAll): New function complements
2448 FcPatternBaseFreeze.
2449 (FcPatternThawAll): New function complements FcPatternFreeze.
2451 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2453 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2454 allocated FcCharLeafEnt "blocks" so they can be freed later.
2455 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2456 can be accessed by FcCharSetThawAllLeaf.
2457 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2458 (FcCharSetFreezeBase): Move hashTable outside this function so it
2459 can be accessed by FcCharSetThawAll.
2460 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2462 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2463 (FcConfigDestroy): Fic leak of FcBlanks.
2465 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2466 (main): Add call to FcFini when finished.
2468 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2469 static. Add prototypes.
2471 * doc/fcinit.fncs: Add documentation for FcFini function.
2473 * doc/edit-sgml.c: Mark several local functions as static. Add
2476 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2478 2003-06-15 Tor Lillqvist <tml@iki.fi>
2480 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2481 before comparing (needed on Windows).
2483 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2485 2003-06-13 Tor Lillqvist <tml@iki.fi>
2487 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2490 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2491 WINDOWSFONTDIR token.
2493 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2494 end, not to confuse libtool, which expects the EXPORTS line to be
2495 the first. Add FcConfigEnableHome.
2497 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2498 built as a DLL on Win32.
2500 2003-06-09 Keith Packard <keithp@keithp.com>
2502 * Tag version 2.2.90
2504 2003-06-09 Keith Packard <keithp@keithp.com>
2506 * Optimization in FcLangSetIndex was broken, occasionally
2507 returning a pointer to the wrong location on miss
2509 * Add fc-match to test font matching from the command line.
2511 2003-05-31 Keith Packard <keithp@keithp.com>
2513 * (Bug 85) add support for culmus fonts
2514 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2515 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2517 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2519 * Fix "contains" op for strings and langsets.
2521 2003-05-17 Keith Packard <keithp@keithp.com>
2523 * Fix build error with BDF prop local. Free langset after query
2525 2003-05-14 Keith Packard <keithp@keithp.com>
2527 * Extract spacing from XLFD atom
2529 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2531 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2532 disappeared in 1.30.
2534 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2536 2003-05-12 Keith Packard <keithp@keithp.com>
2538 * Use FcIsWidth to share code
2540 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2541 misclassifying some Han fonts as monospaced.
2543 2003-05-07 Keith Packard <keithp@keithp.com>
2545 * Add filename-based accept/reject to ammend available fonts.
2547 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2548 older FreeType releases.
2550 2003-05-06 Keith Packard <keithp@keithp.com>
2552 * Remove 0b82 and Tamil numbers from tamil
2553 orthography (Jungshik Shin <jshin@mailaps.org>)
2555 2003-05-04 Keith Packard <keithp@keithp.com>
2557 + Map glyph names in fonts with adobe custom encoding to unicode
2559 2003-05-02 Keith Packard <keithp@keithp.com>
2561 * Add FC_WEIGHT_BOOK as weight 75
2563 2003-04-30 Keith Packard <keithp@keithp.com>
2565 * Typo in bitstream foundry name
2567 2003-04-24 Keith Packard <keithp@keithp.com>
2569 * Eliminate italic_angle check for PS fonts
2571 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2573 * Getting closer to fixing /etc/fonts hard-coding.
2575 2003-04-22 Keith Packard <keithp@keithp.com>
2577 * Update autogen.sh to work with newer automake versions
2578 * Handle pattern elements moving during multiple edits
2580 2003-04-23 James Henstridge <james@daa.com.au>
2582 * doc/fontconfig-devel.sgml: close the <para> element.
2584 * doc/fcpattern.fncs: close the <para> element.
2586 * doc/func.sgml: close the <refsynopsisdiv> element.
2588 2003-04-22 Keith Packard <keithp@keithp.com
2590 * Update autogen.sh to work with newer automake versions
2591 * Handle pattern elements moving during multiple edits
2593 2003-04-17 Colin Walters <walters@debian.org>
2595 + Remove some unused variables, and initialize some other ones so
2596 gcc doesn't warn us.
2598 2003-04-16 Keith Packard <keithp@keithp.com>
2600 + tag version 2.1.94
2602 2003-04-16 Keith Packard <keithp@keithp.com>
2604 + add BDF property fetching support for foundry
2605 (from Juliusz Chroboczek)
2606 + add BDF property fetching support for width
2608 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2610 + Implemented foundry generation for Type 1 and TrueType
2612 2003-04-11 Gerard Escalante <g2@magestudios.net>
2614 + Retrieve information from Type1 FontInfo dictionaries
2616 2003-04-07 Colin Walters <walters@verbum.org>
2618 + src/Makefile.am: Fix dummy makefile target names when
2619 MS_LIB_AVAILABLE isn't set.
2621 2003-03-22 Tor Lillqvist <tml@iki.fi>
2623 Changes for Windows:
2625 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2627 + We don't want to hardcode the fonts.conf file location in the
2628 DLL, so we look up the DLL location at run-time in a DllMain()
2629 function. The fonts.conf location is deduced from that.
2631 + The colon can't be used as path separator on Windows,
2632 semicolon is used instead. File path components can be separated
2633 with either slash or backslash. Absolute paths can also begin
2634 with a drive letter.
2636 + Add internal function FcStrLastSlash that strrchr's the last
2637 slash, or backslash on Windows.
2639 + There is no link() on Windows. For atomicity checks, mkdir a
2640 lock directory instead.
2642 + In addition to HOME, also look for USERPROFILE.
2644 + Recognize the special font directory token WINDOWSFONTDIR, to
2645 use the system's font directory.
2647 + Remove the fontconfig-def.cpp that was obsolete. Add
2648 fontconfig.def(.in), without internal functions.
2650 + Add a fontconfig-zip(.in) script, used to build a binary
2653 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2654 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2655 to main package and man3/* to devel package
2657 + Added missing defattr(-, root, root) to main RPM package
2659 + Added HTML and text development documentation to -devel subpackage
2661 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2662 + Added back the configure macro options --disable-docs, otherwise
2663 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2664 version number) unconditionally, causing RPM to fail the build due
2665 to _unpackaged_files_terminate_build. We pick up the pregenerated
2666 docs with %doc already.
2668 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2669 + Removed commented out rpm macro define at top of spec file,
2670 replacing it with a simple explanation, since rpm macros are
2671 expanded by rpm even in comments.
2673 + Changed /usr/bin to _bindir in BuildRequires lines
2675 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2677 + Reorganized file manifest lists
2679 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2681 + fontconfig.spec.in: Improvements from Red Hat spec file.
2683 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2685 + docs/*.sgml: SGML fixes.
2687 Sat Mar 1 17:28:53 PST 2003 keithp
2688 + Ok, so the ChangeLog is a bit out of date
2690 + Lots of bugs fixed; most are in bugzilla, the
2691 biggest problems were in cache management where
2692 Owen discovered the library would lose badly when
2693 combining fonts-cache and ~/.fonts-cache data
2695 + Converted from autoconf to automake. This after
2696 getting patches accepted into libtool to allow
2697 the '-version-number' argument which lets
2698 packages set version numbers explicitly rather
2699 than the roundabout libtool way
2701 + Converted documentation to SGML using the docbook
2702 DTD. Now .txt and .html documents are installed
2703 in /usr/share/doc/fontconfig and there's no
2704 man page. Perhaps a man version can be written
2707 Sat Aug 31 15:21:22 PDT 2002 keithp
2708 + Xrender and Xft had several bugs related to
2709 rendering manually placed or poly-face text
2711 + Added more complete memory tracing in fontconfig
2712 Checked with (patched) mozilla and found no leaks
2714 + Updated Latin orthographies by comparing those from
2715 evertype.com with those from eki.ee. Tried to make
2716 sensible choices, including chars that occured in both
2717 and leaving some optional chars out that occured only
2720 Mon Aug 26 16:33:04 PDT 2002 keithp
2721 + Owen discovered that FcLangSetHasLang wasn't actually
2722 checking the language set.
2724 Mon Aug 26 13:37:23 PDT 2002 keithp
2725 + Append a version number to cache filenames
2727 Thu Aug 22 11:36:18 PDT 2002 keithp
2729 + Add "contains" and "not_contains" operators and elements to
2732 + Changed semantics of eq operator for LangSets to check for
2733 FcLangEqual so that any match will do
2735 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2736 of FcValueEqual to check for identical values when inserting into
2737 the results. This broke when the above semantic change was made,
2738 now it uses FcValueEqual which is "more correct" in any case.
2740 Thu Aug 22 00:32:29 PDT 2002 keithp
2742 + Reimplement FC_LANG as new datatype. Lists of strings
2743 was consuming over a megabyte of memory for 401 fonts.
2745 + Freeze patterns loaded from cache files. This shares
2746 common value lists and common patterns which saves
2747 considerable memory.
2749 + Change the denotation of 'constant' charsets to use special
2750 ref value instead of separate boolean.
2752 + Clean up leak tracing stuff, found several unannoted alloc/free
2755 Tue Aug 20 16:17:37 PDT 2002 keithp
2757 + Fix memory leak when parsing matrices from XML
2759 Mon Aug 19 11:57:27 PDT 2002 keithp
2761 + Fix autoconf files to pass FONTCONFIG_PATH on
2762 compile line so that ${prefix} gets substituted
2765 + Use getc_unlocked/putc_unlocked on systems that
2766 provide them to avoid damage done to stdio by posix
2768 + Eliminate FC_PATTERN and FcTypePattern in favor of
2769 an extended api for FcConfigSubstitute which takes
2770 both the font and the pattern.
2772 + Add 'sans serif' alias for 'sans-serif' as some apps
2773 can't handle hyphens in family names
2775 + Eliminate pretense of support for libxml2
2777 + Comment origins of Han orthographies
2779 Tue Jul 30 18:37:09 PDT 2002 keithp
2781 + Add binding property to edit element so that strong
2782 binding values may be inserted by the config file.
2783 The default remains weak.
2785 Sun 28 Jul 04:16:55 PDT 2002 keithp
2787 + Tagged release candidate 1 in the CVS tree and
2788 placed fcpackage.rc1.tar.gz for distribution
2790 Thu Aug 1 08:55:08 PDT 2002 keithp
2792 + Fixed autoconf builds to always specify install
2793 target files (for BSD). Also fixed to
2794 define FONTCONFIG_PATH in config.h so that
2795 nonstandard installs will actually work.