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