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