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