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