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