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