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