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