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