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