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