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