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