1 2006-04-11 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcGlobalCacheReadDir):
4 Don't crash if config is null (Coverity defect #984).
6 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
9 * src/fccharset.c (FcCharSetPutLeaf):
10 * src/fclang.c (FcNameUnparseLangSet):
12 Missing bits from previous patches.
14 * src/fccharset.c (FcCharSetSubtractCount):
15 Remove extra semi-colon.
17 * src/fccfg.c (FcConfigBuildFonts):
18 Fix memory leak in error case (Coverity defects #776, #985).
20 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
21 Fix memory leaks (Coverity defects #779, #781)
22 and memory use after free (Coverity defect #780).
24 2006-04-11 Patrick Lam <plam@mit.edu>
25 * src/fccharset.c (FcCharSetPutLeaf):
27 Properly convert static charsets to dynamic charsets.
29 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
32 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
34 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
36 * src/fclang.c: (FcNameUnparseLangSet):
37 Fix memory leak (Coverity defect #1819).
39 * fc-lang/fc-lang.c: (scan):
40 prevent crash when invalid include line is parsed (Coverity defect
43 * fc-cat/fc-cat.c: (FcCacheFileRead):
44 Fix potential null pointer access (Coverity defect #1804).
46 * src/fcname.c: (FcObjectUnserialize):
47 Remove dead code (Coverity defect #1194).
49 * src/fcfreetype.c: (GetScriptTags):
50 Prevent potential null pointer access (Coverity defect #767),
51 ensure error value is read (Coverity defect #1195).
53 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
58 Survive missing docbook2pdf.
60 2006-04-10 Patrick Lam <plam@mit.edu>
62 * fc-glyphname/fc-glyphname.c:
65 Include more stub definitions to make HP-UX's C compiler happy.
67 2006-04-10 Patrick Lam <plam@mit.edu>
68 * src/fcname.c (FcObjectUnserialize):
70 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
72 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
75 * src/fccfg.c: (FcConfigEvaluate):
76 Fix string memory leak (Coverity defect #1823).
78 * src/fccache.c: (FcDirCacheUnlink):
79 Fix memory leak with hash collision (Coverity defect #1824).
81 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
84 * src/fccache.c: (FcGlobalCacheSave):
85 Don't leak header in non-error case (Coverity defect #1825).
87 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
90 * src/fcdir.c (FcDirScanConfig)
91 Don't leak in error cases (Coverity defects #777, #1826)
93 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
96 * src/fccache.c: (FcDirCacheWrite):
97 Fix double free (spotted by Coverity, CID #1965).
99 * fc-match/fc-match.c: (main):
100 Check if pattern is not null before using it (Coverity defect #1883).
102 * src/fccache.c: (FcDirCacheWrite):
103 Fix memory leak with hash collision (Coverity defect #1829).
105 * src/fccfg.c: (FcConfigBuildFonts):
106 Fix memory leak when bail cases (Coverity defect #1828).
108 * src/fccache.c: (FcGlobalCacheLoad):
109 Don't leak directory name (Coverity defect #1827).
111 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
113 * fc-cache/Makefile.am:
114 * fc-cat/Makefile.am:
115 * fc-list/Makefile.am:
116 * fc-match/Makefile.am:
118 LD_ADD missing dependencies for binaries. Reported by
121 2006-04-07 Patrick Lam <plam@mit.edu>
123 * fc-lang/fc-lang.c (main):
125 SGI compilation fixes (reported by Christoph Bauer):
126 1) reorder union definition of _FcChar;
129 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
132 * src/fccharset.c (FcCharSetNeededBytes):
133 * src/fcfs.c (FcFontSetNeededBytes):
135 * src/fclang.c (FcLangSetNeededBytesAlign):
136 * src/fcname.c (FcObjectNeededBytesAlign):
137 * src/fcpat.c (FcPatternNeededBytesAlign,
138 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
140 Portability fixes for HP-UX (reported by Christoph Bauer).
141 Replace '__inline__' by AC_C_INLINE and 'inline'.
142 Replace '__alignof__' by 'fc_alignof'.
144 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
148 Move up #include of config.h.
149 Fail if neither inttypes.h nor stdint.h is available.
152 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
153 Patrick Lam <plam@mit.edu>
155 * fc-cache/fc-cache.c:
157 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
158 FcDirCacheConsume, FcDirCacheProduce,
159 FcDirCacheWrite, FcCacheMachineSignature):
160 * src/fcfreetype.c (FcFreeTypeQuery):
161 * src/fontconfig.def.in:
163 Make fontconfig compile under MinGW:
164 1) remove unneeded #includes;
165 2) make use of mmap and sysconf conditional;
166 3) replace rand_r by srand/rand if needed;
167 4) use chsize instead of ftruncate; and
168 5) update libtool exports file
170 2006-04-07 Patrick Lam <plam@mit.edu>
171 * src/fcdir.c (FcDirScanConfig):
175 2006-04-06 Patrick Lam <plam@mit.edu>
176 * fc-match/.cvsignore:
177 * fc-match/Makefile.am:
178 * fc-match/fc-match.sgml:
180 Update documentation for fc-match (SGML-ize it).
181 (reported by Ilya Konstantinov)
183 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
189 Reduce amount of dirty rss by const'ing some data structures.
191 2006-04-06 Patrick Lam <plam@mit.edu>
192 * fc-cache/Makefile.am:
194 Don't fail if we can't create or remove
195 $(pkgcachedir) i.e. /var/cache/fontconfig.
196 (reported by Quanah Gibson-Mount).
198 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
201 * fc-glyphname/fc-glyphname.c:
202 * fc-lang/fc-lang.c (main):
203 * fc-match/fc-match.c:
204 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
206 * src/fcfreetype.c (FcFreeTypeQuery):
207 * src/fclang.c (FcFreeTypeLangSet):
210 Fix intel compiler warnings: make many variables static,
211 eliminate duplicate names, reduce variable scopes, unsigned/signed
214 2006-03-24 Mike Fabian <mfabian@suse.de>
216 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
218 Fix multiarch support (don't destroy multiarch files!)
220 2006-03-24 Patrick Lam <plam@mit.edu>
223 Require pkg-config. (Thanks Behdad;
224 better solution wanted for libxml2 detection!)
226 2006-03-22 Patrick Lam <plam@mit.edu>
229 On Windows, unlink before rename. Reported by Tim Evans.
231 2006-03-15 Patrick Lam <plam@mit.edu>
235 Fix typos in orth files. Reported by Denis Jacquerye.
237 2006-03-08 Patrick Lam <plam@mit.edu>
239 * config/config.guess:
242 Fix Makefile.am for removal of debian/ directory.
244 2006-03-08 Patrick Lam <plam@mit.edu>
247 Ignore debian/ directory for CVS.
249 2006-03-08 Patrick Lam <plam@mit.edu>
252 Now remove debian/ directory.
254 2006-03-08 Patrick Lam <plam@mit.edu>
257 Remove debian/ directory from sources. See Debian's subversion
258 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
261 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
265 * fc-lang/iso639-1, fc-lang/iso639-2:
267 Add orthography for Lingala.
269 2006-03-08 Carl Worth <cworth@cworth.org>
272 * conf.d/Makefile.am:
273 * conf.d/10LohitGujarati.conf:
275 Add a configuration file that disables hinting for the Lohit
276 Gujarati font (since the hinting distort some glyphs quite badly).
278 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
281 * src/fcdir.c (FcDirScanConfig):
283 Sort directory entries while scanning them from disk;
284 prevents Heisenbugs due to file ordering in a directory.
286 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
289 * src/fcfreetype.c (GetScriptTags):
290 * src/ftglue.c, src/ftglue.h:
292 Remove stuff we don't use, make get_{char,short,long} functions
293 of ftglue macros to be inlined.
296 * src/fcname.c (FcObjectSerialize):
298 Code cleanups (excess prototype, old-style function definition).
300 2006-03-05 Patrick Lam <plam@mit.edu>
301 * src/fcpat.c (FcPatternGetString):
303 Because we hacked FcPatternGet, we don't really need to expand the
304 filename again in FcPatternGetString.
306 2006-03-05 Patrick Lam <plam@mit.edu>
307 * src/fcpat.c (FcPatternGetString, FcPatternGet):
309 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
310 Make that work. Reported by Bernhard Rosenkraenzer.
312 2006-03-03 Patrick Lam <plam@mit.edu>
315 Include inttypes.h instead of stdint.h if appropriate.
317 2006-03-03 Patrick Lam <plam@mit.edu>
318 * fc-cat/fc-cat.c (FcFileIsDir):
319 * fc-glyphname/fc-flyphname.c:
321 More stub definitions and remove FcFileIsDir from fc-cat.
323 2006-03-03 Patrick Lam <plam@mit.edu>
326 Fix compilation on AIX with stub definitions (bug 6097).
328 2006-03-03 Patrick Lam <plam@mit.edu>
329 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
330 * src/fcfreetype.c (GetScriptTags):
331 * src/fcfs.c (FcFontSetDistributeBytes):
332 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
334 Get rid of C++-style comments.
336 2006-03-03 Patrick Lam <plam@mit.edu>
339 Enable creation of 2.3.94 Debian packages.
341 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
344 * src/fclang.c (FcCharSetForLang):
346 Fix suspicious return expression which causes junk
349 2006-02-24 Patrick Lam <plam@mit.edu>
353 * fontconfig/fontconfig.h:
355 Bump version to 2.3.94.
357 2006-02-24 Patrick Lam <plam@mit.edu>
362 2006-02-24 Patrick Lam <plam@mit.edu>
363 * conf.d/10-fonts-persian.conf:
365 Remove unconditional emboldening (per Behdad's instructions).
369 Add @s to hide some echos.
371 2006-02-24 Mike Fabian <mfabian@suse.de>
372 Takashi Iwai <tiwai@suse.de>
375 * src/fcfreetype.c (GetScriptTags):
377 Fix double-free on error case.
379 2006-02-21 Patrick Lam <plam@mit.edu>
380 * fc-lang/fc-lang.c (scan):
382 Strip \r and whitespace from input; fixes bug 3454.
384 2006-02-21 Patrick Lam <plam@mit.edu>
385 * fc-lang/fc-lang.c (main):
387 Allocate large arrays statically in fc-lang to fix crashes under
390 2006-02-21 Diego Petten <flameeyes@gentoo.org>
391 * src/fcfreetype.c (FcFreeTypeCharIndex):
393 Pass the buck; make fontconfig not crash on pango badness.
395 2006-02-21 Patrick Lam <plam@mit.edu>
396 * conf.d/10-fonts-persian.conf:
398 Use embeddedbitmap rather than rh_prefer_bitmap.
400 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
403 * src/fccache.c (FcDirCacheWrite):
404 * src/fcdir.c (FcFileScanConfig):
405 * src/fcfreetype.c (FcStringInPatternElement):
406 * src/fcxml.c (FcParseFamilies):
407 * src/ftglue.c (ftglue_face_goto_table):
409 Eliminate redundancies.
411 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
414 * fc-list/fc-list.c (main):
415 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
416 * src/fcstr.c (FcStrStr):
417 * src/fcxml.c (FcConfigSaveAttr):
419 Eliminate unused vars reported by Intel's compiler.
421 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
426 Remove one more archaic character.
428 2006-02-21 Ross Burton <ross@burtonini.com>
429 reviewed by: plam, keithp
431 * src/fcxml.c (FcParsePatelt):
433 Freeze patterns created by configuration file for tiny
434 memory savings (every little bit helps).
436 2006-02-21 Mike Fabian <mfabian@suse.de>
439 * fc-cat/fc-cat.c (main):
441 Initialize fontconfig library in fc-cat to avoid segfault.
443 2006-02-18 Patrick Lam <plam@mit.edu>
444 * fc-cache/fc-cache.c (scanDirs):
445 * src/fccache.c (FcCacheReadDirs):
446 * src/fcdir.c (FcDirScanConfig):
448 Fix the underlying cause of the below segfault (must usually
449 call FcDirCacheHasCurrentArch after FcDirCacheValid).
451 2006-02-18 Patrick Lam <plam@mit.edu>
452 * src/fccache.c (FcDirCacheHasCurrentArch):
454 Fix triggering of segfault caused by misreading cache files
455 (reported by fcrozat).
457 2006-02-17 Patrick Lam <plam@mit.edu>
458 * src/fcint.h (FC_CACHE_MAGIC):
460 Bump up magic version; we changed the binary format.
462 2006-02-17 Patrick Lam <plam@mit.edu>
463 * fc-cat/fc-cat.c (main):
465 Enable fc-cat to print out old-style cache info when given a
468 2006-02-16 Patrick Lam <plam@mit.edu>
469 * src/fccache.c (FcDirCacheHasCurrentArch):
471 Deal correctly with changing FC_CACHE_MAGIC.
473 2006-02-16 Patrick Lam <plam@mit.edu>
474 * fc-cache/fc-cache.c (usage, scanDirs, main):
476 Add -r --really-force option which blows away cache files and then
479 2006-02-16 Patrick Lam <plam@mit.edu>
480 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
482 Don't bail if fontconfig can't remove a dir cache file.
483 Skip the ID of a cache file when copying.
484 Eliminate 'source file too small' bug in FcDirCacheWrite.
486 2006-02-13 Patrick Lam <plam@mit.edu>
487 * src/fcfreetype.c (FcFreeTypeQuery):
489 Fix memory leak in error condition code.
491 2006-02-13 Mike Fabian <mfabian@suse.de>
493 * src/fcfreetype.c (FcFreeTypeQuery):
495 Skip bitmap fonts which can't even get it together enough to
496 declare a family name; this appears to reproduce previous
497 fontconfig behaviour.
499 2006-02-10 Takashi Iwai <tiwai@suse.de>
501 * src/fccache.c (FcDirCacheOpen):
503 Try to open /var/cache/fontconfig/[hashed name] before
504 fonts.cache-2 in a directory, because /var/cache/fontconfig
505 failures ought to be fixable, unlike fonts.cache-2 failures,
506 which may leave you screwed.
508 2006-02-10 Takashi Iwai <tiwai@suse.de>
510 * src/fcmatch.c (FcFontSetMatch):
512 Use a tri-state to mark the fonts which didn't get blocked but
513 were just missing an element, to distinguish them from the
514 fonts that do match the element.
516 2006-02-10 Takashi Iwai <tiwai@suse.de>
518 * src/fcmatch.c (FcFontSetMatch):
520 Don't kill fonts because they don't declare an element that's
523 2006-02-09 Patrick Lam <plam@mit.edu>
524 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
525 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
527 Define and pass O_BINARY to open if appropriate, for those
528 platforms that need it. Reported by Doodle.
530 2006-02-09 Patrick Lam <plam@mit.edu>
531 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
534 Fix problem with missing 'en' due to euro.patch: change
535 cache file format slightly to coincide with that generated
538 2006-02-07 Patrick Lam <plam@mit.edu>
539 * src/fccache.c (FcCacheReadDirs):
543 2006-02-07 Patrick Lam <plam@mit.edu>
544 * src/fcdir.c (FcDirScanConfig):
546 Don't reject dirs that can't be normalized (fixes lilypond, and
547 is correct in the context of application font directories.)
549 2006-02-07 Takashi Iwai <tiwai@suse.de>
552 * src/fccache.c (FcCacheReadDirs):
554 Use normalized directory name exclusively in FcCacheReadDirs.
556 2006-02-07 Dirk Mueller <dmueller@suse.com>
559 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
561 Perf optimizations. Inline FcValueCanonicalize,
562 reduce FcValueListPtrU usage, remove redundant cast.
564 2006-02-07 Takashi Iwai <tiwai@suse.de>
567 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
570 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
571 Declare extern for static arrays as arrays, not pointers.
572 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
574 2006-02-07 Dirk Mueller <dmueller@suse.com>
587 Add Euro sign to list of symbols required by European languages.
589 2006-02-07 Patrick Lam <plam@mit.edu>
590 * src/fccache.c (FcCacheReadString):
592 Fix hidden variable warning.
594 2006-02-07 Dirk Mueller <dmueller@suse.com>
597 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
599 Remove de-escaping logic because FcCacheWriteString
600 doesn't escape anyway. Do blockwise reading instead
601 of byte-wise for performance.
603 2006-02-06 Patrick Lam <plam@mit.edu>
604 Takashi Iwai <tiwai@suse.de>
606 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
608 Don't loop infinitely on recursive symlinks (client-side).
610 2006-02-06 Takashi Iwai <tiwai@suse.de>
612 * fc-cache/fc-cache.c (scanDirs, main):
614 Don't loop infinitely on recursive symlinks.
616 2006-02-06 Takashi Iwai <tiwai@suse.de>
618 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
619 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
620 FcGlobalCacheSave, FcCacheReadDirs):
623 Skip subdirs when skipping over stale bits of global cache.
624 Introduce state machine into FcGlobalCacheDir to avoid
625 doing inappropriate operations on global dir entries, e.g.
626 writing out an out-of-date cache entry.
628 2006-02-06 Takashi Iwai <tiwai@suse.de>
630 * src/fcdir.c (FcFileScanConfig):
632 Hoist FcFileIsDir check out of FcFileScanConfig loop.
634 2006-02-06 Takashi Iwai <tiwai@suse.de>
637 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
638 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
640 Don't rescan when trying to normalize a non-declared font dir.
641 Don't add font dirs multiple times (even if they're aliased).
643 2006-02-06 Dirk Mueller <dmueller@suse.de>
646 * src/fcfs.c (FcFontSetUnserialize):
648 Explain apples/oranges comparison and fix compilation error.
650 2006-02-06 Dirk Mueller <dmueller@suse.de>
653 * src/fcfs.c (FcFontSetUnserialize):
655 Insert check for integer overflow in # of fonts.
657 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
661 * fc-cache/Makefile.am:
662 * fc-cat/Makefile.am:
663 * fc-list/Makefile.am:
665 Make 'make distcheck' work with automake 1.6.3.
667 2006-02-03 Takashi IWAI <tiwai@suse.de>
670 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
673 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
674 FcDirCacheConsume, FcDirCacheWrite)
675 * src/fcxml.c (FcConfigMessage):
677 Check I/O call return values and eliminate unused variable
680 2006-02-03 Takashi Iwai <tiwai@suse.de>
683 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
687 2006-02-03 Dirk Mueller <dmueller@suse.de>
690 * src/fcfs.c (FcFontSetUnserialize):
692 Gracefully handle the case where a cache asserts that it
693 has a negative number of fonts, causing overflow.
695 2006-02-03 Patrick Lam <plam@mit.edu>
696 * src/fccache.c (FcDirCacheUnlink):
698 Fix double free in error case.
700 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
701 Stephan Kulow <coolo@suse.de>
704 * fc-cache/Makefile.am:
706 Replace 'stamp' target with mkinstalldirs.
708 2006-01-31 Mike Fabian <mfabian@suse.de>
711 * src/fccache.c (FcGlobalCacheLoad):
713 Toast broken global cache files.
715 2006-01-30 Patrick Lam <plam@mit.edu>
716 * src/fccache.c (FcGlobalCacheReadDir):
718 Actually use the directories that I added to the global cache.
721 2006-01-30 Mike Fabian <mfabian@suse.de>
724 * fc-cache/fc-cache.c (scanDirs):
726 Don't stop scanning if a directory in fonts.conf doesn't
727 exist, because subsequent directories might exist.
729 2006-01-30 Patrick Lam <plam@mit.edu>
730 * src/fccache.c (FcGlobalCacheLoad):
732 Make global cache work again after putting dir names into global
733 cache (I misplaced the recording of a file offset).
735 2006-01-30 Patrick Lam <plam@mit.edu>
736 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
738 Update fc-cat to handle subdir lists in global cache file.
740 * src/fccache.c (FcGlobalCacheLoad):
742 Another FcCacheReadString return value check.
744 2006-01-30 Mike Fabian <mfabian@suse.de>
747 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
748 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
750 Make fccache more resilient to broken cache files by checking
751 return value of FcCacheReadString all the time.
753 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
756 * fc-match/fc-match.1:
757 * fc-lang/fc-lang.man:
759 Remove references to dead fontconfig(3) manpages in
760 other fontconfig manpages.
762 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
765 * doc/fcpattern.fncs:
767 Fix world's tiniest typo in code example.
769 2006-01-29 Mike Fabian <mfabian@suse.de>
772 * src/fccache.c (FcGlobalCacheReadDir):
774 Fix global cache reads of subdirectories.
776 2006-01-29 Patrick Lam <plam@mit.edu>
778 Add documentation for FcConfigNormalizeFontDir.
780 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
781 FcGlobalCacheUpdate, FcGlobalCacheSave):
782 * src/fcdir.c (FcDirScanConfig):
785 Write directory information to global caches to fix make check
786 (reported by Ronny V. Vindenes). This changes the global cache
789 2006-01-27 Patrick Lam <plam@mit.edu>
790 * fc-cache/fc-cache.c (scanDirs):
791 * fontconfig/fontconfig.h:
793 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
795 Move FcConfigNormalizeFontDir call so that it doesn't result in
796 infinite recursion (reported by Ronny V. Vindenes).
798 2006-01-26 Patrick Lam <plam@mit.edu>
799 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
800 * src/fccfg.c (FcConfigNormalizeFontDir):
802 Add a couple of missing normalizations to make fc-cache work
803 right; only scan subdirectories once.
805 2006-01-26 Mike Fabian <mfabian@suse.de>
808 * src/fcacache.c (FcGlobalCacheReadDir):
810 Don't crash on non-existant directories in global cache.
812 2006-01-26 Patrick Lam <plam@mit.edu>
813 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
814 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
815 * src/fcdir.c (FcDirScanConfig):
816 * src/fcxml.c (FcEndElement):
818 Stop trampling the directory name when writing out caches.
819 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
820 subdirs when necessary. Don't scan directories that can't be
823 2006-01-25 Patrick Lam <plam@mit.edu>
824 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
825 * src/fccfg.c (FcConfigEvaluate):
826 * src/fcfreetype.c (FcPatternAddWithBinding):
828 Fix additional memory leaks reported by Ronny V. Vindenes: don't
829 invoke FcValueSave on hashed static strings in
830 FcPatternAddWithBinding.
832 Add another st_dev check in FcDirCacheOpen.
834 2006-01-24 James Su <james.su@gmail.com>
837 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
838 * fc-lang/zh_hk.orth:
840 Treat zh-hk fonts differently from zh-tw fonts. This patch may
841 cause fontconfig to treat A-X fonts differently from A-Y fonts;
842 please mail the fontconfig list if this causes any problems.
844 2006-01-24 Patrick Lam <plam@mit.edu>
845 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
846 * src/fcfreetype.c (FcFreeTypeQuery):
848 Fix memory leaks reported by Ronny V. Vindenes.
850 2006-01-19 Andreas Schwab <schwab@suse.de>
853 * src/fcpat.c (FcStrNeededBytes):
855 Fix for unaligned memory accesses.
857 2006-01-18 Mike Fabian <mfabian@suse.de>
860 * src/fcdir.c (FcDirScanConfig):
862 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
863 calls to avoid crashes.
865 2006-01-14 Patrick Lam <plam@mit.edu>
866 * src/fccache.c (FcDirCacheConsume):
868 Fix segfault when consuming zero-length caches in fc-cat
869 (which has no config, so FcConfigAddFontDir shouldn't be called.)
871 2006-01-14 Patrick Lam <plam@mit.edu>
872 * fc-cache/fc-cache.c (scanDirs):
873 * fontconfig/fontconfig.h:
874 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
875 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
876 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
877 * src/fcdir.c (FcDirScanConfig):
880 Compare device numbers as well as inodes.
881 Always normalize directory names before comparing them.
883 2006-01-11 Mike Fabian <mfabian@suse.de>
886 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
888 Allocate extra space for appended '/' in directory name.
890 2006-01-10 Patrick Lam <plam@mit.edu>
891 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
892 FcDirCacheValid, FcDirCacheHasCurrentArch,
893 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
894 * fc-cache/fc-cache.c (main):
896 Explicitly add font dirs to config.fontDirs even if they're empty.
897 Set current config in fc-cache.c.
898 Fix treatment of cache directory as read from cache file; don't
899 use string equality to determine if we have the right file,
902 2006-01-09 Patrick Lam <plam@mit.edu>
903 * fc-cache/fc-cache.c (scanDirs):
904 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
905 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
906 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
907 * src/fccfg.c (FcConfigNormalizeFontDir):
908 * src/fcdir.c (FcDirScanConfig):
911 Normalize font dirs by using the form, as given in fonts.conf, and
912 recorded in FcConfig's fontDirs string set, as canonical.
914 Actually update config.fontDirs as font directories are scanned.
916 2006-01-08 James Su <james.su@gmail.com>
917 * src/fcmatch.c (FcFontSetMatch):
919 Fix matching bug when multiple elements match; don't use
920 the sum of all scores, but the best score.
922 Also more perf opts, e.g. evaluate best over all font sets
923 rather than on a per-set basis (and other changes).
925 2006-01-08 Patrick Lam <plam@mit.edu>
926 * src/fccache.c (FcDirCacheConsume):
928 Properly skip past dir caches that contain zero fonts (as occurs
929 in global caches.) Reported by Mike Fabian.
931 2006-01-06 Patrick Lam <plam@mit.edu>
932 * src/fcdbg.c (FcPatternPrint):
934 Print out full pathname in fc-match -v as well. Reported by
937 2006-01-06 Mike Fabian <mfabian@suse.de>
940 * src/fcname.c (FcNameParse):
942 Fix bug where fc-match crashes when given __DUMMY__ property to
945 (I added the __DUMMY__ string to enable callers of
946 FcObjectToPtrLookup to distinguish an error return from a
947 successful return. -PL)
949 2006-01-05 Patrick Lam <plam@mit.edu>
952 Add self to AUTHORS list.
954 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
955 FcCacheFileRead, FcCachePrintSet, main):
956 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
957 FcGlobalCacheSave, FcCacheNextOffset,
958 FcDirCacheHasCurrentArch, FcDirCacheRead,
959 FcDirCacheConsume, FcDirCacheWrite):
961 * src/fcpat.c (comment):
963 Minor change to global cache file format to fix fc-cat bug
964 reported by Frederic Crozat, and buglet with not globally caching
965 directories with zero fonts cached.
967 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
970 * src/fccfg.c (FcConfigEvaluate):
972 Fix double-free which occurs because FcValueCanonicalize doesn't
973 create an extra copy of the returned value, it only canonicalizes
976 2006-01-02 Patrick Lam <plam@mit.edu>
977 * doc/fontconfig-user.sgml:
979 Fix version of .cache file (currently 1 -> currently 2). Reported
982 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
985 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
987 Shut up GCC warnings on amd.
989 2005-12-20 Patrick Lam <plam@mit.edu>
993 * fontconfig/fontconfig.h:
995 Bump version to 2.3.93.
997 2005-12-20 Patrick Lam <plam@mit.edu>
998 * src/fccharset.c (FcLangCharSetPopulate):
999 * src/fcint.h (FcCacheBankToIndex):
1001 Avoid check on _fcBankId nullness and fix case where it used to
1004 2005-12-20 Patrick Lam <plam@mit.edu>
1005 * src/fcxml.c (FcConfigParseAndLoad):
1007 Use open instead of fopen (requested by Phil Race for Sun).
1009 2005-12-20 Patrick Lam <plam@mit.edu>
1010 * src/fccache.c (FcDirCacheWrite);
1011 * fc-cache/Makefile.am:
1013 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1016 2005-12-20 Patrick Lam <plam@mit.edu>
1017 * src/fcfreetype.c (FcFreeTypeQuery):
1019 Restore code to skip over PCF fonts that have no encoded
1021 (We guess that a font is PCF by presence of the PIXEL_SIZE
1024 2005-12-12 Patrick Lam <plam@mit.edu>
1025 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1027 Read and write the original location as a fallback for the
1028 hashed cache file locations. This is mostly for users to be
1029 able to have per-directory cache files.
1031 2005-12-12 Patrick Lam <plam@mit.edu>
1032 * fc-cache/fc-cache.c (scanDirs):
1033 * fc-cache/Makefile.am:
1034 * src/fccache.c (FcDirCacheHashName):
1036 Improve error message when fc-cache can't write the cache. Add
1037 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1038 create /var/cache/fontconfig when appropriate.
1040 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1043 * src/fcxml.c (FcConfigGetAttribute):
1045 Fix crash reported by Frederic Crozat when using libxml2.
1047 2005-12-09 Patrick Lam <plam@mit.edu>
1050 * fc-cache/Makefile.am:
1051 * fc-cat/Makefile.am:
1053 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1054 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1055 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1056 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1057 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1058 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1060 Migrate cache files from fonts directories to
1061 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1062 but requires that all caches get rebuilt.
1064 Also, autogen.sh now needs the additional parameter
1065 --localstatedir=/var.
1067 2005-12-07 Patrick Lam <plam@mit.edu>
1068 * src/fcpat.c (FcPatternAddString):
1070 Because we've changed FcPatternAddString to use FcStrStaticName
1071 and not FcValueSave, explicitly handle the case of a null string.
1073 2005-12-06 Patrick Lam <plam@mit.edu>
1074 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1078 2005-12-05 Patrick Lam <plam@mit.edu>
1079 * src/fcname.c (FcNameGetObjectType):
1081 Don't assign types to user object names.
1083 2005-12-05 Patrick Lam <plam@mit.edu>
1084 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1086 Don't free strings that have been returned from FcStrStaticName.
1088 2005-12-01 Patrick Lam <plam@mit.edu>
1089 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1091 Add codepath for reading global cache files as well.
1093 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1096 * conf.d/10-fonts.persian.conf:
1097 * conf.d/Makefile.am:
1099 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1101 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1104 * src/fcxml.c (FcConfigParseAndLoad):
1106 Only add a config file to the set of config files once.
1108 2005-11-29 Patrick Lam <plam@mit.edu>
1109 * src/fcint.h (FcCacheBankToIndex);
1111 Fix segfault by guarding array dereference.
1113 2005-11-29 Dirk Mueller <dmueller@suse.de>
1116 * fc-lang/fc-lang.c:
1117 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1118 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1122 Refactor FcCacheBankToIndex into an inlineable part
1123 (in fcint.h) which checks the front of the list and a
1124 non-inlineable part which finds and moves the appropriate element
1125 to the front of the list.
1127 2005-11-29 Patrick Lam <plam@mit.edu>
1128 * src/fccfg.c (FcConfigBuildFonts):
1129 * src/fccache.c (FcCacheReadDirs):
1131 Make the perf guys hate me a bit less: hoist the directory-name
1132 FcConfigAcceptFont check for cached fonts up to directory cache
1133 read time, rather than running it for each font.
1135 2005-11-29 Patrick Lam <plam@mit.edu>
1136 * src/fccfg.c (FcConfigBuildFonts):
1138 * src/fcpat.c (FcPatternFindFullFname):
1140 Don't make FcPatternFindFullFname available to fccfg, it's not
1141 really safe. Instead go through FcPatternGetString (sorry,
1142 perf guys.) Also, use globs for dirs as well.
1144 2005-11-28 Patrick Lam <plam@mit.edu>
1145 * src/fccfg.c (FcConfigBuildFonts):
1149 2005-11-28 Patrick Lam <plam@mit.edu>
1151 * src/fcpat.c (FcPatternFindFullFname):
1152 * src/fccfg.c (FcConfigBuildFonts):
1154 Fix problem dating back at least to 2.3.2 where globs weren't
1155 being applied to patterns loaded from a cache.
1157 2005-11-28 Patrick Lam <plam@mit.edu>
1158 * doc/fontconfig-user.sgml:
1160 Fix some obvious spelling mistakes.
1162 2005-11-28 Dirk Mueller <dmueller@suse.com>
1163 Stephan Kulow <coolo@suse.de>
1166 * src/fcmatch.c (FcFontSetMatch):
1168 Don't kill all fonts during match (oops!)
1171 2005-11-25 Dirk Mueller <dmueller@suse.com>
1172 Stephan Kulow <coolo@suse.de>
1173 Michael Matz <matz@suse.de>
1176 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1179 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1180 inline FcCompare into FcFontSetMatch and reorder the
1181 loops, adding a boolean array which blocks patterns from future
1182 consideration if they're known to not be best on some past
1185 2005-11-26 Dirk Mueller <dmueller@suse.com>
1188 * src/fcmatch.c (FcCompareValueList):
1190 Fix incorrect merge.
1192 2005-11-25 Patrick Lam <plam@mit.edu>
1193 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1195 Don't do random matching when bad objects are passed into
1198 2005-11-25 Patrick Lam <plam@mit.edu>
1200 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1201 FcPatternSerialize, FcPatternUnserialize,
1202 FcValueListEnsureBank, FcValueListDistributeBytes,
1203 FcValueListUnserialize):
1205 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1206 _fcPatternElts, _fcValueLists for consistency.
1208 2005-11-25 Dirk Mueller <dmueller@suse.com>
1213 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1215 2005-11-25 Patrick Lam <plam@mit.edu>
1217 * src/fccache.c (FcDirCacheConsume):
1218 * src/fccharset.c (FcCharSetUnserialize):
1219 * src/fcfs.c (FcFontSetUnserialize):
1220 * src/fclang.c (FcLangSetUnserialize):
1221 * src/fcname.c (FcObjectUnserialize):
1222 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1223 FcPatternUnserialize):
1225 Pass around FcCache *s to the Unserialize functions for extra
1226 consistency (and less overhead, for what that's worth).
1228 2005-11-24 Dirk Mueller <dmueller@suse.com>
1232 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1233 * src/fcname.c (FcNameUnparseValue):
1235 Inline the *PtrU functions to gain perf.
1236 Remove unneeded params for the FcCompare* functions.
1238 2005-11-24 Dirk Mueller <dmueller@suse.com>
1241 * src/fcint.h, fontconfig/fontconfig.h:
1243 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1245 * src/fcpat.c, src/fcint.h, src/fcname.c:
1247 Check for type validity during FcPatternAddWithBinding, don't
1248 verify type in FcFontMatch, don't call FcCanonicalize here
1249 (which always does a deep copy).
1251 2005-11-24 Dirk Mueller <dmueller@suse.com>
1254 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1255 * src/fcpat.c (FcPatternAddWithBinding):
1257 Make FcCompareString and FcCompareFamily less expensive.
1258 Only add a value for FC_FAMILY if the proposed value is a string.
1260 2005-11-24 Dirk Mueller <dmueller@suse.com>
1263 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1264 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1265 * src/fcint.h (FcDebug):
1267 Inline FcDebug invocations and only initialize once, in FcInit*.
1268 Improve debug msg in FcPatternPrint.
1270 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1273 * fontconfig/fontconfig.h:
1276 Minor code warning cleanups.
1278 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1281 * fc-match/fc-match.c (main):
1283 Make getopt_long accept -s parameter to fc-match as well.
1285 2005-11-21 Dirk Mueller <dmueller@suse.com>
1288 * src/fcmatch.c (FcCompareValueList):
1290 Manually perform inlining & partial redundancy elimination to
1291 reduce calls to FcValueListPtrU.
1293 2005-11-21 Dirk Mueller <dmueller@suse.com>
1296 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1297 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1299 Only invoke strlen() when really necessary.
1301 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1305 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1306 FcFontCapabilities):
1310 Get rid of the use of freetype internal headers in fcfreetype.c,
1311 since those headers will go away with freetype 2.2. Replace with
1312 public domain ftglue code from pango. Note that the patch removes
1313 some extra error checking in FT_Get_BDF_Property() and comments
1314 out the skipping of empty pcf fonts.
1316 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1319 * fc-lang/fc-lang.c (main):
1321 Further fix of patch from 2005-11-04: miscounted numbers count
1322 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1323 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1325 Removed leafidx_count and numbers_count since they are the same
1326 and replaced them with offset_count.
1328 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1331 * fc-cat/fc-cat.c (main):
1333 Don't crash when fc-cat invoked with no arguments.
1335 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1338 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1340 Fix invalid read access caused by premature free and
1341 GCC4 warnings in libxml2 codepath.
1343 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1346 * src/fccfg.c (FcConfigValues):
1348 List iteration not needed in FcConfigValues, since it's building
1349 up the list itself; we can just strip FcVoid elements during
1352 2005-11-17 Patrick Lam <plam@mit.edu>
1353 * src/fccfg.c (FcConfigValues):
1355 Fix crash on invalid constants in config files (forgot to update
1356 a pointer upon list iteration.)
1358 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1361 * src/fcxml.c (FcTypecheckExpr):
1363 Complain about invalid constants in config files.
1365 2005-11-17 Andreas Schwab <schwab@suse.de>
1368 * src/fccache.c (FcGlobalCacheSave):
1370 Don't add current_arch_start more than once.
1372 2005-11-16 Patrick Lam <plam@mit.edu>
1373 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1374 * src/fcfs.c (FcFontSetUnserialize):
1375 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1376 * src/fcpat.c (FcStrUnserialize):
1378 Fix ordering of ALIGN with respect to saving block_ptr; add
1379 another ALIGN to fcfs.c.
1381 2005-11-16 Patrick Lam <plam@mit.edu>
1382 * src/fccache.c (FcDirCacheProduce)
1384 Fix case where alignment bytes bumped up metadata->count
1385 causing unwarranted failures to write cache files.
1386 (Reported by Stephan Kulow).
1388 2005-11-16 Patrick Lam <plam@mit.edu>
1389 * src/fccache.c (FcDirCacheProduce):
1390 * src/fccharset.c (FcCharSetDistributeBytes):
1391 * src/fcfs.c (FcFontSetDistributeBytes):
1393 * src/fclang.c (FcLangSetDistributeBytes):
1394 * src/fcname.c (FcObjectDistributeBytes):
1395 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1398 Add *NeededBytesAlign(), which overestimates the padding which is
1399 later added by the new ALIGN macro. Fix alignment problems on
1400 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1401 version by Andreas Schwab).
1403 2005-11-16 Stephan Kulow <coolo@kde.org>
1408 Use sysconf to determine proper PAGESIZE value; this
1409 appears to be POSIX-compliant. (reported by Andreas Schwab)
1411 2005-11-04 Patrick Lam <plam@mit.edu>
1412 * fc-lang/fc-lang.c:
1417 Fix bug 2878 (excessive relocations at startup for charsets,
1418 reported by Ross Burton): fc-lang/fc-lang now creates the
1419 static form of the langset, not the dynamic form, so that
1420 the charsets should now be in .rodata.
1422 2005-11-04 Patrick Lam <plam@mit.edu>
1423 * src/fcdir.c (FcDirScanConfig):
1425 Add test for validity of directory caches that
1426 somehow got lost (reported by make distcheck).
1428 2005-11-04 Patrick Lam <plam@mit.edu>
1432 * fontconfig/fontconfig.h:
1434 Bump version to 2.3.92.
1436 2005-11-02 Patrick Lam <plam@mit.edu>
1437 * src/fcpat.c (FcPatternDuplicate):
1439 Fix argument ordering problem in call to FcPatternTransferFullFname.
1441 2005-11-02 Patrick Lam <plam@mit.edu>
1442 * src/fcfreetype.c (FcFreetypeQuery):
1443 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1444 FcPatternTransferFullFname):
1446 Fix warnings and embarrassing double-free error.
1448 2005-11-02 Zhe Su <zsu@novell.com>
1453 Change the rule for artificial emboldening in fonts.conf.in. This
1454 enables the support for artificial emboldening included in cairo.
1456 2005-11-02 Patrick Lam <plam@mit.edu>
1457 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1459 Don't zero out full names for FC_REF_CONSTANT fonts;
1460 also, duplicate full names when transferring, and free
1461 full names when freeing the associated font.
1462 Reported by Jinghua Luo.
1464 2005-11-02 Patrick Lam <plam@mit.edu>
1465 * fc-cache/fc-cache.c (scanDirs):
1466 * src/fcpat.c (FcValueListSerialize):
1468 Revert the previous patch and commit the correct patch:
1469 I forgot a canonicalization in FcValueListSerialize, so
1470 that it would choke on already-serialized input files. Duh!
1472 2005-11-02 Patrick Lam <plam@mit.edu>
1473 * fc-cache/fc-cache.c (scanDirs):
1475 Forcibly rescan a directory before writing a fresh local
1476 cache file for that directory, fixing the losing-fonts
1477 problem reported by Mike Fabian and also apparently the
1478 font cache file corruption.
1480 2005-11-02 Patrick Lam <plam@mit.edu>
1481 * src/fccache.c (FcGlobalCacheLoad):
1483 Fix thinko: actually, the whole global cache is stale
1484 if the global cache is older than the (newest) config file.
1486 2005-11-02 Patrick Lam <plam@mit.edu>
1487 * src/fccache.c (FcGlobalCacheLoad):
1488 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1491 Declare the global cache of a directory's contents to be stale if
1492 the directory is newer than the (newest) configuration file.
1494 2005-10-31 Patrick Lam <plam@mit.edu>
1496 * src/fclist.c (FcListAppend):
1497 * src/fcmatch.c (FcFontRenderPrepare):
1498 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1499 FcPatternFreeze, FcPatternBaseFreeze):
1501 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1502 applications continue breaking.
1504 2005-10-31 Patrick Lam <plam@mit.edu>
1505 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1506 * src/fcfreetype.c (FcFreeTypeQuery):
1508 Fix small memory error (tried to free argv); use basename and
1509 dirname correctly (they can modify their arguments).
1511 2005-10-31 Patrick Lam <plam@mit.edu>
1519 Reinstate basename patch, but keep a hash table linking FcPatterns
1520 to their fully-qualified font names for clients' benefit. Clients
1521 only pay for the font names once they request the FC_FILE property
1522 from an FcPattern, but the font name is malloc'd at that point (i.e.
1523 not mmapped: that's impossible, since it may vary between machines.)
1524 Clients do have to pay for a copy of the path name per cache file.
1526 Note that FcPatternGetString now does some rewriting if you ask
1527 for an FC_FILE, appending the pathname as appropriate.
1529 2005-10-31 Patrick Lam <plam@mit.edu>
1530 * src/fcfreetype.c (FcFreeTypeQuery):
1532 Revert basename patch, which breaks fontconfig clients on my system.
1534 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1537 * fontconfig/fonts.conf.in:
1538 * fontconfig/fontconfig.h:
1542 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1543 to load embedded bitmaps or not.
1545 2005-10-25 Patrick Lam <plam@mit.edu>
1546 * src/fcfreetype.c (FcFreeTypeQuery):
1548 Only add basename to patterns' FC_FILE element, not any part of
1551 2005-10-22 Patrick Lam <plam@mit.edu>
1554 Add some more consts, fixing more GCC4 warnings.
1556 2005-10-22 Zhe Su <zsu@novell.com>
1559 Support localized font family and style names.
1560 This has been reported to break old apps like xfd, but modern
1561 (gtk+/qt/mozilla) apps work fine.
1563 2005-10-21 Patrick Lam <plam@mit.edu>
1564 * src/fccache.c (FcGlobalCacheLoad):
1566 Destroy the global cache file if it's terminally broken. (reported by
1569 2005-10-21 Patrick Lam <plam@mit.edu>
1570 * fc-list/fc-list.c (main):
1571 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1572 * fontconfig/fontconfig.h:
1574 Prevent fc-list from escaping strings when printing them (reported by
1577 2005-10-20 Marcus Meissner <meissner@suse.de>
1580 * fontconfig/fontconfig.h:
1582 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1584 2005-10-14 Ross Burton <ross@burtonini.com>
1587 * fc-glyphname/fc-glyphname.c:
1590 Add consts to variables so as to move arrays into .rodata.
1592 2005-10-14 Mike Fabian <mfabian@suse.de>
1595 * src/fccache.c (FcDirCacheUnlink):
1597 Check existence of directory cache file before attempting to unlink.
1599 2005-10-13 Patrick Lam <plam@mit.edu>
1600 * src/fccache.c (FcDirCacheUnlink):
1602 Fix flipped return value on unlink. (Reported by Mike Fabian)
1604 2005-10-12 Patrick Lam <plam@mit.edu>
1607 * src/fcdir.c (FcDirScanConfig):
1610 When fc-cache is run without --force, use directory cache files
1611 to speed up fc-cache run time. (Reported by Mike Fabian)
1613 2005-10-06 Patrick Lam <plam@mit.edu>
1615 * src/fcname.c (FcObjectToPtr):
1616 * src/fcpat.c (FcStrStaticName):
1618 Add padding to make valgrind and glibc not hate each other
1619 when calling strlen().
1621 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1622 reviewed by: plam & keithp
1626 Modify config file to use Greek fonts before Asian fonts with
1629 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1630 reviewed by: plam & keithp
1634 Use libtool -no-undefined flag on all platforms.
1636 2005-10-05 Patrick Lam <plam@mit.edu>
1637 * src/fccache.c (FcCacheHaveBank):
1639 Implement move-to-front array for banks (perf regression
1640 reported by Ronny V. Vindenes).
1642 2005-10-04 Patrick Lam <plam@mit.edu>
1643 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1644 FcDirCacheHasCurrentArch):
1645 * fc-cache/fc-cache.c (scanDirs):
1646 * fontconfig/fontconfig.h:
1648 Add new API which unlinks directory caches and checks dir caches
1649 for existence of appropriate sections. Fix fc-cache to unlink
1650 stale cache files and save directory caches that lack relevant
1653 2005-10-03 Patrick Lam <plam@mit.edu>
1654 * src/fccache.c (FcDirCacheValid):
1656 Ensure that a directory cache has the appropriate section
1657 before reporting that it is valid (reported by Matthias Clasen).
1659 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1667 Use libxml2 if requested (with --enable-libxml2) or if
1668 expat is not available.
1670 2005-09-29 Patrick Lam <plam@mit.edu>
1671 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1673 Fix multi-arch cache files: compute the position for the
1674 block to be added using info from OrigFile, not NewFile.
1676 2005-09-28 Patrick Lam <plam@mit.edu>
1677 * src/fccache.c (FcCacheMachineSignature):
1679 Cast results of sizeof() to unsigned int to get rid of
1680 warnings on x86_64 (thanks Matthias Clasen).
1682 2005-09-27 Patrick Lam <plam@mit.edu>
1683 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1686 Use FcAtomic to rewrite cache files.
1688 2005-09-27 Patrick Lam <plam@mit.edu>
1690 * src/fccache.c (FcDirCacheWrite):
1692 Don't unlink the fonts.cache-2 file even if there's no data
1693 to write; just write an empty cache file. (thanks Lubos Lunak)
1695 2005-09-27 Patrick Lam <plam@mit.edu>
1697 * src/fccache.c (FcDirCacheWrite):
1699 Allocate room for the subdirectory names in each
1700 directory cache. Thanks to James Cloos for finding
1701 and diagnosing this bug!
1703 2005-09-22 Patrick Lam <plam@mit.edu>
1705 * fc-cache/fc-cache.sgml:
1706 * src/fccache.c (FcDirCacheWrite):
1707 * src/fccache.h (struct FcCache):
1709 Update documentation -- fc-cache's man page now says that you
1710 need to run fc-cache once per cached architecture; add some
1711 documentation to the FcCache structure.
1713 Make fc-cache write out fonts.cache-2 files for directories with
1714 no fonts (i.e. only subdirectories).
1716 2005-09-22 Patrick Lam <plam@mit.edu>
1718 * fc-cache/fc-cache.sgml:
1719 * fc-case/fc-case.c:
1720 * fc-glyphname/fc-glyphname.c:
1726 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1730 * fc-lang/fc-lang.c:
1731 * fontconfig/fcprivate.h:
1732 * fontconfig/fontconfig.h:
1746 Implement new mmaped cache for font information.
1747 Bump so revision to 2.3.90.
1749 2005-07-25 Keith Packard <keithp@keithp.com>
1751 * doc/fontconfig-user.sgml:
1752 * fc-glyphname/fc-glyphname.c: (scan), (main):
1753 * fc-lang/fc-lang.c: (FcConfigHome):
1754 * fc-match/fc-match.c: (main):
1755 * src/fccfg.c: (FcConfigHome):
1756 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1757 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1758 (addtag), (FcFontCapabilities):
1759 * src/fcpat.c: (FcValueListEntCreate):
1760 * src/fcstr.c: (FcStrCaseWalkerInit):
1761 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1763 Various GCC 4 cleanups for signed vs unsigned char
1765 Match only [0-9]*.conf files in <include>{directory}</include>
1766 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1768 2005-07-15 Carl Worth <cworth@cworth.org>
1771 * src/fcinit.c: (FcFini):
1772 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1775 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1776 Pull the FcObjectStateName hash table out to file scope, and add
1777 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1780 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1783 2005-06-16 Patrick Lam <plam@MIT.EDU>
1787 * src/fccfg.c: (FcConfigCompareValue):
1788 Make FcOpNotContains use FcStrStr for strings so that
1789 it matches semantics for !FcOpContains.
1791 2005-05-20 Keith Packard <keithp@keithp.com>
1795 Move fontconfig source package to libs as per override
1797 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1799 reviewed by: Mike Fabian
1802 The ka.orth file requires several characters which are not
1803 used anymore in modern Georgian and which are missing in the free
1804 Georgian TrueType fonts downloadable at:
1806 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1808 2005-04-27 Keith Packard <keithp@keithp.com>
1812 Update date to real 2.3.2 release date.
1813 Fix change attributions
1815 2005-04-27 Keith Packard <keithp@keithp.com>
1818 Bump so revision for 2.3.2
1819 * fc-cache/fc-cache.c: (scanDirs):
1820 Fix a few minor leaks in error cases.
1822 2005-04-23 Keith Packard <keithp@keithp.com>
1827 * fontconfig/fontconfig.h:
1828 Update for version 2.3.2
1830 2005-04-21 Keith Packard <keithp@keithp.com>
1832 * debian/fontconfig.postinst:
1833 Don't force bitmap font enable in default
1834 configuration; allows users to override this in
1844 * debian/po/pt_BR.po:
1845 * debian/po/templates.pot:
1847 * debian/po/zh_CN.po:
1848 Updated translations
1850 * fc-cache/fc-cache.c: (main):
1851 Destroy font configuration on exit to help valgrind
1854 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1855 (FcFreeTypeCheckGlyph):
1856 Use own transcoding routines in preference to iconv
1857 which appears to have leaks in some translators.
1858 Call iconv_close after using iconv (oops).
1860 Prefer unicode encoding of Euro char as some
1861 fonts mis-encode Euro in other ones.
1863 Must fetch bitmap glyphs to get width values
1864 to check for monospace/dual-width fonts.
1866 2005-04-13 Ross Burton <ross@burtonini.com>
1869 Check that a pattern isn't already frozen in FcPatternFreeze.
1871 2005-03-31 Ross Burton <ross@burtonini.com>
1876 Run all FcPattern objects through FcObjectStaticName, so that
1877 compares can be done on pointers instead of strings (#2659)
1879 2005-03-17 Tor Lillqvist <tml@novell.com>
1881 * src/fontconfig.def.in: Add the .dll to the dll name.
1883 2005-03-10 Keith Packard <keithp@keithp.com>
1885 * debian/README.Debian:
1886 Update to reflect configuration changes
1888 * debian/fontconfig.postinst:
1889 Fix Autohint vs Autohinter mistake
1890 * debian/fontconfig.templates:
1891 Adopt changes from Josselin Mouette for configuration descriptions
1892 Update debian to version 2.3.1-2
1894 2005-03-08 Keith Packard <keithp@keithp.com>
1898 Update debian for 2.3.1
1900 2005-03-09 Tor Lillqvist <tml@novell.com>
1902 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1905 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1908 2005-03-08 Keith Packard <keithp@keithp.com>
1912 * fontconfig/fontconfig.h:
1915 2005-03-05 Keith Packard <keithp@keithp.com>
1917 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1918 Include space and remove numbers from valid script tags.
1919 This ensures that tags like 'lao ' work while rejecting
1920 those which have any digits.
1921 Eliminate a spurious debugging variable (len)
1923 2005-03-05 Keith Packard <keithp@keithp.com>
1925 * src/fcfreetype.c: (addtag), (GetScriptTags),
1926 (FcFontCapabilities):
1927 Rework GSUB/GPOS script parsing to survive broken fonts.
1928 Thanks for the broken font go to Manish Singh
1930 2005-03-05 Keith Packard <keithp@keithp.com>
1935 * debian/fontconfig.config:
1936 * debian/fontconfig.templates:
1938 Include 2.3 release information in changelog
1939 Add Josselin Mouette as an Uploader
1940 Set hinting_type to low priority configuration option
1943 * debian/fontconfig.postinst:
1944 yes_bitmaps.conf -> yes-bitmaps.conf
1950 2005-03-02 Keith Packard <keithp@keithp.com>
1953 * conf.d/Makefile.am:
1954 * conf.d/autohint.conf:
1955 * conf.d/no-sub-pixel.conf:
1956 * conf.d/sub-pixel.conf:
1957 * conf.d/unhinted.conf:
1958 * debian/autohint.conf:
1959 * debian/fontconfig.install:
1960 * debian/fontconfig.postinst:
1961 * debian/fontconfig.templates:
1962 * debian/no-sub-pixel.conf:
1963 * debian/unhinted.conf:
1964 Move debian-specific conf file examples upstream.
1966 Sub-pixel configuration examples must smash subpixel value
1967 as Xft always sets it from X.
1969 Change sub-pixel rendering debconf descriptions from
1970 Enable/Disable to Always/Never.
1972 2005-03-02 Keith Packard <keithp@keithp.com>
1975 * conf.d/.cvsignore:
1977 Ignore more build detritus
1980 Add debian package construction stuff.
1982 * config/config.guess:
1983 * config/config.sub:
1984 Update to newer versions of these tools
1987 Get library manuals to build again (we love automake).
1989 * debian/README.Debian:
1990 * debian/autohint.conf:
1995 * debian/fontconfig-udeb.install:
1996 * debian/fontconfig.config:
1997 * debian/fontconfig.defoma:
1998 * debian/fontconfig.dirs:
1999 * debian/fontconfig.install:
2000 * debian/fontconfig.postinst:
2001 * debian/fontconfig.postrm:
2002 * debian/fontconfig.templates:
2003 * debian/libfontconfig1-dev.install:
2004 * debian/libfontconfig1.install:
2005 * debian/local.conf.md5sum:
2006 * debian/no-sub-pixel.conf:
2007 * debian/po/POTFILES.in:
2016 * debian/po/pt_BR.po:
2017 * debian/po/templates.pot:
2019 * debian/po/zh_CN.po:
2021 * debian/unhinted.conf:
2022 Update debian build system to switch maintainers and
2023 deal with 2.3 functionality
2025 2005-03-01 Keith Packard <keithp@keithp.com>
2029 * fontconfig/fontconfig.h:
2032 2005-03-01 Keith Packard <keithp@keithp.com>
2035 Generate and install PDF versions of the manuals
2037 * doc/fcpattern.fncs:
2040 * doc/fcstring.fncs:
2041 Add missing exported functions, fix data types
2043 * doc/fontconfig-devel.sgml:
2044 Add missing pattern elements.
2046 * doc/fontconfig-user.sgml:
2047 Add missing pattern elements. Document conf.d usage,
2048 clarify available orthography list. Fix some config file
2049 attributes. Complete list of constants.
2051 * fontconfig/fontconfig.h:
2052 Mark FC_SOURCE deprecated.
2054 * src/fcfreetype.c: (FcFreeTypeQuery):
2055 Don't set FC_SOURCE any longer.
2057 2005-02-28 Keith Packard <keithp@keithp.com>
2060 * conf.d/Makefile.am:
2062 * conf.d/no-bitmaps.conf:
2063 * conf.d/sub-pixel.conf:
2064 * conf.d/yes-bitmaps.conf:
2066 Create prototype /etc/fonts/conf.d directory with a few
2067 sample configuration files.
2068 Deprecate use of local.conf for local customizations in favor of
2069 this directory based scheme which is more easily integrated into
2070 installation systems.
2073 Tag FC_EMBOLDEN as a boolean variable
2075 2005-02-10 Keith Packard <keithp@keithp.com>
2077 reviewed by: pborelli@katamail.com
2079 * src/fcdir.c: (FcFileScanConfig):
2080 Free patterns from fonts which are rejected by configuration
2083 2005-01-28 Keith Packard <keithp@keithp.com>
2087 * fontconfig/fontconfig.h:
2088 Update for version 2.2.99
2090 2005-01-28 Keith Packard <keithp@keithp.com>
2093 Add a few pointers (#2284, #2285)
2095 2005-01-28 Keith Packard <keithp@keithp.com>
2098 * src/fcname.c: (FcNameBool):
2099 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2100 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2101 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2102 Polite typechecking for test and edit expressions. Helps
2103 catch errors in the font configuration. (bug 229)
2105 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2107 reviewed by: Keith Packard <keithp@keithp.com>
2110 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2112 2005-01-13 Keith Packard <keithp@keithp.com>
2114 * doc/fontconfig-user.sgml:
2115 Add SEE ALSO section (bug 2085)
2117 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2119 reviewed by: Keith Packard <keithp@keithp.com>
2124 * fc-case/Makefile.am:
2125 * fc-glyphname/Makefile.am:
2126 * fc-lang/Makefile.am:
2127 * src/fontconfig.def.in:
2128 Cross compiling fixes (bug 280)
2130 2005-01-13 Keith Packard <keithp@keithp.com>
2133 Update blanks list (Closes bug 86)
2135 2005-01-04 Keith Packard <keithp@keithp.com>
2137 * src/fccache.c: (FcCacheFontSetAdd):
2138 Verify that every font pattern loaded from cache has
2139 both FC_FILE and FC_FAMILY entries.
2140 Attempt to fix bug #2219.
2142 2004-12-29 Keith Packard <keithp@keithp.com>
2146 * fontconfig/fontconfig.h:
2147 Update for version 2.2.98
2149 2004-12-29 Keith Packard <keithp@keithp.com>
2151 * fontconfig/fontconfig.h:
2152 Document ASCII limitations of Fc character conversion macros
2153 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2154 Fix off-by-one error in utf-8 case walking code.
2155 Add FcStrDowncase (useful for testing case conversion functions)
2157 2004-12-29 Keith Packard <keithp@keithp.com>
2160 * fc-case/.cvsignore:
2161 clean up CVS ignore lists
2162 * fc-lang/iso-3166.txt:
2163 Add territory database
2165 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2167 Reviewed by: Keith Packard
2170 Remove Han characters from Korean orthography
2172 2004-12-29 Keith Packard <keithp@keithp.com>
2175 Reorder utility programs to make sure fc-case is run before fc-lang
2176 as fc-lang uses fcstr.c which uses fccase.h
2180 2004-12-29 Keith Packard <keithp@keithp.com>
2183 Adopt some RedHat suggestions for standard font configuration.
2187 * fc-case/CaseFolding.txt:
2188 * fc-case/Makefile.am:
2189 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2190 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2191 (dump), (parseRaw), (caseFoldReadRaw), (main):
2192 * fc-case/fccase.tmpl.h:
2193 Add new helper program 'fc-case' to construct case folding
2194 tables from standard Unicode CaseFolding.txt file
2197 * src/fclist.c: (FcListValueHash):
2198 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2199 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2200 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2201 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2202 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2203 Re-implement case insensitive functions with Unicode
2204 aware versions (including full case folding mappings)
2206 2004-12-13 Keith Packard <keithp@keithp.com>
2208 reviewed by: Owen Taylor <otaylor@redhat.com>
2210 * src/fcmatch.c: (FcFontSetSort):
2211 I changed FcFontSetSort to respect the generic aliases better
2212 in the face of language matching.
2214 What I did was to ammend the strict sort order used by FcFontSort so
2215 that it 'satisfies' the language specified in the pattern by locating
2216 the best matching font supporting each pattern language and then
2217 ignores language in the remaining fonts for purposes of matching.
2219 So, when asking for 'sans:lang=en', you'll get an English font first,
2220 and then the remaining fonts sorted with respect to the 'sans' alias
2221 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2223 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2225 reviewed by: Keith Packard <keithp@keithp.com>
2227 * fontconfig/fontconfig.h:
2230 Configuration changes to request synthetic emboldening of
2231 fonts. The actual emboldening code will live in Xft.
2233 2004-12-09 John Thacker <thacker@math.cornell.edu>
2235 reviewed by: Keith Packard <keithp@keithp.com>
2239 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2240 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2241 и), and don't even appear in KOI8-R. (The hypothesis that they
2242 don't appear in KOI8-R due to their similarity with Latin I and i is
2243 eliminated by their presence in KOI8-U.) I have a couple of fonts
2244 with Russian support that don't have the letter.
2246 Therefore, 0406 and 0456 should be removed from or commented out of
2249 2004-12-06 michael meeks <mmeeks@novell.com>
2251 Reviewed by: Keith Packard <keithp@keithp.com>
2253 * src/fcinit.c: (FcMemReport):
2255 * src/fclist.c: (FcObjectSetAdd):
2256 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2257 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2258 * src/fcxml.c: (FcParsePatelt):
2259 memoize strings and share a single copy for all uses. Note that
2260 this could be improved further by using statically allocated blocks
2261 and gluing multiple strings together, but I'm basically lazy.
2262 In my environment with 800 font files, I get a savings of about 90KB.
2264 2004-12-06 Keith Packard <keithp@keithp.com>
2268 * config/Makedefs.in:
2271 * doc/fcatomic.fncs:
2272 * doc/fcblanks.fncs:
2273 * doc/fccharset.fncs:
2274 * doc/fcconfig.fncs:
2275 * doc/fcconstant.fncs:
2277 * doc/fcfontset.fncs:
2278 * doc/fcfreetype.fncs:
2280 * doc/fcmatrix.fncs:
2281 * doc/fcobjectset.fncs:
2282 * doc/fcobjecttype.fncs:
2283 * doc/fcpattern.fncs:
2284 * doc/fcstring.fncs:
2285 * doc/fcstrset.fncs:
2287 * doc/fontconfig-devel.sgml:
2288 * doc/fontconfig-user.sgml:
2290 * doc/version.sgml.in:
2291 * fc-cache/Makefile.am:
2292 * fc-cache/fc-cache.c:
2293 * fc-glyphname/Makefile.am:
2294 * fc-glyphname/fc-glyphname.c:
2295 * fc-glyphname/fcglyphname.tmpl.h:
2296 * fc-lang/Makefile.am:
2306 * fc-lang/az_ir.orth:
2340 * fc-lang/fc-lang.c:
2341 * fc-lang/fc-lang.man:
2342 * fc-lang/fclang.tmpl.h:
2387 * fc-lang/ku_ir.orth:
2420 * fc-lang/ps_af.orth:
2421 * fc-lang/ps_pk.orth:
2450 * fc-lang/ti_er.orth:
2451 * fc-lang/ti_et.orth:
2477 * fc-lang/zh_cn.orth:
2478 * fc-lang/zh_hk.orth:
2479 * fc-lang/zh_mo.orth:
2480 * fc-lang/zh_sg.orth:
2481 * fc-lang/zh_tw.orth:
2483 * fc-list/Makefile.am:
2484 * fc-list/fc-list.c:
2485 * fc-match/Makefile.am:
2486 * fc-match/fc-match.1:
2487 * fc-match/fc-match.c:
2488 * fontconfig/fcfreetype.h:
2489 * fontconfig/fcprivate.h:
2490 * fontconfig/fontconfig.h:
2511 Change files from ISO-Latin-1 to UTF-8
2513 2004-12-04 Keith Packard <keithp@keithp.com>
2516 Update links to new freedesktop.org locations
2518 Add uninstall-local to get rid of fonts.conf and local.conf if they
2519 match the distributed versions. Fixes 'make distcheck'
2521 2004-12-04 Keith Packard <keithp@keithp.com>
2525 * fontconfig/fontconfig.h:
2526 Updates for version 2.2.97
2528 2004-12-04 Owen Taylor <otaylor@redhat.com>
2530 reviewed by: Keith Packard <keithp@keithp.com>
2532 * fc-cache/fc-cache.c: (main):
2533 Sleep for two seconds before exiting to make sure timestamps
2534 for future changes have distinct mod times in the file system.
2537 Add Punjabi orthography. Bug #1671.
2539 2004-12-04 Keith Packard <keithp@keithp.com>
2542 Just remove the FC_FONTDATE -- it has locale issues and
2543 annoys redhat multi-arch installs. Now that all X fonts are
2544 included without prejudice, the chances of the date being at
2545 all interesting are rather limited. Bug #505.
2547 Add copyright and license
2549 2004-12-04 Keith Packard <keithp@keithp.com>
2552 Change default set of fonts to include all of
2553 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2554 * doc/fontconfig-user.sgml:
2555 Document new <include>directory-name</include> semantics
2557 add <include ignore_missing="yes">conf.d</include>
2559 Add selectfont to ignore bitmap fonts, add comment for
2560 selectfont which accepts bitmap fonts.
2563 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2564 Allow <include> configuration elements to reference directories.
2565 Parse and load all files of the form [0-9]* in sorted order.
2567 2004-12-04 Keith Packard <keithp@keithp.com>
2570 Report command line for $srcdir/configure accurately.
2573 2004-12-04 Keith Packard <keithp@keithp.com>
2575 * src/fcfreetype.c: (FcFreeTypeQuery):
2576 Check for non-empty face->family_name and face->style_name
2577 before using those for the font. Empty names match everything.
2580 2004-12-04 Keith Packard <keithp@keithp.com>
2583 * fontconfig/fontconfig.h:
2584 * src/fcfreetype.c: (FcFreeTypeQuery):
2586 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2587 available. This provides font file format information (BDF, Type 1,
2588 PCF, TrueType) for each font. Closes #109.
2590 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2592 reviewed by: Keith Packard <keithp@keithp.com>
2594 * doc/fontconfig-user.sgml:
2597 * fontconfig/fontconfig.h:
2598 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2599 (GetScriptTags), (FcFontCapabilities):
2601 Add detection for font capabilities (bug #105)
2603 2004-12-04 Keith Packard <keithp@keithp.com>
2606 Move existing fonts.conf to fonts.conf.bak
2609 Add detection of iconv
2611 * doc/fcpattern.fncs:
2612 * doc/fontconfig-devel.sgml:
2613 * doc/fontconfig-user.sgml:
2615 Document new selectfont elements
2618 Switch to UTF-8 in comment
2620 * fontconfig/fontconfig.h:
2622 Add fullname, and family/style/fullname language entries
2624 * src/fccache.c: (FcCacheFontSetAdd):
2625 * src/fcdir.c: (FcFileScanConfig):
2626 Respect selectfont/*/glob
2629 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2630 (FcConfigCompareValue), (FcConfigPatternsAdd),
2631 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2632 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2633 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2634 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2635 Add support for selectfont
2637 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2638 (FcStringInPatternElement), (FcFreeTypeQuery):
2639 Add multi-lingual family/style/fullname support
2641 * src/fclist.c: (FcListPatternMatchAny):
2642 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2644 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2645 (FcObjectStaticName):
2646 Add new FcPatternRemove/FcPatternAppend.
2647 FcObjectStaticName stores computed pattern element names which
2648 are required to be static.
2650 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2655 Remove spurious / after $(DESTDIR)
2657 2004-06-30 Keith Packard <keithp@keithp.com>
2661 * fontconfig/fontconfig.h:
2664 2004-06-30 Keith Packard <keithp@keithp.com>
2666 Provided by: Lubos Lunak <l.lunak@suse.cz>
2668 * src/fccfg.c: (FcConfigUptoDate):
2669 However FcConfigUptoDate() doesn't seem to work. See the attached
2670 patch. First there's an obvious misplaced parenthesis making it
2671 return always false, and second, even this call fails to detect font
2672 changes (e.g. adding a new font to
2673 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2674 well. The problem seems to be triggered by my fonts.conf specifying
2675 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2676 doesn't include subdirs, unlike config->fontDirs.
2678 2004-06-03 Keith Packard <keithp@keithp.com>
2680 * fontconfig/fontconfig.h:
2681 Remove comma at end of FcResult enum definition.
2683 2004-05-29 Keith Packard <keithp@keithp.com>
2686 Add steps to md5sum release
2688 2004-05-29 Keith Packard <keithp@keithp.com>
2692 * fontconfig/fontconfig.h:
2695 2004-05-29 Keith Packard <keithp@keithp.com>
2697 * fontconfig/fontconfig.h:
2698 * src/fcmatch.c: (FcFontSetMatch):
2699 Add FcResultOutOfMemory to provide an accurate error when
2700 FcFontSetMatch fails in this way
2703 Make #warning about lacking various FreeType features indicate
2704 which version those features appeared so users know how to
2705 fix the problem (Thanks to Anton Tropashko)
2707 2004-05-05 Keith Packard <keithp@keithp.com>
2709 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2710 Replace MIN/MAX/ABS macros which happen to have come
2711 from FreeType with fontconfig-specific ones (FC_*)
2713 2004-04-23 Keith Packard <keithp@keithp.com>
2716 Extend release preparation instructions to include
2717 notification and distribution steps
2719 2004-04-23 Keith Packard <keithp@keithp.com>
2723 * fontconfig/fontconfig.h:
2724 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2726 2004-04-23 Keith Packard <keithp@keithp.com>
2729 Ignore a few more autotool files
2731 2004-04-14 Keith Packard <keithp@keithp.com>
2734 Add instructions for doing a release
2736 * fontconfig.spec.in:
2737 clean up .spec file; perhaps this will be useful to somebody...
2741 * fontconfig/fontconfig.h:
2744 * fc-lang/fc-lang.c:
2745 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2747 * fc-glyphname/Makefile.am:
2748 * fc-lang/Makefile.am:
2749 * fc-list/Makefile.am:
2750 * fc-match/Makefile.am:
2752 Add WARN_CFLAGS to pass -W flags for GCC systems
2754 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2755 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2756 Change various char types around to match across
2758 Fixed bug in using available_sizes[i].height which
2759 is in pixels, not 64ths of a pixel.
2761 2004-03-06 Keith Packard <keithp@keithp.com>
2763 * src/fcfreetype.c: (FcFreeTypeQuery):
2764 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2765 matches looking for explicit values prefer exact matches
2767 2004-03-02 Keith Packard <keithp@keithp.com>
2769 Supplied by: mfabian@suse.de (Mike FABIAN)
2771 * src/fcfreetype.c: (FcFreeTypeQuery):
2772 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2773 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2775 2004-02-21 Manish Singh <yosh@gimp.org>
2777 * fc-glyphname/fc-glyphname.c: (main):
2778 Cast strlen to int for printf, so we're 64-bit clean.
2780 2004-02-11 Keith Packard <keithp@keithp.com>
2783 * src/fcfreetype.c: (FcGetPixelSize):
2784 Ok, so I messed up the test for y_ppem. Let's see if I
2785 got it right this time.
2787 2004-02-10 Keith Packard <keithp@keithp.com>
2790 * src/fcfreetype.c: (FcGetPixelSize):
2791 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2792 FT_Bitmap_Size record. Add a configure.in test for this
2793 and change the code accordingly (using height instead).
2795 2004-02-06 Keith Packard <keithp@keithp.com>
2798 Add Low Saxon orthography
2799 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2801 * src/fccfg.c: (FcConfigNewestFile):
2802 Oops. Left 'newest.set' unset, which would miscompute
2805 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2806 (FcFreeTypeCheckGlyph):
2807 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2808 font properties (which report the wrong value in current FreeType)
2810 Don't attempt to check for empty glyphs in non-scalable fonts; they
2813 2004-02-01 Tor Lillqvist <tml@iki.fi>
2815 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2816 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2817 cache if config->cache is NULL, which happens if FcConfigHome() is
2818 NULL. Guard against that by using the temp folder in that case.
2820 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2822 * fc-lang/az_ir.orth:
2823 * fc-lang/ku_ir.orth:
2824 * fc-lang/ps_af.orth:
2825 * fc-lang/ps_pk.orth:
2826 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2827 (Afghan and Pakistani).
2829 Updated Urdu orthography with real data.
2831 2003-12-11 Carl Worth <cworth@east.isi.edu>
2833 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2836 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2838 (all-local): Remove excessive whitespace.
2840 * autogen.sh: Add 'set -e' to abort when any program fails,
2841 (avoids printing of 'now type make' after configure aborts).
2843 2003-11-17 Eric Christopherson <rakko@charter.net>
2845 reviewed by: Keith Packard <keithp@keithp.com>
2848 * fontconfig/fcfreetype.h:
2850 Switch to FreeType 2.1.7 style includes. Bug #150.
2852 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2854 * fc-list/fc-list.sgml: Add some example usages.
2856 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2859 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2862 2003-10-27 Keith Packard <keith@keithp.com>
2865 * fontconfig/fontconfig.h:
2866 Update to version 2.2.92
2868 2003-10-27 Keith Packard <keithp@keithp.com>
2873 * fc-cache/Makefile.am:
2874 * fc-glyphname/Makefile.am:
2875 * fc-lang/Makefile.am:
2876 * fc-list/Makefile.am:
2877 * fc-match/Makefile.am:
2880 Yet more cleanups to finish getting 'make distcheck' working
2881 This has been tested to ensure that it even works from a _build
2884 2003-10-26 Keith Packard <keithp@keithp.com>
2888 * fc-cache/Makefile.am:
2889 * fc-glyphname/Makefile.am:
2890 * fc-lang/Makefile.am:
2891 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2892 * fc-list/Makefile.am:
2893 * fc-match/Makefile.am:
2894 Attempts to fix 'make distcheck' work. Things are
2895 progressing pretty well, but there are still failures
2896 long into the process dealing with docs (as always).
2898 The big changes here are mostly to make $(srcdir) != "."
2899 work correctly, fixing the docbook related sections and
2900 fc-lang were particularily tricky. Docbook refuses to load
2901 system entities from anywhere other than where the original .sgml
2902 file was located, so no luck looking in "." for the
2903 configure-generated version.sgml and confdir.sgml files.
2905 fc-lang needed help finding .orth files; added a -d option
2906 to set the directory as the least evil of many options.
2908 Now to go use a faster machine and try and wring out the last
2911 2003-10-26 Keith Packard <keithp@keithp.com>
2915 2003-10-26 Keith Packard <keithp@keithp.com>
2918 Include confdir.sgml.in in EXTRA_DIST
2920 2003-10-09 Josselin Mouette <joss@debian.org>
2922 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2923 * fc-list/fc-list.sgml fc-list/Makefile.am:
2924 Replace fc-cache and fc-list manpages with more detailed, SGML
2927 2003-09-23 Owen Taylor <otaylor@redhat.com>
2929 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2930 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2931 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2934 2003-09-23 Owen Taylor <otaylor@redhat.com>
2936 * fc-lang/ka.orth: Remove Georgian capitals, they
2937 aren't used for normal writing. (Bug #116)
2939 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2941 * doc/fontconfig-devel.sgml:
2942 * doc/fontconfig-user.sgml:
2943 * fontconfig/fontconfig.h:
2945 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2946 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2948 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2949 monospace and dual-width fonts, allow roughly a 3% variance in the
2952 2003-08-31 Manish Singh <yosh@gimp.org>
2954 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2957 2003-08-15 Carl Worth <cworth@isi.edu>
2959 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2960 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2962 * src/fcpat.c (FcValueListEntDestroy): New function to support
2963 FcFini memory cleanup. Some statistics are not kept in
2965 (FcValueListFreeze): Move hashTable outside this function so it
2966 can be accessed by FcValueListThawAll.
2967 (FcValueListThawAll): New function complements FcValueListFreeze.
2968 (FcPatternBaseFreeze): Move hashTable outside this function so it
2969 can be accessed by FcPatternBaseThawAll.
2970 (FcPatternBaseThawAll): New function complements
2971 FcPatternBaseFreeze.
2972 (FcPatternThawAll): New function complements FcPatternFreeze.
2974 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2976 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2977 allocated FcCharLeafEnt "blocks" so they can be freed later.
2978 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2979 can be accessed by FcCharSetThawAllLeaf.
2980 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2981 (FcCharSetFreezeBase): Move hashTable outside this function so it
2982 can be accessed by FcCharSetThawAll.
2983 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2985 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2986 (FcConfigDestroy): Fic leak of FcBlanks.
2988 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2989 (main): Add call to FcFini when finished.
2991 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2992 static. Add prototypes.
2994 * doc/fcinit.fncs: Add documentation for FcFini function.
2996 * doc/edit-sgml.c: Mark several local functions as static. Add
2999 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3001 2003-06-15 Tor Lillqvist <tml@iki.fi>
3003 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3004 before comparing (needed on Windows).
3006 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3008 2003-06-13 Tor Lillqvist <tml@iki.fi>
3010 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3013 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3014 WINDOWSFONTDIR token.
3016 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3017 end, not to confuse libtool, which expects the EXPORTS line to be
3018 the first. Add FcConfigEnableHome.
3020 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3021 built as a DLL on Win32.
3023 2003-06-09 Keith Packard <keithp@keithp.com>
3025 * Tag version 2.2.90
3027 2003-06-09 Keith Packard <keithp@keithp.com>
3029 * Optimization in FcLangSetIndex was broken, occasionally
3030 returning a pointer to the wrong location on miss
3032 * Add fc-match to test font matching from the command line.
3034 2003-05-31 Keith Packard <keithp@keithp.com>
3036 * (Bug 85) add support for culmus fonts
3037 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3038 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3040 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3042 * Fix "contains" op for strings and langsets.
3044 2003-05-17 Keith Packard <keithp@keithp.com>
3046 * Fix build error with BDF prop local. Free langset after query
3048 2003-05-14 Keith Packard <keithp@keithp.com>
3050 * Extract spacing from XLFD atom
3052 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3054 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3055 disappeared in 1.30.
3057 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3059 2003-05-12 Keith Packard <keithp@keithp.com>
3061 * Use FcIsWidth to share code
3063 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3064 misclassifying some Han fonts as monospaced.
3066 2003-05-07 Keith Packard <keithp@keithp.com>
3068 * Add filename-based accept/reject to ammend available fonts.
3070 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3071 older FreeType releases.
3073 2003-05-06 Keith Packard <keithp@keithp.com>
3075 * Remove 0b82 and Tamil numbers from tamil
3076 orthography (Jungshik Shin <jshin@mailaps.org>)
3078 2003-05-04 Keith Packard <keithp@keithp.com>
3080 + Map glyph names in fonts with adobe custom encoding to unicode
3082 2003-05-02 Keith Packard <keithp@keithp.com>
3084 * Add FC_WEIGHT_BOOK as weight 75
3086 2003-04-30 Keith Packard <keithp@keithp.com>
3088 * Typo in bitstream foundry name
3090 2003-04-24 Keith Packard <keithp@keithp.com>
3092 * Eliminate italic_angle check for PS fonts
3094 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3096 * Getting closer to fixing /etc/fonts hard-coding.
3098 2003-04-22 Keith Packard <keithp@keithp.com>
3100 * Update autogen.sh to work with newer automake versions
3101 * Handle pattern elements moving during multiple edits
3103 2003-04-23 James Henstridge <james@daa.com.au>
3105 * doc/fontconfig-devel.sgml: close the <para> element.
3107 * doc/fcpattern.fncs: close the <para> element.
3109 * doc/func.sgml: close the <refsynopsisdiv> element.
3111 2003-04-22 Keith Packard <keithp@keithp.com
3113 * Update autogen.sh to work with newer automake versions
3114 * Handle pattern elements moving during multiple edits
3116 2003-04-17 Colin Walters <walters@debian.org>
3118 + Remove some unused variables, and initialize some other ones so
3119 gcc doesn't warn us.
3121 2003-04-16 Keith Packard <keithp@keithp.com>
3123 + tag version 2.1.94
3125 2003-04-16 Keith Packard <keithp@keithp.com>
3127 + add BDF property fetching support for foundry
3128 (from Juliusz Chroboczek)
3129 + add BDF property fetching support for width
3131 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3133 + Implemented foundry generation for Type 1 and TrueType
3135 2003-04-11 Gerard Escalante <g2@magestudios.net>
3137 + Retrieve information from Type1 FontInfo dictionaries
3139 2003-04-07 Colin Walters <walters@verbum.org>
3141 + src/Makefile.am: Fix dummy makefile target names when
3142 MS_LIB_AVAILABLE isn't set.
3144 2003-03-22 Tor Lillqvist <tml@iki.fi>
3146 Changes for Windows:
3148 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3150 + We don't want to hardcode the fonts.conf file location in the
3151 DLL, so we look up the DLL location at run-time in a DllMain()
3152 function. The fonts.conf location is deduced from that.
3154 + The colon can't be used as path separator on Windows,
3155 semicolon is used instead. File path components can be separated
3156 with either slash or backslash. Absolute paths can also begin
3157 with a drive letter.
3159 + Add internal function FcStrLastSlash that strrchr's the last
3160 slash, or backslash on Windows.
3162 + There is no link() on Windows. For atomicity checks, mkdir a
3163 lock directory instead.
3165 + In addition to HOME, also look for USERPROFILE.
3167 + Recognize the special font directory token WINDOWSFONTDIR, to
3168 use the system's font directory.
3170 + Remove the fontconfig-def.cpp that was obsolete. Add
3171 fontconfig.def(.in), without internal functions.
3173 + Add a fontconfig-zip(.in) script, used to build a binary
3176 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3177 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3178 to main package and man3/* to devel package
3180 + Added missing defattr(-, root, root) to main RPM package
3182 + Added HTML and text development documentation to -devel subpackage
3184 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3185 + Added back the configure macro options --disable-docs, otherwise
3186 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3187 version number) unconditionally, causing RPM to fail the build due
3188 to _unpackaged_files_terminate_build. We pick up the pregenerated
3189 docs with %doc already.
3191 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3192 + Removed commented out rpm macro define at top of spec file,
3193 replacing it with a simple explanation, since rpm macros are
3194 expanded by rpm even in comments.
3196 + Changed /usr/bin to _bindir in BuildRequires lines
3198 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3200 + Reorganized file manifest lists
3202 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3204 + fontconfig.spec.in: Improvements from Red Hat spec file.
3206 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3208 + docs/*.sgml: SGML fixes.
3210 Sat Mar 1 17:28:53 PST 2003 keithp
3211 + Ok, so the ChangeLog is a bit out of date
3213 + Lots of bugs fixed; most are in bugzilla, the
3214 biggest problems were in cache management where
3215 Owen discovered the library would lose badly when
3216 combining fonts-cache and ~/.fonts-cache data
3218 + Converted from autoconf to automake. This after
3219 getting patches accepted into libtool to allow
3220 the '-version-number' argument which lets
3221 packages set version numbers explicitly rather
3222 than the roundabout libtool way
3224 + Converted documentation to SGML using the docbook
3225 DTD. Now .txt and .html documents are installed
3226 in /usr/share/doc/fontconfig and there's no
3227 man page. Perhaps a man version can be written
3230 Sat Aug 31 15:21:22 PDT 2002 keithp
3231 + Xrender and Xft had several bugs related to
3232 rendering manually placed or poly-face text
3234 + Added more complete memory tracing in fontconfig
3235 Checked with (patched) mozilla and found no leaks
3237 + Updated Latin orthographies by comparing those from
3238 evertype.com with those from eki.ee. Tried to make
3239 sensible choices, including chars that occured in both
3240 and leaving some optional chars out that occured only
3243 Mon Aug 26 16:33:04 PDT 2002 keithp
3244 + Owen discovered that FcLangSetHasLang wasn't actually
3245 checking the language set.
3247 Mon Aug 26 13:37:23 PDT 2002 keithp
3248 + Append a version number to cache filenames
3250 Thu Aug 22 11:36:18 PDT 2002 keithp
3252 + Add "contains" and "not_contains" operators and elements to
3255 + Changed semantics of eq operator for LangSets to check for
3256 FcLangEqual so that any match will do
3258 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3259 of FcValueEqual to check for identical values when inserting into
3260 the results. This broke when the above semantic change was made,
3261 now it uses FcValueEqual which is "more correct" in any case.
3263 Thu Aug 22 00:32:29 PDT 2002 keithp
3265 + Reimplement FC_LANG as new datatype. Lists of strings
3266 was consuming over a megabyte of memory for 401 fonts.
3268 + Freeze patterns loaded from cache files. This shares
3269 common value lists and common patterns which saves
3270 considerable memory.
3272 + Change the denotation of 'constant' charsets to use special
3273 ref value instead of separate boolean.
3275 + Clean up leak tracing stuff, found several unannoted alloc/free
3278 Tue Aug 20 16:17:37 PDT 2002 keithp
3280 + Fix memory leak when parsing matrices from XML
3282 Mon Aug 19 11:57:27 PDT 2002 keithp
3284 + Fix autoconf files to pass FONTCONFIG_PATH on
3285 compile line so that ${prefix} gets substituted
3288 + Use getc_unlocked/putc_unlocked on systems that
3289 provide them to avoid damage done to stdio by posix
3291 + Eliminate FC_PATTERN and FcTypePattern in favor of
3292 an extended api for FcConfigSubstitute which takes
3293 both the font and the pattern.
3295 + Add 'sans serif' alias for 'sans-serif' as some apps
3296 can't handle hyphens in family names
3298 + Eliminate pretense of support for libxml2
3300 + Comment origins of Han orthographies
3302 Tue Jul 30 18:37:09 PDT 2002 keithp
3304 + Add binding property to edit element so that strong
3305 binding values may be inserted by the config file.
3306 The default remains weak.
3308 Sun 28 Jul 04:16:55 PDT 2002 keithp
3310 + Tagged release candidate 1 in the CVS tree and
3311 placed fcpackage.rc1.tar.gz for distribution
3313 Thu Aug 1 08:55:08 PDT 2002 keithp
3315 + Fixed autoconf builds to always specify install
3316 target files (for BSD). Also fixed to
3317 define FONTCONFIG_PATH in config.h so that
3318 nonstandard installs will actually work.