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