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