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