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