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