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