1 2006-03-03 Patrick Lam <plam@mit.edu>
4 Include inttypes.h instead of stdint.h if appropriate.
6 2006-03-03 Patrick Lam <plam@mit.edu>
7 * fc-cat/fc-cat.c (FcFileIsDir):
8 * fc-glyphname/fc-flyphname.c:
10 More stub definitions and remove FcFileIsDir from fc-cat.
12 2006-03-03 Patrick Lam <plam@mit.edu>
15 Fix compilation on AIX with stub definitions (bug 6097).
17 2006-03-03 Patrick Lam <plam@mit.edu>
18 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
19 * src/fcfreetype.c (GetScriptTags):
20 * src/fcfs.c (FcFontSetDistributeBytes):
21 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
23 Get rid of C++-style comments.
25 2006-03-03 Patrick Lam <plam@mit.edu>
28 Enable creation of 2.3.94 Debian packages.
30 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
33 * src/fclang.c (FcCharSetForLang):
35 Fix suspicious return expression which causes junk
38 2006-02-24 Patrick Lam <plam@mit.edu>
42 * fontconfig/fontconfig.h:
44 Bump version to 2.3.94.
46 2006-02-24 Patrick Lam <plam@mit.edu>
51 2006-02-24 Patrick Lam <plam@mit.edu>
52 * conf.d/10-fonts-persian.conf:
54 Remove unconditional emboldening (per Behdad's instructions).
58 Add @s to hide some echos.
60 2006-02-24 Mike Fabian <mfabian@suse.de>
61 Takashi Iwai <tiwai@suse.de>
64 * src/fcfreetype.c (GetScriptTags):
66 Fix double-free on error case.
68 2006-02-21 Patrick Lam <plam@mit.edu>
69 * fc-lang/fc-lang.c (scan):
71 Strip \r and whitespace from input; fixes bug 3454.
73 2006-02-21 Patrick Lam <plam@mit.edu>
74 * fc-lang/fc-lang.c (main):
76 Allocate large arrays statically in fc-lang to fix crashes under
79 2006-02-21 Diego Petten <flameeyes@gentoo.org>
80 * src/fcfreetype.c (FcFreeTypeCharIndex):
82 Pass the buck; make fontconfig not crash on pango badness.
84 2006-02-21 Patrick Lam <plam@mit.edu>
85 * conf.d/10-fonts-persian.conf:
87 Use embeddedbitmap rather than rh_prefer_bitmap.
89 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
92 * src/fccache.c (FcDirCacheWrite):
93 * src/fcdir.c (FcFileScanConfig):
94 * src/fcfreetype.c (FcStringInPatternElement):
95 * src/fcxml.c (FcParseFamilies):
96 * src/ftglue.c (ftglue_face_goto_table):
98 Eliminate redundancies.
100 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
103 * fc-list/fc-list.c (main):
104 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
105 * src/fcstr.c (FcStrStr):
106 * src/fcxml.c (FcConfigSaveAttr):
108 Eliminate unused vars reported by Intel's compiler.
110 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
115 Remove one more archaic character.
117 2006-02-21 Ross Burton <ross@burtonini.com>
118 reviewed by: plam, keithp
120 * src/fcxml.c (FcParsePatelt):
122 Freeze patterns created by configuration file for tiny
123 memory savings (every little bit helps).
125 2006-02-21 Mike Fabian <mfabian@suse.de>
128 * fc-cat/fc-cat.c (main):
130 Initialize fontconfig library in fc-cat to avoid segfault.
132 2006-02-18 Patrick Lam <plam@mit.edu>
133 * fc-cache/fc-cache.c (scanDirs):
134 * src/fccache.c (FcCacheReadDirs):
135 * src/fcdir.c (FcDirScanConfig):
137 Fix the underlying cause of the below segfault (must usually
138 call FcDirCacheHasCurrentArch after FcDirCacheValid).
140 2006-02-18 Patrick Lam <plam@mit.edu>
141 * src/fccache.c (FcDirCacheHasCurrentArch):
143 Fix triggering of segfault caused by misreading cache files
144 (reported by fcrozat).
146 2006-02-17 Patrick Lam <plam@mit.edu>
147 * src/fcint.h (FC_CACHE_MAGIC):
149 Bump up magic version; we changed the binary format.
151 2006-02-17 Patrick Lam <plam@mit.edu>
152 * fc-cat/fc-cat.c (main):
154 Enable fc-cat to print out old-style cache info when given a
157 2006-02-16 Patrick Lam <plam@mit.edu>
158 * src/fccache.c (FcDirCacheHasCurrentArch):
160 Deal correctly with changing FC_CACHE_MAGIC.
162 2006-02-16 Patrick Lam <plam@mit.edu>
163 * fc-cache/fc-cache.c (usage, scanDirs, main):
165 Add -r --really-force option which blows away cache files and then
168 2006-02-16 Patrick Lam <plam@mit.edu>
169 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
171 Don't bail if fontconfig can't remove a dir cache file.
172 Skip the ID of a cache file when copying.
173 Eliminate 'source file too small' bug in FcDirCacheWrite.
175 2006-02-13 Patrick Lam <plam@mit.edu>
176 * src/fcfreetype.c (FcFreeTypeQuery):
178 Fix memory leak in error condition code.
180 2006-02-13 Mike Fabian <mfabian@suse.de>
182 * src/fcfreetype.c (FcFreeTypeQuery):
184 Skip bitmap fonts which can't even get it together enough to
185 declare a family name; this appears to reproduce previous
186 fontconfig behaviour.
188 2006-02-10 Takashi Iwai <tiwai@suse.de>
190 * src/fccache.c (FcDirCacheOpen):
192 Try to open /var/cache/fontconfig/[hashed name] before
193 fonts.cache-2 in a directory, because /var/cache/fontconfig
194 failures ought to be fixable, unlike fonts.cache-2 failures,
195 which may leave you screwed.
197 2006-02-10 Takashi Iwai <tiwai@suse.de>
199 * src/fcmatch.c (FcFontSetMatch):
201 Use a tri-state to mark the fonts which didn't get blocked but
202 were just missing an element, to distinguish them from the
203 fonts that do match the element.
205 2006-02-10 Takashi Iwai <tiwai@suse.de>
207 * src/fcmatch.c (FcFontSetMatch):
209 Don't kill fonts because they don't declare an element that's
212 2006-02-09 Patrick Lam <plam@mit.edu>
213 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
214 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
216 Define and pass O_BINARY to open if appropriate, for those
217 platforms that need it. Reported by Doodle.
219 2006-02-09 Patrick Lam <plam@mit.edu>
220 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
223 Fix problem with missing 'en' due to euro.patch: change
224 cache file format slightly to coincide with that generated
227 2006-02-07 Patrick Lam <plam@mit.edu>
228 * src/fccache.c (FcCacheReadDirs):
232 2006-02-07 Patrick Lam <plam@mit.edu>
233 * src/fcdir.c (FcDirScanConfig):
235 Don't reject dirs that can't be normalized (fixes lilypond, and
236 is correct in the context of application font directories.)
238 2006-02-07 Takashi Iwai <tiwai@suse.de>
241 * src/fccache.c (FcCacheReadDirs):
243 Use normalized directory name exclusively in FcCacheReadDirs.
245 2006-02-07 Dirk Mueller <dmueller@suse.com>
248 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
250 Perf optimizations. Inline FcValueCanonicalize,
251 reduce FcValueListPtrU usage, remove redundant cast.
253 2006-02-07 Takashi Iwai <tiwai@suse.de>
256 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
259 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
260 Declare extern for static arrays as arrays, not pointers.
261 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
263 2006-02-07 Dirk Mueller <dmueller@suse.com>
276 Add Euro sign to list of symbols required by European languages.
278 2006-02-07 Patrick Lam <plam@mit.edu>
279 * src/fccache.c (FcCacheReadString):
281 Fix hidden variable warning.
283 2006-02-07 Dirk Mueller <dmueller@suse.com>
286 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
288 Remove de-escaping logic because FcCacheWriteString
289 doesn't escape anyway. Do blockwise reading instead
290 of byte-wise for performance.
292 2006-02-06 Patrick Lam <plam@mit.edu>
293 Takashi Iwai <tiwai@suse.de>
295 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
297 Don't loop infinitely on recursive symlinks (client-side).
299 2006-02-06 Takashi Iwai <tiwai@suse.de>
301 * fc-cache/fc-cache.c (scanDirs, main):
303 Don't loop infinitely on recursive symlinks.
305 2006-02-06 Takashi Iwai <tiwai@suse.de>
307 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
308 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
309 FcGlobalCacheSave, FcCacheReadDirs):
312 Skip subdirs when skipping over stale bits of global cache.
313 Introduce state machine into FcGlobalCacheDir to avoid
314 doing inappropriate operations on global dir entries, e.g.
315 writing out an out-of-date cache entry.
317 2006-02-06 Takashi Iwai <tiwai@suse.de>
319 * src/fcdir.c (FcFileScanConfig):
321 Hoist FcFileIsDir check out of FcFileScanConfig loop.
323 2006-02-06 Takashi Iwai <tiwai@suse.de>
326 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
327 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
329 Don't rescan when trying to normalize a non-declared font dir.
330 Don't add font dirs multiple times (even if they're aliased).
332 2006-02-06 Dirk Mueller <dmueller@suse.de>
335 * src/fcfs.c (FcFontSetUnserialize):
337 Explain apples/oranges comparison and fix compilation error.
339 2006-02-06 Dirk Mueller <dmueller@suse.de>
342 * src/fcfs.c (FcFontSetUnserialize):
344 Insert check for integer overflow in # of fonts.
346 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
350 * fc-cache/Makefile.am:
351 * fc-cat/Makefile.am:
352 * fc-list/Makefile.am:
354 Make 'make distcheck' work with automake 1.6.3.
356 2006-02-03 Takashi IWAI <tiwai@suse.de>
359 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
362 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
363 FcDirCacheConsume, FcDirCacheWrite)
364 * src/fcxml.c (FcConfigMessage):
366 Check I/O call return values and eliminate unused variable
369 2006-02-03 Takashi Iwai <tiwai@suse.de>
372 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
376 2006-02-03 Dirk Mueller <dmueller@suse.de>
379 * src/fcfs.c (FcFontSetUnserialize):
381 Gracefully handle the case where a cache asserts that it
382 has a negative number of fonts, causing overflow.
384 2006-02-03 Patrick Lam <plam@mit.edu>
385 * src/fccache.c (FcDirCacheUnlink):
387 Fix double free in error case.
389 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
390 Stephan Kulow <coolo@suse.de>
393 * fc-cache/Makefile.am:
395 Replace 'stamp' target with mkinstalldirs.
397 2006-01-31 Mike Fabian <mfabian@suse.de>
400 * src/fccache.c (FcGlobalCacheLoad):
402 Toast broken global cache files.
404 2006-01-30 Patrick Lam <plam@mit.edu>
405 * src/fccache.c (FcGlobalCacheReadDir):
407 Actually use the directories that I added to the global cache.
410 2006-01-30 Mike Fabian <mfabian@suse.de>
413 * fc-cache/fc-cache.c (scanDirs):
415 Don't stop scanning if a directory in fonts.conf doesn't
416 exist, because subsequent directories might exist.
418 2006-01-30 Patrick Lam <plam@mit.edu>
419 * src/fccache.c (FcGlobalCacheLoad):
421 Make global cache work again after putting dir names into global
422 cache (I misplaced the recording of a file offset).
424 2006-01-30 Patrick Lam <plam@mit.edu>
425 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
427 Update fc-cat to handle subdir lists in global cache file.
429 * src/fccache.c (FcGlobalCacheLoad):
431 Another FcCacheReadString return value check.
433 2006-01-30 Mike Fabian <mfabian@suse.de>
436 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
437 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
439 Make fccache more resilient to broken cache files by checking
440 return value of FcCacheReadString all the time.
442 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
445 * fc-match/fc-match.1:
446 * fc-lang/fc-lang.man:
448 Remove references to dead fontconfig(3) manpages in
449 other fontconfig manpages.
451 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
454 * doc/fcpattern.fncs:
456 Fix world's tiniest typo in code example.
458 2006-01-29 Mike Fabian <mfabian@suse.de>
461 * src/fccache.c (FcGlobalCacheReadDir):
463 Fix global cache reads of subdirectories.
465 2006-01-29 Patrick Lam <plam@mit.edu>
467 Add documentation for FcConfigNormalizeFontDir.
469 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
470 FcGlobalCacheUpdate, FcGlobalCacheSave):
471 * src/fcdir.c (FcDirScanConfig):
474 Write directory information to global caches to fix make check
475 (reported by Ronny V. Vindenes). This changes the global cache
478 2006-01-27 Patrick Lam <plam@mit.edu>
479 * fc-cache/fc-cache.c (scanDirs):
480 * fontconfig/fontconfig.h:
482 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
484 Move FcConfigNormalizeFontDir call so that it doesn't result in
485 infinite recursion (reported by Ronny V. Vindenes).
487 2006-01-26 Patrick Lam <plam@mit.edu>
488 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
489 * src/fccfg.c (FcConfigNormalizeFontDir):
491 Add a couple of missing normalizations to make fc-cache work
492 right; only scan subdirectories once.
494 2006-01-26 Mike Fabian <mfabian@suse.de>
497 * src/fcacache.c (FcGlobalCacheReadDir):
499 Don't crash on non-existant directories in global cache.
501 2006-01-26 Patrick Lam <plam@mit.edu>
502 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
503 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
504 * src/fcdir.c (FcDirScanConfig):
505 * src/fcxml.c (FcEndElement):
507 Stop trampling the directory name when writing out caches.
508 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
509 subdirs when necessary. Don't scan directories that can't be
512 2006-01-25 Patrick Lam <plam@mit.edu>
513 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
514 * src/fccfg.c (FcConfigEvaluate):
515 * src/fcfreetype.c (FcPatternAddWithBinding):
517 Fix additional memory leaks reported by Ronny V. Vindenes: don't
518 invoke FcValueSave on hashed static strings in
519 FcPatternAddWithBinding.
521 Add another st_dev check in FcDirCacheOpen.
523 2006-01-24 James Su <james.su@gmail.com>
526 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
527 * fc-lang/zh_hk.orth:
529 Treat zh-hk fonts differently from zh-tw fonts. This patch may
530 cause fontconfig to treat A-X fonts differently from A-Y fonts;
531 please mail the fontconfig list if this causes any problems.
533 2006-01-24 Patrick Lam <plam@mit.edu>
534 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
535 * src/fcfreetype.c (FcFreeTypeQuery):
537 Fix memory leaks reported by Ronny V. Vindenes.
539 2006-01-19 Andreas Schwab <schwab@suse.de>
542 * src/fcpat.c (FcStrNeededBytes):
544 Fix for unaligned memory accesses.
546 2006-01-18 Mike Fabian <mfabian@suse.de>
549 * src/fcdir.c (FcDirScanConfig):
551 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
552 calls to avoid crashes.
554 2006-01-14 Patrick Lam <plam@mit.edu>
555 * src/fccache.c (FcDirCacheConsume):
557 Fix segfault when consuming zero-length caches in fc-cat
558 (which has no config, so FcConfigAddFontDir shouldn't be called.)
560 2006-01-14 Patrick Lam <plam@mit.edu>
561 * fc-cache/fc-cache.c (scanDirs):
562 * fontconfig/fontconfig.h:
563 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
564 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
565 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
566 * src/fcdir.c (FcDirScanConfig):
569 Compare device numbers as well as inodes.
570 Always normalize directory names before comparing them.
572 2006-01-11 Mike Fabian <mfabian@suse.de>
575 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
577 Allocate extra space for appended '/' in directory name.
579 2006-01-10 Patrick Lam <plam@mit.edu>
580 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
581 FcDirCacheValid, FcDirCacheHasCurrentArch,
582 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
583 * fc-cache/fc-cache.c (main):
585 Explicitly add font dirs to config.fontDirs even if they're empty.
586 Set current config in fc-cache.c.
587 Fix treatment of cache directory as read from cache file; don't
588 use string equality to determine if we have the right file,
591 2006-01-09 Patrick Lam <plam@mit.edu>
592 * fc-cache/fc-cache.c (scanDirs):
593 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
594 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
595 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
596 * src/fccfg.c (FcConfigNormalizeFontDir):
597 * src/fcdir.c (FcDirScanConfig):
600 Normalize font dirs by using the form, as given in fonts.conf, and
601 recorded in FcConfig's fontDirs string set, as canonical.
603 Actually update config.fontDirs as font directories are scanned.
605 2006-01-08 James Su <james.su@gmail.com>
606 * src/fcmatch.c (FcFontSetMatch):
608 Fix matching bug when multiple elements match; don't use
609 the sum of all scores, but the best score.
611 Also more perf opts, e.g. evaluate best over all font sets
612 rather than on a per-set basis (and other changes).
614 2006-01-08 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcDirCacheConsume):
617 Properly skip past dir caches that contain zero fonts (as occurs
618 in global caches.) Reported by Mike Fabian.
620 2006-01-06 Patrick Lam <plam@mit.edu>
621 * src/fcdbg.c (FcPatternPrint):
623 Print out full pathname in fc-match -v as well. Reported by
626 2006-01-06 Mike Fabian <mfabian@suse.de>
629 * src/fcname.c (FcNameParse):
631 Fix bug where fc-match crashes when given __DUMMY__ property to
634 (I added the __DUMMY__ string to enable callers of
635 FcObjectToPtrLookup to distinguish an error return from a
636 successful return. -PL)
638 2006-01-05 Patrick Lam <plam@mit.edu>
641 Add self to AUTHORS list.
643 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
644 FcCacheFileRead, FcCachePrintSet, main):
645 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
646 FcGlobalCacheSave, FcCacheNextOffset,
647 FcDirCacheHasCurrentArch, FcDirCacheRead,
648 FcDirCacheConsume, FcDirCacheWrite):
650 * src/fcpat.c (comment):
652 Minor change to global cache file format to fix fc-cat bug
653 reported by Frederic Crozat, and buglet with not globally caching
654 directories with zero fonts cached.
656 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
659 * src/fccfg.c (FcConfigEvaluate):
661 Fix double-free which occurs because FcValueCanonicalize doesn't
662 create an extra copy of the returned value, it only canonicalizes
665 2006-01-02 Patrick Lam <plam@mit.edu>
666 * doc/fontconfig-user.sgml:
668 Fix version of .cache file (currently 1 -> currently 2). Reported
671 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
674 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
676 Shut up GCC warnings on amd.
678 2005-12-20 Patrick Lam <plam@mit.edu>
682 * fontconfig/fontconfig.h:
684 Bump version to 2.3.93.
686 2005-12-20 Patrick Lam <plam@mit.edu>
687 * src/fccharset.c (FcLangCharSetPopulate):
688 * src/fcint.h (FcCacheBankToIndex):
690 Avoid check on _fcBankId nullness and fix case where it used to
693 2005-12-20 Patrick Lam <plam@mit.edu>
694 * src/fcxml.c (FcConfigParseAndLoad):
696 Use open instead of fopen (requested by Phil Race for Sun).
698 2005-12-20 Patrick Lam <plam@mit.edu>
699 * src/fccache.c (FcDirCacheWrite);
700 * fc-cache/Makefile.am:
702 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
705 2005-12-20 Patrick Lam <plam@mit.edu>
706 * src/fcfreetype.c (FcFreeTypeQuery):
708 Restore code to skip over PCF fonts that have no encoded
710 (We guess that a font is PCF by presence of the PIXEL_SIZE
713 2005-12-12 Patrick Lam <plam@mit.edu>
714 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
716 Read and write the original location as a fallback for the
717 hashed cache file locations. This is mostly for users to be
718 able to have per-directory cache files.
720 2005-12-12 Patrick Lam <plam@mit.edu>
721 * fc-cache/fc-cache.c (scanDirs):
722 * fc-cache/Makefile.am:
723 * src/fccache.c (FcDirCacheHashName):
725 Improve error message when fc-cache can't write the cache. Add
726 missing slash. Reported by Behdad. Incorporate Behdad's patch to
727 create /var/cache/fontconfig when appropriate.
729 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
732 * src/fcxml.c (FcConfigGetAttribute):
734 Fix crash reported by Frederic Crozat when using libxml2.
736 2005-12-09 Patrick Lam <plam@mit.edu>
739 * fc-cache/Makefile.am:
740 * fc-cat/Makefile.am:
742 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
743 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
744 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
745 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
746 FcDirCacheHasCurrentArch, FcDirCacheHashName,
747 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
749 Migrate cache files from fonts directories to
750 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
751 but requires that all caches get rebuilt.
753 Also, autogen.sh now needs the additional parameter
754 --localstatedir=/var.
756 2005-12-07 Patrick Lam <plam@mit.edu>
757 * src/fcpat.c (FcPatternAddString):
759 Because we've changed FcPatternAddString to use FcStrStaticName
760 and not FcValueSave, explicitly handle the case of a null string.
762 2005-12-06 Patrick Lam <plam@mit.edu>
763 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
767 2005-12-05 Patrick Lam <plam@mit.edu>
768 * src/fcname.c (FcNameGetObjectType):
770 Don't assign types to user object names.
772 2005-12-05 Patrick Lam <plam@mit.edu>
773 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
775 Don't free strings that have been returned from FcStrStaticName.
777 2005-12-01 Patrick Lam <plam@mit.edu>
778 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
780 Add codepath for reading global cache files as well.
782 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
785 * conf.d/10-fonts.persian.conf:
786 * conf.d/Makefile.am:
788 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
790 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
793 * src/fcxml.c (FcConfigParseAndLoad):
795 Only add a config file to the set of config files once.
797 2005-11-29 Patrick Lam <plam@mit.edu>
798 * src/fcint.h (FcCacheBankToIndex);
800 Fix segfault by guarding array dereference.
802 2005-11-29 Dirk Mueller <dmueller@suse.de>
806 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
807 FcCacheBankToIndex, FcCacheBankToIndexMTF,
811 Refactor FcCacheBankToIndex into an inlineable part
812 (in fcint.h) which checks the front of the list and a
813 non-inlineable part which finds and moves the appropriate element
814 to the front of the list.
816 2005-11-29 Patrick Lam <plam@mit.edu>
817 * src/fccfg.c (FcConfigBuildFonts):
818 * src/fccache.c (FcCacheReadDirs):
820 Make the perf guys hate me a bit less: hoist the directory-name
821 FcConfigAcceptFont check for cached fonts up to directory cache
822 read time, rather than running it for each font.
824 2005-11-29 Patrick Lam <plam@mit.edu>
825 * src/fccfg.c (FcConfigBuildFonts):
827 * src/fcpat.c (FcPatternFindFullFname):
829 Don't make FcPatternFindFullFname available to fccfg, it's not
830 really safe. Instead go through FcPatternGetString (sorry,
831 perf guys.) Also, use globs for dirs as well.
833 2005-11-28 Patrick Lam <plam@mit.edu>
834 * src/fccfg.c (FcConfigBuildFonts):
838 2005-11-28 Patrick Lam <plam@mit.edu>
840 * src/fcpat.c (FcPatternFindFullFname):
841 * src/fccfg.c (FcConfigBuildFonts):
843 Fix problem dating back at least to 2.3.2 where globs weren't
844 being applied to patterns loaded from a cache.
846 2005-11-28 Patrick Lam <plam@mit.edu>
847 * doc/fontconfig-user.sgml:
849 Fix some obvious spelling mistakes.
851 2005-11-28 Dirk Mueller <dmueller@suse.com>
852 Stephan Kulow <coolo@suse.de>
855 * src/fcmatch.c (FcFontSetMatch):
857 Don't kill all fonts during match (oops!)
860 2005-11-25 Dirk Mueller <dmueller@suse.com>
861 Stephan Kulow <coolo@suse.de>
862 Michael Matz <matz@suse.de>
865 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
868 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
869 inline FcCompare into FcFontSetMatch and reorder the
870 loops, adding a boolean array which blocks patterns from future
871 consideration if they're known to not be best on some past
874 2005-11-26 Dirk Mueller <dmueller@suse.com>
877 * src/fcmatch.c (FcCompareValueList):
881 2005-11-25 Patrick Lam <plam@mit.edu>
882 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
884 Don't do random matching when bad objects are passed into
887 2005-11-25 Patrick Lam <plam@mit.edu>
889 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
890 FcPatternSerialize, FcPatternUnserialize,
891 FcValueListEnsureBank, FcValueListDistributeBytes,
892 FcValueListUnserialize):
894 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
895 _fcPatternElts, _fcValueLists for consistency.
897 2005-11-25 Dirk Mueller <dmueller@suse.com>
902 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
904 2005-11-25 Patrick Lam <plam@mit.edu>
906 * src/fccache.c (FcDirCacheConsume):
907 * src/fccharset.c (FcCharSetUnserialize):
908 * src/fcfs.c (FcFontSetUnserialize):
909 * src/fclang.c (FcLangSetUnserialize):
910 * src/fcname.c (FcObjectUnserialize):
911 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
912 FcPatternUnserialize):
914 Pass around FcCache *s to the Unserialize functions for extra
915 consistency (and less overhead, for what that's worth).
917 2005-11-24 Dirk Mueller <dmueller@suse.com>
921 * src/fcmatch.c (FcCompare*, FcFontSetSort):
922 * src/fcname.c (FcNameUnparseValue):
924 Inline the *PtrU functions to gain perf.
925 Remove unneeded params for the FcCompare* functions.
927 2005-11-24 Dirk Mueller <dmueller@suse.com>
930 * src/fcint.h, fontconfig/fontconfig.h:
932 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
934 * src/fcpat.c, src/fcint.h, src/fcname.c:
936 Check for type validity during FcPatternAddWithBinding, don't
937 verify type in FcFontMatch, don't call FcCanonicalize here
938 (which always does a deep copy).
940 2005-11-24 Dirk Mueller <dmueller@suse.com>
943 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
944 * src/fcpat.c (FcPatternAddWithBinding):
946 Make FcCompareString and FcCompareFamily less expensive.
947 Only add a value for FC_FAMILY if the proposed value is a string.
949 2005-11-24 Dirk Mueller <dmueller@suse.com>
952 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
953 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
954 * src/fcint.h (FcDebug):
956 Inline FcDebug invocations and only initialize once, in FcInit*.
957 Improve debug msg in FcPatternPrint.
959 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
962 * fontconfig/fontconfig.h:
965 Minor code warning cleanups.
967 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
970 * fc-match/fc-match.c (main):
972 Make getopt_long accept -s parameter to fc-match as well.
974 2005-11-21 Dirk Mueller <dmueller@suse.com>
977 * src/fcmatch.c (FcCompareValueList):
979 Manually perform inlining & partial redundancy elimination to
980 reduce calls to FcValueListPtrU.
982 2005-11-21 Dirk Mueller <dmueller@suse.com>
985 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
986 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
988 Only invoke strlen() when really necessary.
990 2005-11-19 Matthias Clasen <mclasen@redhat.com>
994 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
999 Get rid of the use of freetype internal headers in fcfreetype.c,
1000 since those headers will go away with freetype 2.2. Replace with
1001 public domain ftglue code from pango. Note that the patch removes
1002 some extra error checking in FT_Get_BDF_Property() and comments
1003 out the skipping of empty pcf fonts.
1005 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1008 * fc-lang/fc-lang.c (main):
1010 Further fix of patch from 2005-11-04: miscounted numbers count
1011 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1012 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1014 Removed leafidx_count and numbers_count since they are the same
1015 and replaced them with offset_count.
1017 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1020 * fc-cat/fc-cat.c (main):
1022 Don't crash when fc-cat invoked with no arguments.
1024 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1027 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1029 Fix invalid read access caused by premature free and
1030 GCC4 warnings in libxml2 codepath.
1032 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1035 * src/fccfg.c (FcConfigValues):
1037 List iteration not needed in FcConfigValues, since it's building
1038 up the list itself; we can just strip FcVoid elements during
1041 2005-11-17 Patrick Lam <plam@mit.edu>
1042 * src/fccfg.c (FcConfigValues):
1044 Fix crash on invalid constants in config files (forgot to update
1045 a pointer upon list iteration.)
1047 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1050 * src/fcxml.c (FcTypecheckExpr):
1052 Complain about invalid constants in config files.
1054 2005-11-17 Andreas Schwab <schwab@suse.de>
1057 * src/fccache.c (FcGlobalCacheSave):
1059 Don't add current_arch_start more than once.
1061 2005-11-16 Patrick Lam <plam@mit.edu>
1062 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1063 * src/fcfs.c (FcFontSetUnserialize):
1064 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1065 * src/fcpat.c (FcStrUnserialize):
1067 Fix ordering of ALIGN with respect to saving block_ptr; add
1068 another ALIGN to fcfs.c.
1070 2005-11-16 Patrick Lam <plam@mit.edu>
1071 * src/fccache.c (FcDirCacheProduce)
1073 Fix case where alignment bytes bumped up metadata->count
1074 causing unwarranted failures to write cache files.
1075 (Reported by Stephan Kulow).
1077 2005-11-16 Patrick Lam <plam@mit.edu>
1078 * src/fccache.c (FcDirCacheProduce):
1079 * src/fccharset.c (FcCharSetDistributeBytes):
1080 * src/fcfs.c (FcFontSetDistributeBytes):
1082 * src/fclang.c (FcLangSetDistributeBytes):
1083 * src/fcname.c (FcObjectDistributeBytes):
1084 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1087 Add *NeededBytesAlign(), which overestimates the padding which is
1088 later added by the new ALIGN macro. Fix alignment problems on
1089 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1090 version by Andreas Schwab).
1092 2005-11-16 Stephan Kulow <coolo@kde.org>
1097 Use sysconf to determine proper PAGESIZE value; this
1098 appears to be POSIX-compliant. (reported by Andreas Schwab)
1100 2005-11-04 Patrick Lam <plam@mit.edu>
1101 * fc-lang/fc-lang.c:
1106 Fix bug 2878 (excessive relocations at startup for charsets,
1107 reported by Ross Burton): fc-lang/fc-lang now creates the
1108 static form of the langset, not the dynamic form, so that
1109 the charsets should now be in .rodata.
1111 2005-11-04 Patrick Lam <plam@mit.edu>
1112 * src/fcdir.c (FcDirScanConfig):
1114 Add test for validity of directory caches that
1115 somehow got lost (reported by make distcheck).
1117 2005-11-04 Patrick Lam <plam@mit.edu>
1121 * fontconfig/fontconfig.h:
1123 Bump version to 2.3.92.
1125 2005-11-02 Patrick Lam <plam@mit.edu>
1126 * src/fcpat.c (FcPatternDuplicate):
1128 Fix argument ordering problem in call to FcPatternTransferFullFname.
1130 2005-11-02 Patrick Lam <plam@mit.edu>
1131 * src/fcfreetype.c (FcFreetypeQuery):
1132 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1133 FcPatternTransferFullFname):
1135 Fix warnings and embarrassing double-free error.
1137 2005-11-02 Zhe Su <zsu@novell.com>
1142 Change the rule for artificial emboldening in fonts.conf.in. This
1143 enables the support for artificial emboldening included in cairo.
1145 2005-11-02 Patrick Lam <plam@mit.edu>
1146 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1148 Don't zero out full names for FC_REF_CONSTANT fonts;
1149 also, duplicate full names when transferring, and free
1150 full names when freeing the associated font.
1151 Reported by Jinghua Luo.
1153 2005-11-02 Patrick Lam <plam@mit.edu>
1154 * fc-cache/fc-cache.c (scanDirs):
1155 * src/fcpat.c (FcValueListSerialize):
1157 Revert the previous patch and commit the correct patch:
1158 I forgot a canonicalization in FcValueListSerialize, so
1159 that it would choke on already-serialized input files. Duh!
1161 2005-11-02 Patrick Lam <plam@mit.edu>
1162 * fc-cache/fc-cache.c (scanDirs):
1164 Forcibly rescan a directory before writing a fresh local
1165 cache file for that directory, fixing the losing-fonts
1166 problem reported by Mike Fabian and also apparently the
1167 font cache file corruption.
1169 2005-11-02 Patrick Lam <plam@mit.edu>
1170 * src/fccache.c (FcGlobalCacheLoad):
1172 Fix thinko: actually, the whole global cache is stale
1173 if the global cache is older than the (newest) config file.
1175 2005-11-02 Patrick Lam <plam@mit.edu>
1176 * src/fccache.c (FcGlobalCacheLoad):
1177 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1180 Declare the global cache of a directory's contents to be stale if
1181 the directory is newer than the (newest) configuration file.
1183 2005-10-31 Patrick Lam <plam@mit.edu>
1185 * src/fclist.c (FcListAppend):
1186 * src/fcmatch.c (FcFontRenderPrepare):
1187 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1188 FcPatternFreeze, FcPatternBaseFreeze):
1190 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1191 applications continue breaking.
1193 2005-10-31 Patrick Lam <plam@mit.edu>
1194 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1195 * src/fcfreetype.c (FcFreeTypeQuery):
1197 Fix small memory error (tried to free argv); use basename and
1198 dirname correctly (they can modify their arguments).
1200 2005-10-31 Patrick Lam <plam@mit.edu>
1208 Reinstate basename patch, but keep a hash table linking FcPatterns
1209 to their fully-qualified font names for clients' benefit. Clients
1210 only pay for the font names once they request the FC_FILE property
1211 from an FcPattern, but the font name is malloc'd at that point (i.e.
1212 not mmapped: that's impossible, since it may vary between machines.)
1213 Clients do have to pay for a copy of the path name per cache file.
1215 Note that FcPatternGetString now does some rewriting if you ask
1216 for an FC_FILE, appending the pathname as appropriate.
1218 2005-10-31 Patrick Lam <plam@mit.edu>
1219 * src/fcfreetype.c (FcFreeTypeQuery):
1221 Revert basename patch, which breaks fontconfig clients on my system.
1223 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1226 * fontconfig/fonts.conf.in:
1227 * fontconfig/fontconfig.h:
1231 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1232 to load embedded bitmaps or not.
1234 2005-10-25 Patrick Lam <plam@mit.edu>
1235 * src/fcfreetype.c (FcFreeTypeQuery):
1237 Only add basename to patterns' FC_FILE element, not any part of
1240 2005-10-22 Patrick Lam <plam@mit.edu>
1243 Add some more consts, fixing more GCC4 warnings.
1245 2005-10-22 Zhe Su <zsu@novell.com>
1248 Support localized font family and style names.
1249 This has been reported to break old apps like xfd, but modern
1250 (gtk+/qt/mozilla) apps work fine.
1252 2005-10-21 Patrick Lam <plam@mit.edu>
1253 * src/fccache.c (FcGlobalCacheLoad):
1255 Destroy the global cache file if it's terminally broken. (reported by
1258 2005-10-21 Patrick Lam <plam@mit.edu>
1259 * fc-list/fc-list.c (main):
1260 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1261 * fontconfig/fontconfig.h:
1263 Prevent fc-list from escaping strings when printing them (reported by
1266 2005-10-20 Marcus Meissner <meissner@suse.de>
1269 * fontconfig/fontconfig.h:
1271 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1273 2005-10-14 Ross Burton <ross@burtonini.com>
1276 * fc-glyphname/fc-glyphname.c:
1279 Add consts to variables so as to move arrays into .rodata.
1281 2005-10-14 Mike Fabian <mfabian@suse.de>
1284 * src/fccache.c (FcDirCacheUnlink):
1286 Check existence of directory cache file before attempting to unlink.
1288 2005-10-13 Patrick Lam <plam@mit.edu>
1289 * src/fccache.c (FcDirCacheUnlink):
1291 Fix flipped return value on unlink. (Reported by Mike Fabian)
1293 2005-10-12 Patrick Lam <plam@mit.edu>
1296 * src/fcdir.c (FcDirScanConfig):
1299 When fc-cache is run without --force, use directory cache files
1300 to speed up fc-cache run time. (Reported by Mike Fabian)
1302 2005-10-06 Patrick Lam <plam@mit.edu>
1304 * src/fcname.c (FcObjectToPtr):
1305 * src/fcpat.c (FcStrStaticName):
1307 Add padding to make valgrind and glibc not hate each other
1308 when calling strlen().
1310 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1311 reviewed by: plam & keithp
1315 Modify config file to use Greek fonts before Asian fonts with
1318 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1319 reviewed by: plam & keithp
1323 Use libtool -no-undefined flag on all platforms.
1325 2005-10-05 Patrick Lam <plam@mit.edu>
1326 * src/fccache.c (FcCacheHaveBank):
1328 Implement move-to-front array for banks (perf regression
1329 reported by Ronny V. Vindenes).
1331 2005-10-04 Patrick Lam <plam@mit.edu>
1332 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1333 FcDirCacheHasCurrentArch):
1334 * fc-cache/fc-cache.c (scanDirs):
1335 * fontconfig/fontconfig.h:
1337 Add new API which unlinks directory caches and checks dir caches
1338 for existence of appropriate sections. Fix fc-cache to unlink
1339 stale cache files and save directory caches that lack relevant
1342 2005-10-03 Patrick Lam <plam@mit.edu>
1343 * src/fccache.c (FcDirCacheValid):
1345 Ensure that a directory cache has the appropriate section
1346 before reporting that it is valid (reported by Matthias Clasen).
1348 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1356 Use libxml2 if requested (with --enable-libxml2) or if
1357 expat is not available.
1359 2005-09-29 Patrick Lam <plam@mit.edu>
1360 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1362 Fix multi-arch cache files: compute the position for the
1363 block to be added using info from OrigFile, not NewFile.
1365 2005-09-28 Patrick Lam <plam@mit.edu>
1366 * src/fccache.c (FcCacheMachineSignature):
1368 Cast results of sizeof() to unsigned int to get rid of
1369 warnings on x86_64 (thanks Matthias Clasen).
1371 2005-09-27 Patrick Lam <plam@mit.edu>
1372 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1375 Use FcAtomic to rewrite cache files.
1377 2005-09-27 Patrick Lam <plam@mit.edu>
1379 * src/fccache.c (FcDirCacheWrite):
1381 Don't unlink the fonts.cache-2 file even if there's no data
1382 to write; just write an empty cache file. (thanks Lubos Lunak)
1384 2005-09-27 Patrick Lam <plam@mit.edu>
1386 * src/fccache.c (FcDirCacheWrite):
1388 Allocate room for the subdirectory names in each
1389 directory cache. Thanks to James Cloos for finding
1390 and diagnosing this bug!
1392 2005-09-22 Patrick Lam <plam@mit.edu>
1394 * fc-cache/fc-cache.sgml:
1395 * src/fccache.c (FcDirCacheWrite):
1396 * src/fccache.h (struct FcCache):
1398 Update documentation -- fc-cache's man page now says that you
1399 need to run fc-cache once per cached architecture; add some
1400 documentation to the FcCache structure.
1402 Make fc-cache write out fonts.cache-2 files for directories with
1403 no fonts (i.e. only subdirectories).
1405 2005-09-22 Patrick Lam <plam@mit.edu>
1407 * fc-cache/fc-cache.sgml:
1408 * fc-case/fc-case.c:
1409 * fc-glyphname/fc-glyphname.c:
1415 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1419 * fc-lang/fc-lang.c:
1420 * fontconfig/fcprivate.h:
1421 * fontconfig/fontconfig.h:
1435 Implement new mmaped cache for font information.
1436 Bump so revision to 2.3.90.
1438 2005-07-25 Keith Packard <keithp@keithp.com>
1440 * doc/fontconfig-user.sgml:
1441 * fc-glyphname/fc-glyphname.c: (scan), (main):
1442 * fc-lang/fc-lang.c: (FcConfigHome):
1443 * fc-match/fc-match.c: (main):
1444 * src/fccfg.c: (FcConfigHome):
1445 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1446 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1447 (addtag), (FcFontCapabilities):
1448 * src/fcpat.c: (FcValueListEntCreate):
1449 * src/fcstr.c: (FcStrCaseWalkerInit):
1450 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1452 Various GCC 4 cleanups for signed vs unsigned char
1454 Match only [0-9]*.conf files in <include>{directory}</include>
1455 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1457 2005-07-15 Carl Worth <cworth@cworth.org>
1460 * src/fcinit.c: (FcFini):
1461 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1464 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1465 Pull the FcObjectStateName hash table out to file scope, and add
1466 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1469 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1472 2005-06-16 Patrick Lam <plam@MIT.EDU>
1476 * src/fccfg.c: (FcConfigCompareValue):
1477 Make FcOpNotContains use FcStrStr for strings so that
1478 it matches semantics for !FcOpContains.
1480 2005-05-20 Keith Packard <keithp@keithp.com>
1484 Move fontconfig source package to libs as per override
1486 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1488 reviewed by: Mike Fabian
1491 The ka.orth file requires several characters which are not
1492 used anymore in modern Georgian and which are missing in the free
1493 Georgian TrueType fonts downloadable at:
1495 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1497 2005-04-27 Keith Packard <keithp@keithp.com>
1501 Update date to real 2.3.2 release date.
1502 Fix change attributions
1504 2005-04-27 Keith Packard <keithp@keithp.com>
1507 Bump so revision for 2.3.2
1508 * fc-cache/fc-cache.c: (scanDirs):
1509 Fix a few minor leaks in error cases.
1511 2005-04-23 Keith Packard <keithp@keithp.com>
1516 * fontconfig/fontconfig.h:
1517 Update for version 2.3.2
1519 2005-04-21 Keith Packard <keithp@keithp.com>
1521 * debian/fontconfig.postinst:
1522 Don't force bitmap font enable in default
1523 configuration; allows users to override this in
1533 * debian/po/pt_BR.po:
1534 * debian/po/templates.pot:
1536 * debian/po/zh_CN.po:
1537 Updated translations
1539 * fc-cache/fc-cache.c: (main):
1540 Destroy font configuration on exit to help valgrind
1543 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1544 (FcFreeTypeCheckGlyph):
1545 Use own transcoding routines in preference to iconv
1546 which appears to have leaks in some translators.
1547 Call iconv_close after using iconv (oops).
1549 Prefer unicode encoding of Euro char as some
1550 fonts mis-encode Euro in other ones.
1552 Must fetch bitmap glyphs to get width values
1553 to check for monospace/dual-width fonts.
1555 2005-04-13 Ross Burton <ross@burtonini.com>
1558 Check that a pattern isn't already frozen in FcPatternFreeze.
1560 2005-03-31 Ross Burton <ross@burtonini.com>
1565 Run all FcPattern objects through FcObjectStaticName, so that
1566 compares can be done on pointers instead of strings (#2659)
1568 2005-03-17 Tor Lillqvist <tml@novell.com>
1570 * src/fontconfig.def.in: Add the .dll to the dll name.
1572 2005-03-10 Keith Packard <keithp@keithp.com>
1574 * debian/README.Debian:
1575 Update to reflect configuration changes
1577 * debian/fontconfig.postinst:
1578 Fix Autohint vs Autohinter mistake
1579 * debian/fontconfig.templates:
1580 Adopt changes from Josselin Mouette for configuration descriptions
1581 Update debian to version 2.3.1-2
1583 2005-03-08 Keith Packard <keithp@keithp.com>
1587 Update debian for 2.3.1
1589 2005-03-09 Tor Lillqvist <tml@novell.com>
1591 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1594 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1597 2005-03-08 Keith Packard <keithp@keithp.com>
1601 * fontconfig/fontconfig.h:
1604 2005-03-05 Keith Packard <keithp@keithp.com>
1606 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1607 Include space and remove numbers from valid script tags.
1608 This ensures that tags like 'lao ' work while rejecting
1609 those which have any digits.
1610 Eliminate a spurious debugging variable (len)
1612 2005-03-05 Keith Packard <keithp@keithp.com>
1614 * src/fcfreetype.c: (addtag), (GetScriptTags),
1615 (FcFontCapabilities):
1616 Rework GSUB/GPOS script parsing to survive broken fonts.
1617 Thanks for the broken font go to Manish Singh
1619 2005-03-05 Keith Packard <keithp@keithp.com>
1624 * debian/fontconfig.config:
1625 * debian/fontconfig.templates:
1627 Include 2.3 release information in changelog
1628 Add Josselin Mouette as an Uploader
1629 Set hinting_type to low priority configuration option
1632 * debian/fontconfig.postinst:
1633 yes_bitmaps.conf -> yes-bitmaps.conf
1639 2005-03-02 Keith Packard <keithp@keithp.com>
1642 * conf.d/Makefile.am:
1643 * conf.d/autohint.conf:
1644 * conf.d/no-sub-pixel.conf:
1645 * conf.d/sub-pixel.conf:
1646 * conf.d/unhinted.conf:
1647 * debian/autohint.conf:
1648 * debian/fontconfig.install:
1649 * debian/fontconfig.postinst:
1650 * debian/fontconfig.templates:
1651 * debian/no-sub-pixel.conf:
1652 * debian/unhinted.conf:
1653 Move debian-specific conf file examples upstream.
1655 Sub-pixel configuration examples must smash subpixel value
1656 as Xft always sets it from X.
1658 Change sub-pixel rendering debconf descriptions from
1659 Enable/Disable to Always/Never.
1661 2005-03-02 Keith Packard <keithp@keithp.com>
1664 * conf.d/.cvsignore:
1666 Ignore more build detritus
1669 Add debian package construction stuff.
1671 * config/config.guess:
1672 * config/config.sub:
1673 Update to newer versions of these tools
1676 Get library manuals to build again (we love automake).
1678 * debian/README.Debian:
1679 * debian/autohint.conf:
1684 * debian/fontconfig-udeb.install:
1685 * debian/fontconfig.config:
1686 * debian/fontconfig.defoma:
1687 * debian/fontconfig.dirs:
1688 * debian/fontconfig.install:
1689 * debian/fontconfig.postinst:
1690 * debian/fontconfig.postrm:
1691 * debian/fontconfig.templates:
1692 * debian/libfontconfig1-dev.install:
1693 * debian/libfontconfig1.install:
1694 * debian/local.conf.md5sum:
1695 * debian/no-sub-pixel.conf:
1696 * debian/po/POTFILES.in:
1705 * debian/po/pt_BR.po:
1706 * debian/po/templates.pot:
1708 * debian/po/zh_CN.po:
1710 * debian/unhinted.conf:
1711 Update debian build system to switch maintainers and
1712 deal with 2.3 functionality
1714 2005-03-01 Keith Packard <keithp@keithp.com>
1718 * fontconfig/fontconfig.h:
1721 2005-03-01 Keith Packard <keithp@keithp.com>
1724 Generate and install PDF versions of the manuals
1726 * doc/fcpattern.fncs:
1729 * doc/fcstring.fncs:
1730 Add missing exported functions, fix data types
1732 * doc/fontconfig-devel.sgml:
1733 Add missing pattern elements.
1735 * doc/fontconfig-user.sgml:
1736 Add missing pattern elements. Document conf.d usage,
1737 clarify available orthography list. Fix some config file
1738 attributes. Complete list of constants.
1740 * fontconfig/fontconfig.h:
1741 Mark FC_SOURCE deprecated.
1743 * src/fcfreetype.c: (FcFreeTypeQuery):
1744 Don't set FC_SOURCE any longer.
1746 2005-02-28 Keith Packard <keithp@keithp.com>
1749 * conf.d/Makefile.am:
1751 * conf.d/no-bitmaps.conf:
1752 * conf.d/sub-pixel.conf:
1753 * conf.d/yes-bitmaps.conf:
1755 Create prototype /etc/fonts/conf.d directory with a few
1756 sample configuration files.
1757 Deprecate use of local.conf for local customizations in favor of
1758 this directory based scheme which is more easily integrated into
1759 installation systems.
1762 Tag FC_EMBOLDEN as a boolean variable
1764 2005-02-10 Keith Packard <keithp@keithp.com>
1766 reviewed by: pborelli@katamail.com
1768 * src/fcdir.c: (FcFileScanConfig):
1769 Free patterns from fonts which are rejected by configuration
1772 2005-01-28 Keith Packard <keithp@keithp.com>
1776 * fontconfig/fontconfig.h:
1777 Update for version 2.2.99
1779 2005-01-28 Keith Packard <keithp@keithp.com>
1782 Add a few pointers (#2284, #2285)
1784 2005-01-28 Keith Packard <keithp@keithp.com>
1787 * src/fcname.c: (FcNameBool):
1788 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1789 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1790 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1791 Polite typechecking for test and edit expressions. Helps
1792 catch errors in the font configuration. (bug 229)
1794 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1796 reviewed by: Keith Packard <keithp@keithp.com>
1799 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1801 2005-01-13 Keith Packard <keithp@keithp.com>
1803 * doc/fontconfig-user.sgml:
1804 Add SEE ALSO section (bug 2085)
1806 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1808 reviewed by: Keith Packard <keithp@keithp.com>
1813 * fc-case/Makefile.am:
1814 * fc-glyphname/Makefile.am:
1815 * fc-lang/Makefile.am:
1816 * src/fontconfig.def.in:
1817 Cross compiling fixes (bug 280)
1819 2005-01-13 Keith Packard <keithp@keithp.com>
1822 Update blanks list (Closes bug 86)
1824 2005-01-04 Keith Packard <keithp@keithp.com>
1826 * src/fccache.c: (FcCacheFontSetAdd):
1827 Verify that every font pattern loaded from cache has
1828 both FC_FILE and FC_FAMILY entries.
1829 Attempt to fix bug #2219.
1831 2004-12-29 Keith Packard <keithp@keithp.com>
1835 * fontconfig/fontconfig.h:
1836 Update for version 2.2.98
1838 2004-12-29 Keith Packard <keithp@keithp.com>
1840 * fontconfig/fontconfig.h:
1841 Document ASCII limitations of Fc character conversion macros
1842 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1843 Fix off-by-one error in utf-8 case walking code.
1844 Add FcStrDowncase (useful for testing case conversion functions)
1846 2004-12-29 Keith Packard <keithp@keithp.com>
1849 * fc-case/.cvsignore:
1850 clean up CVS ignore lists
1851 * fc-lang/iso-3166.txt:
1852 Add territory database
1854 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1856 Reviewed by: Keith Packard
1859 Remove Han characters from Korean orthography
1861 2004-12-29 Keith Packard <keithp@keithp.com>
1864 Reorder utility programs to make sure fc-case is run before fc-lang
1865 as fc-lang uses fcstr.c which uses fccase.h
1869 2004-12-29 Keith Packard <keithp@keithp.com>
1872 Adopt some RedHat suggestions for standard font configuration.
1876 * fc-case/CaseFolding.txt:
1877 * fc-case/Makefile.am:
1878 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1879 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1880 (dump), (parseRaw), (caseFoldReadRaw), (main):
1881 * fc-case/fccase.tmpl.h:
1882 Add new helper program 'fc-case' to construct case folding
1883 tables from standard Unicode CaseFolding.txt file
1886 * src/fclist.c: (FcListValueHash):
1887 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1888 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1889 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1890 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1891 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1892 Re-implement case insensitive functions with Unicode
1893 aware versions (including full case folding mappings)
1895 2004-12-13 Keith Packard <keithp@keithp.com>
1897 reviewed by: Owen Taylor <otaylor@redhat.com>
1899 * src/fcmatch.c: (FcFontSetSort):
1900 I changed FcFontSetSort to respect the generic aliases better
1901 in the face of language matching.
1903 What I did was to ammend the strict sort order used by FcFontSort so
1904 that it 'satisfies' the language specified in the pattern by locating
1905 the best matching font supporting each pattern language and then
1906 ignores language in the remaining fonts for purposes of matching.
1908 So, when asking for 'sans:lang=en', you'll get an English font first,
1909 and then the remaining fonts sorted with respect to the 'sans' alias
1910 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1912 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1914 reviewed by: Keith Packard <keithp@keithp.com>
1916 * fontconfig/fontconfig.h:
1919 Configuration changes to request synthetic emboldening of
1920 fonts. The actual emboldening code will live in Xft.
1922 2004-12-09 John Thacker <thacker@math.cornell.edu>
1924 reviewed by: Keith Packard <keithp@keithp.com>
1928 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1929 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1930 и), and don't even appear in KOI8-R. (The hypothesis that they
1931 don't appear in KOI8-R due to their similarity with Latin I and i is
1932 eliminated by their presence in KOI8-U.) I have a couple of fonts
1933 with Russian support that don't have the letter.
1935 Therefore, 0406 and 0456 should be removed from or commented out of
1938 2004-12-06 michael meeks <mmeeks@novell.com>
1940 Reviewed by: Keith Packard <keithp@keithp.com>
1942 * src/fcinit.c: (FcMemReport):
1944 * src/fclist.c: (FcObjectSetAdd):
1945 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1946 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1947 * src/fcxml.c: (FcParsePatelt):
1948 memoize strings and share a single copy for all uses. Note that
1949 this could be improved further by using statically allocated blocks
1950 and gluing multiple strings together, but I'm basically lazy.
1951 In my environment with 800 font files, I get a savings of about 90KB.
1953 2004-12-06 Keith Packard <keithp@keithp.com>
1957 * config/Makedefs.in:
1960 * doc/fcatomic.fncs:
1961 * doc/fcblanks.fncs:
1962 * doc/fccharset.fncs:
1963 * doc/fcconfig.fncs:
1964 * doc/fcconstant.fncs:
1966 * doc/fcfontset.fncs:
1967 * doc/fcfreetype.fncs:
1969 * doc/fcmatrix.fncs:
1970 * doc/fcobjectset.fncs:
1971 * doc/fcobjecttype.fncs:
1972 * doc/fcpattern.fncs:
1973 * doc/fcstring.fncs:
1974 * doc/fcstrset.fncs:
1976 * doc/fontconfig-devel.sgml:
1977 * doc/fontconfig-user.sgml:
1979 * doc/version.sgml.in:
1980 * fc-cache/Makefile.am:
1981 * fc-cache/fc-cache.c:
1982 * fc-glyphname/Makefile.am:
1983 * fc-glyphname/fc-glyphname.c:
1984 * fc-glyphname/fcglyphname.tmpl.h:
1985 * fc-lang/Makefile.am:
1995 * fc-lang/az_ir.orth:
2029 * fc-lang/fc-lang.c:
2030 * fc-lang/fc-lang.man:
2031 * fc-lang/fclang.tmpl.h:
2076 * fc-lang/ku_ir.orth:
2109 * fc-lang/ps_af.orth:
2110 * fc-lang/ps_pk.orth:
2139 * fc-lang/ti_er.orth:
2140 * fc-lang/ti_et.orth:
2166 * fc-lang/zh_cn.orth:
2167 * fc-lang/zh_hk.orth:
2168 * fc-lang/zh_mo.orth:
2169 * fc-lang/zh_sg.orth:
2170 * fc-lang/zh_tw.orth:
2172 * fc-list/Makefile.am:
2173 * fc-list/fc-list.c:
2174 * fc-match/Makefile.am:
2175 * fc-match/fc-match.1:
2176 * fc-match/fc-match.c:
2177 * fontconfig/fcfreetype.h:
2178 * fontconfig/fcprivate.h:
2179 * fontconfig/fontconfig.h:
2200 Change files from ISO-Latin-1 to UTF-8
2202 2004-12-04 Keith Packard <keithp@keithp.com>
2205 Update links to new freedesktop.org locations
2207 Add uninstall-local to get rid of fonts.conf and local.conf if they
2208 match the distributed versions. Fixes 'make distcheck'
2210 2004-12-04 Keith Packard <keithp@keithp.com>
2214 * fontconfig/fontconfig.h:
2215 Updates for version 2.2.97
2217 2004-12-04 Owen Taylor <otaylor@redhat.com>
2219 reviewed by: Keith Packard <keithp@keithp.com>
2221 * fc-cache/fc-cache.c: (main):
2222 Sleep for two seconds before exiting to make sure timestamps
2223 for future changes have distinct mod times in the file system.
2226 Add Punjabi orthography. Bug #1671.
2228 2004-12-04 Keith Packard <keithp@keithp.com>
2231 Just remove the FC_FONTDATE -- it has locale issues and
2232 annoys redhat multi-arch installs. Now that all X fonts are
2233 included without prejudice, the chances of the date being at
2234 all interesting are rather limited. Bug #505.
2236 Add copyright and license
2238 2004-12-04 Keith Packard <keithp@keithp.com>
2241 Change default set of fonts to include all of
2242 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2243 * doc/fontconfig-user.sgml:
2244 Document new <include>directory-name</include> semantics
2246 add <include ignore_missing="yes">conf.d</include>
2248 Add selectfont to ignore bitmap fonts, add comment for
2249 selectfont which accepts bitmap fonts.
2252 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2253 Allow <include> configuration elements to reference directories.
2254 Parse and load all files of the form [0-9]* in sorted order.
2256 2004-12-04 Keith Packard <keithp@keithp.com>
2259 Report command line for $srcdir/configure accurately.
2262 2004-12-04 Keith Packard <keithp@keithp.com>
2264 * src/fcfreetype.c: (FcFreeTypeQuery):
2265 Check for non-empty face->family_name and face->style_name
2266 before using those for the font. Empty names match everything.
2269 2004-12-04 Keith Packard <keithp@keithp.com>
2272 * fontconfig/fontconfig.h:
2273 * src/fcfreetype.c: (FcFreeTypeQuery):
2275 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2276 available. This provides font file format information (BDF, Type 1,
2277 PCF, TrueType) for each font. Closes #109.
2279 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2281 reviewed by: Keith Packard <keithp@keithp.com>
2283 * doc/fontconfig-user.sgml:
2286 * fontconfig/fontconfig.h:
2287 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2288 (GetScriptTags), (FcFontCapabilities):
2290 Add detection for font capabilities (bug #105)
2292 2004-12-04 Keith Packard <keithp@keithp.com>
2295 Move existing fonts.conf to fonts.conf.bak
2298 Add detection of iconv
2300 * doc/fcpattern.fncs:
2301 * doc/fontconfig-devel.sgml:
2302 * doc/fontconfig-user.sgml:
2304 Document new selectfont elements
2307 Switch to UTF-8 in comment
2309 * fontconfig/fontconfig.h:
2311 Add fullname, and family/style/fullname language entries
2313 * src/fccache.c: (FcCacheFontSetAdd):
2314 * src/fcdir.c: (FcFileScanConfig):
2315 Respect selectfont/*/glob
2318 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2319 (FcConfigCompareValue), (FcConfigPatternsAdd),
2320 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2321 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2322 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2323 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2324 Add support for selectfont
2326 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2327 (FcStringInPatternElement), (FcFreeTypeQuery):
2328 Add multi-lingual family/style/fullname support
2330 * src/fclist.c: (FcListPatternMatchAny):
2331 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2333 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2334 (FcObjectStaticName):
2335 Add new FcPatternRemove/FcPatternAppend.
2336 FcObjectStaticName stores computed pattern element names which
2337 are required to be static.
2339 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2344 Remove spurious / after $(DESTDIR)
2346 2004-06-30 Keith Packard <keithp@keithp.com>
2350 * fontconfig/fontconfig.h:
2353 2004-06-30 Keith Packard <keithp@keithp.com>
2355 Provided by: Lubos Lunak <l.lunak@suse.cz>
2357 * src/fccfg.c: (FcConfigUptoDate):
2358 However FcConfigUptoDate() doesn't seem to work. See the attached
2359 patch. First there's an obvious misplaced parenthesis making it
2360 return always false, and second, even this call fails to detect font
2361 changes (e.g. adding a new font to
2362 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2363 well. The problem seems to be triggered by my fonts.conf specifying
2364 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2365 doesn't include subdirs, unlike config->fontDirs.
2367 2004-06-03 Keith Packard <keithp@keithp.com>
2369 * fontconfig/fontconfig.h:
2370 Remove comma at end of FcResult enum definition.
2372 2004-05-29 Keith Packard <keithp@keithp.com>
2375 Add steps to md5sum release
2377 2004-05-29 Keith Packard <keithp@keithp.com>
2381 * fontconfig/fontconfig.h:
2384 2004-05-29 Keith Packard <keithp@keithp.com>
2386 * fontconfig/fontconfig.h:
2387 * src/fcmatch.c: (FcFontSetMatch):
2388 Add FcResultOutOfMemory to provide an accurate error when
2389 FcFontSetMatch fails in this way
2392 Make #warning about lacking various FreeType features indicate
2393 which version those features appeared so users know how to
2394 fix the problem (Thanks to Anton Tropashko)
2396 2004-05-05 Keith Packard <keithp@keithp.com>
2398 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2399 Replace MIN/MAX/ABS macros which happen to have come
2400 from FreeType with fontconfig-specific ones (FC_*)
2402 2004-04-23 Keith Packard <keithp@keithp.com>
2405 Extend release preparation instructions to include
2406 notification and distribution steps
2408 2004-04-23 Keith Packard <keithp@keithp.com>
2412 * fontconfig/fontconfig.h:
2413 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2415 2004-04-23 Keith Packard <keithp@keithp.com>
2418 Ignore a few more autotool files
2420 2004-04-14 Keith Packard <keithp@keithp.com>
2423 Add instructions for doing a release
2425 * fontconfig.spec.in:
2426 clean up .spec file; perhaps this will be useful to somebody...
2430 * fontconfig/fontconfig.h:
2433 * fc-lang/fc-lang.c:
2434 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2436 * fc-glyphname/Makefile.am:
2437 * fc-lang/Makefile.am:
2438 * fc-list/Makefile.am:
2439 * fc-match/Makefile.am:
2441 Add WARN_CFLAGS to pass -W flags for GCC systems
2443 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2444 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2445 Change various char types around to match across
2447 Fixed bug in using available_sizes[i].height which
2448 is in pixels, not 64ths of a pixel.
2450 2004-03-06 Keith Packard <keithp@keithp.com>
2452 * src/fcfreetype.c: (FcFreeTypeQuery):
2453 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2454 matches looking for explicit values prefer exact matches
2456 2004-03-02 Keith Packard <keithp@keithp.com>
2458 Supplied by: mfabian@suse.de (Mike FABIAN)
2460 * src/fcfreetype.c: (FcFreeTypeQuery):
2461 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2462 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2464 2004-02-21 Manish Singh <yosh@gimp.org>
2466 * fc-glyphname/fc-glyphname.c: (main):
2467 Cast strlen to int for printf, so we're 64-bit clean.
2469 2004-02-11 Keith Packard <keithp@keithp.com>
2472 * src/fcfreetype.c: (FcGetPixelSize):
2473 Ok, so I messed up the test for y_ppem. Let's see if I
2474 got it right this time.
2476 2004-02-10 Keith Packard <keithp@keithp.com>
2479 * src/fcfreetype.c: (FcGetPixelSize):
2480 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2481 FT_Bitmap_Size record. Add a configure.in test for this
2482 and change the code accordingly (using height instead).
2484 2004-02-06 Keith Packard <keithp@keithp.com>
2487 Add Low Saxon orthography
2488 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2490 * src/fccfg.c: (FcConfigNewestFile):
2491 Oops. Left 'newest.set' unset, which would miscompute
2494 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2495 (FcFreeTypeCheckGlyph):
2496 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2497 font properties (which report the wrong value in current FreeType)
2499 Don't attempt to check for empty glyphs in non-scalable fonts; they
2502 2004-02-01 Tor Lillqvist <tml@iki.fi>
2504 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2505 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2506 cache if config->cache is NULL, which happens if FcConfigHome() is
2507 NULL. Guard against that by using the temp folder in that case.
2509 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2511 * fc-lang/az_ir.orth:
2512 * fc-lang/ku_ir.orth:
2513 * fc-lang/ps_af.orth:
2514 * fc-lang/ps_pk.orth:
2515 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2516 (Afghan and Pakistani).
2518 Updated Urdu orthography with real data.
2520 2003-12-11 Carl Worth <cworth@east.isi.edu>
2522 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2525 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2527 (all-local): Remove excessive whitespace.
2529 * autogen.sh: Add 'set -e' to abort when any program fails,
2530 (avoids printing of 'now type make' after configure aborts).
2532 2003-11-17 Eric Christopherson <rakko@charter.net>
2534 reviewed by: Keith Packard <keithp@keithp.com>
2537 * fontconfig/fcfreetype.h:
2539 Switch to FreeType 2.1.7 style includes. Bug #150.
2541 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2543 * fc-list/fc-list.sgml: Add some example usages.
2545 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2548 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2551 2003-10-27 Keith Packard <keith@keithp.com>
2554 * fontconfig/fontconfig.h:
2555 Update to version 2.2.92
2557 2003-10-27 Keith Packard <keithp@keithp.com>
2562 * fc-cache/Makefile.am:
2563 * fc-glyphname/Makefile.am:
2564 * fc-lang/Makefile.am:
2565 * fc-list/Makefile.am:
2566 * fc-match/Makefile.am:
2569 Yet more cleanups to finish getting 'make distcheck' working
2570 This has been tested to ensure that it even works from a _build
2573 2003-10-26 Keith Packard <keithp@keithp.com>
2577 * fc-cache/Makefile.am:
2578 * fc-glyphname/Makefile.am:
2579 * fc-lang/Makefile.am:
2580 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2581 * fc-list/Makefile.am:
2582 * fc-match/Makefile.am:
2583 Attempts to fix 'make distcheck' work. Things are
2584 progressing pretty well, but there are still failures
2585 long into the process dealing with docs (as always).
2587 The big changes here are mostly to make $(srcdir) != "."
2588 work correctly, fixing the docbook related sections and
2589 fc-lang were particularily tricky. Docbook refuses to load
2590 system entities from anywhere other than where the original .sgml
2591 file was located, so no luck looking in "." for the
2592 configure-generated version.sgml and confdir.sgml files.
2594 fc-lang needed help finding .orth files; added a -d option
2595 to set the directory as the least evil of many options.
2597 Now to go use a faster machine and try and wring out the last
2600 2003-10-26 Keith Packard <keithp@keithp.com>
2604 2003-10-26 Keith Packard <keithp@keithp.com>
2607 Include confdir.sgml.in in EXTRA_DIST
2609 2003-10-09 Josselin Mouette <joss@debian.org>
2611 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2612 * fc-list/fc-list.sgml fc-list/Makefile.am:
2613 Replace fc-cache and fc-list manpages with more detailed, SGML
2616 2003-09-23 Owen Taylor <otaylor@redhat.com>
2618 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2619 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2620 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2623 2003-09-23 Owen Taylor <otaylor@redhat.com>
2625 * fc-lang/ka.orth: Remove Georgian capitals, they
2626 aren't used for normal writing. (Bug #116)
2628 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2630 * doc/fontconfig-devel.sgml:
2631 * doc/fontconfig-user.sgml:
2632 * fontconfig/fontconfig.h:
2634 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2635 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2637 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2638 monospace and dual-width fonts, allow roughly a 3% variance in the
2641 2003-08-31 Manish Singh <yosh@gimp.org>
2643 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2646 2003-08-15 Carl Worth <cworth@isi.edu>
2648 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2649 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2651 * src/fcpat.c (FcValueListEntDestroy): New function to support
2652 FcFini memory cleanup. Some statistics are not kept in
2654 (FcValueListFreeze): Move hashTable outside this function so it
2655 can be accessed by FcValueListThawAll.
2656 (FcValueListThawAll): New function complements FcValueListFreeze.
2657 (FcPatternBaseFreeze): Move hashTable outside this function so it
2658 can be accessed by FcPatternBaseThawAll.
2659 (FcPatternBaseThawAll): New function complements
2660 FcPatternBaseFreeze.
2661 (FcPatternThawAll): New function complements FcPatternFreeze.
2663 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2665 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2666 allocated FcCharLeafEnt "blocks" so they can be freed later.
2667 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2668 can be accessed by FcCharSetThawAllLeaf.
2669 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2670 (FcCharSetFreezeBase): Move hashTable outside this function so it
2671 can be accessed by FcCharSetThawAll.
2672 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2674 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2675 (FcConfigDestroy): Fic leak of FcBlanks.
2677 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2678 (main): Add call to FcFini when finished.
2680 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2681 static. Add prototypes.
2683 * doc/fcinit.fncs: Add documentation for FcFini function.
2685 * doc/edit-sgml.c: Mark several local functions as static. Add
2688 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2690 2003-06-15 Tor Lillqvist <tml@iki.fi>
2692 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2693 before comparing (needed on Windows).
2695 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2697 2003-06-13 Tor Lillqvist <tml@iki.fi>
2699 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2702 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2703 WINDOWSFONTDIR token.
2705 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2706 end, not to confuse libtool, which expects the EXPORTS line to be
2707 the first. Add FcConfigEnableHome.
2709 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2710 built as a DLL on Win32.
2712 2003-06-09 Keith Packard <keithp@keithp.com>
2714 * Tag version 2.2.90
2716 2003-06-09 Keith Packard <keithp@keithp.com>
2718 * Optimization in FcLangSetIndex was broken, occasionally
2719 returning a pointer to the wrong location on miss
2721 * Add fc-match to test font matching from the command line.
2723 2003-05-31 Keith Packard <keithp@keithp.com>
2725 * (Bug 85) add support for culmus fonts
2726 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2727 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2729 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2731 * Fix "contains" op for strings and langsets.
2733 2003-05-17 Keith Packard <keithp@keithp.com>
2735 * Fix build error with BDF prop local. Free langset after query
2737 2003-05-14 Keith Packard <keithp@keithp.com>
2739 * Extract spacing from XLFD atom
2741 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2743 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2744 disappeared in 1.30.
2746 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2748 2003-05-12 Keith Packard <keithp@keithp.com>
2750 * Use FcIsWidth to share code
2752 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2753 misclassifying some Han fonts as monospaced.
2755 2003-05-07 Keith Packard <keithp@keithp.com>
2757 * Add filename-based accept/reject to ammend available fonts.
2759 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2760 older FreeType releases.
2762 2003-05-06 Keith Packard <keithp@keithp.com>
2764 * Remove 0b82 and Tamil numbers from tamil
2765 orthography (Jungshik Shin <jshin@mailaps.org>)
2767 2003-05-04 Keith Packard <keithp@keithp.com>
2769 + Map glyph names in fonts with adobe custom encoding to unicode
2771 2003-05-02 Keith Packard <keithp@keithp.com>
2773 * Add FC_WEIGHT_BOOK as weight 75
2775 2003-04-30 Keith Packard <keithp@keithp.com>
2777 * Typo in bitstream foundry name
2779 2003-04-24 Keith Packard <keithp@keithp.com>
2781 * Eliminate italic_angle check for PS fonts
2783 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2785 * Getting closer to fixing /etc/fonts hard-coding.
2787 2003-04-22 Keith Packard <keithp@keithp.com>
2789 * Update autogen.sh to work with newer automake versions
2790 * Handle pattern elements moving during multiple edits
2792 2003-04-23 James Henstridge <james@daa.com.au>
2794 * doc/fontconfig-devel.sgml: close the <para> element.
2796 * doc/fcpattern.fncs: close the <para> element.
2798 * doc/func.sgml: close the <refsynopsisdiv> element.
2800 2003-04-22 Keith Packard <keithp@keithp.com
2802 * Update autogen.sh to work with newer automake versions
2803 * Handle pattern elements moving during multiple edits
2805 2003-04-17 Colin Walters <walters@debian.org>
2807 + Remove some unused variables, and initialize some other ones so
2808 gcc doesn't warn us.
2810 2003-04-16 Keith Packard <keithp@keithp.com>
2812 + tag version 2.1.94
2814 2003-04-16 Keith Packard <keithp@keithp.com>
2816 + add BDF property fetching support for foundry
2817 (from Juliusz Chroboczek)
2818 + add BDF property fetching support for width
2820 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2822 + Implemented foundry generation for Type 1 and TrueType
2824 2003-04-11 Gerard Escalante <g2@magestudios.net>
2826 + Retrieve information from Type1 FontInfo dictionaries
2828 2003-04-07 Colin Walters <walters@verbum.org>
2830 + src/Makefile.am: Fix dummy makefile target names when
2831 MS_LIB_AVAILABLE isn't set.
2833 2003-03-22 Tor Lillqvist <tml@iki.fi>
2835 Changes for Windows:
2837 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2839 + We don't want to hardcode the fonts.conf file location in the
2840 DLL, so we look up the DLL location at run-time in a DllMain()
2841 function. The fonts.conf location is deduced from that.
2843 + The colon can't be used as path separator on Windows,
2844 semicolon is used instead. File path components can be separated
2845 with either slash or backslash. Absolute paths can also begin
2846 with a drive letter.
2848 + Add internal function FcStrLastSlash that strrchr's the last
2849 slash, or backslash on Windows.
2851 + There is no link() on Windows. For atomicity checks, mkdir a
2852 lock directory instead.
2854 + In addition to HOME, also look for USERPROFILE.
2856 + Recognize the special font directory token WINDOWSFONTDIR, to
2857 use the system's font directory.
2859 + Remove the fontconfig-def.cpp that was obsolete. Add
2860 fontconfig.def(.in), without internal functions.
2862 + Add a fontconfig-zip(.in) script, used to build a binary
2865 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2866 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2867 to main package and man3/* to devel package
2869 + Added missing defattr(-, root, root) to main RPM package
2871 + Added HTML and text development documentation to -devel subpackage
2873 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2874 + Added back the configure macro options --disable-docs, otherwise
2875 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2876 version number) unconditionally, causing RPM to fail the build due
2877 to _unpackaged_files_terminate_build. We pick up the pregenerated
2878 docs with %doc already.
2880 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2881 + Removed commented out rpm macro define at top of spec file,
2882 replacing it with a simple explanation, since rpm macros are
2883 expanded by rpm even in comments.
2885 + Changed /usr/bin to _bindir in BuildRequires lines
2887 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2889 + Reorganized file manifest lists
2891 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2893 + fontconfig.spec.in: Improvements from Red Hat spec file.
2895 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2897 + docs/*.sgml: SGML fixes.
2899 Sat Mar 1 17:28:53 PST 2003 keithp
2900 + Ok, so the ChangeLog is a bit out of date
2902 + Lots of bugs fixed; most are in bugzilla, the
2903 biggest problems were in cache management where
2904 Owen discovered the library would lose badly when
2905 combining fonts-cache and ~/.fonts-cache data
2907 + Converted from autoconf to automake. This after
2908 getting patches accepted into libtool to allow
2909 the '-version-number' argument which lets
2910 packages set version numbers explicitly rather
2911 than the roundabout libtool way
2913 + Converted documentation to SGML using the docbook
2914 DTD. Now .txt and .html documents are installed
2915 in /usr/share/doc/fontconfig and there's no
2916 man page. Perhaps a man version can be written
2919 Sat Aug 31 15:21:22 PDT 2002 keithp
2920 + Xrender and Xft had several bugs related to
2921 rendering manually placed or poly-face text
2923 + Added more complete memory tracing in fontconfig
2924 Checked with (patched) mozilla and found no leaks
2926 + Updated Latin orthographies by comparing those from
2927 evertype.com with those from eki.ee. Tried to make
2928 sensible choices, including chars that occured in both
2929 and leaving some optional chars out that occured only
2932 Mon Aug 26 16:33:04 PDT 2002 keithp
2933 + Owen discovered that FcLangSetHasLang wasn't actually
2934 checking the language set.
2936 Mon Aug 26 13:37:23 PDT 2002 keithp
2937 + Append a version number to cache filenames
2939 Thu Aug 22 11:36:18 PDT 2002 keithp
2941 + Add "contains" and "not_contains" operators and elements to
2944 + Changed semantics of eq operator for LangSets to check for
2945 FcLangEqual so that any match will do
2947 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2948 of FcValueEqual to check for identical values when inserting into
2949 the results. This broke when the above semantic change was made,
2950 now it uses FcValueEqual which is "more correct" in any case.
2952 Thu Aug 22 00:32:29 PDT 2002 keithp
2954 + Reimplement FC_LANG as new datatype. Lists of strings
2955 was consuming over a megabyte of memory for 401 fonts.
2957 + Freeze patterns loaded from cache files. This shares
2958 common value lists and common patterns which saves
2959 considerable memory.
2961 + Change the denotation of 'constant' charsets to use special
2962 ref value instead of separate boolean.
2964 + Clean up leak tracing stuff, found several unannoted alloc/free
2967 Tue Aug 20 16:17:37 PDT 2002 keithp
2969 + Fix memory leak when parsing matrices from XML
2971 Mon Aug 19 11:57:27 PDT 2002 keithp
2973 + Fix autoconf files to pass FONTCONFIG_PATH on
2974 compile line so that ${prefix} gets substituted
2977 + Use getc_unlocked/putc_unlocked on systems that
2978 provide them to avoid damage done to stdio by posix
2980 + Eliminate FC_PATTERN and FcTypePattern in favor of
2981 an extended api for FcConfigSubstitute which takes
2982 both the font and the pattern.
2984 + Add 'sans serif' alias for 'sans-serif' as some apps
2985 can't handle hyphens in family names
2987 + Eliminate pretense of support for libxml2
2989 + Comment origins of Han orthographies
2991 Tue Jul 30 18:37:09 PDT 2002 keithp
2993 + Add binding property to edit element so that strong
2994 binding values may be inserted by the config file.
2995 The default remains weak.
2997 Sun 28 Jul 04:16:55 PDT 2002 keithp
2999 + Tagged release candidate 1 in the CVS tree and
3000 placed fcpackage.rc1.tar.gz for distribution
3002 Thu Aug 1 08:55:08 PDT 2002 keithp
3004 + Fixed autoconf builds to always specify install
3005 target files (for BSD). Also fixed to
3006 define FONTCONFIG_PATH in config.h so that
3007 nonstandard installs will actually work.