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