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