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