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