Update documentation for fc-match (SGML-ize it). (reported by Ilya
[platform/upstream/fontconfig.git] / ChangeLog
1 2006-04-06  Patrick Lam  <plam@mit.edu>
2         * fc-match/.cvsignore:
3         * fc-match/Makefile.am:
4         * fc-match/fc-match.sgml:
5
6         Update documentation for fc-match (SGML-ize it).
7         (reported by Ilya Konstantinov)
8
9 2006-04-06  Diego Pettenò  <flameeyes@gentoo.org>
10         reviewed by: plam
11         * src/fcdefault.c:
12         * src/fcpat.c:
13         * src/fcxml.c:
14
15         Reduce amount of dirty rss by const'ing some data structures.
16
17 2006-04-06  Patrick Lam  <plam@mit.edu>
18         * fc-cache/Makefile.am:
19
20         Don't fail if we can't create or remove 
21         $(pkgcachedir) i.e. /var/cache/fontconfig.
22         (reported by Quanah Gibson-Mount).
23
24 2006-04-06  Kjartan Maraas  <kmaraas@gnome.org>
25         reviewed by: plam
26         * fc-case/fc-case.c:
27         * fc-glyphname/fc-glyphname.c:
28         * fc-lang/fc-lang.c (main):
29         * fc-match/fc-match.c:
30         * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch, 
31                          FcDirCacheWrite):
32         * src/fcfreetype.c (FcFreeTypeQuery):
33         * src/fclang.c (FcFreeTypeLangSet):
34         * src/fcxml.c:
35
36         Fix intel compiler warnings: make many variables static,
37         eliminate duplicate names, reduce variable scopes, unsigned/signed
38         printf formatting.
39
40 2006-03-24  Mike Fabian  <mfabian@suse.de>
41         reviewed by: plam
42         * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
43
44         Fix multiarch support (don't destroy multiarch files!)
45
46 2006-03-24  Patrick Lam  <plam@mit.edu>
47         * configure.in:
48
49         Require pkg-config.  (Thanks Behdad; 
50         better solution wanted for libxml2 detection!)
51
52 2006-03-22  Patrick Lam  <plam@mit.edu>
53         * src/fcatomic.c:
54
55         On Windows, unlink before rename.  Reported by Tim Evans.
56
57 2006-03-15  Patrick Lam  <plam@mit.edu>
58         * fc-lang/ab.orth:
59         * fc-lang/ibo.orth:
60
61         Fix typos in orth files.  Reported by Denis Jacquerye.
62
63 2006-03-08  Patrick Lam  <plam@mit.edu>
64         * Makefile.am:
65         * config/config.guess:
66         * config/config.sub:
67
68         Fix Makefile.am for removal of debian/ directory.
69
70 2006-03-08  Patrick Lam  <plam@mit.edu>
71         * .cvsignore
72
73         Ignore debian/ directory for CVS.
74
75 2006-03-08  Patrick Lam  <plam@mit.edu>
76         * debian/*
77
78         Now remove debian/ directory.
79
80 2006-03-08  Patrick Lam  <plam@mit.edu>
81         * debian/po/*
82
83         Remove debian/ directory from sources.  See Debian's subversion
84         server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
85         instead.
86
87 2006-03-08  Denis Jacquerye  <moyogo@gmail.com>
88         reviewed by: plam
89
90         * fc-lang/ln.orth:
91         * fc-lang/iso639-1, fc-lang/iso639-2:
92
93         Add orthography for Lingala.
94         
95 2006-03-08  Carl Worth  <cworth@cworth.org>
96         reviewed by: keithp
97
98         * conf.d/Makefile.am:
99         * conf.d/10LohitGujarati.conf: 
100
101         Add a configuration file that disables hinting for the Lohit
102         Gujarati font (since the hinting distort some glyphs quite badly).
103
104 2006-03-08  Egmont Koblinger  <egmont@uhulinux.hu>
105         reviewed by: plam
106
107         * src/fcdir.c (FcDirScanConfig):
108
109         Sort directory entries while scanning them from disk;
110         prevents Heisenbugs due to file ordering in a directory.
111
112 2006-03-07  Behdad Esfahbod  <behdad@cs.toronto.edu>
113         reviewed by: plam
114
115         * src/fcfreetype.c (GetScriptTags):
116         * src/ftglue.c, src/ftglue.h:
117
118         Remove stuff we don't use, make get_{char,short,long} functions
119         of ftglue macros to be inlined.
120         
121         * src/fcint.h:
122         * src/fcname.c (FcObjectSerialize):
123
124         Code cleanups (excess prototype, old-style function definition).
125
126 2006-03-05  Patrick Lam  <plam@mit.edu>
127         * src/fcpat.c (FcPatternGetString):
128
129         Because we hacked FcPatternGet, we don't really need to expand the
130         filename again in FcPatternGetString.
131
132 2006-03-05  Patrick Lam  <plam@mit.edu>
133         * src/fcpat.c (FcPatternGetString, FcPatternGet):
134
135         Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
136         Make that work.  Reported by Bernhard Rosenkraenzer.
137
138 2006-03-03  Patrick Lam  <plam@mit.edu>
139         * src/fcint.h:
140
141         Include inttypes.h instead of stdint.h if appropriate.
142
143 2006-03-03  Patrick Lam  <plam@mit.edu>
144         * fc-cat/fc-cat.c (FcFileIsDir):
145         * fc-glyphname/fc-flyphname.c:
146
147         More stub definitions and remove FcFileIsDir from fc-cat.
148
149 2006-03-03  Patrick Lam  <plam@mit.edu>
150         * fc-case/fc-case.c:
151
152         Fix compilation on AIX with stub definitions (bug 6097).
153
154 2006-03-03  Patrick Lam  <plam@mit.edu>
155         * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
156         * src/fcfreetype.c (GetScriptTags):
157         * src/fcfs.c (FcFontSetDistributeBytes):
158         * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
159
160         Get rid of C++-style comments.
161
162 2006-03-03  Patrick Lam  <plam@mit.edu>
163         * debian/changelog
164
165         Enable creation of 2.3.94 Debian packages.
166
167 2006-03-02  Egmont Koblinger  <egmont@uhulinux.hu>
168         reviewed by: plam
169         
170         * src/fclang.c (FcCharSetForLang):
171
172         Fix suspicious return expression which causes junk 
173         to be returned.
174
175 2006-02-24  Patrick Lam  <plam@mit.edu>
176         * ChangeLog:
177         * README:
178         * configure.in:
179         * fontconfig/fontconfig.h:
180
181         Bump version to 2.3.94.
182
183 2006-02-24  Patrick Lam  <plam@mit.edu>
184         * Makefile.am:
185
186         Fix placement of @s.
187
188 2006-02-24  Patrick Lam  <plam@mit.edu>
189         * conf.d/10-fonts-persian.conf:
190
191         Remove unconditional emboldening (per Behdad's instructions).
192
193         * Makefile.am:
194
195         Add @s to hide some echos.
196
197 2006-02-24  Mike Fabian  <mfabian@suse.de>
198             Takashi Iwai  <tiwai@suse.de>
199         reviewed by: plam
200         
201         * src/fcfreetype.c (GetScriptTags):
202
203         Fix double-free on error case.
204
205 2006-02-21  Patrick Lam  <plam@mit.edu>
206         * fc-lang/fc-lang.c (scan):
207
208         Strip \r and whitespace from input; fixes bug 3454.
209
210 2006-02-21  Patrick Lam  <plam@mit.edu>
211         * fc-lang/fc-lang.c (main):
212
213         Allocate large arrays statically in fc-lang to fix crashes under
214         MinGW/MSYS.
215
216 2006-02-21  Diego Petten  <flameeyes@gentoo.org>
217         * src/fcfreetype.c (FcFreeTypeCharIndex):
218
219         Pass the buck; make fontconfig not crash on pango badness.
220
221 2006-02-21  Patrick Lam  <plam@mit.edu>
222         * conf.d/10-fonts-persian.conf:
223
224         Use embeddedbitmap rather than rh_prefer_bitmap.
225
226 2006-02-21  Paul Cornett  <paulcor1@bullseye.com>
227         reviewed by: plam
228
229         * src/fccache.c (FcDirCacheWrite):
230         * src/fcdir.c (FcFileScanConfig):
231         * src/fcfreetype.c (FcStringInPatternElement):
232         * src/fcxml.c (FcParseFamilies):
233         * src/ftglue.c (ftglue_face_goto_table):
234
235         Eliminate redundancies.
236
237 2006-02-21  Kjartan Maraas  <kmaraas@gnome.org>
238         reviewed by: plam
239
240         * fc-list/fc-list.c (main):
241         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
242         * src/fcstr.c (FcStrStr):
243         * src/fcxml.c (FcConfigSaveAttr):
244
245         Eliminate unused vars reported by Intel's compiler.
246
247 2006-02-21  Aiet Kolkhi  <aietkolkhi@gmail.com>
248         reviewed by: plam
249
250         * fc-lang/ka.orth:
251
252         Remove one more archaic character.
253
254 2006-02-21  Ross Burton  <ross@burtonini.com>
255         reviewed by: plam, keithp
256
257         * src/fcxml.c (FcParsePatelt):
258
259         Freeze patterns created by configuration file for tiny 
260         memory savings (every little bit helps).
261
262 2006-02-21  Mike Fabian  <mfabian@suse.de>
263         reviewed by: plam
264         
265         * fc-cat/fc-cat.c (main):
266
267         Initialize fontconfig library in fc-cat to avoid segfault.
268
269 2006-02-18  Patrick Lam  <plam@mit.edu>
270         * fc-cache/fc-cache.c (scanDirs):
271         * src/fccache.c (FcCacheReadDirs):
272         * src/fcdir.c (FcDirScanConfig):
273
274         Fix the underlying cause of the below segfault (must usually
275         call FcDirCacheHasCurrentArch after FcDirCacheValid).
276         
277 2006-02-18  Patrick Lam  <plam@mit.edu>
278         * src/fccache.c (FcDirCacheHasCurrentArch):
279
280         Fix triggering of segfault caused by misreading cache files
281         (reported by fcrozat).
282
283 2006-02-17  Patrick Lam  <plam@mit.edu>
284         * src/fcint.h  (FC_CACHE_MAGIC):
285
286         Bump up magic version; we changed the binary format.
287
288 2006-02-17  Patrick Lam  <plam@mit.edu>
289         * fc-cat/fc-cat.c (main):
290
291         Enable fc-cat to print out old-style cache info when given a
292         directory name.
293
294 2006-02-16  Patrick Lam  <plam@mit.edu>
295         * src/fccache.c (FcDirCacheHasCurrentArch):
296
297         Deal correctly with changing FC_CACHE_MAGIC.
298
299 2006-02-16  Patrick Lam  <plam@mit.edu>
300         * fc-cache/fc-cache.c (usage, scanDirs, main):
301
302         Add -r --really-force option which blows away cache files and then
303         regenerates them.
304
305 2006-02-16  Patrick Lam  <plam@mit.edu>
306         * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
307
308         Don't bail if fontconfig can't remove a dir cache file.
309         Skip the ID of a cache file when copying.
310         Eliminate 'source file too small' bug in FcDirCacheWrite.
311
312 2006-02-13  Patrick Lam  <plam@mit.edu>
313         * src/fcfreetype.c (FcFreeTypeQuery):
314
315         Fix memory leak in error condition code.
316
317 2006-02-13  Mike Fabian  <mfabian@suse.de>
318         reviewed by: plam
319         * src/fcfreetype.c (FcFreeTypeQuery):
320
321         Skip bitmap fonts which can't even get it together enough to
322         declare a family name; this appears to reproduce previous
323         fontconfig behaviour.
324
325 2006-02-10  Takashi Iwai  <tiwai@suse.de>
326         reviewed by: plam
327         * src/fccache.c (FcDirCacheOpen):
328
329         Try to open /var/cache/fontconfig/[hashed name] before
330         fonts.cache-2 in a directory, because /var/cache/fontconfig
331         failures ought to be fixable, unlike fonts.cache-2 failures,
332         which may leave you screwed.
333
334 2006-02-10  Takashi Iwai  <tiwai@suse.de>
335         reviewed by: plam
336         * src/fcmatch.c (FcFontSetMatch):
337
338         Use a tri-state to mark the fonts which didn't get blocked but
339         were just missing an element, to distinguish them from the
340         fonts that do match the element.
341
342 2006-02-10  Takashi Iwai  <tiwai@suse.de>
343         reviewed by: plam
344         * src/fcmatch.c (FcFontSetMatch):
345
346         Don't kill fonts because they don't declare an element that's
347         being matched on.
348
349 2006-02-09  Patrick Lam  <plam@mit.edu>
350         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
351                          FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
352
353         Define and pass O_BINARY to open if appropriate, for those
354         platforms that need it.  Reported by Doodle.
355
356 2006-02-09  Patrick Lam  <plam@mit.edu>
357         * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize, 
358                            FcCharSetGetLeaf):
359
360         Fix problem with missing 'en' due to euro.patch: change
361         cache file format slightly to coincide with that generated
362         by fc-lang.
363
364 2006-02-07  Patrick Lam  <plam@mit.edu>
365         * src/fccache.c (FcCacheReadDirs):
366
367         Fix warning.
368
369 2006-02-07  Patrick Lam  <plam@mit.edu>
370         * src/fcdir.c (FcDirScanConfig):
371
372         Don't reject dirs that can't be normalized (fixes lilypond, and
373         is correct in the context of application font directories.)
374
375 2006-02-07  Takashi Iwai  <tiwai@suse.de>
376         reviewed by: plam
377
378         * src/fccache.c (FcCacheReadDirs):
379
380         Use normalized directory name exclusively in FcCacheReadDirs.
381
382 2006-02-07  Dirk Mueller  <dmueller@suse.com>
383         reviewed by: plam
384
385         * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate): 
386
387         Perf optimizations.  Inline FcValueCanonicalize, 
388         reduce FcValueListPtrU usage, remove redundant cast.
389
390 2006-02-07  Takashi Iwai  <tiwai@suse.de>
391         reviewed by: plam
392
393         * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
394         * fc-lang/fc-lang.c:
395
396         Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
397         Declare extern for static arrays as arrays, not pointers.
398         (Part of the fix for 'fonts don't have en' issue after Euro patch.)
399
400 2006-02-07  Dirk Mueller  <dmueller@suse.com>
401         reviewed by: plam
402
403         * fc-lang/de.orth:
404         * fc-lang/el.orth:
405         * fc-lang/en.orth:
406         * fc-lang/es.orth:
407         * fc-lang/fi.orth:
408         * fc-lang/fr.orth:
409         * fc-lang/it.orth:
410         * fc-lang/nl.orth:
411         * fc-lang/pt.orth:
412
413         Add Euro sign to list of symbols required by European languages.
414
415 2006-02-07  Patrick Lam  <plam@mit.edu>
416         * src/fccache.c (FcCacheReadString):
417
418         Fix hidden variable warning.
419
420 2006-02-07  Dirk Mueller  <dmueller@suse.com>
421         reviewed by: plam
422
423         * src/fccache.c (FcCacheReadString, FcCacheSkipString):
424         
425         Remove de-escaping logic because FcCacheWriteString
426         doesn't escape anyway. Do blockwise reading instead
427         of byte-wise for performance.
428
429 2006-02-06  Patrick Lam  <plam@mit.edu>
430             Takashi Iwai  <tiwai@suse.de>
431
432         * src/fccache.c (FcCacheReadDirs, FcCacheRead):
433
434         Don't loop infinitely on recursive symlinks (client-side).
435
436 2006-02-06  Takashi Iwai  <tiwai@suse.de>
437         reviewed by: plam
438         * fc-cache/fc-cache.c (scanDirs, main):
439
440         Don't loop infinitely on recursive symlinks.
441
442 2006-02-06  Takashi Iwai  <tiwai@suse.de>
443         reviewed by: plam
444         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
445                          FcGlobalCacheDirFind, FcGlobalCacheUpdate,
446                          FcGlobalCacheSave, FcCacheReadDirs):
447         * src/fcint.h:
448
449         Skip subdirs when skipping over stale bits of global cache.
450         Introduce state machine into FcGlobalCacheDir to avoid
451         doing inappropriate operations on global dir entries, e.g.
452         writing out an out-of-date cache entry.
453         
454 2006-02-06  Takashi Iwai  <tiwai@suse.de>
455         reviewed by: plam
456         * src/fcdir.c (FcFileScanConfig):
457
458         Hoist FcFileIsDir check out of FcFileScanConfig loop.
459
460 2006-02-06  Takashi Iwai  <tiwai@suse.de>
461         reviewed by: plam
462
463         * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
464                        FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
465
466         Don't rescan when trying to normalize a non-declared font dir.
467         Don't add font dirs multiple times (even if they're aliased).
468
469 2006-02-06  Dirk Mueller  <dmueller@suse.de>
470         reviewed by: plam
471
472         * src/fcfs.c (FcFontSetUnserialize):
473
474         Explain apples/oranges comparison and fix compilation error.
475
476 2006-02-06  Dirk Mueller  <dmueller@suse.de>
477         reviewed by: plam
478
479         * src/fcfs.c (FcFontSetUnserialize):
480
481         Insert check for integer overflow in # of fonts.
482
483 2006-02-04  Behdad Esfahbod  <behdad@cs.toronto.edu>
484         reviewed by: plam
485
486         * doc/Makefile.am:
487         * fc-cache/Makefile.am:
488         * fc-cat/Makefile.am: 
489         * fc-list/Makefile.am:
490
491         Make 'make distcheck' work with automake 1.6.3.
492         
493 2006-02-03  Takashi IWAI  <tiwai@suse.de>
494         reviewed by: plam
495
496         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
497                            FcCacheFileRead):
498
499         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave, 
500                          FcDirCacheConsume, FcDirCacheWrite)
501         * src/fcxml.c (FcConfigMessage):
502
503         Check I/O call return values and eliminate unused variable
504         warnings.
505
506 2006-02-03  Takashi Iwai  <tiwai@suse.de>
507         reviewed by: plam
508
509         * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
510
511         Fix memory leak.
512
513 2006-02-03  Dirk Mueller  <dmueller@suse.de>
514         reviewed by: plam
515
516         * src/fcfs.c (FcFontSetUnserialize):
517
518         Gracefully handle the case where a cache asserts that it
519         has a negative number of fonts, causing overflow.
520
521 2006-02-03  Patrick Lam  <plam@mit.edu>
522         * src/fccache.c (FcDirCacheUnlink):
523
524         Fix double free in error case.
525
526 2006-01-31  Behdad Esfabod  <behdad@cs.utoronto.edu>
527             Stephan Kulow  <coolo@suse.de>
528         reviewed by: plam
529
530         * fc-cache/Makefile.am:
531
532         Replace 'stamp' target with mkinstalldirs.
533
534 2006-01-31  Mike Fabian  <mfabian@suse.de>
535         reviewed by: plam
536
537         * src/fccache.c (FcGlobalCacheLoad):
538
539         Toast broken global cache files.
540
541 2006-01-30  Patrick Lam  <plam@mit.edu>
542         * src/fccache.c (FcGlobalCacheReadDir):
543
544         Actually use the directories that I added to the global cache.
545         Fixes 'make check'.
546
547 2006-01-30  Mike Fabian  <mfabian@suse.de>
548         reviewed by: plam
549         
550         * fc-cache/fc-cache.c (scanDirs):
551
552         Don't stop scanning if a directory in fonts.conf doesn't
553         exist, because subsequent directories might exist.
554         
555 2006-01-30  Patrick Lam  <plam@mit.edu>
556         * src/fccache.c (FcGlobalCacheLoad):
557
558         Make global cache work again after putting dir names into global
559         cache (I misplaced the recording of a file offset).
560
561 2006-01-30  Patrick Lam  <plam@mit.edu>
562         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
563         
564         Update fc-cat to handle subdir lists in global cache file.
565         
566         * src/fccache.c (FcGlobalCacheLoad):
567         
568         Another FcCacheReadString return value check.
569
570 2006-01-30  Mike Fabian  <mfabian@suse.de>
571         reviewed by: plam
572
573         * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
574                          FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
575
576         Make fccache more resilient to broken cache files by checking
577         return value of FcCacheReadString all the time.
578
579 2006-01-30  Frederic Crozat  <fcrozat@mandriva.com>
580         reviewed by: plam
581
582         * fc-match/fc-match.1:
583         * fc-lang/fc-lang.man:
584
585         Remove references to dead fontconfig(3) manpages in
586         other fontconfig manpages.
587
588 2006-01-29  Behdad Esfabod  <behdad@cs.utoronto.edu>
589         reviewed by: plam
590         
591         * doc/fcpattern.fncs:
592
593         Fix world's tiniest typo in code example.
594
595 2006-01-29  Mike Fabian  <mfabian@suse.de>
596         reviewed by: plam
597
598         * src/fccache.c (FcGlobalCacheReadDir):
599
600         Fix global cache reads of subdirectories.
601
602 2006-01-29  Patrick Lam  <plam@mit.edu>
603         * doc/fcconfig.fncs:
604         Add documentation for FcConfigNormalizeFontDir.
605
606         * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
607                          FcGlobalCacheUpdate, FcGlobalCacheSave):
608         * src/fcdir.c (FcDirScanConfig):
609         * src/fcint.h:
610
611         Write directory information to global caches to fix make check
612         (reported by Ronny V. Vindenes).  This changes the global cache
613         format again.
614         
615 2006-01-27  Patrick Lam  <plam@mit.edu>
616         * fc-cache/fc-cache.c (scanDirs):
617         * fontconfig/fontconfig.h:
618         * src/fcint.h:
619         * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
620
621         Move FcConfigNormalizeFontDir call so that it doesn't result in
622         infinite recursion (reported by Ronny V. Vindenes).
623
624 2006-01-26  Patrick Lam  <plam@mit.edu>
625         * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
626         * src/fccfg.c (FcConfigNormalizeFontDir):
627
628         Add a couple of missing normalizations to make fc-cache work
629         right; only scan subdirectories once.
630
631 2006-01-26  Mike Fabian  <mfabian@suse.de>
632         reviewed by: plam
633         
634         * src/fcacache.c (FcGlobalCacheReadDir):
635
636         Don't crash on non-existant directories in global cache.
637
638 2006-01-26  Patrick Lam  <plam@mit.edu>
639         * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
640         * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
641         * src/fcdir.c (FcDirScanConfig):
642         * src/fcxml.c (FcEndElement):
643
644         Stop trampling the directory name when writing out caches.
645         (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
646         subdirs when necessary.  Don't scan directories that can't be
647         normalized.
648
649 2006-01-25  Patrick Lam  <plam@mit.edu>
650         * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
651         * src/fccfg.c (FcConfigEvaluate):
652         * src/fcfreetype.c (FcPatternAddWithBinding):
653
654         Fix additional memory leaks reported by Ronny V. Vindenes: don't
655         invoke FcValueSave on hashed static strings in
656         FcPatternAddWithBinding.  
657
658         Add another st_dev check in FcDirCacheOpen.
659
660 2006-01-24  James Su  <james.su@gmail.com>
661         reviewed by: plam
662         
663         * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
664         * fc-lang/zh_hk.orth:
665
666         Treat zh-hk fonts differently from zh-tw fonts.  This patch may
667         cause fontconfig to treat A-X fonts differently from A-Y fonts;
668         please mail the fontconfig list if this causes any problems.
669
670 2006-01-24  Patrick Lam  <plam@mit.edu>
671         * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
672         * src/fcfreetype.c (FcFreeTypeQuery):
673
674         Fix memory leaks reported by Ronny V. Vindenes.
675
676 2006-01-19  Andreas Schwab  <schwab@suse.de>
677         reviewed by: plam
678
679         * src/fcpat.c (FcStrNeededBytes):
680
681         Fix for unaligned memory accesses.
682
683 2006-01-18  Mike Fabian  <mfabian@suse.de>
684         reviewed by: plam
685         
686         * src/fcdir.c (FcDirScanConfig):
687
688         Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
689         calls to avoid crashes.
690
691 2006-01-14  Patrick Lam  <plam@mit.edu>
692         * src/fccache.c (FcDirCacheConsume):
693
694         Fix segfault when consuming zero-length caches in fc-cat
695         (which has no config, so FcConfigAddFontDir shouldn't be called.)
696
697 2006-01-14  Patrick Lam  <plam@mit.edu>
698         * fc-cache/fc-cache.c (scanDirs):
699         * fontconfig/fontconfig.h:
700         * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
701                          FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
702         * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
703         * src/fcdir.c (FcDirScanConfig):
704         * src/fcint.h:
705         
706         Compare device numbers as well as inodes.
707         Always normalize directory names before comparing them.
708
709 2006-01-11  Mike Fabian  <mfabian@suse.de>
710         reviewed by: plam
711         
712         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
713
714         Allocate extra space for appended '/' in directory name.
715
716 2006-01-10  Patrick Lam  <plam@mit.edu>
717         * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
718                          FcDirCacheValid, FcDirCacheHasCurrentArch,
719                          FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
720         * fc-cache/fc-cache.c (main):
721
722         Explicitly add font dirs to config.fontDirs even if they're empty.
723         Set current config in fc-cache.c.
724         Fix treatment of cache directory as read from cache file; don't
725         use string equality to determine if we have the right file,
726         use inode equality.
727
728 2006-01-09  Patrick Lam  <plam@mit.edu>
729         * fc-cache/fc-cache.c (scanDirs):
730         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
731         * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs, 
732                          FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
733         * src/fccfg.c (FcConfigNormalizeFontDir):
734         * src/fcdir.c (FcDirScanConfig):
735         * src/fcint.h:
736
737         Normalize font dirs by using the form, as given in fonts.conf, and
738         recorded in FcConfig's fontDirs string set, as canonical.
739         
740         Actually update config.fontDirs as font directories are scanned.
741
742 2006-01-08  James Su  <james.su@gmail.com>
743         * src/fcmatch.c (FcFontSetMatch):
744
745         Fix matching bug when multiple elements match; don't use
746         the sum of all scores, but the best score.
747
748         Also more perf opts, e.g. evaluate best over all font sets
749         rather than on a per-set basis (and other changes).
750
751 2006-01-08  Patrick Lam  <plam@mit.edu>
752         * src/fccache.c (FcDirCacheConsume):
753
754         Properly skip past dir caches that contain zero fonts (as occurs
755         in global caches.)  Reported by Mike Fabian.
756
757 2006-01-06  Patrick Lam  <plam@mit.edu>
758         * src/fcdbg.c (FcPatternPrint):
759
760         Print out full pathname in fc-match -v as well.  Reported by
761         Frederic Crozat.
762         
763 2006-01-06  Mike Fabian  <mfabian@suse.de>
764         reviewed by: plam
765         
766         * src/fcname.c (FcNameParse):
767
768         Fix bug where fc-match crashes when given __DUMMY__ property to
769         match on.
770
771         (I added the __DUMMY__ string to enable callers of
772         FcObjectToPtrLookup to distinguish an error return from a
773         successful return. -PL)
774
775 2006-01-05  Patrick Lam  <plam@mit.edu>
776         * AUTHORS:
777
778         Add self to AUTHORS list.
779
780         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, 
781                            FcCacheFileRead, FcCachePrintSet, main): 
782         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate, 
783                          FcGlobalCacheSave, FcCacheNextOffset, 
784                          FcDirCacheHasCurrentArch, FcDirCacheRead, 
785                          FcDirCacheConsume, FcDirCacheWrite): 
786         * src/fcint.h:
787         * src/fcpat.c (comment):
788
789         Minor change to global cache file format to fix fc-cat bug
790         reported by Frederic Crozat, and buglet with not globally caching
791         directories with zero fonts cached.
792
793 2006-01-02  Lubos Lunak  <l.lunak@suse.cz>
794         reviewed by: plam
795         
796         * src/fccfg.c (FcConfigEvaluate):
797
798         Fix double-free which occurs because FcValueCanonicalize doesn't
799         create an extra copy of the returned value, it only canonicalizes
800         it.
801
802 2006-01-02  Patrick Lam  <plam@mit.edu>
803         * doc/fontconfig-user.sgml:
804
805         Fix version of .cache file (currently 1 -> currently 2).  Reported
806         by Jim Osborn.
807
808 2005-12-21  Jinghua Luo  <sunmoon1997@gmail.com>
809         reviewed by: plam
810
811         * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
812
813         Shut up GCC warnings on amd.
814
815 2005-12-20  Patrick Lam  <plam@mit.edu>
816         * ChangeLog:
817         * README:
818         * configure.in:
819         * fontconfig/fontconfig.h:
820
821         Bump version to 2.3.93.
822
823 2005-12-20  Patrick Lam  <plam@mit.edu>
824         * src/fccharset.c (FcLangCharSetPopulate):
825         * src/fcint.h (FcCacheBankToIndex):
826
827         Avoid check on _fcBankId nullness and fix case where it used to
828         crash.
829
830 2005-12-20  Patrick Lam  <plam@mit.edu>
831         * src/fcxml.c (FcConfigParseAndLoad):
832
833         Use open instead of fopen (requested by Phil Race for Sun).
834
835 2005-12-20  Patrick Lam  <plam@mit.edu>
836         * src/fccache.c (FcDirCacheWrite);
837         * fc-cache/Makefile.am:
838
839         Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
840         dir.
841
842 2005-12-20  Patrick Lam  <plam@mit.edu>
843         * src/fcfreetype.c (FcFreeTypeQuery):
844
845         Restore code to skip over PCF fonts that have no encoded
846         characters.
847         (We guess that a font is PCF by presence of the PIXEL_SIZE
848         BDF property.)
849
850 2005-12-12  Patrick Lam  <plam@mit.edu>
851         * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
852
853         Read and write the original location as a fallback for the
854         hashed cache file locations.  This is mostly for users to be
855         able to have per-directory cache files.
856
857 2005-12-12  Patrick Lam  <plam@mit.edu>
858         * fc-cache/fc-cache.c (scanDirs):
859         * fc-cache/Makefile.am:
860         * src/fccache.c (FcDirCacheHashName):
861
862         Improve error message when fc-cache can't write the cache.  Add
863         missing slash.  Reported by Behdad.  Incorporate Behdad's patch to
864         create /var/cache/fontconfig when appropriate.
865
866 2005-12-12  Behdad Esfahbod  <behdad@cs.toronto.edu>
867         reviewed by: plam
868         
869         * src/fcxml.c (FcConfigGetAttribute):
870
871         Fix crash reported by Frederic Crozat when using libxml2.
872
873 2005-12-09  Patrick Lam  <plam@mit.edu>
874         * INSTALL:
875         * configure.in:
876         * fc-cache/Makefile.am:
877         * fc-cat/Makefile.am:
878         * src/Makefile.am:
879         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
880         * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
881         * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
882                         FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
883                         FcDirCacheHasCurrentArch, FcDirCacheHashName,
884                         FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
885
886         Migrate cache files from fonts directories to
887         /var/cache/fontconfig.  This helps make fontconfig FHS-compliant,
888         but requires that all caches get rebuilt.
889
890         Also, autogen.sh now needs the additional parameter
891         --localstatedir=/var.
892         
893 2005-12-07  Patrick Lam  <plam@mit.edu>
894         * src/fcpat.c (FcPatternAddString):
895
896         Because we've changed FcPatternAddString to use FcStrStaticName
897         and not FcValueSave, explicitly handle the case of a null string.
898
899 2005-12-06  Patrick Lam  <plam@mit.edu>
900         * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
901
902         Fix warnings.
903
904 2005-12-05  Patrick Lam  <plam@mit.edu>
905         * src/fcname.c (FcNameGetObjectType):
906
907         Don't assign types to user object names.
908
909 2005-12-05  Patrick Lam  <plam@mit.edu>
910         * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
911
912         Don't free strings that have been returned from FcStrStaticName.
913
914 2005-12-01  Patrick Lam  <plam@mit.edu>
915         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
916
917         Add codepath for reading global cache files as well.
918
919 2005-12-01  Behdad Esfahbod  <behdad@cs.toronto.edu>
920         reviewed by: plam
921
922         * conf.d/10-fonts.persian.conf:
923         * conf.d/Makefile.am:
924
925         Add config file for Persian fonts from Sharif FarsiWeb, Inc.
926
927 2005-11-30  Behdad Esfahbod  <behdad@cs.toronto.edu>
928         reviewed by: plam
929
930         * src/fcxml.c (FcConfigParseAndLoad):
931
932         Only add a config file to the set of config files once.
933
934 2005-11-29  Patrick Lam  <plam@mit.edu>
935         * src/fcint.h (FcCacheBankToIndex);
936
937         Fix segfault by guarding array dereference.
938
939 2005-11-29  Dirk Mueller  <dmueller@suse.de>
940         reviewed by: plam
941         
942         * fc-lang/fc-lang.c:
943         * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
944                          FcCacheBankToIndex, FcCacheBankToIndexMTF,
945                          FcCacheAddBankDir):
946         * src/fcint.h:
947
948         Refactor FcCacheBankToIndex into an inlineable part
949         (in fcint.h) which checks the front of the list and a
950         non-inlineable part which finds and moves the appropriate element
951         to the front of the list.
952
953 2005-11-29  Patrick Lam  <plam@mit.edu>
954         * src/fccfg.c (FcConfigBuildFonts):
955         * src/fccache.c (FcCacheReadDirs):
956
957         Make the perf guys hate me a bit less: hoist the directory-name
958         FcConfigAcceptFont check for cached fonts up to directory cache
959         read time, rather than running it for each font.
960
961 2005-11-29  Patrick Lam  <plam@mit.edu>
962         * src/fccfg.c (FcConfigBuildFonts):
963         * src/fcint.h:
964         * src/fcpat.c (FcPatternFindFullFname):
965
966         Don't make FcPatternFindFullFname available to fccfg, it's not
967         really safe.  Instead go through FcPatternGetString (sorry,
968         perf guys.)  Also, use globs for dirs as well.
969
970 2005-11-28  Patrick Lam  <plam@mit.edu>
971         * src/fccfg.c (FcConfigBuildFonts):
972
973         Fix segfault.
974
975 2005-11-28  Patrick Lam  <plam@mit.edu>
976         * src/fcint.h:
977         * src/fcpat.c (FcPatternFindFullFname):
978         * src/fccfg.c (FcConfigBuildFonts):
979
980         Fix problem dating back at least to 2.3.2 where globs weren't
981         being applied to patterns loaded from a cache.
982
983 2005-11-28  Patrick Lam  <plam@mit.edu>
984         * doc/fontconfig-user.sgml:
985
986         Fix some obvious spelling mistakes.
987         
988 2005-11-28  Dirk Mueller  <dmueller@suse.com>
989             Stephan Kulow  <coolo@suse.de>
990         reviewed by: plam
991
992         * src/fcmatch.c (FcFontSetMatch):
993
994         Don't kill all fonts during match (oops!)
995
996
997 2005-11-25  Dirk Mueller  <dmueller@suse.com>
998             Stephan Kulow  <coolo@suse.de>
999             Michael Matz  <matz@suse.de>
1000         reviewed by: plam
1001
1002         * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1003                 FcFontSetMatch):
1004
1005         Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1006         inline FcCompare into FcFontSetMatch and reorder the
1007         loops, adding a boolean array which blocks patterns from future
1008         consideration if they're known to not be best on some past
1009         criterion.
1010
1011 2005-11-26  Dirk Mueller  <dmueller@suse.com>
1012         reviewed by: plam
1013         
1014         * src/fcmatch.c (FcCompareValueList):
1015
1016         Fix incorrect merge.
1017
1018 2005-11-25  Patrick Lam  <plam@mit.edu>
1019         * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1020
1021         Don't do random matching when bad objects are passed into
1022         FcCompareValueList.
1023
1024 2005-11-25  Patrick Lam  <plam@mit.edu>
1025         * src/fcint.h:
1026         * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes, 
1027                         FcPatternSerialize, FcPatternUnserialize, 
1028                         FcValueListEnsureBank, FcValueListDistributeBytes,
1029                         FcValueListUnserialize):
1030
1031         Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1032         _fcPatternElts, _fcValueLists for consistency.
1033
1034 2005-11-25  Dirk Mueller  <dmueller@suse.com>
1035         reviewed by: plam
1036
1037         * src/fcmatch.c:
1038
1039         Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1040
1041 2005-11-25  Patrick Lam  <plam@mit.edu>
1042         * src/fcint.h:
1043         * src/fccache.c (FcDirCacheConsume):
1044         * src/fccharset.c (FcCharSetUnserialize):
1045         * src/fcfs.c (FcFontSetUnserialize):
1046         * src/fclang.c (FcLangSetUnserialize):
1047         * src/fcname.c (FcObjectUnserialize):
1048         * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize, 
1049                         FcPatternUnserialize):
1050
1051         Pass around FcCache *s to the Unserialize functions for extra
1052         consistency (and less overhead, for what that's worth).
1053
1054 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1055         reviewed by: plam
1056
1057         * src/fcint.h:
1058         * src/fcmatch.c (FcCompare*, FcFontSetSort):
1059         * src/fcname.c (FcNameUnparseValue):
1060
1061         Inline the *PtrU functions to gain perf.
1062         Remove unneeded params for the FcCompare* functions.
1063
1064 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1065         reviewed by: plam
1066         
1067         * src/fcint.h, fontconfig/fontconfig.h: 
1068         
1069         Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1070
1071         * src/fcpat.c, src/fcint.h, src/fcname.c:
1072           
1073         Check for type validity during FcPatternAddWithBinding, don't
1074         verify type in FcFontMatch, don't call FcCanonicalize here
1075         (which always does a deep copy).
1076
1077 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1078         reviewed by: plam
1079
1080         * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1081         * src/fcpat.c (FcPatternAddWithBinding):
1082
1083         Make FcCompareString and FcCompareFamily less expensive.
1084         Only add a value for FC_FAMILY if the proposed value is a string.
1085
1086 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1087         reviewed by: plam
1088         
1089         * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1090         * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1091         * src/fcint.h (FcDebug):
1092         
1093         Inline FcDebug invocations and only initialize once, in FcInit*.
1094         Improve debug msg in FcPatternPrint.
1095
1096 2005-11-23  Frederic Crozat  <fcrozat@mandriva.com>:
1097         reviewed by: plam
1098         
1099         * fontconfig/fontconfig.h:
1100         * fc-cat/fc-cat.c:
1101
1102         Minor code warning cleanups.
1103
1104 2005-11-23  Frederic Crozat  <fcrozat@mandriva.com>:
1105         reviewed by: plam
1106         
1107         * fc-match/fc-match.c (main):
1108
1109         Make getopt_long accept -s parameter to fc-match as well.
1110
1111 2005-11-21  Dirk Mueller <dmueller@suse.com>
1112         reviewed by: plam
1113
1114         * src/fcmatch.c (FcCompareValueList):
1115
1116         Manually perform inlining & partial redundancy elimination to
1117         reduce calls to FcValueListPtrU.
1118
1119 2005-11-21  Dirk Mueller <dmueller@suse.com>
1120         reviewed by: plam
1121
1122         * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1123                        FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks): 
1124
1125         Only invoke strlen() when really necessary.
1126         
1127 2005-11-19  Matthias Clasen  <mclasen@redhat.com>
1128         reviewed by: plam
1129
1130         * src/Makefile.am:
1131         * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1132                             FcFontCapabilities):
1133         * src/ftglue.c:
1134         * src/ftglue.h:
1135
1136         Get rid of the use of freetype internal headers in fcfreetype.c,
1137         since those headers will go away with freetype 2.2.  Replace with
1138         public domain ftglue code from pango.  Note that the patch removes
1139         some extra error checking in FT_Get_BDF_Property() and comments
1140         out the skipping of empty pcf fonts.
1141
1142 2005-11-19  Jinghua Luo  <sunmoon1997@gmail.com>
1143         reviewed by: plam
1144
1145         * fc-lang/fc-lang.c (main):
1146
1147         Further fix of patch from 2005-11-04: miscounted numbers count
1148         (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1149         and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1150
1151         Removed leafidx_count and numbers_count since they are the same
1152         and replaced them with offset_count.
1153
1154 2005-11-18  Frederic Crozat  <fcrozat@mandriva.com>
1155         reviewed by: plam
1156
1157         * fc-cat/fc-cat.c (main):
1158
1159         Don't crash when fc-cat invoked with no arguments.
1160
1161 2005-11-18  Frederic Crozat  <fcrozat@mandriva.com>
1162         reviewed by: plam
1163
1164         * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1165
1166         Fix invalid read access caused by premature free and
1167         GCC4 warnings in libxml2 codepath.
1168
1169 2005-11-17  Jinghua Luo  <sunmoon1997@gmail.com>
1170         reviewed by: plam
1171
1172         * src/fccfg.c (FcConfigValues):
1173
1174         List iteration not needed in FcConfigValues, since it's building
1175         up the list itself; we can just strip FcVoid elements during
1176         construction.
1177
1178 2005-11-17  Patrick Lam  <plam@mit.edu>
1179         * src/fccfg.c (FcConfigValues):
1180
1181         Fix crash on invalid constants in config files (forgot to update
1182         a pointer upon list iteration.)
1183
1184 2005-11-17  Frederic Crozat  <fcrozat@mandriva.com>
1185         reviewed by: plam
1186
1187         * src/fcxml.c (FcTypecheckExpr):
1188
1189         Complain about invalid constants in config files.
1190
1191 2005-11-17  Andreas Schwab  <schwab@suse.de>
1192         reviewed by: plam
1193         
1194         * src/fccache.c (FcGlobalCacheSave): 
1195
1196         Don't add current_arch_start more than once.
1197
1198 2005-11-16  Patrick Lam  <plam@mit.edu>
1199         * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1200         * src/fcfs.c (FcFontSetUnserialize):
1201         * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1202         * src/fcpat.c (FcStrUnserialize):
1203
1204         Fix ordering of ALIGN with respect to saving block_ptr; add
1205         another ALIGN to fcfs.c.
1206
1207 2005-11-16  Patrick Lam  <plam@mit.edu>
1208         * src/fccache.c (FcDirCacheProduce)
1209         
1210         Fix case where alignment bytes bumped up metadata->count
1211         causing unwarranted failures to write cache files.  
1212         (Reported by Stephan Kulow).
1213
1214 2005-11-16  Patrick Lam  <plam@mit.edu>
1215         * src/fccache.c (FcDirCacheProduce):
1216         * src/fccharset.c (FcCharSetDistributeBytes):
1217         * src/fcfs.c (FcFontSetDistributeBytes):
1218         * src/fcint.h:
1219         * src/fclang.c (FcLangSetDistributeBytes):
1220         * src/fcname.c (FcObjectDistributeBytes):
1221         * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1222                 FcStrNeededBytes):
1223         
1224         Add *NeededBytesAlign(), which overestimates the padding which is
1225         later added by the new ALIGN macro.  Fix alignment problems on
1226         ia64 and s390 by bumping up block_ptr appropriately.  (Earlier
1227         version by Andreas Schwab).
1228
1229 2005-11-16  Stephan Kulow  <coolo@kde.org>
1230         reviewed by: plam
1231         
1232         * src/fccache.c:
1233
1234         Use sysconf to determine proper PAGESIZE value; this
1235         appears to be POSIX-compliant. (reported by Andreas Schwab)
1236
1237 2005-11-04  Patrick Lam  <plam@mit.edu>
1238         * fc-lang/fc-lang.c:
1239         * src/fccharset.c:
1240         * src/fcint.h:
1241         * src/fclang.c:
1242
1243         Fix bug 2878 (excessive relocations at startup for charsets,
1244         reported by Ross Burton): fc-lang/fc-lang now creates the
1245         static form of the langset, not the dynamic form, so that
1246         the charsets should now be in .rodata.
1247
1248 2005-11-04  Patrick Lam  <plam@mit.edu>
1249         * src/fcdir.c (FcDirScanConfig):
1250
1251         Add test for validity of directory caches that
1252         somehow got lost (reported by make distcheck).
1253
1254 2005-11-04  Patrick Lam  <plam@mit.edu>
1255         * ChangeLog:
1256         * README:
1257         * configure.in:
1258         * fontconfig/fontconfig.h:
1259         
1260         Bump version to 2.3.92.
1261
1262 2005-11-02  Patrick Lam  <plam@mit.edu>
1263         * src/fcpat.c (FcPatternDuplicate):
1264
1265         Fix argument ordering problem in call to FcPatternTransferFullFname.
1266
1267 2005-11-02  Patrick Lam  <plam@mit.edu>
1268         * src/fcfreetype.c (FcFreetypeQuery):
1269         * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate, 
1270                        FcPatternTransferFullFname):
1271
1272         Fix warnings and embarrassing double-free error.
1273
1274 2005-11-02  Zhe Su  <zsu@novell.com>
1275         reviewed by: plam
1276         
1277         * fonts.conf.in:
1278
1279         Change the rule for artificial emboldening in fonts.conf.in.  This
1280         enables the support for artificial emboldening included in cairo.
1281
1282 2005-11-02  Patrick Lam  <plam@mit.edu>
1283         * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1284
1285         Don't zero out full names for FC_REF_CONSTANT fonts;
1286         also, duplicate full names when transferring, and free
1287         full names when freeing the associated font.
1288         Reported by Jinghua Luo.
1289
1290 2005-11-02  Patrick Lam  <plam@mit.edu>
1291         * fc-cache/fc-cache.c (scanDirs):
1292         * src/fcpat.c (FcValueListSerialize):
1293
1294         Revert the previous patch and commit the correct patch:
1295         I forgot a canonicalization in FcValueListSerialize, so
1296         that it would choke on already-serialized input files.  Duh!
1297
1298 2005-11-02  Patrick Lam  <plam@mit.edu>
1299         * fc-cache/fc-cache.c (scanDirs):
1300
1301         Forcibly rescan a directory before writing a fresh local
1302         cache file for that directory, fixing the losing-fonts
1303         problem reported by Mike Fabian and also apparently the 
1304         font cache file corruption.
1305
1306 2005-11-02  Patrick Lam  <plam@mit.edu>
1307         * src/fccache.c (FcGlobalCacheLoad):
1308
1309         Fix thinko: actually, the whole global cache is stale 
1310         if the global cache is older than the (newest) config file.
1311
1312 2005-11-02  Patrick Lam  <plam@mit.edu>
1313         * src/fccache.c (FcGlobalCacheLoad):
1314         * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1315         * src/fcint.h:
1316
1317         Declare the global cache of a directory's contents to be stale if
1318         the directory is newer than the (newest) configuration file.
1319
1320 2005-10-31  Patrick Lam  <plam@mit.edu>
1321         * src/fcint.h:
1322         * src/fclist.c (FcListAppend):
1323         * src/fcmatch.c (FcFontRenderPrepare):
1324         * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1325                        FcPatternFreeze, FcPatternBaseFreeze):
1326
1327         Copy the full pathname whenever duplicating an FcPattern; otherwise,
1328         applications continue breaking.
1329
1330 2005-10-31  Patrick Lam  <plam@mit.edu>
1331         * fc-cat/fc-cat.c (FcCacheFileRead, main):
1332         * src/fcfreetype.c (FcFreeTypeQuery):
1333
1334         Fix small memory error (tried to free argv); use basename and
1335         dirname correctly (they can modify their arguments).
1336
1337 2005-10-31  Patrick Lam  <plam@mit.edu>
1338         * fc-cat/fc-cat.c:
1339         * src/fccache.c:
1340         * src/fcfreetype.c:
1341         * src/fcint.h:
1342         * src/fclist.c:
1343         * src/fcpat.c:
1344
1345         Reinstate basename patch, but keep a hash table linking FcPatterns
1346         to their fully-qualified font names for clients' benefit.  Clients
1347         only pay for the font names once they request the FC_FILE property
1348         from an FcPattern, but the font name is malloc'd at that point (i.e.
1349         not mmapped: that's impossible, since it may vary between machines.)
1350         Clients do have to pay for a copy of the path name per cache file.
1351
1352         Note that FcPatternGetString now does some rewriting if you ask
1353         for an FC_FILE, appending the pathname as appropriate.
1354         
1355 2005-10-31  Patrick Lam  <plam@mit.edu>
1356         * src/fcfreetype.c (FcFreeTypeQuery):
1357
1358         Revert basename patch, which breaks fontconfig clients on my system.
1359
1360 2005-10-25  Jinghua Luo  <sunmoon1997@gmail.com>
1361         reviewed by: plam
1362
1363         * fontconfig/fonts.conf.in:
1364         * fontconfig/fontconfig.h:
1365         * src/fcdefault.c:
1366         * src/fcname.c:
1367
1368         Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1369         to load embedded bitmaps or not.
1370
1371 2005-10-25  Patrick Lam  <plam@mit.edu>
1372         * src/fcfreetype.c (FcFreeTypeQuery):
1373
1374         Only add basename to patterns' FC_FILE element, not any part of
1375         the dirname.
1376
1377 2005-10-22  Patrick Lam  <plam@mit.edu>
1378         * src/fcfreetype.c:
1379
1380         Add some more consts, fixing more GCC4 warnings.
1381
1382 2005-10-22  Zhe Su  <zsu@novell.com>
1383         reviewed by: plam
1384
1385         Support localized font family and style names.
1386         This has been reported to break old apps like xfd, but modern
1387         (gtk+/qt/mozilla) apps work fine.
1388
1389 2005-10-21  Patrick Lam  <plam@mit.edu>
1390         * src/fccache.c (FcGlobalCacheLoad):
1391
1392         Destroy the global cache file if it's terminally broken.  (reported by
1393         Mike Fabian)
1394
1395 2005-10-21  Patrick Lam  <plam@mit.edu>
1396         * fc-list/fc-list.c (main):
1397         * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1398         * fontconfig/fontconfig.h:
1399
1400         Prevent fc-list from escaping strings when printing them (reported by
1401         Matthias Clasen).
1402
1403 2005-10-20  Marcus Meissner  <meissner@suse.de>
1404         reviewed by: plam
1405
1406         * fontconfig/fontconfig.h:
1407
1408         Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1409         
1410 2005-10-14  Ross Burton  <ross@burtonini.com>
1411         reviewed by: plam
1412
1413         * fc-glyphname/fc-glyphname.c:
1414         * src/fclang.c:
1415
1416         Add consts to variables so as to move arrays into .rodata.
1417
1418 2005-10-14  Mike Fabian  <mfabian@suse.de>
1419         reviewed by: plam
1420
1421         * src/fccache.c (FcDirCacheUnlink):
1422
1423         Check existence of directory cache file before attempting to unlink.
1424
1425 2005-10-13  Patrick Lam  <plam@mit.edu>
1426         * src/fccache.c (FcDirCacheUnlink):
1427
1428         Fix flipped return value on unlink.  (Reported by Mike Fabian)
1429
1430 2005-10-12  Patrick Lam  <plam@mit.edu>
1431
1432         * src/fccache.c:
1433         * src/fcdir.c (FcDirScanConfig):
1434         * src/fcint.h:
1435
1436         When fc-cache is run without --force, use directory cache files
1437         to speed up fc-cache run time.  (Reported by Mike Fabian)
1438
1439 2005-10-06  Patrick Lam  <plam@mit.edu>
1440
1441         * src/fcname.c (FcObjectToPtr):
1442         * src/fcpat.c (FcStrStaticName):
1443
1444         Add padding to make valgrind and glibc not hate each other
1445         when calling strlen().
1446
1447 2005-10-05  Simos Xenitellis  <simos74@gmx.net>
1448         reviewed by: plam & keithp
1449
1450         * fonts.conf.in:
1451
1452         Modify config file to use Greek fonts before Asian fonts with
1453         Greek glyphs.
1454
1455 2005-10-05  Christian Biesinger  <cbiesinger@web.de>
1456         reviewed by: plam & keithp
1457
1458         * src/Makefile.am:
1459
1460         Use libtool -no-undefined flag on all platforms.
1461
1462 2005-10-05  Patrick Lam  <plam@mit.edu>
1463         * src/fccache.c (FcCacheHaveBank):
1464
1465         Implement move-to-front array for banks (perf regression
1466         reported by Ronny V. Vindenes).
1467
1468 2005-10-04  Patrick Lam  <plam@mit.edu>
1469         * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink, 
1470                          FcDirCacheHasCurrentArch):
1471         * fc-cache/fc-cache.c (scanDirs):
1472         * fontconfig/fontconfig.h:
1473
1474         Add new API which unlinks directory caches and checks dir caches
1475         for existence of appropriate sections.  Fix fc-cache to unlink
1476         stale cache files and save directory caches that lack relevant
1477         sections.
1478
1479 2005-10-03  Patrick Lam  <plam@mit.edu>
1480         * src/fccache.c (FcDirCacheValid):
1481
1482         Ensure that a directory cache has the appropriate section
1483         before reporting that it is valid (reported by Matthias Clasen).
1484
1485 2005-09-29  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1486
1487         reviewed by: plam
1488         
1489         * configure.in:
1490         * src/Makefile.am:
1491         * src/fcxml.c:
1492
1493         Use libxml2 if requested (with --enable-libxml2) or if
1494         expat is not available.
1495
1496 2005-09-29  Patrick Lam  <plam@mit.edu>
1497         * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1498
1499         Fix multi-arch cache files: compute the position for the
1500         block to be added using info from OrigFile, not NewFile.
1501
1502 2005-09-28  Patrick Lam  <plam@mit.edu>
1503         * src/fccache.c (FcCacheMachineSignature):
1504
1505         Cast results of sizeof() to unsigned int to get rid of
1506         warnings on x86_64 (thanks Matthias Clasen).
1507
1508 2005-09-27  Patrick Lam  <plam@mit.edu>
1509         * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1510                 FcDirCacheWrite):
1511
1512         Use FcAtomic to rewrite cache files.
1513
1514 2005-09-27  Patrick Lam  <plam@mit.edu>
1515
1516         * src/fccache.c (FcDirCacheWrite):
1517
1518         Don't unlink the fonts.cache-2 file even if there's no data
1519         to write; just write an empty cache file.  (thanks Lubos Lunak)
1520
1521 2005-09-27  Patrick Lam  <plam@mit.edu>
1522
1523         * src/fccache.c (FcDirCacheWrite):
1524
1525         Allocate room for the subdirectory names in each
1526         directory cache.  Thanks to James Cloos for finding
1527         and diagnosing this bug!
1528
1529 2005-09-22  Patrick Lam  <plam@mit.edu>
1530
1531         * fc-cache/fc-cache.sgml:
1532         * src/fccache.c (FcDirCacheWrite):
1533         * src/fccache.h (struct FcCache):
1534
1535         Update documentation -- fc-cache's man page now says that you
1536         need to run fc-cache once per cached architecture; add some
1537         documentation to the FcCache structure.
1538
1539         Make fc-cache write out fonts.cache-2 files for directories with
1540         no fonts (i.e. only subdirectories).
1541         
1542 2005-09-22  Patrick Lam    <plam@mit.edu>
1543         * doc/edit-sgml.c:
1544         * fc-cache/fc-cache.sgml:
1545         * fc-case/fc-case.c:
1546         * fc-glyphname/fc-glyphname.c:
1547         * src/fcdefault.c:
1548         * src/fcfreetype.c:
1549         * src/fcinit.c:
1550         * src/fcxml.c:
1551
1552         More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1553
1554         * Makefile.am:
1555         * configure.in:
1556         * fc-lang/fc-lang.c:
1557         * fontconfig/fcprivate.h:
1558         * fontconfig/fontconfig.h:
1559         * src/fccache.c:
1560         * src/fccfg.c:
1561         * src/fccharset.c:
1562         * src/fcdbg.c:
1563         * src/fcdir.c:
1564         * src/fcfs.c:
1565         * src/fcint.h:
1566         * src/fclang.c:
1567         * src/fclist.c:
1568         * src/fcmatch.c:
1569         * src/fcname.c:
1570         * src/fcpat.c:
1571
1572         Implement new mmaped cache for font information.
1573         Bump so revision to 2.3.90.
1574
1575 2005-07-25  Keith Packard  <keithp@keithp.com>
1576
1577         * doc/fontconfig-user.sgml:
1578         * fc-glyphname/fc-glyphname.c: (scan), (main):
1579         * fc-lang/fc-lang.c: (FcConfigHome):
1580         * fc-match/fc-match.c: (main):
1581         * src/fccfg.c: (FcConfigHome):
1582         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1583         (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1584         (addtag), (FcFontCapabilities):
1585         * src/fcpat.c: (FcValueListEntCreate):
1586         * src/fcstr.c: (FcStrCaseWalkerInit):
1587         * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1588
1589         Various GCC 4 cleanups for signed vs unsigned char
1590
1591         Match only [0-9]*.conf files in <include>{directory}</include>
1592         elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1593
1594 2005-07-15  Carl Worth  <cworth@cworth.org>
1595
1596         * src/fcint.h:
1597         * src/fcinit.c: (FcFini):
1598         * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1599         FcPatternFini.
1600         
1601         * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1602         Pull the FcObjectStateName hash table out to file scope, and add
1603         FcObjectStaticNameFini so that FcFini will cleanup this hash table
1604         as well.
1605
1606         * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1607         fclose.
1608
1609 2005-06-16  Patrick Lam <plam@MIT.EDU>
1610
1611         reviewed by: keithp
1612
1613         * src/fccfg.c: (FcConfigCompareValue):
1614         Make FcOpNotContains use FcStrStr for strings so that
1615         it matches semantics for !FcOpContains.
1616
1617 2005-05-20  Keith Packard  <keithp@keithp.com>
1618
1619         * debian/changelog:
1620         * debian/control:
1621         Move fontconfig source package to libs as per override
1622
1623 2005-05-20  Aiet Kolkhi <aietkolkhi@gmail.com>
1624
1625         reviewed by: Mike Fabian
1626
1627         * fc-lang/ka.orth:
1628         The ka.orth file requires several characters which are not 
1629         used anymore in modern Georgian and which are missing in the free 
1630         Georgian TrueType fonts downloadable at: 
1631         
1632         http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1633
1634 2005-04-27  Keith Packard  <keithp@keithp.com>
1635
1636         * README:
1637         * debian/changelog:
1638         Update date to real 2.3.2 release date.
1639         Fix change attributions
1640         
1641 2005-04-27  Keith Packard  <keithp@keithp.com>
1642
1643         * configure.in:
1644         Bump so revision for 2.3.2
1645         * fc-cache/fc-cache.c: (scanDirs):
1646         Fix a few minor leaks in error cases.
1647
1648 2005-04-23  Keith Packard  <keithp@keithp.com>
1649
1650         * README:
1651         * configure.in:
1652         * debian/changelog:
1653         * fontconfig/fontconfig.h:
1654         Update for version 2.3.2
1655
1656 2005-04-21  Keith Packard  <keithp@keithp.com>
1657
1658         * debian/fontconfig.postinst:
1659         Don't force bitmap font enable in default
1660         configuration; allows users to override this in
1661         ~/.fonts.conf
1662         * debian/po/cs.po:
1663         * debian/po/da.po:
1664         * debian/po/de.po:
1665         * debian/po/es.po:
1666         * debian/po/fr.po:
1667         * debian/po/ja.po:
1668         * debian/po/nl.po:
1669         * debian/po/pt.po:
1670         * debian/po/pt_BR.po:
1671         * debian/po/templates.pot:
1672         * debian/po/tr.po:
1673         * debian/po/zh_CN.po:
1674         Updated translations
1675         
1676         * fc-cache/fc-cache.c: (main):
1677         Destroy font configuration on exit to help valgrind
1678         
1679         * fonts.conf.in:
1680         * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1681         (FcFreeTypeCheckGlyph):
1682         Use own transcoding routines in preference to iconv
1683         which appears to have leaks in some translators.
1684         Call iconv_close after using iconv (oops).
1685         
1686         Prefer unicode encoding of Euro char as some
1687         fonts mis-encode Euro in other ones.
1688
1689         Must fetch bitmap glyphs to get width values
1690         to check for monospace/dual-width fonts.
1691
1692 2005-04-13  Ross Burton  <ross@burtonini.com>
1693
1694         * src/fcpat.c:
1695         Check that a pattern isn't already frozen in FcPatternFreeze.
1696
1697 2005-03-31  Ross Burton  <ross@burtonini.com>
1698
1699         * src/fclist.c:
1700         * src/fcmatch.c:
1701         * src/fcpat.c:
1702         Run all FcPattern objects through FcObjectStaticName, so that
1703         compares can be done on pointers instead of strings (#2659)
1704
1705 2005-03-17  Tor Lillqvist  <tml@novell.com>
1706
1707         * src/fontconfig.def.in: Add the .dll to the dll name.
1708
1709 2005-03-10  Keith Packard  <keithp@keithp.com>
1710
1711         * debian/README.Debian:
1712         Update to reflect configuration changes
1713         * debian/changelog:
1714         * debian/fontconfig.postinst:
1715         Fix Autohint vs Autohinter mistake
1716         * debian/fontconfig.templates:
1717         Adopt changes from Josselin Mouette for configuration descriptions
1718         Update debian to version 2.3.1-2
1719
1720 2005-03-08  Keith Packard  <keithp@keithp.com>
1721
1722         * debian/changelog:
1723         * debian/rules:
1724         Update debian for 2.3.1
1725
1726 2005-03-09  Tor Lillqvist  <tml@novell.com>
1727
1728         * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1729         put it, not "lib".
1730
1731         * src/fccfg.c (FcConfigFileExists): Check also drive letter
1732         prefix on Win32.
1733
1734 2005-03-08  Keith Packard  <keithp@keithp.com>
1735
1736         * README:
1737         * configure.in:
1738         * fontconfig/fontconfig.h:
1739         Update for 2.3.1
1740
1741 2005-03-05  Keith Packard  <keithp@keithp.com>
1742
1743         * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1744         Include space and remove numbers from valid script tags.
1745         This ensures that tags like 'lao ' work while rejecting
1746         those which have any digits.
1747         Eliminate a spurious debugging variable (len)
1748
1749 2005-03-05  Keith Packard  <keithp@keithp.com>
1750
1751         * src/fcfreetype.c: (addtag), (GetScriptTags),
1752         (FcFontCapabilities):
1753         Rework GSUB/GPOS script parsing to survive broken fonts.
1754         Thanks for the broken font go to Manish Singh
1755
1756 2005-03-05  Keith Packard  <keithp@keithp.com>
1757
1758         Josselin Mouette:
1759         * debian/changelog:
1760         * debian/control:
1761         * debian/fontconfig.config:
1762         * debian/fontconfig.templates:
1763         * debian/rules:
1764                 Include 2.3 release information in changelog
1765                 Add Josselin Mouette as an Uploader
1766                 Set hinting_type to low priority configuration option
1767                 
1768         Manish Singh:
1769         * debian/fontconfig.postinst:
1770                 yes_bitmaps.conf -> yes-bitmaps.conf
1771                 
1772         Funda Wang:
1773         * src/fcfreetype.c:
1774                 Johap -> Johab
1775                 
1776 2005-03-02  Keith Packard  <keithp@keithp.com>
1777
1778         * Makefile.am:
1779         * conf.d/Makefile.am:
1780         * conf.d/autohint.conf:
1781         * conf.d/no-sub-pixel.conf:
1782         * conf.d/sub-pixel.conf:
1783         * conf.d/unhinted.conf:
1784         * debian/autohint.conf:
1785         * debian/fontconfig.install:
1786         * debian/fontconfig.postinst:
1787         * debian/fontconfig.templates:
1788         * debian/no-sub-pixel.conf:
1789         * debian/unhinted.conf:
1790         Move debian-specific conf file examples upstream.
1791         
1792         Sub-pixel configuration examples must smash subpixel value
1793         as Xft always sets it from X.
1794
1795         Change sub-pixel rendering debconf descriptions from
1796         Enable/Disable to Always/Never.
1797
1798 2005-03-02  Keith Packard  <keithp@keithp.com>
1799
1800         * .cvsignore:
1801         * conf.d/.cvsignore:
1802         * doc/.cvsignore:
1803         Ignore more build detritus
1804
1805         * Makefile.am:
1806         Add debian package construction stuff.
1807         
1808         * config/config.guess:
1809         * config/config.sub:
1810         Update to newer versions of these tools
1811         
1812         * doc/Makefile.am:
1813         Get library manuals to build again (we love automake).
1814         
1815         * debian/README.Debian:
1816         * debian/autohint.conf:
1817         * debian/changelog:
1818         * debian/compat:
1819         * debian/control:
1820         * debian/copyright:
1821         * debian/fontconfig-udeb.install:
1822         * debian/fontconfig.config:
1823         * debian/fontconfig.defoma:
1824         * debian/fontconfig.dirs:
1825         * debian/fontconfig.install:
1826         * debian/fontconfig.postinst:
1827         * debian/fontconfig.postrm:
1828         * debian/fontconfig.templates:
1829         * debian/libfontconfig1-dev.install:
1830         * debian/libfontconfig1.install:
1831         * debian/local.conf.md5sum:
1832         * debian/no-sub-pixel.conf:
1833         * debian/po/POTFILES.in:
1834         * debian/po/cs.po:
1835         * debian/po/da.po:
1836         * debian/po/de.po:
1837         * debian/po/es.po:
1838         * debian/po/fr.po:
1839         * debian/po/ja.po:
1840         * debian/po/nl.po:
1841         * debian/po/pt.po:
1842         * debian/po/pt_BR.po:
1843         * debian/po/templates.pot:
1844         * debian/po/tr.po:
1845         * debian/po/zh_CN.po:
1846         * debian/rules:
1847         * debian/unhinted.conf:
1848         Update debian build system to switch maintainers and
1849         deal with 2.3 functionality
1850
1851 2005-03-01  Keith Packard  <keithp@keithp.com>
1852
1853         * README:
1854         * configure.in:
1855         * fontconfig/fontconfig.h:
1856         Update for 2.3.0
1857
1858 2005-03-01  Keith Packard  <keithp@keithp.com>
1859
1860         * doc/Makefile.am:
1861         Generate and install PDF versions of the manuals
1862
1863         * doc/fcpattern.fncs:
1864         Fix formatting
1865         
1866         * doc/fcstring.fncs:
1867         Add missing exported functions, fix data types
1868         
1869         * doc/fontconfig-devel.sgml:
1870         Add missing pattern elements.
1871         
1872         * doc/fontconfig-user.sgml:
1873         Add missing pattern elements.  Document conf.d usage,
1874         clarify available orthography list.  Fix some config file
1875         attributes.  Complete list of constants.
1876         
1877         * fontconfig/fontconfig.h:
1878         Mark FC_SOURCE deprecated.
1879         
1880         * src/fcfreetype.c: (FcFreeTypeQuery):
1881         Don't set FC_SOURCE any longer.
1882
1883 2005-02-28  Keith Packard  <keithp@keithp.com>
1884
1885         * Makefile.am:
1886         * conf.d/Makefile.am:
1887         * conf.d/README:
1888         * conf.d/no-bitmaps.conf:
1889         * conf.d/sub-pixel.conf:
1890         * conf.d/yes-bitmaps.conf:
1891         * configure.in:
1892         Create prototype /etc/fonts/conf.d directory with a few
1893         sample configuration files.
1894         Deprecate use of local.conf for local customizations in favor of
1895         this directory based scheme which is more easily integrated into
1896         installation systems.
1897         
1898         * src/fcname.c:
1899         Tag FC_EMBOLDEN as a boolean variable
1900
1901 2005-02-10  Keith Packard  <keithp@keithp.com>
1902
1903         reviewed by: pborelli@katamail.com
1904
1905         * src/fcdir.c: (FcFileScanConfig):
1906         Free patterns from fonts which are rejected by configuration
1907         (bug #2518)
1908
1909 2005-01-28  Keith Packard  <keithp@keithp.com>
1910
1911         * README:
1912         * configure.in:
1913         * fontconfig/fontconfig.h:
1914         Update for version 2.2.99
1915
1916 2005-01-28  Keith Packard  <keithp@keithp.com>
1917
1918         * README:
1919         Add a few pointers (#2284, #2285)
1920
1921 2005-01-28  Keith Packard  <keithp@keithp.com>
1922
1923         * src/fcint.h:
1924         * src/fcname.c: (FcNameBool):
1925         * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1926         (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1927         (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1928         Polite typechecking for test and edit expressions.  Helps
1929         catch errors in the font configuration. (bug 229)
1930
1931 2005-01-15  Alan Coopersmith <alan.coopersmith@sun.com>
1932
1933         reviewed by: Keith Packard <keithp@keithp.com>
1934
1935         * configure.in:
1936         Have --with-expat set EXPAT_CFLAGS (bug 2278)
1937
1938 2005-01-13  Keith Packard  <keithp@keithp.com>
1939
1940         * doc/fontconfig-user.sgml:
1941         Add SEE ALSO section (bug 2085)
1942         
1943 2005-01-13  J. Ali Harlow <ali@juiblex.co.uk>
1944
1945         reviewed by: Keith Packard  <keithp@keithp.com>
1946
1947         * Makefile.am:
1948         * configure.in:
1949         * doc/Makefile.am:
1950         * fc-case/Makefile.am:
1951         * fc-glyphname/Makefile.am:
1952         * fc-lang/Makefile.am:
1953         * src/fontconfig.def.in:
1954         Cross compiling fixes (bug 280)
1955
1956 2005-01-13  Keith Packard  <keithp@keithp.com>
1957
1958         * fonts.conf.in:
1959         Update blanks list (Closes bug 86)
1960
1961 2005-01-04  Keith Packard  <keithp@keithp.com>
1962
1963         * src/fccache.c: (FcCacheFontSetAdd):
1964         Verify that every font pattern loaded from cache has
1965         both FC_FILE and FC_FAMILY entries.
1966         Attempt to fix bug #2219.
1967
1968 2004-12-29  Keith Packard  <keithp@keithp.com>
1969
1970         * README:
1971         * configure.in:
1972         * fontconfig/fontconfig.h:
1973         Update for version 2.2.98
1974
1975 2004-12-29  Keith Packard  <keithp@keithp.com>
1976
1977         * fontconfig/fontconfig.h:
1978         Document ASCII limitations of Fc character conversion macros
1979         * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1980         Fix off-by-one error in utf-8 case walking code.
1981         Add FcStrDowncase (useful for testing case conversion functions)
1982
1983 2004-12-29  Keith Packard  <keithp@keithp.com>
1984
1985         * .cvsignore:
1986         * fc-case/.cvsignore:
1987         clean up CVS ignore lists
1988         * fc-lang/iso-3166.txt:
1989         Add territory database
1990         
1991 2004-12-29   Tor Andersson <tor.andersson@gmail.com>
1992
1993         Reviewed by: Keith Packard
1994         
1995         * fc-lang/ko.orth:
1996         Remove Han characters from Korean orthography
1997
1998 2004-12-29  Keith Packard  <keithp@keithp.com>
1999
2000         * Makefile.am:
2001         Reorder utility programs to make sure fc-case is run before fc-lang
2002         as fc-lang uses fcstr.c which uses fccase.h
2003         * fonts.conf.in:
2004         Fix broken XML
2005
2006 2004-12-29  Keith Packard  <keithp@keithp.com>
2007
2008         * fonts.conf.in:
2009         Adopt some RedHat suggestions for standard font configuration.
2010
2011         * Makefile.am:
2012         * configure.in:
2013         * fc-case/CaseFolding.txt:
2014         * fc-case/Makefile.am:
2015         * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2016         (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2017         (dump), (parseRaw), (caseFoldReadRaw), (main):
2018         * fc-case/fccase.tmpl.h:
2019         Add new helper program 'fc-case' to construct case folding
2020         tables from standard Unicode CaseFolding.txt file
2021         
2022         * src/fcint.h:
2023         * src/fclist.c: (FcListValueHash):
2024         * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2025         (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2026         (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2027         (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2028         (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2029         Re-implement case insensitive functions with Unicode
2030         aware versions (including full case folding mappings)
2031
2032 2004-12-13  Keith Packard  <keithp@keithp.com>
2033
2034         reviewed by: Owen Taylor <otaylor@redhat.com>
2035
2036         * src/fcmatch.c: (FcFontSetSort):
2037         I changed FcFontSetSort to respect the generic aliases better
2038         in the face of language matching.
2039         
2040         What I did was to ammend the strict sort order used by FcFontSort so
2041         that it 'satisfies' the language specified in the pattern by locating
2042         the best matching font supporting each pattern language and then
2043         ignores language in the remaining fonts for purposes of matching.
2044
2045         So, when asking for 'sans:lang=en', you'll get an English font first,
2046         and then the remaining fonts sorted with respect to the 'sans' alias
2047         alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2048
2049 2004-12-10  Jakub Pavelek <jakub.pavelek@nokia.com>
2050
2051         reviewed by: Keith Packard  <keithp@keithp.com>
2052
2053         * fontconfig/fontconfig.h:
2054         * fonts.conf.in:
2055
2056         Configuration changes to request synthetic emboldening of
2057         fonts.  The actual emboldening code will live in Xft.
2058
2059 2004-12-09  John Thacker <thacker@math.cornell.edu>
2060
2061         reviewed by: Keith Packard  <keithp@keithp.com>
2062
2063         * fc-lang/ru.orth:
2064         
2065         Currently Russian (ru) requires 0406 and 0456 (І and Ñ–), but these
2066         were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2067         Ð¸), and don't even appear in KOI8-R.  (The hypothesis that they
2068         don't appear in KOI8-R due to their similarity with Latin I and i is
2069         eliminated by their presence in KOI8-U.)  I have a couple of fonts
2070         with Russian support that don't have the letter.
2071
2072         Therefore, 0406 and 0456 should be removed from or commented out of
2073         ru.orth
2074
2075 2004-12-06  michael meeks <mmeeks@novell.com>
2076
2077         Reviewed by: Keith Packard  <keithp@keithp.com>
2078
2079         * src/fcinit.c: (FcMemReport):
2080         * src/fcint.h:
2081         * src/fclist.c: (FcObjectSetAdd):
2082         * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2083         (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2084         * src/fcxml.c: (FcParsePatelt):
2085         memoize strings and share a single copy for all uses.  Note that
2086         this could be improved further by using statically allocated blocks
2087         and gluing multiple strings together, but I'm basically lazy.
2088         In my environment with 800 font files, I get a savings of about 90KB.
2089
2090 2004-12-06  Keith Packard  <keithp@keithp.com>
2091
2092         * COPYING:
2093         * Makefile.am:
2094         * config/Makedefs.in:
2095         * configure.in:
2096         * doc/edit-sgml.c:
2097         * doc/fcatomic.fncs:
2098         * doc/fcblanks.fncs:
2099         * doc/fccharset.fncs:
2100         * doc/fcconfig.fncs:
2101         * doc/fcconstant.fncs:
2102         * doc/fcfile.fncs:
2103         * doc/fcfontset.fncs:
2104         * doc/fcfreetype.fncs:
2105         * doc/fcinit.fncs:
2106         * doc/fcmatrix.fncs:
2107         * doc/fcobjectset.fncs:
2108         * doc/fcobjecttype.fncs:
2109         * doc/fcpattern.fncs:
2110         * doc/fcstring.fncs:
2111         * doc/fcstrset.fncs:
2112         * doc/fcvalue.fncs:
2113         * doc/fontconfig-devel.sgml:
2114         * doc/fontconfig-user.sgml:
2115         * doc/func.sgml:
2116         * doc/version.sgml.in:
2117         * fc-cache/Makefile.am:
2118         * fc-cache/fc-cache.c:
2119         * fc-glyphname/Makefile.am:
2120         * fc-glyphname/fc-glyphname.c:
2121         * fc-glyphname/fcglyphname.tmpl.h:
2122         * fc-lang/Makefile.am:
2123         * fc-lang/aa.orth:
2124         * fc-lang/ab.orth:
2125         * fc-lang/af.orth:
2126         * fc-lang/am.orth:
2127         * fc-lang/ar.orth:
2128         * fc-lang/ast.orth:
2129         * fc-lang/ava.orth:
2130         * fc-lang/ay.orth:
2131         * fc-lang/az.orth:
2132         * fc-lang/az_ir.orth:
2133         * fc-lang/ba.orth:
2134         * fc-lang/bam.orth:
2135         * fc-lang/be.orth:
2136         * fc-lang/bg.orth:
2137         * fc-lang/bh.orth:
2138         * fc-lang/bho.orth:
2139         * fc-lang/bi.orth:
2140         * fc-lang/bin.orth:
2141         * fc-lang/bn.orth:
2142         * fc-lang/bo.orth:
2143         * fc-lang/br.orth:
2144         * fc-lang/bs.orth:
2145         * fc-lang/bua.orth:
2146         * fc-lang/ca.orth:
2147         * fc-lang/ce.orth:
2148         * fc-lang/ch.orth:
2149         * fc-lang/chm.orth:
2150         * fc-lang/chr.orth:
2151         * fc-lang/co.orth:
2152         * fc-lang/cs.orth:
2153         * fc-lang/cu.orth:
2154         * fc-lang/cv.orth:
2155         * fc-lang/cy.orth:
2156         * fc-lang/da.orth:
2157         * fc-lang/de.orth:
2158         * fc-lang/dz.orth:
2159         * fc-lang/el.orth:
2160         * fc-lang/en.orth:
2161         * fc-lang/eo.orth:
2162         * fc-lang/es.orth:
2163         * fc-lang/et.orth:
2164         * fc-lang/eu.orth:
2165         * fc-lang/fa.orth:
2166         * fc-lang/fc-lang.c:
2167         * fc-lang/fc-lang.man:
2168         * fc-lang/fclang.tmpl.h:
2169         * fc-lang/fi.orth:
2170         * fc-lang/fj.orth:
2171         * fc-lang/fo.orth:
2172         * fc-lang/fr.orth:
2173         * fc-lang/ful.orth:
2174         * fc-lang/fur.orth:
2175         * fc-lang/fy.orth:
2176         * fc-lang/ga.orth:
2177         * fc-lang/gd.orth:
2178         * fc-lang/gez.orth:
2179         * fc-lang/gl.orth:
2180         * fc-lang/gn.orth:
2181         * fc-lang/gu.orth:
2182         * fc-lang/gv.orth:
2183         * fc-lang/ha.orth:
2184         * fc-lang/haw.orth:
2185         * fc-lang/he.orth:
2186         * fc-lang/hi.orth:
2187         * fc-lang/ho.orth:
2188         * fc-lang/hr.orth:
2189         * fc-lang/hu.orth:
2190         * fc-lang/hy.orth:
2191         * fc-lang/ia.orth:
2192         * fc-lang/ibo.orth:
2193         * fc-lang/id.orth:
2194         * fc-lang/ie.orth:
2195         * fc-lang/ik.orth:
2196         * fc-lang/io.orth:
2197         * fc-lang/is.orth:
2198         * fc-lang/iso639-2:
2199         * fc-lang/it.orth:
2200         * fc-lang/iu.orth:
2201         * fc-lang/ja.orth:
2202         * fc-lang/ka.orth:
2203         * fc-lang/kaa.orth:
2204         * fc-lang/ki.orth:
2205         * fc-lang/kk.orth:
2206         * fc-lang/kl.orth:
2207         * fc-lang/km.orth:
2208         * fc-lang/kn.orth:
2209         * fc-lang/ko.orth:
2210         * fc-lang/kok.orth:
2211         * fc-lang/ks.orth:
2212         * fc-lang/ku.orth:
2213         * fc-lang/ku_ir.orth:
2214         * fc-lang/kum.orth:
2215         * fc-lang/kv.orth:
2216         * fc-lang/kw.orth:
2217         * fc-lang/ky.orth:
2218         * fc-lang/la.orth:
2219         * fc-lang/lb.orth:
2220         * fc-lang/lez.orth:
2221         * fc-lang/lo.orth:
2222         * fc-lang/lt.orth:
2223         * fc-lang/lv.orth:
2224         * fc-lang/mg.orth:
2225         * fc-lang/mh.orth:
2226         * fc-lang/mi.orth:
2227         * fc-lang/mk.orth:
2228         * fc-lang/ml.orth:
2229         * fc-lang/mn.orth:
2230         * fc-lang/mo.orth:
2231         * fc-lang/mr.orth:
2232         * fc-lang/mt.orth:
2233         * fc-lang/my.orth:
2234         * fc-lang/nb.orth:
2235         * fc-lang/nds.orth:
2236         * fc-lang/ne.orth:
2237         * fc-lang/nl.orth:
2238         * fc-lang/nn.orth:
2239         * fc-lang/no.orth:
2240         * fc-lang/ny.orth:
2241         * fc-lang/oc.orth:
2242         * fc-lang/om.orth:
2243         * fc-lang/or.orth:
2244         * fc-lang/os.orth:
2245         * fc-lang/pl.orth:
2246         * fc-lang/ps_af.orth:
2247         * fc-lang/ps_pk.orth:
2248         * fc-lang/pt.orth:
2249         * fc-lang/rm.orth:
2250         * fc-lang/ro.orth:
2251         * fc-lang/ru.orth:
2252         * fc-lang/sa.orth:
2253         * fc-lang/sah.orth:
2254         * fc-lang/sco.orth:
2255         * fc-lang/se.orth:
2256         * fc-lang/sel.orth:
2257         * fc-lang/sh.orth:
2258         * fc-lang/si.orth:
2259         * fc-lang/sk.orth:
2260         * fc-lang/sl.orth:
2261         * fc-lang/sm.orth:
2262         * fc-lang/sma.orth:
2263         * fc-lang/smj.orth:
2264         * fc-lang/smn.orth:
2265         * fc-lang/sms.orth:
2266         * fc-lang/so.orth:
2267         * fc-lang/sq.orth:
2268         * fc-lang/sr.orth:
2269         * fc-lang/sv.orth:
2270         * fc-lang/sw.orth:
2271         * fc-lang/syr.orth:
2272         * fc-lang/ta.orth:
2273         * fc-lang/te.orth:
2274         * fc-lang/tg.orth:
2275         * fc-lang/th.orth:
2276         * fc-lang/ti_er.orth:
2277         * fc-lang/ti_et.orth:
2278         * fc-lang/tig.orth:
2279         * fc-lang/tk.orth:
2280         * fc-lang/tl.orth:
2281         * fc-lang/tn.orth:
2282         * fc-lang/to.orth:
2283         * fc-lang/tr.orth:
2284         * fc-lang/ts.orth:
2285         * fc-lang/tt.orth:
2286         * fc-lang/tw.orth:
2287         * fc-lang/tyv.orth:
2288         * fc-lang/ug.orth:
2289         * fc-lang/uk.orth:
2290         * fc-lang/ur.orth:
2291         * fc-lang/uz.orth:
2292         * fc-lang/ven.orth:
2293         * fc-lang/vi.orth:
2294         * fc-lang/vo.orth:
2295         * fc-lang/vot.orth:
2296         * fc-lang/wa.orth:
2297         * fc-lang/wen.orth:
2298         * fc-lang/wo.orth:
2299         * fc-lang/xh.orth:
2300         * fc-lang/yap.orth:
2301         * fc-lang/yi.orth:
2302         * fc-lang/yo.orth:
2303         * fc-lang/zh_cn.orth:
2304         * fc-lang/zh_hk.orth:
2305         * fc-lang/zh_mo.orth:
2306         * fc-lang/zh_sg.orth:
2307         * fc-lang/zh_tw.orth:
2308         * fc-lang/zu.orth:
2309         * fc-list/Makefile.am:
2310         * fc-list/fc-list.c:
2311         * fc-match/Makefile.am:
2312         * fc-match/fc-match.1:
2313         * fc-match/fc-match.c:
2314         * fontconfig/fcfreetype.h:
2315         * fontconfig/fcprivate.h:
2316         * fontconfig/fontconfig.h:
2317         * src/fcatomic.c:
2318         * src/fcblanks.c:
2319         * src/fccache.c:
2320         * src/fccfg.c:
2321         * src/fccharset.c:
2322         * src/fcdbg.c:
2323         * src/fcdefault.c:
2324         * src/fcdir.c:
2325         * src/fcfreetype.c:
2326         * src/fcfs.c:
2327         * src/fcinit.c:
2328         * src/fcint.h:
2329         * src/fclang.c:
2330         * src/fclist.c:
2331         * src/fcmatch.c:
2332         * src/fcmatrix.c:
2333         * src/fcname.c:
2334         * src/fcpat.c:
2335         * src/fcstr.c:
2336         * src/fcxml.c:
2337         Change files from ISO-Latin-1 to UTF-8
2338
2339 2004-12-04  Keith Packard  <keithp@keithp.com>
2340
2341         * INSTALL:
2342         Update links to new freedesktop.org locations
2343         * Makefile.am:
2344         Add uninstall-local to get rid of fonts.conf and local.conf if they
2345         match the distributed versions.  Fixes 'make distcheck'
2346
2347 2004-12-04  Keith Packard  <keithp@keithp.com>
2348
2349         * README:
2350         * configure.in:
2351         * fontconfig/fontconfig.h:
2352         Updates for version 2.2.97
2353
2354 2004-12-04  Owen Taylor  <otaylor@redhat.com>
2355
2356         reviewed by: Keith Packard  <keithp@keithp.com>
2357
2358         * fc-cache/fc-cache.c: (main):
2359         Sleep for two seconds before exiting to make sure timestamps
2360         for future changes have distinct mod times in the file system.
2361         Bug #1982.
2362         * fc-lang/pa.orth:
2363         Add Punjabi orthography.  Bug #1671.
2364
2365 2004-12-04  Keith Packard  <keithp@keithp.com>
2366
2367         * fonts.conf.in:
2368         Just remove the FC_FONTDATE -- it has locale issues and
2369         annoys redhat multi-arch installs.  Now that all X fonts are
2370         included without prejudice, the chances of the date being at
2371         all interesting are rather limited.  Bug #505.
2372         * src/Makefile.am:
2373         Add copyright and license
2374
2375 2004-12-04  Keith Packard  <keithp@keithp.com>
2376
2377         * configure.in:
2378         Change default set of fonts to include all of
2379         /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2380         * doc/fontconfig-user.sgml:
2381         Document new <include>directory-name</include> semantics
2382         * fonts.conf.in:
2383         add <include ignore_missing="yes">conf.d</include>
2384         * local.conf:
2385         Add selectfont to ignore bitmap fonts, add comment for
2386         selectfont which accepts bitmap fonts.
2387         * src/fcdir.c:
2388         * src/fcint.h:
2389         * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2390         Allow <include> configuration elements to reference directories.
2391         Parse and load all files of the form [0-9]* in sorted order.
2392
2393 2004-12-04  Keith Packard  <keithp@keithp.com>
2394
2395         * autogen.sh:
2396         Report command line for $srcdir/configure accurately.
2397         Bug #212.
2398
2399 2004-12-04  Keith Packard  <keithp@keithp.com>
2400
2401         * src/fcfreetype.c: (FcFreeTypeQuery):
2402         Check for non-empty face->family_name and face->style_name
2403         before using those for the font.  Empty names match everything.
2404         Bug #210.
2405
2406 2004-12-04  Keith Packard  <keithp@keithp.com>
2407
2408         * configure.in:
2409         * fontconfig/fontconfig.h:
2410         * src/fcfreetype.c: (FcFreeTypeQuery):
2411         * src/fcname.c:
2412         Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2413         available.  This provides font file format information (BDF, Type 1,
2414         PCF, TrueType) for each font.  Closes #109.
2415
2416 2004-12-04  Daniel Glassey <danglassey@ntlworld.com>
2417
2418         reviewed by: Keith Packard  <keithp@keithp.com>
2419
2420         * doc/fontconfig-user.sgml:
2421         Fix typo.
2422         
2423         * fontconfig/fontconfig.h:
2424         * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2425         (GetScriptTags), (FcFontCapabilities):
2426         * src/fcname.c:
2427         Add detection for font capabilities (bug #105)
2428
2429 2004-12-04  Keith Packard  <keithp@keithp.com>
2430
2431         * Makefile.am:
2432         Move existing fonts.conf to fonts.conf.bak
2433         
2434         * configure.in:
2435         Add detection of iconv
2436         
2437         * doc/fcpattern.fncs:
2438         * doc/fontconfig-devel.sgml:
2439         * doc/fontconfig-user.sgml:
2440         * fonts.dtd:
2441         Document new selectfont elements
2442         
2443         * fc-lang/nb.orth:
2444         Switch to UTF-8 in comment
2445         
2446         * fontconfig/fontconfig.h:
2447         * src/fcname.c:
2448         Add fullname, and family/style/fullname language entries
2449         
2450         * src/fccache.c: (FcCacheFontSetAdd):
2451         * src/fcdir.c: (FcFileScanConfig):
2452         Respect selectfont/*/glob
2453         
2454         * src/fcint.h:
2455         * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2456         (FcConfigCompareValue), (FcConfigPatternsAdd),
2457         (FcConfigPatternsMatch), (FcConfigAcceptFont):
2458         * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2459         (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2460         (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2461         Add support for selectfont
2462         
2463         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2464         (FcStringInPatternElement), (FcFreeTypeQuery):
2465         Add multi-lingual family/style/fullname support
2466         
2467         * src/fclist.c: (FcListPatternMatchAny):
2468         Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2469         
2470         * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2471         (FcObjectStaticName):
2472         Add new FcPatternRemove/FcPatternAppend.
2473         FcObjectStaticName stores computed pattern element names which
2474         are required to be static.
2475         
2476 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2477
2478         reviewed by: keithp
2479
2480         * Makefile.am:
2481         Remove spurious / after $(DESTDIR)
2482
2483 2004-06-30  Keith Packard  <keithp@keithp.com>
2484
2485         * README:
2486         * configure.in:
2487         * fontconfig/fontconfig.h:
2488         Update for 2.2.96
2489
2490 2004-06-30  Keith Packard  <keithp@keithp.com>
2491
2492         Provided by: Lubos Lunak <l.lunak@suse.cz>
2493
2494         * src/fccfg.c: (FcConfigUptoDate):
2495         However FcConfigUptoDate() doesn't seem to work. See the attached
2496         patch.  First there's an obvious misplaced parenthesis making it
2497         return always false, and second, even this call fails to detect font
2498         changes (e.g.  adding a new font to 
2499         /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2500         well. The problem seems to be triggered by my fonts.conf specifying
2501         only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2502         doesn't include subdirs, unlike config->fontDirs.
2503
2504 2004-06-03  Keith Packard  <keithp@keithp.com>
2505
2506         * fontconfig/fontconfig.h:
2507         Remove comma at end of FcResult enum definition.
2508
2509 2004-05-29  Keith Packard  <keithp@keithp.com>
2510
2511         * INSTALL:
2512         Add steps to md5sum release
2513
2514 2004-05-29  Keith Packard  <keithp@keithp.com>
2515
2516         * README:
2517         * configure.in:
2518         * fontconfig/fontconfig.h:
2519         Update for 2.2.95
2520
2521 2004-05-29  Keith Packard  <keithp@keithp.com>
2522
2523         * fontconfig/fontconfig.h:
2524         * src/fcmatch.c: (FcFontSetMatch):
2525         Add FcResultOutOfMemory to provide an accurate error when
2526         FcFontSetMatch fails in this way
2527         
2528         * src/fcfreetype.c:
2529         Make #warning about lacking various FreeType features indicate
2530         which version those features appeared so users know how to
2531         fix the problem (Thanks to Anton Tropashko)
2532
2533 2004-05-05  Keith Packard  <keithp@keithp.com>
2534
2535         * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2536         Replace MIN/MAX/ABS macros which happen to have come
2537         from FreeType with fontconfig-specific ones (FC_*)
2538
2539 2004-04-23  Keith Packard  <keithp@keithp.com>
2540
2541         * INSTALL:
2542         Extend release preparation instructions to include
2543         notification and distribution steps
2544
2545 2004-04-23  Keith Packard  <keithp@keithp.com>
2546
2547         * README:
2548         * configure.in:
2549         * fontconfig/fontconfig.h:
2550         Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2551
2552 2004-04-23  Keith Packard  <keithp@keithp.com>
2553
2554         * .cvsignore:
2555         Ignore a few more autotool files
2556
2557 2004-04-14  Keith Packard  <keithp@keithp.com>
2558
2559         * INSTALL:
2560         Add instructions for doing a release
2561         
2562         * fontconfig.spec.in:
2563         clean up .spec file; perhaps this will be useful to somebody...
2564
2565         * README:
2566         * configure.in:
2567         * fontconfig/fontconfig.h:
2568         Update to 2.2.93
2569         
2570         * fc-lang/fc-lang.c:
2571         Make 'scanopen' static so GCC doesn't whine about lacking prototype
2572         
2573         * fc-glyphname/Makefile.am:
2574         * fc-lang/Makefile.am:
2575         * fc-list/Makefile.am:
2576         * fc-match/Makefile.am:
2577         * src/Makefile.am:
2578         Add WARN_CFLAGS to pass -W flags for GCC systems
2579         
2580         * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2581         (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2582         Change various char types around to match across
2583         function calls.
2584         Fixed bug in using available_sizes[i].height which 
2585         is in pixels, not 64ths of a pixel.
2586
2587 2004-03-06  Keith Packard  <keithp@keithp.com>
2588
2589         * src/fcfreetype.c: (FcFreeTypeQuery):
2590         Force FC_FOUNDRY and FC_WIDTH to always be set so that
2591         matches looking for explicit values prefer exact matches
2592
2593 2004-03-02  Keith Packard  <keithp@keithp.com>
2594
2595         Supplied by: mfabian@suse.de (Mike FABIAN)
2596
2597         * src/fcfreetype.c: (FcFreeTypeQuery):
2598         Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2599         Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2600
2601 2004-02-21  Manish Singh  <yosh@gimp.org>
2602
2603         * fc-glyphname/fc-glyphname.c: (main):
2604         Cast strlen to int for printf, so we're 64-bit clean.
2605
2606 2004-02-11  Keith Packard  <keithp@keithp.com>
2607
2608         * configure.in:
2609         * src/fcfreetype.c: (FcGetPixelSize):
2610         Ok, so I messed up the test for y_ppem.  Let's see if I
2611         got it right this time.
2612
2613 2004-02-10  Keith Packard  <keithp@keithp.com>
2614
2615         * configure.in:
2616         * src/fcfreetype.c: (FcGetPixelSize):
2617         Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2618         FT_Bitmap_Size record.  Add a configure.in test for this
2619         and change the code accordingly (using height instead).
2620
2621 2004-02-06  Keith Packard  <keithp@keithp.com>
2622
2623         * fc-lang/nds.orth:
2624         Add Low Saxon orthography 
2625                 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2626                 
2627         * src/fccfg.c: (FcConfigNewestFile):
2628         Oops.  Left 'newest.set' unset, which would miscompute
2629         the newest file
2630         
2631         * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2632         (FcFreeTypeCheckGlyph):
2633         Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2634         font properties (which report the wrong value in current FreeType)
2635
2636         Don't attempt to check for empty glyphs in non-scalable fonts; they
2637         have no outlines...
2638
2639 2004-02-01  Tor Lillqvist  <tml@iki.fi>
2640
2641         * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2642         GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2643         cache if config->cache is NULL, which happens if FcConfigHome() is
2644         NULL. Guard against that by using the temp folder in that case.
2645
2646 2004-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
2647
2648         * fc-lang/az_ir.orth:
2649         * fc-lang/ku_ir.orth:
2650         * fc-lang/ps_af.orth:
2651         * fc-lang/ps_pk.orth:
2652         Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2653         (Afghan and Pakistani).
2654         * fc-lang/ur.orth:
2655         Updated Urdu orthography with real data.
2656
2657 2003-12-11  Carl Worth  <cworth@east.isi.edu>
2658
2659         * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2660         USEDOCBOOK' block.
2661
2662         * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2663         USEDOCBOOK' block.
2664         (all-local): Remove excessive whitespace.
2665
2666         * autogen.sh: Add 'set -e' to abort when any program fails,
2667         (avoids printing of 'now type make' after configure aborts).
2668
2669 2003-11-17   Eric Christopherson  <rakko@charter.net>
2670
2671         reviewed by: Keith Packard  <keithp@keithp.com>
2672
2673         * doc/Makefile.am:
2674         * fontconfig/fcfreetype.h:
2675         * src/fcfreetype.c:
2676         Switch to FreeType 2.1.7 style includes.  Bug #150.
2677
2678 2003-11-16  Noah Levitt  <nlevitt@columbia.edu>
2679
2680         * fc-list/fc-list.sgml: Add some example usages.
2681
2682 2003-11-10  Roozbeh Pournader  <roozbeh@sharif.edu>
2683
2684         * src/fcxml.c:
2685         Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2686         separators.
2687
2688 2003-10-27  Keith Packard  <keith@keithp.com>
2689
2690         * configure.in:
2691         * fontconfig/fontconfig.h:
2692         Update to version 2.2.92
2693
2694 2003-10-27  Keith Packard  <keithp@keithp.com>
2695
2696         * Makefile.am:
2697         * configure.in:
2698         * doc/Makefile.am:
2699         * fc-cache/Makefile.am:
2700         * fc-glyphname/Makefile.am:
2701         * fc-lang/Makefile.am:
2702         * fc-list/Makefile.am:
2703         * fc-match/Makefile.am:
2704         * test/Makefile.am:
2705         * test/run-test.sh:
2706         Yet more cleanups to finish getting 'make distcheck' working
2707         This has been tested to ensure that it even works from a _build
2708         directory.
2709
2710 2003-10-26  Keith Packard  <keithp@keithp.com>
2711
2712         * configure.in:
2713         * doc/Makefile.am:
2714         * fc-cache/Makefile.am:
2715         * fc-glyphname/Makefile.am:
2716         * fc-lang/Makefile.am:
2717         * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2718         * fc-list/Makefile.am:
2719         * fc-match/Makefile.am:
2720         Attempts to fix 'make distcheck' work.  Things are
2721         progressing pretty well, but there are still failures
2722         long into the process dealing with docs (as always).
2723         
2724         The big changes here are mostly to make $(srcdir) != "."
2725         work correctly, fixing the docbook related sections and
2726         fc-lang were particularily tricky.  Docbook refuses to load
2727         system entities from anywhere other than where the original .sgml
2728         file was located, so no luck looking in "." for the
2729         configure-generated version.sgml and confdir.sgml files.
2730
2731         fc-lang needed help finding .orth files; added a -d option
2732         to set the directory as the least evil of many options.
2733
2734         Now to go use a faster machine and try and wring out the last
2735         issues.
2736
2737 2003-10-26  Keith Packard  <keithp@keithp.com>
2738
2739         Tag version 2.2.91
2740
2741 2003-10-26  Keith Packard  <keithp@keithp.com>
2742
2743         * doc/Makefile.am:
2744         Include confdir.sgml.in in EXTRA_DIST
2745
2746 2003-10-09  Josselin Mouette  <joss@debian.org>
2747
2748         * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2749         * fc-list/fc-list.sgml fc-list/Makefile.am:
2750           Replace fc-cache and fc-list manpages with more detailed, SGML
2751           versions.
2752
2753 2003-09-23  Owen Taylor <otaylor@redhat.com>
2754
2755         * fontconfig/fontconfig.h  src/fcdefault.c (FcDefaultSubstitute)
2756         src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2757         possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2758         (Bug #117)
2759
2760 2003-09-23  Owen Taylor <otaylor@redhat.com>
2761
2762         * fc-lang/ka.orth: Remove Georgian capitals, they
2763         aren't used for normal writing. (Bug #116)
2764
2765 2003-09-06  Noah Levitt  <nlevitt@columbia.edu>
2766
2767         * doc/fontconfig-devel.sgml:
2768         * doc/fontconfig-user.sgml:
2769         * fontconfig/fontconfig.h:
2770         * src/fcname.c:
2771         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2772         value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2773
2774         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2775         monospace and dual-width fonts, allow roughly a 3% variance in the
2776         advances.
2777
2778 2003-08-31  Manish Singh  <yosh@gimp.org>
2779
2780         * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2781         use default config.
2782
2783 2003-08-15  Carl Worth  <cworth@isi.edu>
2784
2785         * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2786         (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2787
2788         * src/fcpat.c (FcValueListEntDestroy): New function to support
2789         FcFini memory cleanup. Some statistics are not kept in
2790         synch. here.
2791         (FcValueListFreeze): Move hashTable outside this function so it
2792         can be accessed by FcValueListThawAll.
2793         (FcValueListThawAll): New function complements FcValueListFreeze.
2794         (FcPatternBaseFreeze): Move hashTable outside this function so it
2795         can be accessed by FcPatternBaseThawAll.
2796         (FcPatternBaseThawAll): New function complements
2797         FcPatternBaseFreeze.
2798         (FcPatternThawAll): New function complements FcPatternFreeze.
2799
2800         * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2801
2802         * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2803         allocated FcCharLeafEnt "blocks" so they can be freed later.
2804         (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2805         can be accessed by FcCharSetThawAllLeaf.
2806         (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2807         (FcCharSetFreezeBase): Move hashTable outside this function so it
2808         can be accessed by FcCharSetThawAll.
2809         (FcCharSetThawAll): New function complements FcCharSetFreeze.
2810
2811         * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2812         (FcConfigDestroy): Fic leak of FcBlanks.
2813
2814         * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2815         (main): Add call to FcFini when finished.
2816
2817         * fc-glyphname/fc-glyphname.c: Mark several local functions as
2818         static. Add prototypes.
2819
2820         * doc/fcinit.fncs: Add documentation for FcFini function.
2821
2822         * doc/edit-sgml.c: Mark several local functions as static. Add
2823         prototypes.
2824
2825         * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2826
2827 2003-06-15  Tor Lillqvist  <tml@iki.fi>
2828
2829         * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2830         before comparing (needed on Windows).
2831
2832         * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2833
2834 2003-06-13  Tor Lillqvist  <tml@iki.fi>
2835
2836         * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2837         man pages.
2838
2839         * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2840         WINDOWSFONTDIR token.
2841
2842         * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2843         end, not to confuse libtool, which expects the EXPORTS line to be
2844         the first. Add FcConfigEnableHome.
2845
2846         * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2847         built as a DLL on Win32.
2848
2849 2003-06-09  Keith Packard <keithp@keithp.com>
2850
2851         * Tag version 2.2.90
2852
2853 2003-06-09  Keith Packard <keithp@keithp.com>
2854
2855         * Optimization in FcLangSetIndex was broken, occasionally
2856           returning a pointer to the wrong location on miss
2857
2858         * Add fc-match to test font matching from the command line.
2859
2860 2003-05-31  Keith Packard <keithp@keithp.com>
2861
2862         * (Bug 85) add support for culmus fonts
2863         * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2864         * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2865
2866 2003-05-28  James Su <suzhe@turbolinux.com.cn>
2867
2868         * Fix "contains" op for strings and langsets.
2869
2870 2003-05-17  Keith Packard <keithp@keithp.com>
2871
2872         * Fix build error with BDF prop local.  Free langset after query
2873
2874 2003-05-14  Keith Packard <keithp@keithp.com>
2875
2876         * Extract spacing from XLFD atom
2877
2878 2003-05-12  Juliusz Chroboczek <jch@pps.jussieu.fr>
2879
2880         * Reinstate SETWIDTH_NAME parsing for legacy fonts, 
2881           disappeared in 1.30.
2882
2883         * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2884
2885 2003-05-12  Keith Packard <keithp@keithp.com>
2886
2887         * Use FcIsWidth to share code
2888
2889         * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2890           misclassifying some Han fonts as monospaced.
2891           
2892 2003-05-07  Keith Packard <keithp@keithp.com>
2893
2894         * Add filename-based accept/reject to ammend available fonts.
2895
2896         * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2897           older FreeType releases.
2898
2899 2003-05-06  Keith Packard <keithp@keithp.com>
2900
2901         * Remove 0b82 and Tamil numbers from tamil 
2902           orthography (Jungshik Shin <jshin@mailaps.org>)
2903
2904 2003-05-04  Keith Packard <keithp@keithp.com>
2905
2906         + Map glyph names in fonts with adobe custom encoding to unicode
2907
2908 2003-05-02  Keith Packard <keithp@keithp.com>
2909
2910         * Add FC_WEIGHT_BOOK as weight 75
2911
2912 2003-04-30  Keith Packard <keithp@keithp.com>
2913
2914         * Typo in bitstream foundry name
2915
2916 2003-04-24  Keith Packard <keithp@keithp.com>
2917
2918         * Eliminate italic_angle check for PS fonts
2919
2920 2003-04-23  Noah Levitt <nlevitt@columbia.edu>
2921
2922         * Getting closer to fixing /etc/fonts hard-coding.
2923
2924 2003-04-22  Keith Packard <keithp@keithp.com>
2925
2926         * Update autogen.sh to work with newer automake versions
2927         * Handle pattern elements moving during multiple edits
2928
2929 2003-04-23  James Henstridge  <james@daa.com.au>
2930
2931         * doc/fontconfig-devel.sgml: close the <para> element.
2932
2933         * doc/fcpattern.fncs: close the <para> element.
2934
2935         * doc/func.sgml: close the <refsynopsisdiv> element.
2936
2937 2003-04-22  Keith Packard <keithp@keithp.com
2938
2939         * Update autogen.sh to work with newer automake versions
2940         * Handle pattern elements moving during multiple edits
2941
2942 2003-04-17  Colin Walters <walters@debian.org>
2943
2944         + Remove some unused variables, and initialize some other ones so
2945         gcc doesn't warn us.
2946
2947 2003-04-16  Keith Packard <keithp@keithp.com>
2948
2949         + tag version 2.1.94
2950
2951 2003-04-16  Keith Packard <keithp@keithp.com>
2952
2953         + add BDF property fetching support for foundry 
2954           (from Juliusz Chroboczek)
2955         + add BDF property fetching support for width
2956
2957 2003-04-11  Juliusz Chroboczek <jch@pps.jussieu.fr>
2958
2959         + Implemented foundry generation for Type 1 and TrueType
2960
2961 2003-04-11  Gerard Escalante <g2@magestudios.net>
2962
2963         + Retrieve information from Type1 FontInfo dictionaries
2964
2965 2003-04-07  Colin Walters <walters@verbum.org>
2966
2967         + src/Makefile.am: Fix dummy makefile target names when
2968         MS_LIB_AVAILABLE isn't set.
2969
2970 2003-03-22  Tor Lillqvist  <tml@iki.fi>
2971
2972         Changes for Windows:
2973           
2974         + On Windows with gcc (a.k.a. mingw) build as a DLL.
2975           
2976         + We don't want to hardcode the fonts.conf file location in the
2977           DLL, so we look up the DLL location at run-time in a DllMain()
2978           function. The fonts.conf location is deduced from that.
2979
2980         + The colon can't be used as path separator on Windows,
2981           semicolon is used instead. File path components can be separated
2982           with either slash or backslash. Absolute paths can also begin
2983           with a drive letter.
2984
2985         + Add internal function FcStrLastSlash that strrchr's the last
2986           slash, or backslash on Windows.
2987         
2988         + There is no link() on Windows. For atomicity checks, mkdir a
2989           lock directory instead.
2990           
2991         + In addition to HOME, also look for USERPROFILE.
2992
2993         + Recognize the special font directory token WINDOWSFONTDIR, to
2994           use the system's font directory.
2995           
2996         + Remove the fontconfig-def.cpp that was obsolete. Add
2997           fontconfig.def(.in), without internal functions.
2998           
2999         + Add a fontconfig-zip(.in) script, used to build a binary
3000           distribution.
3001
3002 Fri Mar  7 07:55:00 EST 2003    Mike A. Harris <mharris@redhat.com>
3003         + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3004           to main package and man3/* to devel package
3005
3006         + Added missing defattr(-, root, root) to main RPM package
3007  
3008         + Added HTML and text development documentation to -devel subpackage
3009
3010 Wed Mar  5 05:08:00 EST 2003    Mike A. Harris <mharris@redhat.com>
3011         + Added back the configure macro options --disable-docs, otherwise
3012           fontconfig installs docs into /usr/share/doc/fontconfig (with no
3013           version number) unconditionally, causing RPM to fail the build due
3014           to _unpackaged_files_terminate_build.  We pick up the pregenerated
3015           docs with %doc already.
3016
3017 Wed Mar  5 04:26:20 EST 2003    Mike A. Harris <mharris@redhat.com>
3018         + Removed commented out rpm macro define at top of spec file,
3019           replacing it with a simple explanation, since rpm macros are
3020           expanded by rpm even in comments.
3021
3022         + Changed /usr/bin to _bindir in BuildRequires lines
3023
3024         + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3025
3026         + Reorganized file manifest lists
3027
3028 Sun Mar  2 14:16:17 EST 2003    Owen Taylor <otaylor@redhat.com>
3029
3030         + fontconfig.spec.in: Improvements from Red Hat spec file.
3031
3032         + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3033
3034         + docs/*.sgml: SGML fixes.
3035
3036 Sat Mar  1 17:28:53 PST 2003    keithp
3037         + Ok, so the ChangeLog is a bit out of date
3038
3039         + Lots of bugs fixed; most are in bugzilla, the
3040           biggest problems were in cache management where
3041           Owen discovered the library would lose badly when
3042           combining fonts-cache and ~/.fonts-cache data
3043
3044         + Converted from autoconf to automake.  This after
3045           getting patches accepted into libtool to allow
3046           the '-version-number' argument which lets
3047           packages set version numbers explicitly rather
3048           than the roundabout libtool way
3049
3050         + Converted documentation to SGML using the docbook
3051           DTD.  Now .txt and .html documents are installed
3052           in /usr/share/doc/fontconfig and there's no
3053           man page.  Perhaps a man version can be written
3054           at some point.
3055
3056 Sat Aug 31 15:21:22 PDT 2002    keithp
3057         + Xrender and Xft had several bugs related to
3058           rendering manually placed or poly-face text
3059
3060         + Added more complete memory tracing in fontconfig
3061           Checked with (patched) mozilla and found no leaks
3062
3063         + Updated Latin orthographies by comparing those from
3064           evertype.com with those from eki.ee.  Tried to make
3065           sensible choices, including chars that occured in both
3066           and leaving some optional chars out that occured only
3067           in one.
3068
3069 Mon Aug 26 16:33:04 PDT 2002    keithp
3070         + Owen discovered that FcLangSetHasLang wasn't actually
3071           checking the language set.
3072
3073 Mon Aug 26 13:37:23 PDT 2002    keithp
3074         + Append a version number to cache filenames
3075
3076 Thu Aug 22 11:36:18 PDT 2002    keithp
3077
3078         + Add "contains" and "not_contains" operators and elements to
3079           font configuration
3080           
3081         + Changed semantics of eq operator for LangSets to check for
3082           FcLangEqual so that any match will do
3083         
3084         + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3085           of FcValueEqual to check for identical values when inserting into
3086           the results.  This broke when the above semantic change was made,
3087           now it uses FcValueEqual which is "more correct" in any case.
3088
3089 Thu Aug 22 00:32:29 PDT 2002    keithp
3090
3091         + Reimplement FC_LANG as new datatype.  Lists of strings
3092           was consuming over a megabyte of memory for 401 fonts.
3093
3094         + Freeze patterns loaded from cache files.  This shares
3095           common value lists and common patterns which saves
3096           considerable memory.
3097
3098         + Change the denotation of 'constant' charsets to use special
3099           ref value instead of separate boolean.
3100
3101         + Clean up leak tracing stuff, found several unannoted alloc/free
3102           calls
3103
3104 Tue Aug 20 16:17:37 PDT 2002    keithp
3105
3106         + Fix memory leak when parsing matrices from XML
3107
3108 Mon Aug 19 11:57:27 PDT 2002    keithp
3109
3110         + Fix autoconf files to pass FONTCONFIG_PATH on
3111           compile line so that ${prefix} gets substituted
3112           correctly.
3113
3114         + Use getc_unlocked/putc_unlocked on systems that
3115           provide them to avoid damage done to stdio by posix
3116
3117         + Eliminate FC_PATTERN and FcTypePattern in favor of
3118           an extended api for FcConfigSubstitute which takes
3119           both the font and the pattern.
3120
3121         + Add 'sans serif' alias for 'sans-serif' as some apps
3122           can't handle hyphens in family names
3123
3124         + Eliminate pretense of support for libxml2
3125
3126         + Comment origins of Han orthographies
3127
3128 Tue Jul 30 18:37:09 PDT 2002    keithp
3129
3130         + Add binding property to edit element so that strong
3131           binding values may be inserted by the config file.
3132           The default remains weak.
3133
3134 Sun 28 Jul 04:16:55 PDT 2002    keithp
3135
3136         + Tagged release candidate 1 in the CVS tree and
3137           placed fcpackage.rc1.tar.gz for distribution
3138
3139 Thu Aug  1 08:55:08 PDT 2002    keithp
3140
3141         + Fixed autoconf builds to always specify install
3142           target files (for BSD).  Also fixed to
3143           define FONTCONFIG_PATH in config.h so that
3144           nonstandard installs will actually work.