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