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