1 2006-02-13 Mike Fabian <mfabian@suse.de>
3 * src/fcfreetype.c (FcFreeTypeQuery):
5 Skip bitmap fonts which can't even get it together enough to
6 declare a family name; this appears to reproduce previous
9 2006-02-10 Takashi Iwai <tiwai@suse.de>
11 * src/fccache.c (FcDirCacheOpen):
13 Try to open /var/cache/fontconfig/[hashed name] before
14 fonts.cache-2 in a directory, because /var/cache/fontconfig
15 failures ought to be fixable, unlike fonts.cache-2 failures,
16 which may leave you screwed.
18 2006-02-10 Takashi Iwai <tiwai@suse.de>
20 * src/fcmatch.c (FcFontSetMatch):
22 Use a tri-state to mark the fonts which didn't get blocked but
23 were just missing an element, to distinguish them from the
24 fonts that do match the element.
26 2006-02-10 Takashi Iwai <tiwai@suse.de>
28 * src/fcmatch.c (FcFontSetMatch):
30 Don't kill fonts because they don't declare an element that's
33 2006-02-09 Patrick Lam <plam@mit.edu>
34 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
35 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
37 Define and pass O_BINARY to open if appropriate, for those
38 platforms that need it. Reported by Doodle.
40 2006-02-09 Patrick Lam <plam@mit.edu>
41 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
44 Fix problem with missing 'en' due to euro.patch: change
45 cache file format slightly to coincide with that generated
48 2006-02-07 Patrick Lam <plam@mit.edu>
49 * src/fccache.c (FcCacheReadDirs):
53 2006-02-07 Patrick Lam <plam@mit.edu>
54 * src/fcdir.c (FcDirScanConfig):
56 Don't reject dirs that can't be normalized (fixes lilypond, and
57 is correct in the context of application font directories.)
59 2006-02-07 Takashi Iwai <tiwai@suse.de>
62 * src/fccache.c (FcCacheReadDirs):
64 Use normalized directory name exclusively in FcCacheReadDirs.
66 2006-02-07 Dirk Mueller <dmueller@suse.com>
69 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
71 Perf optimizations. Inline FcValueCanonicalize,
72 reduce FcValueListPtrU usage, remove redundant cast.
74 2006-02-07 Takashi Iwai <tiwai@suse.de>
77 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
80 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
81 Declare extern for static arrays as arrays, not pointers.
82 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
84 2006-02-07 Dirk Mueller <dmueller@suse.com>
97 Add Euro sign to list of symbols required by European languages.
99 2006-02-07 Patrick Lam <plam@mit.edu>
100 * src/fccache.c (FcCacheReadString):
102 Fix hidden variable warning.
104 2006-02-07 Dirk Mueller <dmueller@suse.com>
107 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
109 Remove de-escaping logic because FcCacheWriteString
110 doesn't escape anyway. Do blockwise reading instead
111 of byte-wise for performance.
113 2006-02-06 Patrick Lam <plam@mit.edu>
114 Takashi Iwai <tiwai@suse.de>
116 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
118 Don't loop infinitely on recursive symlinks (client-side).
120 2006-02-06 Takashi Iwai <tiwai@suse.de>
122 * fc-cache/fc-cache.c (scanDirs, main):
124 Don't loop infinitely on recursive symlinks.
126 2006-02-06 Takashi Iwai <tiwai@suse.de>
128 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
129 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
130 FcGlobalCacheSave, FcCacheReadDirs):
133 Skip subdirs when skipping over stale bits of global cache.
134 Introduce state machine into FcGlobalCacheDir to avoid
135 doing inappropriate operations on global dir entries, e.g.
136 writing out an out-of-date cache entry.
138 2006-02-06 Takashi Iwai <tiwai@suse.de>
140 * src/fcdir.c (FcFileScanConfig):
142 Hoist FcFileIsDir check out of FcFileScanConfig loop.
144 2006-02-06 Takashi Iwai <tiwai@suse.de>
147 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
148 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
150 Don't rescan when trying to normalize a non-declared font dir.
151 Don't add font dirs multiple times (even if they're aliased).
153 2006-02-06 Dirk Mueller <dmueller@suse.de>
156 * src/fcfs.c (FcFontSetUnserialize):
158 Explain apples/oranges comparison and fix compilation error.
160 2006-02-06 Dirk Mueller <dmueller@suse.de>
163 * src/fcfs.c (FcFontSetUnserialize):
165 Insert check for integer overflow in # of fonts.
167 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
171 * fc-cache/Makefile.am:
172 * fc-cat/Makefile.am:
173 * fc-list/Makefile.am:
175 Make 'make distcheck' work with automake 1.6.3.
177 2006-02-03 Takashi IWAI <tiwai@suse.de>
180 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
183 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
184 FcDirCacheConsume, FcDirCacheWrite)
185 * src/fcxml.c (FcConfigMessage):
187 Check I/O call return values and eliminate unused variable
190 2006-02-03 Takashi Iwai <tiwai@suse.de>
193 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
197 2006-02-03 Dirk Mueller <dmueller@suse.de>
200 * src/fcfs.c (FcFontSetUnserialize):
202 Gracefully handle the case where a cache asserts that it
203 has a negative number of fonts, causing overflow.
205 2006-02-03 Patrick Lam <plam@mit.edu>
206 * src/fccache.c (FcDirCacheUnlink):
208 Fix double free in error case.
210 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
211 Stephan Kulow <coolo@suse.de>
214 * fc-cache/Makefile.am:
216 Replace 'stamp' target with mkinstalldirs.
218 2006-01-31 Mike Fabian <mfabian@suse.de>
221 * src/fccache.c (FcGlobalCacheLoad):
223 Toast broken global cache files.
225 2006-01-30 Patrick Lam <plam@mit.edu>
226 * src/fccache.c (FcGlobalCacheReadDir):
228 Actually use the directories that I added to the global cache.
231 2006-01-30 Mike Fabian <mfabian@suse.de>
234 * fc-cache/fc-cache.c (scanDirs):
236 Don't stop scanning if a directory in fonts.conf doesn't
237 exist, because subsequent directories might exist.
239 2006-01-30 Patrick Lam <plam@mit.edu>
240 * src/fccache.c (FcGlobalCacheLoad):
242 Make global cache work again after putting dir names into global
243 cache (I misplaced the recording of a file offset).
245 2006-01-30 Patrick Lam <plam@mit.edu>
246 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
248 Update fc-cat to handle subdir lists in global cache file.
250 * src/fccache.c (FcGlobalCacheLoad):
252 Another FcCacheReadString return value check.
254 2006-01-30 Mike Fabian <mfabian@suse.de>
257 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
258 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
260 Make fccache more resilient to broken cache files by checking
261 return value of FcCacheReadString all the time.
263 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
266 * fc-match/fc-match.1:
267 * fc-lang/fc-lang.man:
269 Remove references to dead fontconfig(3) manpages in
270 other fontconfig manpages.
272 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
275 * doc/fcpattern.fncs:
277 Fix world's tiniest typo in code example.
279 2006-01-29 Mike Fabian <mfabian@suse.de>
282 * src/fccache.c (FcGlobalCacheReadDir):
284 Fix global cache reads of subdirectories.
286 2006-01-29 Patrick Lam <plam@mit.edu>
288 Add documentation for FcConfigNormalizeFontDir.
290 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
291 FcGlobalCacheUpdate, FcGlobalCacheSave):
292 * src/fcdir.c (FcDirScanConfig):
295 Write directory information to global caches to fix make check
296 (reported by Ronny V. Vindenes). This changes the global cache
299 2006-01-27 Patrick Lam <plam@mit.edu>
300 * fc-cache/fc-cache.c (scanDirs):
301 * fontconfig/fontconfig.h:
303 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
305 Move FcConfigNormalizeFontDir call so that it doesn't result in
306 infinite recursion (reported by Ronny V. Vindenes).
308 2006-01-26 Patrick Lam <plam@mit.edu>
309 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
310 * src/fccfg.c (FcConfigNormalizeFontDir):
312 Add a couple of missing normalizations to make fc-cache work
313 right; only scan subdirectories once.
315 2006-01-26 Mike Fabian <mfabian@suse.de>
318 * src/fcacache.c (FcGlobalCacheReadDir):
320 Don't crash on non-existant directories in global cache.
322 2006-01-26 Patirck Lam <plam@mit.edu>
323 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
324 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
325 * src/fcdir.c (FcDirScanConfig):
326 * src/fcxml.c (FcEndElement):
328 Stop trampling the directory name when writing out caches.
329 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
330 subdirs when necessary. Don't scan directories that can't be
333 2006-01-25 Patrick Lam <plam@mit.edu>
334 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
335 * src/fccfg.c (FcConfigEvaluate):
336 * src/fcfreetype.c (FcPatternAddWithBinding):
338 Fix additional memory leaks reported by Ronny V. Vindenes: don't
339 invoke FcValueSave on hashed static strings in
340 FcPatternAddWithBinding.
342 Add another st_dev check in FcDirCacheOpen.
344 2006-01-24 James Su <james.su@gmail.com>
347 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
348 * fc-lang/zh_hk.orth:
350 Treat zh-hk fonts differently from zh-tw fonts. This patch may
351 cause fontconfig to treat A-X fonts differently from A-Y fonts;
352 please mail the fontconfig list if this causes any problems.
354 2006-01-24 Patrick Lam <plam@mit.edu>
355 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
356 * src/fcfreetype.c (FcFreeTypeQuery):
358 Fix memory leaks reported by Ronny V. Vindenes.
360 2006-01-19 Andreas Schwab <schwab@suse.de>
363 * src/fcpat.c (FcStrNeededBytes):
365 Fix for unaligned memory accesses.
367 2006-01-18 Mike Fabian <mfabian@suse.de>
370 * src/fcdir.c (FcDirScanConfig):
372 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
373 calls to avoid crashes.
375 2006-01-14 Patrick Lam <plam@mit.edu>
376 * src/fccache.c (FcDirCacheConsume):
378 Fix segfault when consuming zero-length caches in fc-cat
379 (which has no config, so FcConfigAddFontDir shouldn't be called.)
381 2006-01-14 Patrick Lam <plam@mit.edu>
382 * fc-cache/fc-cache.c (scanDirs):
383 * fontconfig/fontconfig.h:
384 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
385 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
386 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
387 * src/fcdir.c (FcDirScanConfig):
390 Compare device numbers as well as inodes.
391 Always normalize directory names before comparing them.
393 2006-01-11 Mike Fabian <mfabian@suse.de>
396 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
398 Allocate extra space for appended '/' in directory name.
400 2006-01-10 Patrick Lam <plam@mit.edu>
401 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
402 FcDirCacheValid, FcDirCacheHasCurrentArch,
403 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
404 * fc-cache/fc-cache.c (main):
406 Explicitly add font dirs to config.fontDirs even if they're empty.
407 Set current config in fc-cache.c.
408 Fix treatment of cache directory as read from cache file; don't
409 use string equality to determine if we have the right file,
412 2006-01-09 Patrick Lam <plam@mit.edu>
413 * fc-cache/fc-cache.c (scanDirs):
414 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
415 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
416 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
417 * src/fccfg.c (FcConfigNormalizeFontDir):
418 * src/fcdir.c (FcDirScanConfig):
421 Normalize font dirs by using the form, as given in fonts.conf, and
422 recorded in FcConfig's fontDirs string set, as canonical.
424 Actually update config.fontDirs as font directories are scanned.
426 2006-01-08 James Su <james.su@gmail.com>
427 * src/fcmatch.c (FcFontSetMatch):
429 Fix matching bug when multiple elements match; don't use
430 the sum of all scores, but the best score.
432 Also more perf opts, e.g. evaluate best over all font sets
433 rather than on a per-set basis (and other changes).
435 2006-01-08 Patrick Lam <plam@mit.edu>
436 * src/fccache.c (FcDirCacheConsume):
438 Properly skip past dir caches that contain zero fonts (as occurs
439 in global caches.) Reported by Mike Fabian.
441 2006-01-06 Patrick Lam <plam@mit.edu>
442 * src/fcdbg.c (FcPatternPrint):
444 Print out full pathname in fc-match -v as well. Reported by
447 2006-01-06 Mike Fabian <mfabian@suse.de>
450 * src/fcname.c (FcNameParse):
452 Fix bug where fc-match crashes when given __DUMMY__ property to
455 (I added the __DUMMY__ string to enable callers of
456 FcObjectToPtrLookup to distinguish an error return from a
457 successful return. -PL)
459 2006-01-05 Patrick Lam <plam@mit.edu>
462 Add self to AUTHORS list.
464 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
465 FcCacheFileRead, FcCachePrintSet, main):
466 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
467 FcGlobalCacheSave, FcCacheNextOffset,
468 FcDirCacheHasCurrentArch, FcDirCacheRead,
469 FcDirCacheConsume, FcDirCacheWrite):
471 * src/fcpat.c (comment):
473 Minor change to global cache file format to fix fc-cat bug
474 reported by Frederic Crozat, and buglet with not globally caching
475 directories with zero fonts cached.
477 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
480 * src/fccfg.c (FcConfigEvaluate):
482 Fix double-free which occurs because FcValueCanonicalize doesn't
483 create an extra copy of the returned value, it only canonicalizes
486 2006-01-02 Patrick Lam <plam@mit.edu>
487 * doc/fontconfig-user.sgml:
489 Fix version of .cache file (currently 1 -> currently 2). Reported
492 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
495 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
497 Shut up GCC warnings on amd.
499 2005-12-20 Patrick Lam <plam@mit.edu>
503 * fontconfig/fontconfig.h:
505 Bump version to 2.3.93.
507 2005-12-20 Patrick Lam <plam@mit.edu>
508 * src/fccharset.c (FcLangCharSetPopulate):
509 * src/fcint.h (FcCacheBankToIndex):
511 Avoid check on _fcBankId nullness and fix case where it used to
514 2005-12-20 Patrick Lam <plam@mit.edu>
515 * src/fcxml.c (FcConfigParseAndLoad):
517 Use open instead of fopen (requested by Phil Race for Sun).
519 2005-12-20 Patrick Lam <plam@mit.edu>
520 * src/fccache.c (FcDirCacheWrite);
521 * fc-cache/Makefile.am:
523 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
526 2005-12-20 Patrick Lam <plam@mit.edu>
527 * src/fcfreetype.c (FcFreeTypeQuery):
529 Restore code to skip over PCF fonts that have no encoded
531 (We guess that a font is PCF by presence of the PIXEL_SIZE
534 2005-12-12 Patrick Lam <plam@mit.edu>
535 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
537 Read and write the original location as a fallback for the
538 hashed cache file locations. This is mostly for users to be
539 able to have per-directory cache files.
541 2005-12-12 Patrick Lam <plam@mit.edu>
542 * fc-cache/fc-cache.c (scanDirs):
543 * fc-cache/Makefile.am:
544 * src/fccache.c (FcDirCacheHashName):
546 Improve error message when fc-cache can't write the cache. Add
547 missing slash. Reported by Behdad. Incorporate Behdad's patch to
548 create /var/cache/fontconfig when appropriate.
550 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
553 * src/fcxml.c (FcConfigGetAttribute):
555 Fix crash reported by Frederic Crozat when using libxml2.
557 2005-12-09 Patrick Lam <plam@mit.edu>
560 * fc-cache/Makefile.am:
561 * fc-cat/Makefile.am:
563 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
564 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
565 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
566 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
567 FcDirCacheHasCurrentArch, FcDirCacheHashName,
568 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
570 Migrate cache files from fonts directories to
571 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
572 but requires that all caches get rebuilt.
574 Also, autogen.sh now needs the additional parameter
575 --localstatedir=/var.
577 2005-12-07 Patrick Lam <plam@mit.edu>
578 * src/fcpat.c (FcPatternAddString):
580 Because we've changed FcPatternAddString to use FcStrStaticName
581 and not FcValueSave, explicitly handle the case of a null string.
583 2005-12-06 Patrick Lam <plam@mit.edu>
584 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
588 2005-12-05 Patrick Lam <plam@mit.edu>
589 * src/fcname.c (FcNameGetObjectType):
591 Don't assign types to user object names.
593 2005-12-05 Patrick Lam <plam@mit.edu>
594 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
596 Don't free strings that have been returned from FcStrStaticName.
598 2005-12-01 Patrick Lam <plam@mit.edu>
599 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
601 Add codepath for reading global cache files as well.
603 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
606 * conf.d/10-fonts.persian.conf:
607 * conf.d/Makefile.am:
609 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
611 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
614 * src/fcxml.c (FcConfigParseAndLoad):
616 Only add a config file to the set of config files once.
618 2005-11-29 Patrick Lam <plam@mit.edu>
619 * src/fcint.h (FcCacheBankToIndex);
621 Fix segfault by guarding array dereference.
623 2005-11-29 Dirk Mueller <dmueller@suse.de>
627 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
628 FcCacheBankToIndex, FcCacheBankToIndexMTF,
632 Refactor FcCacheBankToIndex into an inlineable part
633 (in fcint.h) which checks the front of the list and a
634 non-inlineable part which finds and moves the appropriate element
635 to the front of the list.
637 2005-11-29 Patrick Lam <plam@mit.edu>
638 * src/fccfg.c (FcConfigBuildFonts):
639 * src/fccache.c (FcCacheReadDirs):
641 Make the perf guys hate me a bit less: hoist the directory-name
642 FcConfigAcceptFont check for cached fonts up to directory cache
643 read time, rather than running it for each font.
645 2005-11-29 Patrick Lam <plam@mit.edu>
646 * src/fccfg.c (FcConfigBuildFonts):
648 * src/fcpat.c (FcPatternFindFullFname):
650 Don't make FcPatternFindFullFname available to fccfg, it's not
651 really safe. Instead go through FcPatternGetString (sorry,
652 perf guys.) Also, use globs for dirs as well.
654 2005-11-28 Patrick Lam <plam@mit.edu>
655 * src/fccfg.c (FcConfigBuildFonts):
659 2005-11-28 Patrick Lam <plam@mit.edu>
661 * src/fcpat.c (FcPatternFindFullFname):
662 * src/fccfg.c (FcConfigBuildFonts):
664 Fix problem dating back at least to 2.3.2 where globs weren't
665 being applied to patterns loaded from a cache.
667 2005-11-28 Patrick Lam <plam@mit.edu>
668 * doc/fontconfig-user.sgml:
670 Fix some obvious spelling mistakes.
672 2005-11-28 Dirk Mueller <dmueller@suse.com>
673 Stephan Kulow <coolo@suse.de>
676 * src/fcmatch.c (FcFontSetMatch):
678 Don't kill all fonts during match (oops!)
681 2005-11-25 Dirk Mueller <dmueller@suse.com>
682 Stephan Kulow <coolo@suse.de>
683 Michael Matz <matz@suse.de>
686 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
689 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
690 inline FcCompare into FcFontSetMatch and reorder the
691 loops, adding a boolean array which blocks patterns from future
692 consideration if they're known to not be best on some past
695 2005-11-26 Dirk Mueller <dmueller@suse.com>
698 * src/fcmatch.c (FcCompareValueList):
702 2005-11-25 Patrick Lam <plam@mit.edu>
703 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
705 Don't do random matching when bad objects are passed into
708 2005-11-25 Patrick Lam <plam@mit.edu>
710 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
711 FcPatternSerialize, FcPatternUnserialize,
712 FcValueListEnsureBank, FcValueListDistributeBytes,
713 FcValueListUnserialize):
715 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
716 _fcPatternElts, _fcValueLists for consistency.
718 2005-11-25 Dirk Mueller <dmueller@suse.com>
723 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
725 2005-11-25 Patrick Lam <plam@mit.edu>
727 * src/fccache.c (FcDirCacheConsume):
728 * src/fccharset.c (FcCharSetUnserialize):
729 * src/fcfs.c (FcFontSetUnserialize):
730 * src/fclang.c (FcLangSetUnserialize):
731 * src/fcname.c (FcObjectUnserialize):
732 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
733 FcPatternUnserialize):
735 Pass around FcCache *s to the Unserialize functions for extra
736 consistency (and less overhead, for what that's worth).
738 2005-11-24 Dirk Mueller <dmueller@suse.com>
742 * src/fcmatch.c (FcCompare*, FcFontSetSort):
743 * src/fcname.c (FcNameUnparseValue):
745 Inline the *PtrU functions to gain perf.
746 Remove unneeded params for the FcCompare* functions.
748 2005-11-24 Dirk Mueller <dmueller@suse.com>
751 * src/fcint.h, fontconfig/fontconfig.h:
753 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
755 * src/fcpat.c, src/fcint.h, src/fcname.c:
757 Check for type validity during FcPatternAddWithBinding, don't
758 verify type in FcFontMatch, don't call FcCanonicalize here
759 (which always does a deep copy).
761 2005-11-24 Dirk Mueller <dmueller@suse.com>
764 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
765 * src/fcpat.c (FcPatternAddWithBinding):
767 Make FcCompareString and FcCompareFamily less expensive.
768 Only add a value for FC_FAMILY if the proposed value is a string.
770 2005-11-24 Dirk Mueller <dmueller@suse.com>
773 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
774 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
775 * src/fcint.h (FcDebug):
777 Inline FcDebug invocations and only initialize once, in FcInit*.
778 Improve debug msg in FcPatternPrint.
780 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
783 * fontconfig/fontconfig.h:
786 Minor code warning cleanups.
788 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
791 * fc-match/fc-match.c (main):
793 Make getopt_long accept -s parameter to fc-match as well.
795 2005-11-21 Dirk Mueller <dmueller@suse.com>
798 * src/fcmatch.c (FcCompareValueList):
800 Manually perform inlining & partial redundancy elimination to
801 reduce calls to FcValueListPtrU.
803 2005-11-21 Dirk Mueller <dmueller@suse.com>
806 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
807 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
809 Only invoke strlen() when really necessary.
811 2005-11-19 Matthias Clasen <mclasen@redhat.com>
815 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
820 Get rid of the use of freetype internal headers in fcfreetype.c,
821 since those headers will go away with freetype 2.2. Replace with
822 public domain ftglue code from pango. Note that the patch removes
823 some extra error checking in FT_Get_BDF_Property() and comments
824 out the skipping of empty pcf fonts.
826 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
829 * fc-lang/fc-lang.c (main):
831 Further fix of patch from 2005-11-04: miscounted numbers count
832 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
833 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
835 Removed leafidx_count and numbers_count since they are the same
836 and replaced them with offset_count.
838 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
841 * fc-cat/fc-cat.c (main):
843 Don't crash when fc-cat invoked with no arguments.
845 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
848 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
850 Fix invalid read access caused by premature free and
851 GCC4 warnings in libxml2 codepath.
853 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
856 * src/fccfg.c (FcConfigValues):
858 List iteration not needed in FcConfigValues, since it's building
859 up the list itself; we can just strip FcVoid elements during
862 2005-11-17 Patrick Lam <plam@mit.edu>
863 * src/fccfg.c (FcConfigValues):
865 Fix crash on invalid constants in config files (forgot to update
866 a pointer upon list iteration.)
868 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
871 * src/fcxml.c (FcTypecheckExpr):
873 Complain about invalid constants in config files.
875 2005-11-17 Andreas Schwab <schwab@suse.de>
878 * src/fccache.c (FcGlobalCacheSave):
880 Don't add current_arch_start more than once.
882 2005-11-16 Patrick Lam <plam@mit.edu>
883 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
884 * src/fcfs.c (FcFontSetUnserialize):
885 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
886 * src/fcpat.c (FcStrUnserialize):
888 Fix ordering of ALIGN with respect to saving block_ptr; add
889 another ALIGN to fcfs.c.
891 2005-11-16 Patrick Lam <plam@mit.edu>
892 * src/fccache.c (FcDirCacheProduce)
894 Fix case where alignment bytes bumped up metadata->count
895 causing unwarranted failures to write cache files.
896 (Reported by Stephan Kulow).
898 2005-11-16 Patrick Lam <plam@mit.edu>
899 * src/fccache.c (FcDirCacheProduce):
900 * src/fccharset.c (FcCharSetDistributeBytes):
901 * src/fcfs.c (FcFontSetDistributeBytes):
903 * src/fclang.c (FcLangSetDistributeBytes):
904 * src/fcname.c (FcObjectDistributeBytes):
905 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
908 Add *NeededBytesAlign(), which overestimates the padding which is
909 later added by the new ALIGN macro. Fix alignment problems on
910 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
911 version by Andreas Schwab).
913 2005-11-16 Stephan Kulow <coolo@kde.org>
918 Use sysconf to determine proper PAGESIZE value; this
919 appears to be POSIX-compliant. (reported by Andreas Schwab)
921 2005-11-04 Patrick Lam <plam@mit.edu>
927 Fix bug 2878 (excessive relocations at startup for charsets,
928 reported by Ross Burton): fc-lang/fc-lang now creates the
929 static form of the langset, not the dynamic form, so that
930 the charsets should now be in .rodata.
932 2005-11-04 Patrick Lam <plam@mit.edu>
933 * src/fcdir.c (FcDirScanConfig):
935 Add test for validity of directory caches that
936 somehow got lost (reported by make distcheck).
938 2005-11-04 Patrick Lam <plam@mit.edu>
942 * fontconfig/fontconfig.h:
944 Bump version to 2.3.92.
946 2005-11-02 Patrick Lam <plam@mit.edu>
947 * src/fcpat.c (FcPatternDuplicate):
949 Fix argument ordering problem in call to FcPatternTransferFullFname.
951 2005-11-02 Patrick Lam <plam@mit.edu>
952 * src/fcfreetype.c (FcFreetypeQuery):
953 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
954 FcPatternTransferFullFname):
956 Fix warnings and embarrassing double-free error.
958 2005-11-02 Zhe Su <zsu@novell.com>
963 Change the rule for artificial emboldening in fonts.conf.in. This
964 enables the support for artificial emboldening included in cairo.
966 2005-11-02 Patrick Lam <plam@mit.edu>
967 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
969 Don't zero out full names for FC_REF_CONSTANT fonts;
970 also, duplicate full names when transferring, and free
971 full names when freeing the associated font.
972 Reported by Jinghua Luo.
974 2005-11-02 Patrick Lam <plam@mit.edu>
975 * fc-cache/fc-cache.c (scanDirs):
976 * src/fcpat.c (FcValueListSerialize):
978 Revert the previous patch and commit the correct patch:
979 I forgot a canonicalization in FcValueListSerialize, so
980 that it would choke on already-serialized input files. Duh!
982 2005-11-02 Patrick Lam <plam@mit.edu>
983 * fc-cache/fc-cache.c (scanDirs):
985 Forcibly rescan a directory before writing a fresh local
986 cache file for that directory, fixing the losing-fonts
987 problem reported by Mike Fabian and also apparently the
988 font cache file corruption.
990 2005-11-02 Patrick Lam <plam@mit.edu>
991 * src/fccache.c (FcGlobalCacheLoad):
993 Fix thinko: actually, the whole global cache is stale
994 if the global cache is older than the (newest) config file.
996 2005-11-02 Patrick Lam <plam@mit.edu>
997 * src/fccache.c (FcGlobalCacheLoad):
998 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1001 Declare the global cache of a directory's contents to be stale if
1002 the directory is newer than the (newest) configuration file.
1004 2005-10-31 Patrick Lam <plam@mit.edu>
1006 * src/fclist.c (FcListAppend):
1007 * src/fcmatch.c (FcFontRenderPrepare):
1008 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1009 FcPatternFreeze, FcPatternBaseFreeze):
1011 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1012 applications continue breaking.
1014 2005-10-31 Patrick Lam <plam@mit.edu>
1015 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1016 * src/fcfreetype.c (FcFreeTypeQuery):
1018 Fix small memory error (tried to free argv); use basename and
1019 dirname correctly (they can modify their arguments).
1021 2005-10-31 Patrick Lam <plam@mit.edu>
1029 Reinstate basename patch, but keep a hash table linking FcPatterns
1030 to their fully-qualified font names for clients' benefit. Clients
1031 only pay for the font names once they request the FC_FILE property
1032 from an FcPattern, but the font name is malloc'd at that point (i.e.
1033 not mmapped: that's impossible, since it may vary between machines.)
1034 Clients do have to pay for a copy of the path name per cache file.
1036 Note that FcPatternGetString now does some rewriting if you ask
1037 for an FC_FILE, appending the pathname as appropriate.
1039 2005-10-31 Patrick Lam <plam@mit.edu>
1040 * src/fcfreetype.c (FcFreeTypeQuery):
1042 Revert basename patch, which breaks fontconfig clients on my system.
1044 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1047 * fontconfig/fonts.conf.in:
1048 * fontconfig/fontconfig.h:
1052 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1053 to load embedded bitmaps or not.
1055 2005-10-25 Patrick Lam <plam@mit.edu>
1056 * src/fcfreetype.c (FcFreeTypeQuery):
1058 Only add basename to patterns' FC_FILE element, not any part of
1061 2005-10-22 Patrick Lam <plam@mit.edu>
1064 Add some more consts, fixing more GCC4 warnings.
1066 2005-10-22 Zhe Su <zsu@novell.com>
1069 Support localized font family and style names.
1070 This has been reported to break old apps like xfd, but modern
1071 (gtk+/qt/mozilla) apps work fine.
1073 2005-10-21 Patrick Lam <plam@mit.edu>
1074 * src/fccache.c (FcGlobalCacheLoad):
1076 Destroy the global cache file if it's terminally broken. (reported by
1079 2005-10-21 Patrick Lam <plam@mit.edu>
1080 * fc-list/fc-list.c (main):
1081 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1082 * fontconfig/fontconfig.h:
1084 Prevent fc-list from escaping strings when printing them (reported by
1087 2005-10-20 Marcus Meissner <meissner@suse.de>
1090 * fontconfig/fontconfig.h:
1092 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1094 2005-10-14 Ross Burton <ross@burtonini.com>
1097 * fc-glyphname/fc-glyphname.c:
1100 Add consts to variables so as to move arrays into .rodata.
1102 2005-10-14 Mike Fabian <mfabian@suse.de>
1105 * src/fccache.c (FcDirCacheUnlink):
1107 Check existence of directory cache file before attempting to unlink.
1109 2005-10-13 Patrick Lam <plam@mit.edu>
1110 * src/fccache.c (FcDirCacheUnlink):
1112 Fix flipped return value on unlink. (Reported by Mike Fabian)
1114 2005-10-12 Patrick Lam <plam@mit.edu>
1117 * src/fcdir.c (FcDirScanConfig):
1120 When fc-cache is run without --force, use directory cache files
1121 to speed up fc-cache run time. (Reported by Mike Fabian)
1123 2005-10-06 Patrick Lam <plam@mit.edu>
1125 * src/fcname.c (FcObjectToPtr):
1126 * src/fcpat.c (FcStrStaticName):
1128 Add padding to make valgrind and glibc not hate each other
1129 when calling strlen().
1131 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1132 reviewed by: plam & keithp
1136 Modify config file to use Greek fonts before Asian fonts with
1139 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1140 reviewed by: plam & keithp
1144 Use libtool -no-undefined flag on all platforms.
1146 2005-10-05 Patrick Lam <plam@mit.edu>
1147 * src/fccache.c (FcCacheHaveBank):
1149 Implement move-to-front array for banks (perf regression
1150 reported by Ronny V. Vindenes).
1152 2005-10-04 Patrick Lam <plam@mit.edu>
1153 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1154 FcDirCacheHasCurrentArch):
1155 * fc-cache/fc-cache.c (scanDirs):
1156 * fontconfig/fontconfig.h:
1158 Add new API which unlinks directory caches and checks dir caches
1159 for existence of appropriate sections. Fix fc-cache to unlink
1160 stale cache files and save directory caches that lack relevant
1163 2005-10-03 Patrick Lam <plam@mit.edu>
1164 * src/fccache.c (FcDirCacheValid):
1166 Ensure that a directory cache has the appropriate section
1167 before reporting that it is valid (reported by Matthias Clasen).
1169 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1177 Use libxml2 if requested (with --enable-libxml2) or if
1178 expat is not available.
1180 2005-09-29 Patrick Lam <plam@mit.edu>
1181 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1183 Fix multi-arch cache files: compute the position for the
1184 block to be added using info from OrigFile, not NewFile.
1186 2005-09-28 Patrick Lam <plam@mit.edu>
1187 * src/fccache.c (FcCacheMachineSignature):
1189 Cast results of sizeof() to unsigned int to get rid of
1190 warnings on x86_64 (thanks Matthias Clasen).
1192 2005-09-27 Patrick Lam <plam@mit.edu>
1193 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1196 Use FcAtomic to rewrite cache files.
1198 2005-09-27 Patrick Lam <plam@mit.edu>
1200 * src/fccache.c (FcDirCacheWrite):
1202 Don't unlink the fonts.cache-2 file even if there's no data
1203 to write; just write an empty cache file. (thanks Lubos Lunak)
1205 2005-09-27 Patrick Lam <plam@mit.edu>
1207 * src/fccache.c (FcDirCacheWrite):
1209 Allocate room for the subdirectory names in each
1210 directory cache. Thanks to James Cloos for finding
1211 and diagnosing this bug!
1213 2005-09-22 Patrick Lam <plam@mit.edu>
1215 * fc-cache/fc-cache.sgml:
1216 * src/fccache.c (FcDirCacheWrite):
1217 * src/fccache.h (struct FcCache):
1219 Update documentation -- fc-cache's man page now says that you
1220 need to run fc-cache once per cached architecture; add some
1221 documentation to the FcCache structure.
1223 Make fc-cache write out fonts.cache-2 files for directories with
1224 no fonts (i.e. only subdirectories).
1226 2005-09-22 Patrick Lam <plam@mit.edu>
1228 * fc-cache/fc-cache.sgml:
1229 * fc-case/fc-case.c:
1230 * fc-glyphname/fc-glyphname.c:
1236 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1240 * fc-lang/fc-lang.c:
1241 * fontconfig/fcprivate.h:
1242 * fontconfig/fontconfig.h:
1256 Implement new mmaped cache for font information.
1257 Bump so revision to 2.3.90.
1259 2005-07-25 Keith Packard <keithp@keithp.com>
1261 * doc/fontconfig-user.sgml:
1262 * fc-glyphname/fc-glyphname.c: (scan), (main):
1263 * fc-lang/fc-lang.c: (FcConfigHome):
1264 * fc-match/fc-match.c: (main):
1265 * src/fccfg.c: (FcConfigHome):
1266 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1267 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1268 (addtag), (FcFontCapabilities):
1269 * src/fcpat.c: (FcValueListEntCreate):
1270 * src/fcstr.c: (FcStrCaseWalkerInit):
1271 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1273 Various GCC 4 cleanups for signed vs unsigned char
1275 Match only [0-9]*.conf files in <include>{directory}</include>
1276 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1278 2005-07-15 Carl Worth <cworth@cworth.org>
1281 * src/fcinit.c: (FcFini):
1282 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1285 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1286 Pull the FcObjectStateName hash table out to file scope, and add
1287 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1290 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1293 2005-06-16 Patrick Lam <plam@MIT.EDU>
1297 * src/fccfg.c: (FcConfigCompareValue):
1298 Make FcOpNotContains use FcStrStr for strings so that
1299 it matches semantics for !FcOpContains.
1301 2005-05-20 Keith Packard <keithp@keithp.com>
1305 Move fontconfig source package to libs as per override
1307 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1309 reviewed by: Mike Fabian
1312 The ka.orth file requires several characters which are not
1313 used anymore in modern Georgian and which are missing in the free
1314 Georgian TrueType fonts downloadable at:
1316 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1318 2005-04-27 Keith Packard <keithp@keithp.com>
1322 Update date to real 2.3.2 release date.
1323 Fix change attributions
1325 2005-04-27 Keith Packard <keithp@keithp.com>
1328 Bump so revision for 2.3.2
1329 * fc-cache/fc-cache.c: (scanDirs):
1330 Fix a few minor leaks in error cases.
1332 2005-04-23 Keith Packard <keithp@keithp.com>
1337 * fontconfig/fontconfig.h:
1338 Update for version 2.3.2
1340 2005-04-21 Keith Packard <keithp@keithp.com>
1342 * debian/fontconfig.postinst:
1343 Don't force bitmap font enable in default
1344 configuration; allows users to override this in
1354 * debian/po/pt_BR.po:
1355 * debian/po/templates.pot:
1357 * debian/po/zh_CN.po:
1358 Updated translations
1360 * fc-cache/fc-cache.c: (main):
1361 Destroy font configuration on exit to help valgrind
1364 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1365 (FcFreeTypeCheckGlyph):
1366 Use own transcoding routines in preference to iconv
1367 which appears to have leaks in some translators.
1368 Call iconv_close after using iconv (oops).
1370 Prefer unicode encoding of Euro char as some
1371 fonts mis-encode Euro in other ones.
1373 Must fetch bitmap glyphs to get width values
1374 to check for monospace/dual-width fonts.
1376 2005-04-13 Ross Burton <ross@burtonini.com>
1379 Check that a pattern isn't already frozen in FcPatternFreeze.
1381 2005-03-31 Ross Burton <ross@burtonini.com>
1386 Run all FcPattern objects through FcObjectStaticName, so that
1387 compares can be done on pointers instead of strings (#2659)
1389 2005-03-17 Tor Lillqvist <tml@novell.com>
1391 * src/fontconfig.def.in: Add the .dll to the dll name.
1393 2005-03-10 Keith Packard <keithp@keithp.com>
1395 * debian/README.Debian:
1396 Update to reflect configuration changes
1398 * debian/fontconfig.postinst:
1399 Fix Autohint vs Autohinter mistake
1400 * debian/fontconfig.templates:
1401 Adopt changes from Josselin Mouette for configuration descriptions
1402 Update debian to version 2.3.1-2
1404 2005-03-08 Keith Packard <keithp@keithp.com>
1408 Update debian for 2.3.1
1410 2005-03-09 Tor Lillqvist <tml@novell.com>
1412 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1415 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1418 2005-03-08 Keith Packard <keithp@keithp.com>
1422 * fontconfig/fontconfig.h:
1425 2005-03-05 Keith Packard <keithp@keithp.com>
1427 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1428 Include space and remove numbers from valid script tags.
1429 This ensures that tags like 'lao ' work while rejecting
1430 those which have any digits.
1431 Eliminate a spurious debugging variable (len)
1433 2005-03-05 Keith Packard <keithp@keithp.com>
1435 * src/fcfreetype.c: (addtag), (GetScriptTags),
1436 (FcFontCapabilities):
1437 Rework GSUB/GPOS script parsing to survive broken fonts.
1438 Thanks for the broken font go to Manish Singh
1440 2005-03-05 Keith Packard <keithp@keithp.com>
1445 * debian/fontconfig.config:
1446 * debian/fontconfig.templates:
1448 Include 2.3 release information in changelog
1449 Add Josselin Mouette as an Uploader
1450 Set hinting_type to low priority configuration option
1453 * debian/fontconfig.postinst:
1454 yes_bitmaps.conf -> yes-bitmaps.conf
1460 2005-03-02 Keith Packard <keithp@keithp.com>
1463 * conf.d/Makefile.am:
1464 * conf.d/autohint.conf:
1465 * conf.d/no-sub-pixel.conf:
1466 * conf.d/sub-pixel.conf:
1467 * conf.d/unhinted.conf:
1468 * debian/autohint.conf:
1469 * debian/fontconfig.install:
1470 * debian/fontconfig.postinst:
1471 * debian/fontconfig.templates:
1472 * debian/no-sub-pixel.conf:
1473 * debian/unhinted.conf:
1474 Move debian-specific conf file examples upstream.
1476 Sub-pixel configuration examples must smash subpixel value
1477 as Xft always sets it from X.
1479 Change sub-pixel rendering debconf descriptions from
1480 Enable/Disable to Always/Never.
1482 2005-03-02 Keith Packard <keithp@keithp.com>
1485 * conf.d/.cvsignore:
1487 Ignore more build detritus
1490 Add debian package construction stuff.
1492 * config/config.guess:
1493 * config/config.sub:
1494 Update to newer versions of these tools
1497 Get library manuals to build again (we love automake).
1499 * debian/README.Debian:
1500 * debian/autohint.conf:
1505 * debian/fontconfig-udeb.install:
1506 * debian/fontconfig.config:
1507 * debian/fontconfig.defoma:
1508 * debian/fontconfig.dirs:
1509 * debian/fontconfig.install:
1510 * debian/fontconfig.postinst:
1511 * debian/fontconfig.postrm:
1512 * debian/fontconfig.templates:
1513 * debian/libfontconfig1-dev.install:
1514 * debian/libfontconfig1.install:
1515 * debian/local.conf.md5sum:
1516 * debian/no-sub-pixel.conf:
1517 * debian/po/POTFILES.in:
1526 * debian/po/pt_BR.po:
1527 * debian/po/templates.pot:
1529 * debian/po/zh_CN.po:
1531 * debian/unhinted.conf:
1532 Update debian build system to switch maintainers and
1533 deal with 2.3 functionality
1535 2005-03-01 Keith Packard <keithp@keithp.com>
1539 * fontconfig/fontconfig.h:
1542 2005-03-01 Keith Packard <keithp@keithp.com>
1545 Generate and install PDF versions of the manuals
1547 * doc/fcpattern.fncs:
1550 * doc/fcstring.fncs:
1551 Add missing exported functions, fix data types
1553 * doc/fontconfig-devel.sgml:
1554 Add missing pattern elements.
1556 * doc/fontconfig-user.sgml:
1557 Add missing pattern elements. Document conf.d usage,
1558 clarify available orthography list. Fix some config file
1559 attributes. Complete list of constants.
1561 * fontconfig/fontconfig.h:
1562 Mark FC_SOURCE deprecated.
1564 * src/fcfreetype.c: (FcFreeTypeQuery):
1565 Don't set FC_SOURCE any longer.
1567 2005-02-28 Keith Packard <keithp@keithp.com>
1570 * conf.d/Makefile.am:
1572 * conf.d/no-bitmaps.conf:
1573 * conf.d/sub-pixel.conf:
1574 * conf.d/yes-bitmaps.conf:
1576 Create prototype /etc/fonts/conf.d directory with a few
1577 sample configuration files.
1578 Deprecate use of local.conf for local customizations in favor of
1579 this directory based scheme which is more easily integrated into
1580 installation systems.
1583 Tag FC_EMBOLDEN as a boolean variable
1585 2005-02-10 Keith Packard <keithp@keithp.com>
1587 reviewed by: pborelli@katamail.com
1589 * src/fcdir.c: (FcFileScanConfig):
1590 Free patterns from fonts which are rejected by configuration
1593 2005-01-28 Keith Packard <keithp@keithp.com>
1597 * fontconfig/fontconfig.h:
1598 Update for version 2.2.99
1600 2005-01-28 Keith Packard <keithp@keithp.com>
1603 Add a few pointers (#2284, #2285)
1605 2005-01-28 Keith Packard <keithp@keithp.com>
1608 * src/fcname.c: (FcNameBool):
1609 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1610 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1611 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1612 Polite typechecking for test and edit expressions. Helps
1613 catch errors in the font configuration. (bug 229)
1615 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1617 reviewed by: Keith Packard <keithp@keithp.com>
1620 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1622 2005-01-13 Keith Packard <keithp@keithp.com>
1624 * doc/fontconfig-user.sgml:
1625 Add SEE ALSO section (bug 2085)
1627 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1629 reviewed by: Keith Packard <keithp@keithp.com>
1634 * fc-case/Makefile.am:
1635 * fc-glyphname/Makefile.am:
1636 * fc-lang/Makefile.am:
1637 * src/fontconfig.def.in:
1638 Cross compiling fixes (bug 280)
1640 2005-01-13 Keith Packard <keithp@keithp.com>
1643 Update blanks list (Closes bug 86)
1645 2005-01-04 Keith Packard <keithp@keithp.com>
1647 * src/fccache.c: (FcCacheFontSetAdd):
1648 Verify that every font pattern loaded from cache has
1649 both FC_FILE and FC_FAMILY entries.
1650 Attempt to fix bug #2219.
1652 2004-12-29 Keith Packard <keithp@keithp.com>
1656 * fontconfig/fontconfig.h:
1657 Update for version 2.2.98
1659 2004-12-29 Keith Packard <keithp@keithp.com>
1661 * fontconfig/fontconfig.h:
1662 Document ASCII limitations of Fc character conversion macros
1663 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1664 Fix off-by-one error in utf-8 case walking code.
1665 Add FcStrDowncase (useful for testing case conversion functions)
1667 2004-12-29 Keith Packard <keithp@keithp.com>
1670 * fc-case/.cvsignore:
1671 clean up CVS ignore lists
1672 * fc-lang/iso-3166.txt:
1673 Add territory database
1675 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1677 Reviewed by: Keith Packard
1680 Remove Han characters from Korean orthography
1682 2004-12-29 Keith Packard <keithp@keithp.com>
1685 Reorder utility programs to make sure fc-case is run before fc-lang
1686 as fc-lang uses fcstr.c which uses fccase.h
1690 2004-12-29 Keith Packard <keithp@keithp.com>
1693 Adopt some RedHat suggestions for standard font configuration.
1697 * fc-case/CaseFolding.txt:
1698 * fc-case/Makefile.am:
1699 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1700 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1701 (dump), (parseRaw), (caseFoldReadRaw), (main):
1702 * fc-case/fccase.tmpl.h:
1703 Add new helper program 'fc-case' to construct case folding
1704 tables from standard Unicode CaseFolding.txt file
1707 * src/fclist.c: (FcListValueHash):
1708 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1709 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1710 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1711 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1712 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1713 Re-implement case insensitive functions with Unicode
1714 aware versions (including full case folding mappings)
1716 2004-12-13 Keith Packard <keithp@keithp.com>
1718 reviewed by: Owen Taylor <otaylor@redhat.com>
1720 * src/fcmatch.c: (FcFontSetSort):
1721 I changed FcFontSetSort to respect the generic aliases better
1722 in the face of language matching.
1724 What I did was to ammend the strict sort order used by FcFontSort so
1725 that it 'satisfies' the language specified in the pattern by locating
1726 the best matching font supporting each pattern language and then
1727 ignores language in the remaining fonts for purposes of matching.
1729 So, when asking for 'sans:lang=en', you'll get an English font first,
1730 and then the remaining fonts sorted with respect to the 'sans' alias
1731 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1733 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1735 reviewed by: Keith Packard <keithp@keithp.com>
1737 * fontconfig/fontconfig.h:
1740 Configuration changes to request synthetic emboldening of
1741 fonts. The actual emboldening code will live in Xft.
1743 2004-12-09 John Thacker <thacker@math.cornell.edu>
1745 reviewed by: Keith Packard <keithp@keithp.com>
1749 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1750 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1751 и), and don't even appear in KOI8-R. (The hypothesis that they
1752 don't appear in KOI8-R due to their similarity with Latin I and i is
1753 eliminated by their presence in KOI8-U.) I have a couple of fonts
1754 with Russian support that don't have the letter.
1756 Therefore, 0406 and 0456 should be removed from or commented out of
1759 2004-12-06 michael meeks <mmeeks@novell.com>
1761 Reviewed by: Keith Packard <keithp@keithp.com>
1763 * src/fcinit.c: (FcMemReport):
1765 * src/fclist.c: (FcObjectSetAdd):
1766 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1767 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1768 * src/fcxml.c: (FcParsePatelt):
1769 memoize strings and share a single copy for all uses. Note that
1770 this could be improved further by using statically allocated blocks
1771 and gluing multiple strings together, but I'm basically lazy.
1772 In my environment with 800 font files, I get a savings of about 90KB.
1774 2004-12-06 Keith Packard <keithp@keithp.com>
1778 * config/Makedefs.in:
1781 * doc/fcatomic.fncs:
1782 * doc/fcblanks.fncs:
1783 * doc/fccharset.fncs:
1784 * doc/fcconfig.fncs:
1785 * doc/fcconstant.fncs:
1787 * doc/fcfontset.fncs:
1788 * doc/fcfreetype.fncs:
1790 * doc/fcmatrix.fncs:
1791 * doc/fcobjectset.fncs:
1792 * doc/fcobjecttype.fncs:
1793 * doc/fcpattern.fncs:
1794 * doc/fcstring.fncs:
1795 * doc/fcstrset.fncs:
1797 * doc/fontconfig-devel.sgml:
1798 * doc/fontconfig-user.sgml:
1800 * doc/version.sgml.in:
1801 * fc-cache/Makefile.am:
1802 * fc-cache/fc-cache.c:
1803 * fc-glyphname/Makefile.am:
1804 * fc-glyphname/fc-glyphname.c:
1805 * fc-glyphname/fcglyphname.tmpl.h:
1806 * fc-lang/Makefile.am:
1816 * fc-lang/az_ir.orth:
1850 * fc-lang/fc-lang.c:
1851 * fc-lang/fc-lang.man:
1852 * fc-lang/fclang.tmpl.h:
1897 * fc-lang/ku_ir.orth:
1930 * fc-lang/ps_af.orth:
1931 * fc-lang/ps_pk.orth:
1960 * fc-lang/ti_er.orth:
1961 * fc-lang/ti_et.orth:
1987 * fc-lang/zh_cn.orth:
1988 * fc-lang/zh_hk.orth:
1989 * fc-lang/zh_mo.orth:
1990 * fc-lang/zh_sg.orth:
1991 * fc-lang/zh_tw.orth:
1993 * fc-list/Makefile.am:
1994 * fc-list/fc-list.c:
1995 * fc-match/Makefile.am:
1996 * fc-match/fc-match.1:
1997 * fc-match/fc-match.c:
1998 * fontconfig/fcfreetype.h:
1999 * fontconfig/fcprivate.h:
2000 * fontconfig/fontconfig.h:
2021 Change files from ISO-Latin-1 to UTF-8
2023 2004-12-04 Keith Packard <keithp@keithp.com>
2026 Update links to new freedesktop.org locations
2028 Add uninstall-local to get rid of fonts.conf and local.conf if they
2029 match the distributed versions. Fixes 'make distcheck'
2031 2004-12-04 Keith Packard <keithp@keithp.com>
2035 * fontconfig/fontconfig.h:
2036 Updates for version 2.2.97
2038 2004-12-04 Owen Taylor <otaylor@redhat.com>
2040 reviewed by: Keith Packard <keithp@keithp.com>
2042 * fc-cache/fc-cache.c: (main):
2043 Sleep for two seconds before exiting to make sure timestamps
2044 for future changes have distinct mod times in the file system.
2047 Add Punjabi orthography. Bug #1671.
2049 2004-12-04 Keith Packard <keithp@keithp.com>
2052 Just remove the FC_FONTDATE -- it has locale issues and
2053 annoys redhat multi-arch installs. Now that all X fonts are
2054 included without prejudice, the chances of the date being at
2055 all interesting are rather limited. Bug #505.
2057 Add copyright and license
2059 2004-12-04 Keith Packard <keithp@keithp.com>
2062 Change default set of fonts to include all of
2063 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2064 * doc/fontconfig-user.sgml:
2065 Document new <include>directory-name</include> semantics
2067 add <include ignore_missing="yes">conf.d</include>
2069 Add selectfont to ignore bitmap fonts, add comment for
2070 selectfont which accepts bitmap fonts.
2073 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2074 Allow <include> configuration elements to reference directories.
2075 Parse and load all files of the form [0-9]* in sorted order.
2077 2004-12-04 Keith Packard <keithp@keithp.com>
2080 Report command line for $srcdir/configure accurately.
2083 2004-12-04 Keith Packard <keithp@keithp.com>
2085 * src/fcfreetype.c: (FcFreeTypeQuery):
2086 Check for non-empty face->family_name and face->style_name
2087 before using those for the font. Empty names match everything.
2090 2004-12-04 Keith Packard <keithp@keithp.com>
2093 * fontconfig/fontconfig.h:
2094 * src/fcfreetype.c: (FcFreeTypeQuery):
2096 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2097 available. This provides font file format information (BDF, Type 1,
2098 PCF, TrueType) for each font. Closes #109.
2100 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2102 reviewed by: Keith Packard <keithp@keithp.com>
2104 * doc/fontconfig-user.sgml:
2107 * fontconfig/fontconfig.h:
2108 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2109 (GetScriptTags), (FcFontCapabilities):
2111 Add detection for font capabilities (bug #105)
2113 2004-12-04 Keith Packard <keithp@keithp.com>
2116 Move existing fonts.conf to fonts.conf.bak
2119 Add detection of iconv
2121 * doc/fcpattern.fncs:
2122 * doc/fontconfig-devel.sgml:
2123 * doc/fontconfig-user.sgml:
2125 Document new selectfont elements
2128 Switch to UTF-8 in comment
2130 * fontconfig/fontconfig.h:
2132 Add fullname, and family/style/fullname language entries
2134 * src/fccache.c: (FcCacheFontSetAdd):
2135 * src/fcdir.c: (FcFileScanConfig):
2136 Respect selectfont/*/glob
2139 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2140 (FcConfigCompareValue), (FcConfigPatternsAdd),
2141 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2142 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2143 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2144 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2145 Add support for selectfont
2147 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2148 (FcStringInPatternElement), (FcFreeTypeQuery):
2149 Add multi-lingual family/style/fullname support
2151 * src/fclist.c: (FcListPatternMatchAny):
2152 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2154 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2155 (FcObjectStaticName):
2156 Add new FcPatternRemove/FcPatternAppend.
2157 FcObjectStaticName stores computed pattern element names which
2158 are required to be static.
2160 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2165 Remove spurious / after $(DESTDIR)
2167 2004-06-30 Keith Packard <keithp@keithp.com>
2171 * fontconfig/fontconfig.h:
2174 2004-06-30 Keith Packard <keithp@keithp.com>
2176 Provided by: Lubos Lunak <l.lunak@suse.cz>
2178 * src/fccfg.c: (FcConfigUptoDate):
2179 However FcConfigUptoDate() doesn't seem to work. See the attached
2180 patch. First there's an obvious misplaced parenthesis making it
2181 return always false, and second, even this call fails to detect font
2182 changes (e.g. adding a new font to
2183 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2184 well. The problem seems to be triggered by my fonts.conf specifying
2185 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2186 doesn't include subdirs, unlike config->fontDirs.
2188 2004-06-03 Keith Packard <keithp@keithp.com>
2190 * fontconfig/fontconfig.h:
2191 Remove comma at end of FcResult enum definition.
2193 2004-05-29 Keith Packard <keithp@keithp.com>
2196 Add steps to md5sum release
2198 2004-05-29 Keith Packard <keithp@keithp.com>
2202 * fontconfig/fontconfig.h:
2205 2004-05-29 Keith Packard <keithp@keithp.com>
2207 * fontconfig/fontconfig.h:
2208 * src/fcmatch.c: (FcFontSetMatch):
2209 Add FcResultOutOfMemory to provide an accurate error when
2210 FcFontSetMatch fails in this way
2213 Make #warning about lacking various FreeType features indicate
2214 which version those features appeared so users know how to
2215 fix the problem (Thanks to Anton Tropashko)
2217 2004-05-05 Keith Packard <keithp@keithp.com>
2219 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2220 Replace MIN/MAX/ABS macros which happen to have come
2221 from FreeType with fontconfig-specific ones (FC_*)
2223 2004-04-23 Keith Packard <keithp@keithp.com>
2226 Extend release preparation instructions to include
2227 notification and distribution steps
2229 2004-04-23 Keith Packard <keithp@keithp.com>
2233 * fontconfig/fontconfig.h:
2234 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2236 2004-04-23 Keith Packard <keithp@keithp.com>
2239 Ignore a few more autotool files
2241 2004-04-14 Keith Packard <keithp@keithp.com>
2244 Add instructions for doing a release
2246 * fontconfig.spec.in:
2247 clean up .spec file; perhaps this will be useful to somebody...
2251 * fontconfig/fontconfig.h:
2254 * fc-lang/fc-lang.c:
2255 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2257 * fc-glyphname/Makefile.am:
2258 * fc-lang/Makefile.am:
2259 * fc-list/Makefile.am:
2260 * fc-match/Makefile.am:
2262 Add WARN_CFLAGS to pass -W flags for GCC systems
2264 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2265 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2266 Change various char types around to match across
2268 Fixed bug in using available_sizes[i].height which
2269 is in pixels, not 64ths of a pixel.
2271 2004-03-06 Keith Packard <keithp@keithp.com>
2273 * src/fcfreetype.c: (FcFreeTypeQuery):
2274 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2275 matches looking for explicit values prefer exact matches
2277 2004-03-02 Keith Packard <keithp@keithp.com>
2279 Supplied by: mfabian@suse.de (Mike FABIAN)
2281 * src/fcfreetype.c: (FcFreeTypeQuery):
2282 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2283 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2285 2004-02-21 Manish Singh <yosh@gimp.org>
2287 * fc-glyphname/fc-glyphname.c: (main):
2288 Cast strlen to int for printf, so we're 64-bit clean.
2290 2004-02-11 Keith Packard <keithp@keithp.com>
2293 * src/fcfreetype.c: (FcGetPixelSize):
2294 Ok, so I messed up the test for y_ppem. Let's see if I
2295 got it right this time.
2297 2004-02-10 Keith Packard <keithp@keithp.com>
2300 * src/fcfreetype.c: (FcGetPixelSize):
2301 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2302 FT_Bitmap_Size record. Add a configure.in test for this
2303 and change the code accordingly (using height instead).
2305 2004-02-06 Keith Packard <keithp@keithp.com>
2308 Add Low Saxon orthography
2309 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2311 * src/fccfg.c: (FcConfigNewestFile):
2312 Oops. Left 'newest.set' unset, which would miscompute
2315 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2316 (FcFreeTypeCheckGlyph):
2317 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2318 font properties (which report the wrong value in current FreeType)
2320 Don't attempt to check for empty glyphs in non-scalable fonts; they
2323 2004-02-01 Tor Lillqvist <tml@iki.fi>
2325 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2326 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2327 cache if config->cache is NULL, which happens if FcConfigHome() is
2328 NULL. Guard against that by using the temp folder in that case.
2330 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2332 * fc-lang/az_ir.orth:
2333 * fc-lang/ku_ir.orth:
2334 * fc-lang/ps_af.orth:
2335 * fc-lang/ps_pk.orth:
2336 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2337 (Afghan and Pakistani).
2339 Updated Urdu orthography with real data.
2341 2003-12-11 Carl Worth <cworth@east.isi.edu>
2343 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2346 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2348 (all-local): Remove excessive whitespace.
2350 * autogen.sh: Add 'set -e' to abort when any program fails,
2351 (avoids printing of 'now type make' after configure aborts).
2353 2003-11-17 Eric Christopherson <rakko@charter.net>
2355 reviewed by: Keith Packard <keithp@keithp.com>
2358 * fontconfig/fcfreetype.h:
2360 Switch to FreeType 2.1.7 style includes. Bug #150.
2362 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2364 * fc-list/fc-list.sgml: Add some example usages.
2366 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2369 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2372 2003-10-27 Keith Packard <keith@keithp.com>
2375 * fontconfig/fontconfig.h:
2376 Update to version 2.2.92
2378 2003-10-27 Keith Packard <keithp@keithp.com>
2383 * fc-cache/Makefile.am:
2384 * fc-glyphname/Makefile.am:
2385 * fc-lang/Makefile.am:
2386 * fc-list/Makefile.am:
2387 * fc-match/Makefile.am:
2390 Yet more cleanups to finish getting 'make distcheck' working
2391 This has been tested to ensure that it even works from a _build
2394 2003-10-26 Keith Packard <keithp@keithp.com>
2398 * fc-cache/Makefile.am:
2399 * fc-glyphname/Makefile.am:
2400 * fc-lang/Makefile.am:
2401 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2402 * fc-list/Makefile.am:
2403 * fc-match/Makefile.am:
2404 Attempts to fix 'make distcheck' work. Things are
2405 progressing pretty well, but there are still failures
2406 long into the process dealing with docs (as always).
2408 The big changes here are mostly to make $(srcdir) != "."
2409 work correctly, fixing the docbook related sections and
2410 fc-lang were particularily tricky. Docbook refuses to load
2411 system entities from anywhere other than where the original .sgml
2412 file was located, so no luck looking in "." for the
2413 configure-generated version.sgml and confdir.sgml files.
2415 fc-lang needed help finding .orth files; added a -d option
2416 to set the directory as the least evil of many options.
2418 Now to go use a faster machine and try and wring out the last
2421 2003-10-26 Keith Packard <keithp@keithp.com>
2425 2003-10-26 Keith Packard <keithp@keithp.com>
2428 Include confdir.sgml.in in EXTRA_DIST
2430 2003-10-09 Josselin Mouette <joss@debian.org>
2432 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2433 * fc-list/fc-list.sgml fc-list/Makefile.am:
2434 Replace fc-cache and fc-list manpages with more detailed, SGML
2437 2003-09-23 Owen Taylor <otaylor@redhat.com>
2439 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2440 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2441 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2444 2003-09-23 Owen Taylor <otaylor@redhat.com>
2446 * fc-lang/ka.orth: Remove Georgian capitals, they
2447 aren't used for normal writing. (Bug #116)
2449 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2451 * doc/fontconfig-devel.sgml:
2452 * doc/fontconfig-user.sgml:
2453 * fontconfig/fontconfig.h:
2455 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2456 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2458 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2459 monospace and dual-width fonts, allow roughly a 3% variance in the
2462 2003-08-31 Manish Singh <yosh@gimp.org>
2464 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2467 2003-08-15 Carl Worth <cworth@isi.edu>
2469 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2470 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2472 * src/fcpat.c (FcValueListEntDestroy): New function to support
2473 FcFini memory cleanup. Some statistics are not kept in
2475 (FcValueListFreeze): Move hashTable outside this function so it
2476 can be accessed by FcValueListThawAll.
2477 (FcValueListThawAll): New function complements FcValueListFreeze.
2478 (FcPatternBaseFreeze): Move hashTable outside this function so it
2479 can be accessed by FcPatternBaseThawAll.
2480 (FcPatternBaseThawAll): New function complements
2481 FcPatternBaseFreeze.
2482 (FcPatternThawAll): New function complements FcPatternFreeze.
2484 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2486 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2487 allocated FcCharLeafEnt "blocks" so they can be freed later.
2488 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2489 can be accessed by FcCharSetThawAllLeaf.
2490 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2491 (FcCharSetFreezeBase): Move hashTable outside this function so it
2492 can be accessed by FcCharSetThawAll.
2493 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2495 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2496 (FcConfigDestroy): Fic leak of FcBlanks.
2498 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2499 (main): Add call to FcFini when finished.
2501 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2502 static. Add prototypes.
2504 * doc/fcinit.fncs: Add documentation for FcFini function.
2506 * doc/edit-sgml.c: Mark several local functions as static. Add
2509 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2511 2003-06-15 Tor Lillqvist <tml@iki.fi>
2513 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2514 before comparing (needed on Windows).
2516 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2518 2003-06-13 Tor Lillqvist <tml@iki.fi>
2520 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2523 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2524 WINDOWSFONTDIR token.
2526 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2527 end, not to confuse libtool, which expects the EXPORTS line to be
2528 the first. Add FcConfigEnableHome.
2530 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2531 built as a DLL on Win32.
2533 2003-06-09 Keith Packard <keithp@keithp.com>
2535 * Tag version 2.2.90
2537 2003-06-09 Keith Packard <keithp@keithp.com>
2539 * Optimization in FcLangSetIndex was broken, occasionally
2540 returning a pointer to the wrong location on miss
2542 * Add fc-match to test font matching from the command line.
2544 2003-05-31 Keith Packard <keithp@keithp.com>
2546 * (Bug 85) add support for culmus fonts
2547 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2548 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2550 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2552 * Fix "contains" op for strings and langsets.
2554 2003-05-17 Keith Packard <keithp@keithp.com>
2556 * Fix build error with BDF prop local. Free langset after query
2558 2003-05-14 Keith Packard <keithp@keithp.com>
2560 * Extract spacing from XLFD atom
2562 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2564 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2565 disappeared in 1.30.
2567 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2569 2003-05-12 Keith Packard <keithp@keithp.com>
2571 * Use FcIsWidth to share code
2573 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2574 misclassifying some Han fonts as monospaced.
2576 2003-05-07 Keith Packard <keithp@keithp.com>
2578 * Add filename-based accept/reject to ammend available fonts.
2580 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2581 older FreeType releases.
2583 2003-05-06 Keith Packard <keithp@keithp.com>
2585 * Remove 0b82 and Tamil numbers from tamil
2586 orthography (Jungshik Shin <jshin@mailaps.org>)
2588 2003-05-04 Keith Packard <keithp@keithp.com>
2590 + Map glyph names in fonts with adobe custom encoding to unicode
2592 2003-05-02 Keith Packard <keithp@keithp.com>
2594 * Add FC_WEIGHT_BOOK as weight 75
2596 2003-04-30 Keith Packard <keithp@keithp.com>
2598 * Typo in bitstream foundry name
2600 2003-04-24 Keith Packard <keithp@keithp.com>
2602 * Eliminate italic_angle check for PS fonts
2604 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2606 * Getting closer to fixing /etc/fonts hard-coding.
2608 2003-04-22 Keith Packard <keithp@keithp.com>
2610 * Update autogen.sh to work with newer automake versions
2611 * Handle pattern elements moving during multiple edits
2613 2003-04-23 James Henstridge <james@daa.com.au>
2615 * doc/fontconfig-devel.sgml: close the <para> element.
2617 * doc/fcpattern.fncs: close the <para> element.
2619 * doc/func.sgml: close the <refsynopsisdiv> element.
2621 2003-04-22 Keith Packard <keithp@keithp.com
2623 * Update autogen.sh to work with newer automake versions
2624 * Handle pattern elements moving during multiple edits
2626 2003-04-17 Colin Walters <walters@debian.org>
2628 + Remove some unused variables, and initialize some other ones so
2629 gcc doesn't warn us.
2631 2003-04-16 Keith Packard <keithp@keithp.com>
2633 + tag version 2.1.94
2635 2003-04-16 Keith Packard <keithp@keithp.com>
2637 + add BDF property fetching support for foundry
2638 (from Juliusz Chroboczek)
2639 + add BDF property fetching support for width
2641 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2643 + Implemented foundry generation for Type 1 and TrueType
2645 2003-04-11 Gerard Escalante <g2@magestudios.net>
2647 + Retrieve information from Type1 FontInfo dictionaries
2649 2003-04-07 Colin Walters <walters@verbum.org>
2651 + src/Makefile.am: Fix dummy makefile target names when
2652 MS_LIB_AVAILABLE isn't set.
2654 2003-03-22 Tor Lillqvist <tml@iki.fi>
2656 Changes for Windows:
2658 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2660 + We don't want to hardcode the fonts.conf file location in the
2661 DLL, so we look up the DLL location at run-time in a DllMain()
2662 function. The fonts.conf location is deduced from that.
2664 + The colon can't be used as path separator on Windows,
2665 semicolon is used instead. File path components can be separated
2666 with either slash or backslash. Absolute paths can also begin
2667 with a drive letter.
2669 + Add internal function FcStrLastSlash that strrchr's the last
2670 slash, or backslash on Windows.
2672 + There is no link() on Windows. For atomicity checks, mkdir a
2673 lock directory instead.
2675 + In addition to HOME, also look for USERPROFILE.
2677 + Recognize the special font directory token WINDOWSFONTDIR, to
2678 use the system's font directory.
2680 + Remove the fontconfig-def.cpp that was obsolete. Add
2681 fontconfig.def(.in), without internal functions.
2683 + Add a fontconfig-zip(.in) script, used to build a binary
2686 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2687 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2688 to main package and man3/* to devel package
2690 + Added missing defattr(-, root, root) to main RPM package
2692 + Added HTML and text development documentation to -devel subpackage
2694 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2695 + Added back the configure macro options --disable-docs, otherwise
2696 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2697 version number) unconditionally, causing RPM to fail the build due
2698 to _unpackaged_files_terminate_build. We pick up the pregenerated
2699 docs with %doc already.
2701 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2702 + Removed commented out rpm macro define at top of spec file,
2703 replacing it with a simple explanation, since rpm macros are
2704 expanded by rpm even in comments.
2706 + Changed /usr/bin to _bindir in BuildRequires lines
2708 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2710 + Reorganized file manifest lists
2712 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2714 + fontconfig.spec.in: Improvements from Red Hat spec file.
2716 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2718 + docs/*.sgml: SGML fixes.
2720 Sat Mar 1 17:28:53 PST 2003 keithp
2721 + Ok, so the ChangeLog is a bit out of date
2723 + Lots of bugs fixed; most are in bugzilla, the
2724 biggest problems were in cache management where
2725 Owen discovered the library would lose badly when
2726 combining fonts-cache and ~/.fonts-cache data
2728 + Converted from autoconf to automake. This after
2729 getting patches accepted into libtool to allow
2730 the '-version-number' argument which lets
2731 packages set version numbers explicitly rather
2732 than the roundabout libtool way
2734 + Converted documentation to SGML using the docbook
2735 DTD. Now .txt and .html documents are installed
2736 in /usr/share/doc/fontconfig and there's no
2737 man page. Perhaps a man version can be written
2740 Sat Aug 31 15:21:22 PDT 2002 keithp
2741 + Xrender and Xft had several bugs related to
2742 rendering manually placed or poly-face text
2744 + Added more complete memory tracing in fontconfig
2745 Checked with (patched) mozilla and found no leaks
2747 + Updated Latin orthographies by comparing those from
2748 evertype.com with those from eki.ee. Tried to make
2749 sensible choices, including chars that occured in both
2750 and leaving some optional chars out that occured only
2753 Mon Aug 26 16:33:04 PDT 2002 keithp
2754 + Owen discovered that FcLangSetHasLang wasn't actually
2755 checking the language set.
2757 Mon Aug 26 13:37:23 PDT 2002 keithp
2758 + Append a version number to cache filenames
2760 Thu Aug 22 11:36:18 PDT 2002 keithp
2762 + Add "contains" and "not_contains" operators and elements to
2765 + Changed semantics of eq operator for LangSets to check for
2766 FcLangEqual so that any match will do
2768 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2769 of FcValueEqual to check for identical values when inserting into
2770 the results. This broke when the above semantic change was made,
2771 now it uses FcValueEqual which is "more correct" in any case.
2773 Thu Aug 22 00:32:29 PDT 2002 keithp
2775 + Reimplement FC_LANG as new datatype. Lists of strings
2776 was consuming over a megabyte of memory for 401 fonts.
2778 + Freeze patterns loaded from cache files. This shares
2779 common value lists and common patterns which saves
2780 considerable memory.
2782 + Change the denotation of 'constant' charsets to use special
2783 ref value instead of separate boolean.
2785 + Clean up leak tracing stuff, found several unannoted alloc/free
2788 Tue Aug 20 16:17:37 PDT 2002 keithp
2790 + Fix memory leak when parsing matrices from XML
2792 Mon Aug 19 11:57:27 PDT 2002 keithp
2794 + Fix autoconf files to pass FONTCONFIG_PATH on
2795 compile line so that ${prefix} gets substituted
2798 + Use getc_unlocked/putc_unlocked on systems that
2799 provide them to avoid damage done to stdio by posix
2801 + Eliminate FC_PATTERN and FcTypePattern in favor of
2802 an extended api for FcConfigSubstitute which takes
2803 both the font and the pattern.
2805 + Add 'sans serif' alias for 'sans-serif' as some apps
2806 can't handle hyphens in family names
2808 + Eliminate pretense of support for libxml2
2810 + Comment origins of Han orthographies
2812 Tue Jul 30 18:37:09 PDT 2002 keithp
2814 + Add binding property to edit element so that strong
2815 binding values may be inserted by the config file.
2816 The default remains weak.
2818 Sun 28 Jul 04:16:55 PDT 2002 keithp
2820 + Tagged release candidate 1 in the CVS tree and
2821 placed fcpackage.rc1.tar.gz for distribution
2823 Thu Aug 1 08:55:08 PDT 2002 keithp
2825 + Fixed autoconf builds to always specify install
2826 target files (for BSD). Also fixed to
2827 define FONTCONFIG_PATH in config.h so that
2828 nonstandard installs will actually work.