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