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