1 2006-02-10 Takashi Iwai <tiwai@suse.de>
3 * src/fcmatch.c (FcFontSetMatch):
5 Use a tri-state to mark the fonts which didn't get blocked but
6 were just missing an element, to distinguish them from the
7 fonts that do match the element.
9 2006-02-10 Takashi Iwai <tiwai@suse.de>
11 * src/fcmatch.c (FcFontSetMatch):
13 Don't kill fonts because they don't declare an element that's
16 2006-02-09 Patrick Lam <plam@mit.edu>
17 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
18 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
20 Define and pass O_BINARY to open if appropriate, for those
21 platforms that need it. Reported by Doodle.
23 2006-02-09 Patrick Lam <plam@mit.edu>
24 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
27 Fix problem with missing 'en' due to euro.patch: change
28 cache file format slightly to coincide with that generated
31 2006-02-07 Patrick Lam <plam@mit.edu>
32 * src/fccache.c (FcCacheReadDirs):
36 2006-02-07 Patrick Lam <plam@mit.edu>
37 * src/fcdir.c (FcDirScanConfig):
39 Don't reject dirs that can't be normalized (fixes lilypond, and
40 is correct in the context of application font directories.)
42 2006-02-07 Takashi Iwai <tiwai@suse.de>
45 * src/fccache.c (FcCacheReadDirs):
47 Use normalized directory name exclusively in FcCacheReadDirs.
49 2006-02-07 Dirk Mueller <dmueller@suse.com>
52 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
54 Perf optimizations. Inline FcValueCanonicalize,
55 reduce FcValueListPtrU usage, remove redundant cast.
57 2006-02-07 Takashi Iwai <tiwai@suse.de>
60 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
63 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
64 Declare extern for static arrays as arrays, not pointers.
65 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
67 2006-02-07 Dirk Mueller <dmueller@suse.com>
80 Add Euro sign to list of symbols required by European languages.
82 2006-02-07 Patrick Lam <plam@mit.edu>
83 * src/fccache.c (FcCacheReadString):
85 Fix hidden variable warning.
87 2006-02-07 Dirk Mueller <dmueller@suse.com>
90 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
92 Remove de-escaping logic because FcCacheWriteString
93 doesn't escape anyway. Do blockwise reading instead
94 of byte-wise for performance.
96 2006-02-06 Patrick Lam <plam@mit.edu>
97 Takashi Iwai <tiwai@suse.de>
99 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
101 Don't loop infinitely on recursive symlinks (client-side).
103 2006-02-06 Takashi Iwai <tiwai@suse.de>
105 * fc-cache/fc-cache.c (scanDirs, main):
107 Don't loop infinitely on recursive symlinks.
109 2006-02-06 Takashi Iwai <tiwai@suse.de>
111 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
112 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
113 FcGlobalCacheSave, FcCacheReadDirs):
116 Skip subdirs when skipping over stale bits of global cache.
117 Introduce state machine into FcGlobalCacheDir to avoid
118 doing inappropriate operations on global dir entries, e.g.
119 writing out an out-of-date cache entry.
121 2006-02-06 Takashi Iwai <tiwai@suse.de>
123 * src/fcdir.c (FcFileScanConfig):
125 Hoist FcFileIsDir check out of FcFileScanConfig loop.
127 2006-02-06 Takashi Iwai <tiwai@suse.de>
130 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
131 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
133 Don't rescan when trying to normalize a non-declared font dir.
134 Don't add font dirs multiple times (even if they're aliased).
136 2006-02-06 Dirk Mueller <dmueller@suse.de>
139 * src/fcfs.c (FcFontSetUnserialize):
141 Explain apples/oranges comparison and fix compilation error.
143 2006-02-06 Dirk Mueller <dmueller@suse.de>
146 * src/fcfs.c (FcFontSetUnserialize):
148 Insert check for integer overflow in # of fonts.
150 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
154 * fc-cache/Makefile.am:
155 * fc-cat/Makefile.am:
156 * fc-list/Makefile.am:
158 Make 'make distcheck' work with automake 1.6.3.
160 2006-02-03 Takashi IWAI <tiwai@suse.de>
163 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
166 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
167 FcDirCacheConsume, FcDirCacheWrite)
168 * src/fcxml.c (FcConfigMessage):
170 Check I/O call return values and eliminate unused variable
173 2006-02-03 Takashi Iwai <tiwai@suse.de>
176 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
180 2006-02-03 Dirk Mueller <dmueller@suse.de>
183 * src/fcfs.c (FcFontSetUnserialize):
185 Gracefully handle the case where a cache asserts that it
186 has a negative number of fonts, causing overflow.
188 2006-02-03 Patrick Lam <plam@mit.edu>
189 * src/fccache.c (FcDirCacheUnlink):
191 Fix double free in error case.
193 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
194 Stephan Kulow <coolo@suse.de>
197 * fc-cache/Makefile.am:
199 Replace 'stamp' target with mkinstalldirs.
201 2006-01-31 Mike Fabian <mfabian@suse.de>
204 * src/fccache.c (FcGlobalCacheLoad):
206 Toast broken global cache files.
208 2006-01-30 Patrick Lam <plam@mit.edu>
209 * src/fccache.c (FcGlobalCacheReadDir):
211 Actually use the directories that I added to the global cache.
214 2006-01-30 Mike Fabian <mfabian@suse.de>
217 * fc-cache/fc-cache.c (scanDirs):
219 Don't stop scanning if a directory in fonts.conf doesn't
220 exist, because subsequent directories might exist.
222 2006-01-30 Patrick Lam <plam@mit.edu>
223 * src/fccache.c (FcGlobalCacheLoad):
225 Make global cache work again after putting dir names into global
226 cache (I misplaced the recording of a file offset).
228 2006-01-30 Patrick Lam <plam@mit.edu>
229 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
231 Update fc-cat to handle subdir lists in global cache file.
233 * src/fccache.c (FcGlobalCacheLoad):
235 Another FcCacheReadString return value check.
237 2006-01-30 Mike Fabian <mfabian@suse.de>
240 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
241 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
243 Make fccache more resilient to broken cache files by checking
244 return value of FcCacheReadString all the time.
246 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
249 * fc-match/fc-match.1:
250 * fc-lang/fc-lang.man:
252 Remove references to dead fontconfig(3) manpages in
253 other fontconfig manpages.
255 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
258 * doc/fcpattern.fncs:
260 Fix world's tiniest typo in code example.
262 2006-01-29 Mike Fabian <mfabian@suse.de>
265 * src/fccache.c (FcGlobalCacheReadDir):
267 Fix global cache reads of subdirectories.
269 2006-01-29 Patrick Lam <plam@mit.edu>
271 Add documentation for FcConfigNormalizeFontDir.
273 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
274 FcGlobalCacheUpdate, FcGlobalCacheSave):
275 * src/fcdir.c (FcDirScanConfig):
278 Write directory information to global caches to fix make check
279 (reported by Ronny V. Vindenes). This changes the global cache
282 2006-01-27 Patrick Lam <plam@mit.edu>
283 * fc-cache/fc-cache.c (scanDirs):
284 * fontconfig/fontconfig.h:
286 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
288 Move FcConfigNormalizeFontDir call so that it doesn't result in
289 infinite recursion (reported by Ronny V. Vindenes).
291 2006-01-26 Patrick Lam <plam@mit.edu>
292 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
293 * src/fccfg.c (FcConfigNormalizeFontDir):
295 Add a couple of missing normalizations to make fc-cache work
296 right; only scan subdirectories once.
298 2006-01-26 Mike Fabian <mfabian@suse.de>
301 * src/fcacache.c (FcGlobalCacheReadDir):
303 Don't crash on non-existant directories in global cache.
305 2006-01-26 Patirck Lam <plam@mit.edu>
306 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
307 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
308 * src/fcdir.c (FcDirScanConfig):
309 * src/fcxml.c (FcEndElement):
311 Stop trampling the directory name when writing out caches.
312 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
313 subdirs when necessary. Don't scan directories that can't be
316 2006-01-25 Patrick Lam <plam@mit.edu>
317 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
318 * src/fccfg.c (FcConfigEvaluate):
319 * src/fcfreetype.c (FcPatternAddWithBinding):
321 Fix additional memory leaks reported by Ronny V. Vindenes: don't
322 invoke FcValueSave on hashed static strings in
323 FcPatternAddWithBinding.
325 Add another st_dev check in FcDirCacheOpen.
327 2006-01-24 James Su <james.su@gmail.com>
330 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
331 * fc-lang/zh_hk.orth:
333 Treat zh-hk fonts differently from zh-tw fonts. This patch may
334 cause fontconfig to treat A-X fonts differently from A-Y fonts;
335 please mail the fontconfig list if this causes any problems.
337 2006-01-24 Patrick Lam <plam@mit.edu>
338 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
339 * src/fcfreetype.c (FcFreeTypeQuery):
341 Fix memory leaks reported by Ronny V. Vindenes.
343 2006-01-19 Andreas Schwab <schwab@suse.de>
346 * src/fcpat.c (FcStrNeededBytes):
348 Fix for unaligned memory accesses.
350 2006-01-18 Mike Fabian <mfabian@suse.de>
353 * src/fcdir.c (FcDirScanConfig):
355 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
356 calls to avoid crashes.
358 2006-01-14 Patrick Lam <plam@mit.edu>
359 * src/fccache.c (FcDirCacheConsume):
361 Fix segfault when consuming zero-length caches in fc-cat
362 (which has no config, so FcConfigAddFontDir shouldn't be called.)
364 2006-01-14 Patrick Lam <plam@mit.edu>
365 * fc-cache/fc-cache.c (scanDirs):
366 * fontconfig/fontconfig.h:
367 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
368 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
369 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
370 * src/fcdir.c (FcDirScanConfig):
373 Compare device numbers as well as inodes.
374 Always normalize directory names before comparing them.
376 2006-01-11 Mike Fabian <mfabian@suse.de>
379 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
381 Allocate extra space for appended '/' in directory name.
383 2006-01-10 Patrick Lam <plam@mit.edu>
384 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
385 FcDirCacheValid, FcDirCacheHasCurrentArch,
386 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
387 * fc-cache/fc-cache.c (main):
389 Explicitly add font dirs to config.fontDirs even if they're empty.
390 Set current config in fc-cache.c.
391 Fix treatment of cache directory as read from cache file; don't
392 use string equality to determine if we have the right file,
395 2006-01-09 Patrick Lam <plam@mit.edu>
396 * fc-cache/fc-cache.c (scanDirs):
397 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
398 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
399 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
400 * src/fccfg.c (FcConfigNormalizeFontDir):
401 * src/fcdir.c (FcDirScanConfig):
404 Normalize font dirs by using the form, as given in fonts.conf, and
405 recorded in FcConfig's fontDirs string set, as canonical.
407 Actually update config.fontDirs as font directories are scanned.
409 2006-01-08 James Su <james.su@gmail.com>
410 * src/fcmatch.c (FcFontSetMatch):
412 Fix matching bug when multiple elements match; don't use
413 the sum of all scores, but the best score.
415 Also more perf opts, e.g. evaluate best over all font sets
416 rather than on a per-set basis (and other changes).
418 2006-01-08 Patrick Lam <plam@mit.edu>
419 * src/fccache.c (FcDirCacheConsume):
421 Properly skip past dir caches that contain zero fonts (as occurs
422 in global caches.) Reported by Mike Fabian.
424 2006-01-06 Patrick Lam <plam@mit.edu>
425 * src/fcdbg.c (FcPatternPrint):
427 Print out full pathname in fc-match -v as well. Reported by
430 2006-01-06 Mike Fabian <mfabian@suse.de>
433 * src/fcname.c (FcNameParse):
435 Fix bug where fc-match crashes when given __DUMMY__ property to
438 (I added the __DUMMY__ string to enable callers of
439 FcObjectToPtrLookup to distinguish an error return from a
440 successful return. -PL)
442 2006-01-05 Patrick Lam <plam@mit.edu>
445 Add self to AUTHORS list.
447 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
448 FcCacheFileRead, FcCachePrintSet, main):
449 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
450 FcGlobalCacheSave, FcCacheNextOffset,
451 FcDirCacheHasCurrentArch, FcDirCacheRead,
452 FcDirCacheConsume, FcDirCacheWrite):
454 * src/fcpat.c (comment):
456 Minor change to global cache file format to fix fc-cat bug
457 reported by Frederic Crozat, and buglet with not globally caching
458 directories with zero fonts cached.
460 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
463 * src/fccfg.c (FcConfigEvaluate):
465 Fix double-free which occurs because FcValueCanonicalize doesn't
466 create an extra copy of the returned value, it only canonicalizes
469 2006-01-02 Patrick Lam <plam@mit.edu>
470 * doc/fontconfig-user.sgml:
472 Fix version of .cache file (currently 1 -> currently 2). Reported
475 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
478 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
480 Shut up GCC warnings on amd.
482 2005-12-20 Patrick Lam <plam@mit.edu>
486 * fontconfig/fontconfig.h:
488 Bump version to 2.3.93.
490 2005-12-20 Patrick Lam <plam@mit.edu>
491 * src/fccharset.c (FcLangCharSetPopulate):
492 * src/fcint.h (FcCacheBankToIndex):
494 Avoid check on _fcBankId nullness and fix case where it used to
497 2005-12-20 Patrick Lam <plam@mit.edu>
498 * src/fcxml.c (FcConfigParseAndLoad):
500 Use open instead of fopen (requested by Phil Race for Sun).
502 2005-12-20 Patrick Lam <plam@mit.edu>
503 * src/fccache.c (FcDirCacheWrite);
504 * fc-cache/Makefile.am:
506 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
509 2005-12-20 Patrick Lam <plam@mit.edu>
510 * src/fcfreetype.c (FcFreeTypeQuery):
512 Restore code to skip over PCF fonts that have no encoded
514 (We guess that a font is PCF by presence of the PIXEL_SIZE
517 2005-12-12 Patrick Lam <plam@mit.edu>
518 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
520 Read and write the original location as a fallback for the
521 hashed cache file locations. This is mostly for users to be
522 able to have per-directory cache files.
524 2005-12-12 Patrick Lam <plam@mit.edu>
525 * fc-cache/fc-cache.c (scanDirs):
526 * fc-cache/Makefile.am:
527 * src/fccache.c (FcDirCacheHashName):
529 Improve error message when fc-cache can't write the cache. Add
530 missing slash. Reported by Behdad. Incorporate Behdad's patch to
531 create /var/cache/fontconfig when appropriate.
533 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
536 * src/fcxml.c (FcConfigGetAttribute):
538 Fix crash reported by Frederic Crozat when using libxml2.
540 2005-12-09 Patrick Lam <plam@mit.edu>
543 * fc-cache/Makefile.am:
544 * fc-cat/Makefile.am:
546 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
547 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
548 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
549 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
550 FcDirCacheHasCurrentArch, FcDirCacheHashName,
551 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
553 Migrate cache files from fonts directories to
554 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
555 but requires that all caches get rebuilt.
557 Also, autogen.sh now needs the additional parameter
558 --localstatedir=/var.
560 2005-12-07 Patrick Lam <plam@mit.edu>
561 * src/fcpat.c (FcPatternAddString):
563 Because we've changed FcPatternAddString to use FcStrStaticName
564 and not FcValueSave, explicitly handle the case of a null string.
566 2005-12-06 Patrick Lam <plam@mit.edu>
567 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
571 2005-12-05 Patrick Lam <plam@mit.edu>
572 * src/fcname.c (FcNameGetObjectType):
574 Don't assign types to user object names.
576 2005-12-05 Patrick Lam <plam@mit.edu>
577 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
579 Don't free strings that have been returned from FcStrStaticName.
581 2005-12-01 Patrick Lam <plam@mit.edu>
582 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
584 Add codepath for reading global cache files as well.
586 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
589 * conf.d/10-fonts.persian.conf:
590 * conf.d/Makefile.am:
592 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
594 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
597 * src/fcxml.c (FcConfigParseAndLoad):
599 Only add a config file to the set of config files once.
601 2005-11-29 Patrick Lam <plam@mit.edu>
602 * src/fcint.h (FcCacheBankToIndex);
604 Fix segfault by guarding array dereference.
606 2005-11-29 Dirk Mueller <dmueller@suse.de>
610 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
611 FcCacheBankToIndex, FcCacheBankToIndexMTF,
615 Refactor FcCacheBankToIndex into an inlineable part
616 (in fcint.h) which checks the front of the list and a
617 non-inlineable part which finds and moves the appropriate element
618 to the front of the list.
620 2005-11-29 Patrick Lam <plam@mit.edu>
621 * src/fccfg.c (FcConfigBuildFonts):
622 * src/fccache.c (FcCacheReadDirs):
624 Make the perf guys hate me a bit less: hoist the directory-name
625 FcConfigAcceptFont check for cached fonts up to directory cache
626 read time, rather than running it for each font.
628 2005-11-29 Patrick Lam <plam@mit.edu>
629 * src/fccfg.c (FcConfigBuildFonts):
631 * src/fcpat.c (FcPatternFindFullFname):
633 Don't make FcPatternFindFullFname available to fccfg, it's not
634 really safe. Instead go through FcPatternGetString (sorry,
635 perf guys.) Also, use globs for dirs as well.
637 2005-11-28 Patrick Lam <plam@mit.edu>
638 * src/fccfg.c (FcConfigBuildFonts):
642 2005-11-28 Patrick Lam <plam@mit.edu>
644 * src/fcpat.c (FcPatternFindFullFname):
645 * src/fccfg.c (FcConfigBuildFonts):
647 Fix problem dating back at least to 2.3.2 where globs weren't
648 being applied to patterns loaded from a cache.
650 2005-11-28 Patrick Lam <plam@mit.edu>
651 * doc/fontconfig-user.sgml:
653 Fix some obvious spelling mistakes.
655 2005-11-28 Dirk Mueller <dmueller@suse.com>
656 Stephan Kulow <coolo@suse.de>
659 * src/fcmatch.c (FcFontSetMatch):
661 Don't kill all fonts during match (oops!)
664 2005-11-25 Dirk Mueller <dmueller@suse.com>
665 Stephan Kulow <coolo@suse.de>
666 Michael Matz <matz@suse.de>
669 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
672 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
673 inline FcCompare into FcFontSetMatch and reorder the
674 loops, adding a boolean array which blocks patterns from future
675 consideration if they're known to not be best on some past
678 2005-11-26 Dirk Mueller <dmueller@suse.com>
681 * src/fcmatch.c (FcCompareValueList):
685 2005-11-25 Patrick Lam <plam@mit.edu>
686 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
688 Don't do random matching when bad objects are passed into
691 2005-11-25 Patrick Lam <plam@mit.edu>
693 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
694 FcPatternSerialize, FcPatternUnserialize,
695 FcValueListEnsureBank, FcValueListDistributeBytes,
696 FcValueListUnserialize):
698 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
699 _fcPatternElts, _fcValueLists for consistency.
701 2005-11-25 Dirk Mueller <dmueller@suse.com>
706 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
708 2005-11-25 Patrick Lam <plam@mit.edu>
710 * src/fccache.c (FcDirCacheConsume):
711 * src/fccharset.c (FcCharSetUnserialize):
712 * src/fcfs.c (FcFontSetUnserialize):
713 * src/fclang.c (FcLangSetUnserialize):
714 * src/fcname.c (FcObjectUnserialize):
715 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
716 FcPatternUnserialize):
718 Pass around FcCache *s to the Unserialize functions for extra
719 consistency (and less overhead, for what that's worth).
721 2005-11-24 Dirk Mueller <dmueller@suse.com>
725 * src/fcmatch.c (FcCompare*, FcFontSetSort):
726 * src/fcname.c (FcNameUnparseValue):
728 Inline the *PtrU functions to gain perf.
729 Remove unneeded params for the FcCompare* functions.
731 2005-11-24 Dirk Mueller <dmueller@suse.com>
734 * src/fcint.h, fontconfig/fontconfig.h:
736 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
738 * src/fcpat.c, src/fcint.h, src/fcname.c:
740 Check for type validity during FcPatternAddWithBinding, don't
741 verify type in FcFontMatch, don't call FcCanonicalize here
742 (which always does a deep copy).
744 2005-11-24 Dirk Mueller <dmueller@suse.com>
747 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
748 * src/fcpat.c (FcPatternAddWithBinding):
750 Make FcCompareString and FcCompareFamily less expensive.
751 Only add a value for FC_FAMILY if the proposed value is a string.
753 2005-11-24 Dirk Mueller <dmueller@suse.com>
756 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
757 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
758 * src/fcint.h (FcDebug):
760 Inline FcDebug invocations and only initialize once, in FcInit*.
761 Improve debug msg in FcPatternPrint.
763 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
766 * fontconfig/fontconfig.h:
769 Minor code warning cleanups.
771 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
774 * fc-match/fc-match.c (main):
776 Make getopt_long accept -s parameter to fc-match as well.
778 2005-11-21 Dirk Mueller <dmueller@suse.com>
781 * src/fcmatch.c (FcCompareValueList):
783 Manually perform inlining & partial redundancy elimination to
784 reduce calls to FcValueListPtrU.
786 2005-11-21 Dirk Mueller <dmueller@suse.com>
789 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
790 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
792 Only invoke strlen() when really necessary.
794 2005-11-19 Matthias Clasen <mclasen@redhat.com>
798 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
803 Get rid of the use of freetype internal headers in fcfreetype.c,
804 since those headers will go away with freetype 2.2. Replace with
805 public domain ftglue code from pango. Note that the patch removes
806 some extra error checking in FT_Get_BDF_Property() and comments
807 out the skipping of empty pcf fonts.
809 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
812 * fc-lang/fc-lang.c (main):
814 Further fix of patch from 2005-11-04: miscounted numbers count
815 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
816 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
818 Removed leafidx_count and numbers_count since they are the same
819 and replaced them with offset_count.
821 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
824 * fc-cat/fc-cat.c (main):
826 Don't crash when fc-cat invoked with no arguments.
828 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
831 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
833 Fix invalid read access caused by premature free and
834 GCC4 warnings in libxml2 codepath.
836 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
839 * src/fccfg.c (FcConfigValues):
841 List iteration not needed in FcConfigValues, since it's building
842 up the list itself; we can just strip FcVoid elements during
845 2005-11-17 Patrick Lam <plam@mit.edu>
846 * src/fccfg.c (FcConfigValues):
848 Fix crash on invalid constants in config files (forgot to update
849 a pointer upon list iteration.)
851 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
854 * src/fcxml.c (FcTypecheckExpr):
856 Complain about invalid constants in config files.
858 2005-11-17 Andreas Schwab <schwab@suse.de>
861 * src/fccache.c (FcGlobalCacheSave):
863 Don't add current_arch_start more than once.
865 2005-11-16 Patrick Lam <plam@mit.edu>
866 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
867 * src/fcfs.c (FcFontSetUnserialize):
868 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
869 * src/fcpat.c (FcStrUnserialize):
871 Fix ordering of ALIGN with respect to saving block_ptr; add
872 another ALIGN to fcfs.c.
874 2005-11-16 Patrick Lam <plam@mit.edu>
875 * src/fccache.c (FcDirCacheProduce)
877 Fix case where alignment bytes bumped up metadata->count
878 causing unwarranted failures to write cache files.
879 (Reported by Stephan Kulow).
881 2005-11-16 Patrick Lam <plam@mit.edu>
882 * src/fccache.c (FcDirCacheProduce):
883 * src/fccharset.c (FcCharSetDistributeBytes):
884 * src/fcfs.c (FcFontSetDistributeBytes):
886 * src/fclang.c (FcLangSetDistributeBytes):
887 * src/fcname.c (FcObjectDistributeBytes):
888 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
891 Add *NeededBytesAlign(), which overestimates the padding which is
892 later added by the new ALIGN macro. Fix alignment problems on
893 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
894 version by Andreas Schwab).
896 2005-11-16 Stephan Kulow <coolo@kde.org>
901 Use sysconf to determine proper PAGESIZE value; this
902 appears to be POSIX-compliant. (reported by Andreas Schwab)
904 2005-11-04 Patrick Lam <plam@mit.edu>
910 Fix bug 2878 (excessive relocations at startup for charsets,
911 reported by Ross Burton): fc-lang/fc-lang now creates the
912 static form of the langset, not the dynamic form, so that
913 the charsets should now be in .rodata.
915 2005-11-04 Patrick Lam <plam@mit.edu>
916 * src/fcdir.c (FcDirScanConfig):
918 Add test for validity of directory caches that
919 somehow got lost (reported by make distcheck).
921 2005-11-04 Patrick Lam <plam@mit.edu>
925 * fontconfig/fontconfig.h:
927 Bump version to 2.3.92.
929 2005-11-02 Patrick Lam <plam@mit.edu>
930 * src/fcpat.c (FcPatternDuplicate):
932 Fix argument ordering problem in call to FcPatternTransferFullFname.
934 2005-11-02 Patrick Lam <plam@mit.edu>
935 * src/fcfreetype.c (FcFreetypeQuery):
936 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
937 FcPatternTransferFullFname):
939 Fix warnings and embarrassing double-free error.
941 2005-11-02 Zhe Su <zsu@novell.com>
946 Change the rule for artificial emboldening in fonts.conf.in. This
947 enables the support for artificial emboldening included in cairo.
949 2005-11-02 Patrick Lam <plam@mit.edu>
950 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
952 Don't zero out full names for FC_REF_CONSTANT fonts;
953 also, duplicate full names when transferring, and free
954 full names when freeing the associated font.
955 Reported by Jinghua Luo.
957 2005-11-02 Patrick Lam <plam@mit.edu>
958 * fc-cache/fc-cache.c (scanDirs):
959 * src/fcpat.c (FcValueListSerialize):
961 Revert the previous patch and commit the correct patch:
962 I forgot a canonicalization in FcValueListSerialize, so
963 that it would choke on already-serialized input files. Duh!
965 2005-11-02 Patrick Lam <plam@mit.edu>
966 * fc-cache/fc-cache.c (scanDirs):
968 Forcibly rescan a directory before writing a fresh local
969 cache file for that directory, fixing the losing-fonts
970 problem reported by Mike Fabian and also apparently the
971 font cache file corruption.
973 2005-11-02 Patrick Lam <plam@mit.edu>
974 * src/fccache.c (FcGlobalCacheLoad):
976 Fix thinko: actually, the whole global cache is stale
977 if the global cache is older than the (newest) config file.
979 2005-11-02 Patrick Lam <plam@mit.edu>
980 * src/fccache.c (FcGlobalCacheLoad):
981 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
984 Declare the global cache of a directory's contents to be stale if
985 the directory is newer than the (newest) configuration file.
987 2005-10-31 Patrick Lam <plam@mit.edu>
989 * src/fclist.c (FcListAppend):
990 * src/fcmatch.c (FcFontRenderPrepare):
991 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
992 FcPatternFreeze, FcPatternBaseFreeze):
994 Copy the full pathname whenever duplicating an FcPattern; otherwise,
995 applications continue breaking.
997 2005-10-31 Patrick Lam <plam@mit.edu>
998 * fc-cat/fc-cat.c (FcCacheFileRead, main):
999 * src/fcfreetype.c (FcFreeTypeQuery):
1001 Fix small memory error (tried to free argv); use basename and
1002 dirname correctly (they can modify their arguments).
1004 2005-10-31 Patrick Lam <plam@mit.edu>
1012 Reinstate basename patch, but keep a hash table linking FcPatterns
1013 to their fully-qualified font names for clients' benefit. Clients
1014 only pay for the font names once they request the FC_FILE property
1015 from an FcPattern, but the font name is malloc'd at that point (i.e.
1016 not mmapped: that's impossible, since it may vary between machines.)
1017 Clients do have to pay for a copy of the path name per cache file.
1019 Note that FcPatternGetString now does some rewriting if you ask
1020 for an FC_FILE, appending the pathname as appropriate.
1022 2005-10-31 Patrick Lam <plam@mit.edu>
1023 * src/fcfreetype.c (FcFreeTypeQuery):
1025 Revert basename patch, which breaks fontconfig clients on my system.
1027 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1030 * fontconfig/fonts.conf.in:
1031 * fontconfig/fontconfig.h:
1035 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1036 to load embedded bitmaps or not.
1038 2005-10-25 Patrick Lam <plam@mit.edu>
1039 * src/fcfreetype.c (FcFreeTypeQuery):
1041 Only add basename to patterns' FC_FILE element, not any part of
1044 2005-10-22 Patrick Lam <plam@mit.edu>
1047 Add some more consts, fixing more GCC4 warnings.
1049 2005-10-22 Zhe Su <zsu@novell.com>
1052 Support localized font family and style names.
1053 This has been reported to break old apps like xfd, but modern
1054 (gtk+/qt/mozilla) apps work fine.
1056 2005-10-21 Patrick Lam <plam@mit.edu>
1057 * src/fccache.c (FcGlobalCacheLoad):
1059 Destroy the global cache file if it's terminally broken. (reported by
1062 2005-10-21 Patrick Lam <plam@mit.edu>
1063 * fc-list/fc-list.c (main):
1064 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1065 * fontconfig/fontconfig.h:
1067 Prevent fc-list from escaping strings when printing them (reported by
1070 2005-10-20 Marcus Meissner <meissner@suse.de>
1073 * fontconfig/fontconfig.h:
1075 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1077 2005-10-14 Ross Burton <ross@burtonini.com>
1080 * fc-glyphname/fc-glyphname.c:
1083 Add consts to variables so as to move arrays into .rodata.
1085 2005-10-14 Mike Fabian <mfabian@suse.de>
1088 * src/fccache.c (FcDirCacheUnlink):
1090 Check existence of directory cache file before attempting to unlink.
1092 2005-10-13 Patrick Lam <plam@mit.edu>
1093 * src/fccache.c (FcDirCacheUnlink):
1095 Fix flipped return value on unlink. (Reported by Mike Fabian)
1097 2005-10-12 Patrick Lam <plam@mit.edu>
1100 * src/fcdir.c (FcDirScanConfig):
1103 When fc-cache is run without --force, use directory cache files
1104 to speed up fc-cache run time. (Reported by Mike Fabian)
1106 2005-10-06 Patrick Lam <plam@mit.edu>
1108 * src/fcname.c (FcObjectToPtr):
1109 * src/fcpat.c (FcStrStaticName):
1111 Add padding to make valgrind and glibc not hate each other
1112 when calling strlen().
1114 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1115 reviewed by: plam & keithp
1119 Modify config file to use Greek fonts before Asian fonts with
1122 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1123 reviewed by: plam & keithp
1127 Use libtool -no-undefined flag on all platforms.
1129 2005-10-05 Patrick Lam <plam@mit.edu>
1130 * src/fccache.c (FcCacheHaveBank):
1132 Implement move-to-front array for banks (perf regression
1133 reported by Ronny V. Vindenes).
1135 2005-10-04 Patrick Lam <plam@mit.edu>
1136 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1137 FcDirCacheHasCurrentArch):
1138 * fc-cache/fc-cache.c (scanDirs):
1139 * fontconfig/fontconfig.h:
1141 Add new API which unlinks directory caches and checks dir caches
1142 for existence of appropriate sections. Fix fc-cache to unlink
1143 stale cache files and save directory caches that lack relevant
1146 2005-10-03 Patrick Lam <plam@mit.edu>
1147 * src/fccache.c (FcDirCacheValid):
1149 Ensure that a directory cache has the appropriate section
1150 before reporting that it is valid (reported by Matthias Clasen).
1152 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1160 Use libxml2 if requested (with --enable-libxml2) or if
1161 expat is not available.
1163 2005-09-29 Patrick Lam <plam@mit.edu>
1164 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1166 Fix multi-arch cache files: compute the position for the
1167 block to be added using info from OrigFile, not NewFile.
1169 2005-09-28 Patrick Lam <plam@mit.edu>
1170 * src/fccache.c (FcCacheMachineSignature):
1172 Cast results of sizeof() to unsigned int to get rid of
1173 warnings on x86_64 (thanks Matthias Clasen).
1175 2005-09-27 Patrick Lam <plam@mit.edu>
1176 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1179 Use FcAtomic to rewrite cache files.
1181 2005-09-27 Patrick Lam <plam@mit.edu>
1183 * src/fccache.c (FcDirCacheWrite):
1185 Don't unlink the fonts.cache-2 file even if there's no data
1186 to write; just write an empty cache file. (thanks Lubos Lunak)
1188 2005-09-27 Patrick Lam <plam@mit.edu>
1190 * src/fccache.c (FcDirCacheWrite):
1192 Allocate room for the subdirectory names in each
1193 directory cache. Thanks to James Cloos for finding
1194 and diagnosing this bug!
1196 2005-09-22 Patrick Lam <plam@mit.edu>
1198 * fc-cache/fc-cache.sgml:
1199 * src/fccache.c (FcDirCacheWrite):
1200 * src/fccache.h (struct FcCache):
1202 Update documentation -- fc-cache's man page now says that you
1203 need to run fc-cache once per cached architecture; add some
1204 documentation to the FcCache structure.
1206 Make fc-cache write out fonts.cache-2 files for directories with
1207 no fonts (i.e. only subdirectories).
1209 2005-09-22 Patrick Lam <plam@mit.edu>
1211 * fc-cache/fc-cache.sgml:
1212 * fc-case/fc-case.c:
1213 * fc-glyphname/fc-glyphname.c:
1219 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1223 * fc-lang/fc-lang.c:
1224 * fontconfig/fcprivate.h:
1225 * fontconfig/fontconfig.h:
1239 Implement new mmaped cache for font information.
1240 Bump so revision to 2.3.90.
1242 2005-07-25 Keith Packard <keithp@keithp.com>
1244 * doc/fontconfig-user.sgml:
1245 * fc-glyphname/fc-glyphname.c: (scan), (main):
1246 * fc-lang/fc-lang.c: (FcConfigHome):
1247 * fc-match/fc-match.c: (main):
1248 * src/fccfg.c: (FcConfigHome):
1249 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1250 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1251 (addtag), (FcFontCapabilities):
1252 * src/fcpat.c: (FcValueListEntCreate):
1253 * src/fcstr.c: (FcStrCaseWalkerInit):
1254 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1256 Various GCC 4 cleanups for signed vs unsigned char
1258 Match only [0-9]*.conf files in <include>{directory}</include>
1259 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1261 2005-07-15 Carl Worth <cworth@cworth.org>
1264 * src/fcinit.c: (FcFini):
1265 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1268 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1269 Pull the FcObjectStateName hash table out to file scope, and add
1270 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1273 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1276 2005-06-16 Patrick Lam <plam@MIT.EDU>
1280 * src/fccfg.c: (FcConfigCompareValue):
1281 Make FcOpNotContains use FcStrStr for strings so that
1282 it matches semantics for !FcOpContains.
1284 2005-05-20 Keith Packard <keithp@keithp.com>
1288 Move fontconfig source package to libs as per override
1290 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1292 reviewed by: Mike Fabian
1295 The ka.orth file requires several characters which are not
1296 used anymore in modern Georgian and which are missing in the free
1297 Georgian TrueType fonts downloadable at:
1299 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1301 2005-04-27 Keith Packard <keithp@keithp.com>
1305 Update date to real 2.3.2 release date.
1306 Fix change attributions
1308 2005-04-27 Keith Packard <keithp@keithp.com>
1311 Bump so revision for 2.3.2
1312 * fc-cache/fc-cache.c: (scanDirs):
1313 Fix a few minor leaks in error cases.
1315 2005-04-23 Keith Packard <keithp@keithp.com>
1320 * fontconfig/fontconfig.h:
1321 Update for version 2.3.2
1323 2005-04-21 Keith Packard <keithp@keithp.com>
1325 * debian/fontconfig.postinst:
1326 Don't force bitmap font enable in default
1327 configuration; allows users to override this in
1337 * debian/po/pt_BR.po:
1338 * debian/po/templates.pot:
1340 * debian/po/zh_CN.po:
1341 Updated translations
1343 * fc-cache/fc-cache.c: (main):
1344 Destroy font configuration on exit to help valgrind
1347 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1348 (FcFreeTypeCheckGlyph):
1349 Use own transcoding routines in preference to iconv
1350 which appears to have leaks in some translators.
1351 Call iconv_close after using iconv (oops).
1353 Prefer unicode encoding of Euro char as some
1354 fonts mis-encode Euro in other ones.
1356 Must fetch bitmap glyphs to get width values
1357 to check for monospace/dual-width fonts.
1359 2005-04-13 Ross Burton <ross@burtonini.com>
1362 Check that a pattern isn't already frozen in FcPatternFreeze.
1364 2005-03-31 Ross Burton <ross@burtonini.com>
1369 Run all FcPattern objects through FcObjectStaticName, so that
1370 compares can be done on pointers instead of strings (#2659)
1372 2005-03-17 Tor Lillqvist <tml@novell.com>
1374 * src/fontconfig.def.in: Add the .dll to the dll name.
1376 2005-03-10 Keith Packard <keithp@keithp.com>
1378 * debian/README.Debian:
1379 Update to reflect configuration changes
1381 * debian/fontconfig.postinst:
1382 Fix Autohint vs Autohinter mistake
1383 * debian/fontconfig.templates:
1384 Adopt changes from Josselin Mouette for configuration descriptions
1385 Update debian to version 2.3.1-2
1387 2005-03-08 Keith Packard <keithp@keithp.com>
1391 Update debian for 2.3.1
1393 2005-03-09 Tor Lillqvist <tml@novell.com>
1395 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1398 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1401 2005-03-08 Keith Packard <keithp@keithp.com>
1405 * fontconfig/fontconfig.h:
1408 2005-03-05 Keith Packard <keithp@keithp.com>
1410 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1411 Include space and remove numbers from valid script tags.
1412 This ensures that tags like 'lao ' work while rejecting
1413 those which have any digits.
1414 Eliminate a spurious debugging variable (len)
1416 2005-03-05 Keith Packard <keithp@keithp.com>
1418 * src/fcfreetype.c: (addtag), (GetScriptTags),
1419 (FcFontCapabilities):
1420 Rework GSUB/GPOS script parsing to survive broken fonts.
1421 Thanks for the broken font go to Manish Singh
1423 2005-03-05 Keith Packard <keithp@keithp.com>
1428 * debian/fontconfig.config:
1429 * debian/fontconfig.templates:
1431 Include 2.3 release information in changelog
1432 Add Josselin Mouette as an Uploader
1433 Set hinting_type to low priority configuration option
1436 * debian/fontconfig.postinst:
1437 yes_bitmaps.conf -> yes-bitmaps.conf
1443 2005-03-02 Keith Packard <keithp@keithp.com>
1446 * conf.d/Makefile.am:
1447 * conf.d/autohint.conf:
1448 * conf.d/no-sub-pixel.conf:
1449 * conf.d/sub-pixel.conf:
1450 * conf.d/unhinted.conf:
1451 * debian/autohint.conf:
1452 * debian/fontconfig.install:
1453 * debian/fontconfig.postinst:
1454 * debian/fontconfig.templates:
1455 * debian/no-sub-pixel.conf:
1456 * debian/unhinted.conf:
1457 Move debian-specific conf file examples upstream.
1459 Sub-pixel configuration examples must smash subpixel value
1460 as Xft always sets it from X.
1462 Change sub-pixel rendering debconf descriptions from
1463 Enable/Disable to Always/Never.
1465 2005-03-02 Keith Packard <keithp@keithp.com>
1468 * conf.d/.cvsignore:
1470 Ignore more build detritus
1473 Add debian package construction stuff.
1475 * config/config.guess:
1476 * config/config.sub:
1477 Update to newer versions of these tools
1480 Get library manuals to build again (we love automake).
1482 * debian/README.Debian:
1483 * debian/autohint.conf:
1488 * debian/fontconfig-udeb.install:
1489 * debian/fontconfig.config:
1490 * debian/fontconfig.defoma:
1491 * debian/fontconfig.dirs:
1492 * debian/fontconfig.install:
1493 * debian/fontconfig.postinst:
1494 * debian/fontconfig.postrm:
1495 * debian/fontconfig.templates:
1496 * debian/libfontconfig1-dev.install:
1497 * debian/libfontconfig1.install:
1498 * debian/local.conf.md5sum:
1499 * debian/no-sub-pixel.conf:
1500 * debian/po/POTFILES.in:
1509 * debian/po/pt_BR.po:
1510 * debian/po/templates.pot:
1512 * debian/po/zh_CN.po:
1514 * debian/unhinted.conf:
1515 Update debian build system to switch maintainers and
1516 deal with 2.3 functionality
1518 2005-03-01 Keith Packard <keithp@keithp.com>
1522 * fontconfig/fontconfig.h:
1525 2005-03-01 Keith Packard <keithp@keithp.com>
1528 Generate and install PDF versions of the manuals
1530 * doc/fcpattern.fncs:
1533 * doc/fcstring.fncs:
1534 Add missing exported functions, fix data types
1536 * doc/fontconfig-devel.sgml:
1537 Add missing pattern elements.
1539 * doc/fontconfig-user.sgml:
1540 Add missing pattern elements. Document conf.d usage,
1541 clarify available orthography list. Fix some config file
1542 attributes. Complete list of constants.
1544 * fontconfig/fontconfig.h:
1545 Mark FC_SOURCE deprecated.
1547 * src/fcfreetype.c: (FcFreeTypeQuery):
1548 Don't set FC_SOURCE any longer.
1550 2005-02-28 Keith Packard <keithp@keithp.com>
1553 * conf.d/Makefile.am:
1555 * conf.d/no-bitmaps.conf:
1556 * conf.d/sub-pixel.conf:
1557 * conf.d/yes-bitmaps.conf:
1559 Create prototype /etc/fonts/conf.d directory with a few
1560 sample configuration files.
1561 Deprecate use of local.conf for local customizations in favor of
1562 this directory based scheme which is more easily integrated into
1563 installation systems.
1566 Tag FC_EMBOLDEN as a boolean variable
1568 2005-02-10 Keith Packard <keithp@keithp.com>
1570 reviewed by: pborelli@katamail.com
1572 * src/fcdir.c: (FcFileScanConfig):
1573 Free patterns from fonts which are rejected by configuration
1576 2005-01-28 Keith Packard <keithp@keithp.com>
1580 * fontconfig/fontconfig.h:
1581 Update for version 2.2.99
1583 2005-01-28 Keith Packard <keithp@keithp.com>
1586 Add a few pointers (#2284, #2285)
1588 2005-01-28 Keith Packard <keithp@keithp.com>
1591 * src/fcname.c: (FcNameBool):
1592 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1593 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1594 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1595 Polite typechecking for test and edit expressions. Helps
1596 catch errors in the font configuration. (bug 229)
1598 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1600 reviewed by: Keith Packard <keithp@keithp.com>
1603 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1605 2005-01-13 Keith Packard <keithp@keithp.com>
1607 * doc/fontconfig-user.sgml:
1608 Add SEE ALSO section (bug 2085)
1610 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1612 reviewed by: Keith Packard <keithp@keithp.com>
1617 * fc-case/Makefile.am:
1618 * fc-glyphname/Makefile.am:
1619 * fc-lang/Makefile.am:
1620 * src/fontconfig.def.in:
1621 Cross compiling fixes (bug 280)
1623 2005-01-13 Keith Packard <keithp@keithp.com>
1626 Update blanks list (Closes bug 86)
1628 2005-01-04 Keith Packard <keithp@keithp.com>
1630 * src/fccache.c: (FcCacheFontSetAdd):
1631 Verify that every font pattern loaded from cache has
1632 both FC_FILE and FC_FAMILY entries.
1633 Attempt to fix bug #2219.
1635 2004-12-29 Keith Packard <keithp@keithp.com>
1639 * fontconfig/fontconfig.h:
1640 Update for version 2.2.98
1642 2004-12-29 Keith Packard <keithp@keithp.com>
1644 * fontconfig/fontconfig.h:
1645 Document ASCII limitations of Fc character conversion macros
1646 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1647 Fix off-by-one error in utf-8 case walking code.
1648 Add FcStrDowncase (useful for testing case conversion functions)
1650 2004-12-29 Keith Packard <keithp@keithp.com>
1653 * fc-case/.cvsignore:
1654 clean up CVS ignore lists
1655 * fc-lang/iso-3166.txt:
1656 Add territory database
1658 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1660 Reviewed by: Keith Packard
1663 Remove Han characters from Korean orthography
1665 2004-12-29 Keith Packard <keithp@keithp.com>
1668 Reorder utility programs to make sure fc-case is run before fc-lang
1669 as fc-lang uses fcstr.c which uses fccase.h
1673 2004-12-29 Keith Packard <keithp@keithp.com>
1676 Adopt some RedHat suggestions for standard font configuration.
1680 * fc-case/CaseFolding.txt:
1681 * fc-case/Makefile.am:
1682 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1683 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1684 (dump), (parseRaw), (caseFoldReadRaw), (main):
1685 * fc-case/fccase.tmpl.h:
1686 Add new helper program 'fc-case' to construct case folding
1687 tables from standard Unicode CaseFolding.txt file
1690 * src/fclist.c: (FcListValueHash):
1691 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1692 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1693 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1694 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1695 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1696 Re-implement case insensitive functions with Unicode
1697 aware versions (including full case folding mappings)
1699 2004-12-13 Keith Packard <keithp@keithp.com>
1701 reviewed by: Owen Taylor <otaylor@redhat.com>
1703 * src/fcmatch.c: (FcFontSetSort):
1704 I changed FcFontSetSort to respect the generic aliases better
1705 in the face of language matching.
1707 What I did was to ammend the strict sort order used by FcFontSort so
1708 that it 'satisfies' the language specified in the pattern by locating
1709 the best matching font supporting each pattern language and then
1710 ignores language in the remaining fonts for purposes of matching.
1712 So, when asking for 'sans:lang=en', you'll get an English font first,
1713 and then the remaining fonts sorted with respect to the 'sans' alias
1714 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1716 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1718 reviewed by: Keith Packard <keithp@keithp.com>
1720 * fontconfig/fontconfig.h:
1723 Configuration changes to request synthetic emboldening of
1724 fonts. The actual emboldening code will live in Xft.
1726 2004-12-09 John Thacker <thacker@math.cornell.edu>
1728 reviewed by: Keith Packard <keithp@keithp.com>
1732 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1733 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1734 и), and don't even appear in KOI8-R. (The hypothesis that they
1735 don't appear in KOI8-R due to their similarity with Latin I and i is
1736 eliminated by their presence in KOI8-U.) I have a couple of fonts
1737 with Russian support that don't have the letter.
1739 Therefore, 0406 and 0456 should be removed from or commented out of
1742 2004-12-06 michael meeks <mmeeks@novell.com>
1744 Reviewed by: Keith Packard <keithp@keithp.com>
1746 * src/fcinit.c: (FcMemReport):
1748 * src/fclist.c: (FcObjectSetAdd):
1749 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1750 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1751 * src/fcxml.c: (FcParsePatelt):
1752 memoize strings and share a single copy for all uses. Note that
1753 this could be improved further by using statically allocated blocks
1754 and gluing multiple strings together, but I'm basically lazy.
1755 In my environment with 800 font files, I get a savings of about 90KB.
1757 2004-12-06 Keith Packard <keithp@keithp.com>
1761 * config/Makedefs.in:
1764 * doc/fcatomic.fncs:
1765 * doc/fcblanks.fncs:
1766 * doc/fccharset.fncs:
1767 * doc/fcconfig.fncs:
1768 * doc/fcconstant.fncs:
1770 * doc/fcfontset.fncs:
1771 * doc/fcfreetype.fncs:
1773 * doc/fcmatrix.fncs:
1774 * doc/fcobjectset.fncs:
1775 * doc/fcobjecttype.fncs:
1776 * doc/fcpattern.fncs:
1777 * doc/fcstring.fncs:
1778 * doc/fcstrset.fncs:
1780 * doc/fontconfig-devel.sgml:
1781 * doc/fontconfig-user.sgml:
1783 * doc/version.sgml.in:
1784 * fc-cache/Makefile.am:
1785 * fc-cache/fc-cache.c:
1786 * fc-glyphname/Makefile.am:
1787 * fc-glyphname/fc-glyphname.c:
1788 * fc-glyphname/fcglyphname.tmpl.h:
1789 * fc-lang/Makefile.am:
1799 * fc-lang/az_ir.orth:
1833 * fc-lang/fc-lang.c:
1834 * fc-lang/fc-lang.man:
1835 * fc-lang/fclang.tmpl.h:
1880 * fc-lang/ku_ir.orth:
1913 * fc-lang/ps_af.orth:
1914 * fc-lang/ps_pk.orth:
1943 * fc-lang/ti_er.orth:
1944 * fc-lang/ti_et.orth:
1970 * fc-lang/zh_cn.orth:
1971 * fc-lang/zh_hk.orth:
1972 * fc-lang/zh_mo.orth:
1973 * fc-lang/zh_sg.orth:
1974 * fc-lang/zh_tw.orth:
1976 * fc-list/Makefile.am:
1977 * fc-list/fc-list.c:
1978 * fc-match/Makefile.am:
1979 * fc-match/fc-match.1:
1980 * fc-match/fc-match.c:
1981 * fontconfig/fcfreetype.h:
1982 * fontconfig/fcprivate.h:
1983 * fontconfig/fontconfig.h:
2004 Change files from ISO-Latin-1 to UTF-8
2006 2004-12-04 Keith Packard <keithp@keithp.com>
2009 Update links to new freedesktop.org locations
2011 Add uninstall-local to get rid of fonts.conf and local.conf if they
2012 match the distributed versions. Fixes 'make distcheck'
2014 2004-12-04 Keith Packard <keithp@keithp.com>
2018 * fontconfig/fontconfig.h:
2019 Updates for version 2.2.97
2021 2004-12-04 Owen Taylor <otaylor@redhat.com>
2023 reviewed by: Keith Packard <keithp@keithp.com>
2025 * fc-cache/fc-cache.c: (main):
2026 Sleep for two seconds before exiting to make sure timestamps
2027 for future changes have distinct mod times in the file system.
2030 Add Punjabi orthography. Bug #1671.
2032 2004-12-04 Keith Packard <keithp@keithp.com>
2035 Just remove the FC_FONTDATE -- it has locale issues and
2036 annoys redhat multi-arch installs. Now that all X fonts are
2037 included without prejudice, the chances of the date being at
2038 all interesting are rather limited. Bug #505.
2040 Add copyright and license
2042 2004-12-04 Keith Packard <keithp@keithp.com>
2045 Change default set of fonts to include all of
2046 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2047 * doc/fontconfig-user.sgml:
2048 Document new <include>directory-name</include> semantics
2050 add <include ignore_missing="yes">conf.d</include>
2052 Add selectfont to ignore bitmap fonts, add comment for
2053 selectfont which accepts bitmap fonts.
2056 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2057 Allow <include> configuration elements to reference directories.
2058 Parse and load all files of the form [0-9]* in sorted order.
2060 2004-12-04 Keith Packard <keithp@keithp.com>
2063 Report command line for $srcdir/configure accurately.
2066 2004-12-04 Keith Packard <keithp@keithp.com>
2068 * src/fcfreetype.c: (FcFreeTypeQuery):
2069 Check for non-empty face->family_name and face->style_name
2070 before using those for the font. Empty names match everything.
2073 2004-12-04 Keith Packard <keithp@keithp.com>
2076 * fontconfig/fontconfig.h:
2077 * src/fcfreetype.c: (FcFreeTypeQuery):
2079 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2080 available. This provides font file format information (BDF, Type 1,
2081 PCF, TrueType) for each font. Closes #109.
2083 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2085 reviewed by: Keith Packard <keithp@keithp.com>
2087 * doc/fontconfig-user.sgml:
2090 * fontconfig/fontconfig.h:
2091 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2092 (GetScriptTags), (FcFontCapabilities):
2094 Add detection for font capabilities (bug #105)
2096 2004-12-04 Keith Packard <keithp@keithp.com>
2099 Move existing fonts.conf to fonts.conf.bak
2102 Add detection of iconv
2104 * doc/fcpattern.fncs:
2105 * doc/fontconfig-devel.sgml:
2106 * doc/fontconfig-user.sgml:
2108 Document new selectfont elements
2111 Switch to UTF-8 in comment
2113 * fontconfig/fontconfig.h:
2115 Add fullname, and family/style/fullname language entries
2117 * src/fccache.c: (FcCacheFontSetAdd):
2118 * src/fcdir.c: (FcFileScanConfig):
2119 Respect selectfont/*/glob
2122 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2123 (FcConfigCompareValue), (FcConfigPatternsAdd),
2124 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2125 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2126 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2127 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2128 Add support for selectfont
2130 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2131 (FcStringInPatternElement), (FcFreeTypeQuery):
2132 Add multi-lingual family/style/fullname support
2134 * src/fclist.c: (FcListPatternMatchAny):
2135 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2137 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2138 (FcObjectStaticName):
2139 Add new FcPatternRemove/FcPatternAppend.
2140 FcObjectStaticName stores computed pattern element names which
2141 are required to be static.
2143 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2148 Remove spurious / after $(DESTDIR)
2150 2004-06-30 Keith Packard <keithp@keithp.com>
2154 * fontconfig/fontconfig.h:
2157 2004-06-30 Keith Packard <keithp@keithp.com>
2159 Provided by: Lubos Lunak <l.lunak@suse.cz>
2161 * src/fccfg.c: (FcConfigUptoDate):
2162 However FcConfigUptoDate() doesn't seem to work. See the attached
2163 patch. First there's an obvious misplaced parenthesis making it
2164 return always false, and second, even this call fails to detect font
2165 changes (e.g. adding a new font to
2166 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2167 well. The problem seems to be triggered by my fonts.conf specifying
2168 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2169 doesn't include subdirs, unlike config->fontDirs.
2171 2004-06-03 Keith Packard <keithp@keithp.com>
2173 * fontconfig/fontconfig.h:
2174 Remove comma at end of FcResult enum definition.
2176 2004-05-29 Keith Packard <keithp@keithp.com>
2179 Add steps to md5sum release
2181 2004-05-29 Keith Packard <keithp@keithp.com>
2185 * fontconfig/fontconfig.h:
2188 2004-05-29 Keith Packard <keithp@keithp.com>
2190 * fontconfig/fontconfig.h:
2191 * src/fcmatch.c: (FcFontSetMatch):
2192 Add FcResultOutOfMemory to provide an accurate error when
2193 FcFontSetMatch fails in this way
2196 Make #warning about lacking various FreeType features indicate
2197 which version those features appeared so users know how to
2198 fix the problem (Thanks to Anton Tropashko)
2200 2004-05-05 Keith Packard <keithp@keithp.com>
2202 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2203 Replace MIN/MAX/ABS macros which happen to have come
2204 from FreeType with fontconfig-specific ones (FC_*)
2206 2004-04-23 Keith Packard <keithp@keithp.com>
2209 Extend release preparation instructions to include
2210 notification and distribution steps
2212 2004-04-23 Keith Packard <keithp@keithp.com>
2216 * fontconfig/fontconfig.h:
2217 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2219 2004-04-23 Keith Packard <keithp@keithp.com>
2222 Ignore a few more autotool files
2224 2004-04-14 Keith Packard <keithp@keithp.com>
2227 Add instructions for doing a release
2229 * fontconfig.spec.in:
2230 clean up .spec file; perhaps this will be useful to somebody...
2234 * fontconfig/fontconfig.h:
2237 * fc-lang/fc-lang.c:
2238 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2240 * fc-glyphname/Makefile.am:
2241 * fc-lang/Makefile.am:
2242 * fc-list/Makefile.am:
2243 * fc-match/Makefile.am:
2245 Add WARN_CFLAGS to pass -W flags for GCC systems
2247 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2248 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2249 Change various char types around to match across
2251 Fixed bug in using available_sizes[i].height which
2252 is in pixels, not 64ths of a pixel.
2254 2004-03-06 Keith Packard <keithp@keithp.com>
2256 * src/fcfreetype.c: (FcFreeTypeQuery):
2257 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2258 matches looking for explicit values prefer exact matches
2260 2004-03-02 Keith Packard <keithp@keithp.com>
2262 Supplied by: mfabian@suse.de (Mike FABIAN)
2264 * src/fcfreetype.c: (FcFreeTypeQuery):
2265 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2266 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2268 2004-02-21 Manish Singh <yosh@gimp.org>
2270 * fc-glyphname/fc-glyphname.c: (main):
2271 Cast strlen to int for printf, so we're 64-bit clean.
2273 2004-02-11 Keith Packard <keithp@keithp.com>
2276 * src/fcfreetype.c: (FcGetPixelSize):
2277 Ok, so I messed up the test for y_ppem. Let's see if I
2278 got it right this time.
2280 2004-02-10 Keith Packard <keithp@keithp.com>
2283 * src/fcfreetype.c: (FcGetPixelSize):
2284 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2285 FT_Bitmap_Size record. Add a configure.in test for this
2286 and change the code accordingly (using height instead).
2288 2004-02-06 Keith Packard <keithp@keithp.com>
2291 Add Low Saxon orthography
2292 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2294 * src/fccfg.c: (FcConfigNewestFile):
2295 Oops. Left 'newest.set' unset, which would miscompute
2298 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2299 (FcFreeTypeCheckGlyph):
2300 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2301 font properties (which report the wrong value in current FreeType)
2303 Don't attempt to check for empty glyphs in non-scalable fonts; they
2306 2004-02-01 Tor Lillqvist <tml@iki.fi>
2308 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2309 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2310 cache if config->cache is NULL, which happens if FcConfigHome() is
2311 NULL. Guard against that by using the temp folder in that case.
2313 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2315 * fc-lang/az_ir.orth:
2316 * fc-lang/ku_ir.orth:
2317 * fc-lang/ps_af.orth:
2318 * fc-lang/ps_pk.orth:
2319 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2320 (Afghan and Pakistani).
2322 Updated Urdu orthography with real data.
2324 2003-12-11 Carl Worth <cworth@east.isi.edu>
2326 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2329 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2331 (all-local): Remove excessive whitespace.
2333 * autogen.sh: Add 'set -e' to abort when any program fails,
2334 (avoids printing of 'now type make' after configure aborts).
2336 2003-11-17 Eric Christopherson <rakko@charter.net>
2338 reviewed by: Keith Packard <keithp@keithp.com>
2341 * fontconfig/fcfreetype.h:
2343 Switch to FreeType 2.1.7 style includes. Bug #150.
2345 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2347 * fc-list/fc-list.sgml: Add some example usages.
2349 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2352 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2355 2003-10-27 Keith Packard <keith@keithp.com>
2358 * fontconfig/fontconfig.h:
2359 Update to version 2.2.92
2361 2003-10-27 Keith Packard <keithp@keithp.com>
2366 * fc-cache/Makefile.am:
2367 * fc-glyphname/Makefile.am:
2368 * fc-lang/Makefile.am:
2369 * fc-list/Makefile.am:
2370 * fc-match/Makefile.am:
2373 Yet more cleanups to finish getting 'make distcheck' working
2374 This has been tested to ensure that it even works from a _build
2377 2003-10-26 Keith Packard <keithp@keithp.com>
2381 * fc-cache/Makefile.am:
2382 * fc-glyphname/Makefile.am:
2383 * fc-lang/Makefile.am:
2384 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2385 * fc-list/Makefile.am:
2386 * fc-match/Makefile.am:
2387 Attempts to fix 'make distcheck' work. Things are
2388 progressing pretty well, but there are still failures
2389 long into the process dealing with docs (as always).
2391 The big changes here are mostly to make $(srcdir) != "."
2392 work correctly, fixing the docbook related sections and
2393 fc-lang were particularily tricky. Docbook refuses to load
2394 system entities from anywhere other than where the original .sgml
2395 file was located, so no luck looking in "." for the
2396 configure-generated version.sgml and confdir.sgml files.
2398 fc-lang needed help finding .orth files; added a -d option
2399 to set the directory as the least evil of many options.
2401 Now to go use a faster machine and try and wring out the last
2404 2003-10-26 Keith Packard <keithp@keithp.com>
2408 2003-10-26 Keith Packard <keithp@keithp.com>
2411 Include confdir.sgml.in in EXTRA_DIST
2413 2003-10-09 Josselin Mouette <joss@debian.org>
2415 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2416 * fc-list/fc-list.sgml fc-list/Makefile.am:
2417 Replace fc-cache and fc-list manpages with more detailed, SGML
2420 2003-09-23 Owen Taylor <otaylor@redhat.com>
2422 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2423 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2424 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2427 2003-09-23 Owen Taylor <otaylor@redhat.com>
2429 * fc-lang/ka.orth: Remove Georgian capitals, they
2430 aren't used for normal writing. (Bug #116)
2432 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2434 * doc/fontconfig-devel.sgml:
2435 * doc/fontconfig-user.sgml:
2436 * fontconfig/fontconfig.h:
2438 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2439 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2441 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2442 monospace and dual-width fonts, allow roughly a 3% variance in the
2445 2003-08-31 Manish Singh <yosh@gimp.org>
2447 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2450 2003-08-15 Carl Worth <cworth@isi.edu>
2452 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2453 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2455 * src/fcpat.c (FcValueListEntDestroy): New function to support
2456 FcFini memory cleanup. Some statistics are not kept in
2458 (FcValueListFreeze): Move hashTable outside this function so it
2459 can be accessed by FcValueListThawAll.
2460 (FcValueListThawAll): New function complements FcValueListFreeze.
2461 (FcPatternBaseFreeze): Move hashTable outside this function so it
2462 can be accessed by FcPatternBaseThawAll.
2463 (FcPatternBaseThawAll): New function complements
2464 FcPatternBaseFreeze.
2465 (FcPatternThawAll): New function complements FcPatternFreeze.
2467 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2469 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2470 allocated FcCharLeafEnt "blocks" so they can be freed later.
2471 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2472 can be accessed by FcCharSetThawAllLeaf.
2473 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2474 (FcCharSetFreezeBase): Move hashTable outside this function so it
2475 can be accessed by FcCharSetThawAll.
2476 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2478 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2479 (FcConfigDestroy): Fic leak of FcBlanks.
2481 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2482 (main): Add call to FcFini when finished.
2484 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2485 static. Add prototypes.
2487 * doc/fcinit.fncs: Add documentation for FcFini function.
2489 * doc/edit-sgml.c: Mark several local functions as static. Add
2492 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2494 2003-06-15 Tor Lillqvist <tml@iki.fi>
2496 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2497 before comparing (needed on Windows).
2499 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2501 2003-06-13 Tor Lillqvist <tml@iki.fi>
2503 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2506 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2507 WINDOWSFONTDIR token.
2509 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2510 end, not to confuse libtool, which expects the EXPORTS line to be
2511 the first. Add FcConfigEnableHome.
2513 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2514 built as a DLL on Win32.
2516 2003-06-09 Keith Packard <keithp@keithp.com>
2518 * Tag version 2.2.90
2520 2003-06-09 Keith Packard <keithp@keithp.com>
2522 * Optimization in FcLangSetIndex was broken, occasionally
2523 returning a pointer to the wrong location on miss
2525 * Add fc-match to test font matching from the command line.
2527 2003-05-31 Keith Packard <keithp@keithp.com>
2529 * (Bug 85) add support for culmus fonts
2530 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2531 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2533 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2535 * Fix "contains" op for strings and langsets.
2537 2003-05-17 Keith Packard <keithp@keithp.com>
2539 * Fix build error with BDF prop local. Free langset after query
2541 2003-05-14 Keith Packard <keithp@keithp.com>
2543 * Extract spacing from XLFD atom
2545 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2547 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2548 disappeared in 1.30.
2550 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2552 2003-05-12 Keith Packard <keithp@keithp.com>
2554 * Use FcIsWidth to share code
2556 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2557 misclassifying some Han fonts as monospaced.
2559 2003-05-07 Keith Packard <keithp@keithp.com>
2561 * Add filename-based accept/reject to ammend available fonts.
2563 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2564 older FreeType releases.
2566 2003-05-06 Keith Packard <keithp@keithp.com>
2568 * Remove 0b82 and Tamil numbers from tamil
2569 orthography (Jungshik Shin <jshin@mailaps.org>)
2571 2003-05-04 Keith Packard <keithp@keithp.com>
2573 + Map glyph names in fonts with adobe custom encoding to unicode
2575 2003-05-02 Keith Packard <keithp@keithp.com>
2577 * Add FC_WEIGHT_BOOK as weight 75
2579 2003-04-30 Keith Packard <keithp@keithp.com>
2581 * Typo in bitstream foundry name
2583 2003-04-24 Keith Packard <keithp@keithp.com>
2585 * Eliminate italic_angle check for PS fonts
2587 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2589 * Getting closer to fixing /etc/fonts hard-coding.
2591 2003-04-22 Keith Packard <keithp@keithp.com>
2593 * Update autogen.sh to work with newer automake versions
2594 * Handle pattern elements moving during multiple edits
2596 2003-04-23 James Henstridge <james@daa.com.au>
2598 * doc/fontconfig-devel.sgml: close the <para> element.
2600 * doc/fcpattern.fncs: close the <para> element.
2602 * doc/func.sgml: close the <refsynopsisdiv> element.
2604 2003-04-22 Keith Packard <keithp@keithp.com
2606 * Update autogen.sh to work with newer automake versions
2607 * Handle pattern elements moving during multiple edits
2609 2003-04-17 Colin Walters <walters@debian.org>
2611 + Remove some unused variables, and initialize some other ones so
2612 gcc doesn't warn us.
2614 2003-04-16 Keith Packard <keithp@keithp.com>
2616 + tag version 2.1.94
2618 2003-04-16 Keith Packard <keithp@keithp.com>
2620 + add BDF property fetching support for foundry
2621 (from Juliusz Chroboczek)
2622 + add BDF property fetching support for width
2624 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2626 + Implemented foundry generation for Type 1 and TrueType
2628 2003-04-11 Gerard Escalante <g2@magestudios.net>
2630 + Retrieve information from Type1 FontInfo dictionaries
2632 2003-04-07 Colin Walters <walters@verbum.org>
2634 + src/Makefile.am: Fix dummy makefile target names when
2635 MS_LIB_AVAILABLE isn't set.
2637 2003-03-22 Tor Lillqvist <tml@iki.fi>
2639 Changes for Windows:
2641 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2643 + We don't want to hardcode the fonts.conf file location in the
2644 DLL, so we look up the DLL location at run-time in a DllMain()
2645 function. The fonts.conf location is deduced from that.
2647 + The colon can't be used as path separator on Windows,
2648 semicolon is used instead. File path components can be separated
2649 with either slash or backslash. Absolute paths can also begin
2650 with a drive letter.
2652 + Add internal function FcStrLastSlash that strrchr's the last
2653 slash, or backslash on Windows.
2655 + There is no link() on Windows. For atomicity checks, mkdir a
2656 lock directory instead.
2658 + In addition to HOME, also look for USERPROFILE.
2660 + Recognize the special font directory token WINDOWSFONTDIR, to
2661 use the system's font directory.
2663 + Remove the fontconfig-def.cpp that was obsolete. Add
2664 fontconfig.def(.in), without internal functions.
2666 + Add a fontconfig-zip(.in) script, used to build a binary
2669 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2670 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2671 to main package and man3/* to devel package
2673 + Added missing defattr(-, root, root) to main RPM package
2675 + Added HTML and text development documentation to -devel subpackage
2677 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2678 + Added back the configure macro options --disable-docs, otherwise
2679 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2680 version number) unconditionally, causing RPM to fail the build due
2681 to _unpackaged_files_terminate_build. We pick up the pregenerated
2682 docs with %doc already.
2684 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2685 + Removed commented out rpm macro define at top of spec file,
2686 replacing it with a simple explanation, since rpm macros are
2687 expanded by rpm even in comments.
2689 + Changed /usr/bin to _bindir in BuildRequires lines
2691 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2693 + Reorganized file manifest lists
2695 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2697 + fontconfig.spec.in: Improvements from Red Hat spec file.
2699 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2701 + docs/*.sgml: SGML fixes.
2703 Sat Mar 1 17:28:53 PST 2003 keithp
2704 + Ok, so the ChangeLog is a bit out of date
2706 + Lots of bugs fixed; most are in bugzilla, the
2707 biggest problems were in cache management where
2708 Owen discovered the library would lose badly when
2709 combining fonts-cache and ~/.fonts-cache data
2711 + Converted from autoconf to automake. This after
2712 getting patches accepted into libtool to allow
2713 the '-version-number' argument which lets
2714 packages set version numbers explicitly rather
2715 than the roundabout libtool way
2717 + Converted documentation to SGML using the docbook
2718 DTD. Now .txt and .html documents are installed
2719 in /usr/share/doc/fontconfig and there's no
2720 man page. Perhaps a man version can be written
2723 Sat Aug 31 15:21:22 PDT 2002 keithp
2724 + Xrender and Xft had several bugs related to
2725 rendering manually placed or poly-face text
2727 + Added more complete memory tracing in fontconfig
2728 Checked with (patched) mozilla and found no leaks
2730 + Updated Latin orthographies by comparing those from
2731 evertype.com with those from eki.ee. Tried to make
2732 sensible choices, including chars that occured in both
2733 and leaving some optional chars out that occured only
2736 Mon Aug 26 16:33:04 PDT 2002 keithp
2737 + Owen discovered that FcLangSetHasLang wasn't actually
2738 checking the language set.
2740 Mon Aug 26 13:37:23 PDT 2002 keithp
2741 + Append a version number to cache filenames
2743 Thu Aug 22 11:36:18 PDT 2002 keithp
2745 + Add "contains" and "not_contains" operators and elements to
2748 + Changed semantics of eq operator for LangSets to check for
2749 FcLangEqual so that any match will do
2751 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2752 of FcValueEqual to check for identical values when inserting into
2753 the results. This broke when the above semantic change was made,
2754 now it uses FcValueEqual which is "more correct" in any case.
2756 Thu Aug 22 00:32:29 PDT 2002 keithp
2758 + Reimplement FC_LANG as new datatype. Lists of strings
2759 was consuming over a megabyte of memory for 401 fonts.
2761 + Freeze patterns loaded from cache files. This shares
2762 common value lists and common patterns which saves
2763 considerable memory.
2765 + Change the denotation of 'constant' charsets to use special
2766 ref value instead of separate boolean.
2768 + Clean up leak tracing stuff, found several unannoted alloc/free
2771 Tue Aug 20 16:17:37 PDT 2002 keithp
2773 + Fix memory leak when parsing matrices from XML
2775 Mon Aug 19 11:57:27 PDT 2002 keithp
2777 + Fix autoconf files to pass FONTCONFIG_PATH on
2778 compile line so that ${prefix} gets substituted
2781 + Use getc_unlocked/putc_unlocked on systems that
2782 provide them to avoid damage done to stdio by posix
2784 + Eliminate FC_PATTERN and FcTypePattern in favor of
2785 an extended api for FcConfigSubstitute which takes
2786 both the font and the pattern.
2788 + Add 'sans serif' alias for 'sans-serif' as some apps
2789 can't handle hyphens in family names
2791 + Eliminate pretense of support for libxml2
2793 + Comment origins of Han orthographies
2795 Tue Jul 30 18:37:09 PDT 2002 keithp
2797 + Add binding property to edit element so that strong
2798 binding values may be inserted by the config file.
2799 The default remains weak.
2801 Sun 28 Jul 04:16:55 PDT 2002 keithp
2803 + Tagged release candidate 1 in the CVS tree and
2804 placed fcpackage.rc1.tar.gz for distribution
2806 Thu Aug 1 08:55:08 PDT 2002 keithp
2808 + Fixed autoconf builds to always specify install
2809 target files (for BSD). Also fixed to
2810 define FONTCONFIG_PATH in config.h so that
2811 nonstandard installs will actually work.