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