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