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