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