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