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