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