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