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