]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Fix problem with missing 'en' due to euro.patch: change cache file format
[fontconfig.git] / ChangeLog
CommitLineData
a8c42530
PL
12006-02-09 Patrick Lam <plam@mit.edu>
2 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
3 FcCharSetGetLeaf):
4
5 Fix problem with missing 'en' due to euro.patch: change
6 cache file format slightly to coincide with that generated
7 by fc-lang.
8
b10e7762
PL
92006-02-07 Patrick Lam <plam@mit.edu>
10 * src/fccache.c (FcCacheReadDirs):
11
12 Fix warning.
13
5c3deb29
PL
142006-02-07 Patrick Lam <plam@mit.edu>
15 * src/fcdir.c (FcDirScanConfig):
16
17 Don't reject dirs that can't be normalized (fixes lilypond, and
18 is correct in the context of application font directories.)
19
202006-02-07 Takashi Iwai <tiwai@suse.de>
21 reviewed by: plam
22
23 * src/fccache.c (FcCacheReadDirs):
24
25 Use normalized directory name exclusively in FcCacheReadDirs.
26
efb11b36
PL
272006-02-07 Dirk Mueller <dmueller@suse.com>
28 reviewed by: plam
29
30 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
31
32 Perf optimizations. Inline FcValueCanonicalize,
33 reduce FcValueListPtrU usage, remove redundant cast.
34
6cc02fe6
PL
352006-02-07 Takashi Iwai <tiwai@suse.de>
36 reviewed by: plam
37
38 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
39 * fc-lang/fc-lang.c:
40
41 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
42 Declare extern for static arrays as arrays, not pointers.
43 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
44
452006-02-07 Dirk Mueller <dmueller@suse.com>
46 reviewed by: plam
47
48 * fc-lang/de.orth:
49 * fc-lang/el.orth:
50 * fc-lang/en.orth:
51 * fc-lang/es.orth:
52 * fc-lang/fi.orth:
53 * fc-lang/fr.orth:
54 * fc-lang/it.orth:
55 * fc-lang/nl.orth:
56 * fc-lang/pt.orth:
57
58 Add Euro sign to list of symbols required by European languages.
59
a81f23c0
PL
602006-02-07 Patrick Lam <plam@mit.edu>
61 * src/fccache.c (FcCacheReadString):
62
63 Fix hidden variable warning.
64
799157db 652006-02-07 Dirk Mueller <dmueller@suse.com>
a81f23c0 66 reviewed by: plam
799157db
PL
67
68 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
69
70 Remove de-escaping logic because FcCacheWriteString
71 doesn't escape anyway. Do blockwise reading instead
72 of byte-wise for performance.
73
8b413bb6
PL
742006-02-06 Patrick Lam <plam@mit.edu>
75 Takashi Iwai <tiwai@suse.de>
76
77 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
78
79 Don't loop infinitely on recursive symlinks (client-side).
80
660acf8f
PL
812006-02-06 Takashi Iwai <tiwai@suse.de>
82 reviewed by: plam
83 * fc-cache/fc-cache.c (scanDirs, main):
84
85 Don't loop infinitely on recursive symlinks.
86
fff5a5af
PL
872006-02-06 Takashi Iwai <tiwai@suse.de>
88 reviewed by: plam
89 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
90 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
91 FcGlobalCacheSave, FcCacheReadDirs):
92 * src/fcint.h:
93
94 Skip subdirs when skipping over stale bits of global cache.
95 Introduce state machine into FcGlobalCacheDir to avoid
96 doing inappropriate operations on global dir entries, e.g.
97 writing out an out-of-date cache entry.
98
98592bbb
PL
992006-02-06 Takashi Iwai <tiwai@suse.de>
100 reviewed by: plam
101 * src/fcdir.c (FcFileScanConfig):
102
103 Hoist FcFileIsDir check out of FcFileScanConfig loop.
104
a0aa54f6
PL
1052006-02-06 Takashi Iwai <tiwai@suse.de>
106 reviewed by: plam
107
108 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
109 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
110
111 Don't rescan when trying to normalize a non-declared font dir.
112 Don't add font dirs multiple times (even if they're aliased).
113
86e75dfb
PL
1142006-02-06 Dirk Mueller <dmueller@suse.de>
115 reviewed by: plam
116
117 * src/fcfs.c (FcFontSetUnserialize):
118
119 Explain apples/oranges comparison and fix compilation error.
120
f076169d
PL
1212006-02-06 Dirk Mueller <dmueller@suse.de>
122 reviewed by: plam
123
124 * src/fcfs.c (FcFontSetUnserialize):
125
126 Insert check for integer overflow in # of fonts.
127
788c4af2
PL
1282006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
129 reviewed by: plam
130
131 * doc/Makefile.am:
132 * fc-cache/Makefile.am:
133 * fc-cat/Makefile.am:
134 * fc-list/Makefile.am:
135
136 Make 'make distcheck' work with automake 1.6.3.
137
68355f38
PL
1382006-02-03 Takashi IWAI <tiwai@suse.de>
139 reviewed by: plam
140
141 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
142 FcCacheFileRead):
143
144 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
145 FcDirCacheConsume, FcDirCacheWrite)
146 * src/fcxml.c (FcConfigMessage):
147
148 Check I/O call return values and eliminate unused variable
149 warnings.
150
c4c47a76
PL
1512006-02-03 Takashi Iwai <tiwai@suse.de>
152 reviewed by: plam
153
154 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
155
156 Fix memory leak.
157
a8e4d9eb
PL
1582006-02-03 Dirk Mueller <dmueller@suse.de>
159 reviewed by: plam
160
161 * src/fcfs.c (FcFontSetUnserialize):
162
163 Gracefully handle the case where a cache asserts that it
164 has a negative number of fonts, causing overflow.
165
1af0f574
PL
1662006-02-03 Patrick Lam <plam@mit.edu>
167 * src/fccache.c (FcDirCacheUnlink):
168
169 Fix double free in error case.
170
80ba0571
PL
1712006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
172 Stephan Kulow <coolo@suse.de>
173 reviewed by: plam
174
175 * fc-cache/Makefile.am:
176
177 Replace 'stamp' target with mkinstalldirs.
178
28aefd01
PL
1792006-01-31 Mike Fabian <mfabian@suse.de>
180 reviewed by: plam
181
182 * src/fccache.c (FcGlobalCacheLoad):
183
184 Toast broken global cache files.
185
3616cbe2
PL
1862006-01-30 Patrick Lam <plam@mit.edu>
187 * src/fccache.c (FcGlobalCacheReadDir):
188
189 Actually use the directories that I added to the global cache.
190 Fixes 'make check'.
191
275cf6cd
PL
1922006-01-30 Mike Fabian <mfabian@suse.de>
193 reviewed by: plam
194
195 * fc-cache/fc-cache.c (scanDirs):
196
197 Don't stop scanning if a directory in fonts.conf doesn't
198 exist, because subsequent directories might exist.
199
81d97094
PL
2002006-01-30 Patrick Lam <plam@mit.edu>
201 * src/fccache.c (FcGlobalCacheLoad):
202
203 Make global cache work again after putting dir names into global
204 cache (I misplaced the recording of a file offset).
205
2c4e0124
PL
2062006-01-30 Patrick Lam <plam@mit.edu>
207 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
208
209 Update fc-cat to handle subdir lists in global cache file.
210
211 * src/fccache.c (FcGlobalCacheLoad):
212
213 Another FcCacheReadString return value check.
214
c5411c4c
PL
2152006-01-30 Mike Fabian <mfabian@suse.de>
216 reviewed by: plam
217
218 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
219 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
220
221 Make fccache more resilient to broken cache files by checking
222 return value of FcCacheReadString all the time.
223
946478e1
PL
2242006-01-30 Frederic Crozat <fcrozat@mandriva.com>
225 reviewed by: plam
226
227 * fc-match/fc-match.1:
228 * fc-lang/fc-lang.man:
229
230 Remove references to dead fontconfig(3) manpages in
231 other fontconfig manpages.
232
af7a965f
PL
2332006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
234 reviewed by: plam
235
236 * doc/fcpattern.fncs:
237
238 Fix world's tiniest typo in code example.
239
30c4189d
PL
2402006-01-29 Mike Fabian <mfabian@suse.de>
241 reviewed by: plam
242
243 * src/fccache.c (FcGlobalCacheReadDir):
244
245 Fix global cache reads of subdirectories.
246
971cf180
PL
2472006-01-29 Patrick Lam <plam@mit.edu>
248 * doc/fcconfig.fncs:
249 Add documentation for FcConfigNormalizeFontDir.
250
251 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
252 FcGlobalCacheUpdate, FcGlobalCacheSave):
253 * src/fcdir.c (FcDirScanConfig):
254 * src/fcint.h:
255
256 Write directory information to global caches to fix make check
257 (reported by Ronny V. Vindenes). This changes the global cache
258 format again.
259
97293e07
PL
2602006-01-27 Patrick Lam <plam@mit.edu>
261 * fc-cache/fc-cache.c (scanDirs):
262 * fontconfig/fontconfig.h:
263 * src/fcint.h:
264 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
265
266 Move FcConfigNormalizeFontDir call so that it doesn't result in
267 infinite recursion (reported by Ronny V. Vindenes).
268
3cf9f5ce
PL
2692006-01-26 Patrick Lam <plam@mit.edu>
270 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
271 * src/fccfg.c (FcConfigNormalizeFontDir):
272
273 Add a couple of missing normalizations to make fc-cache work
274 right; only scan subdirectories once.
275
4073203d
PL
2762006-01-26 Mike Fabian <mfabian@suse.de>
277 reviewed by: plam
278
279 * src/fcacache.c (FcGlobalCacheReadDir):
280
281 Don't crash on non-existant directories in global cache.
282
f468f568
PL
2832006-01-26 Patirck Lam <plam@mit.edu>
284 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
285 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
286 * src/fcdir.c (FcDirScanConfig):
287 * src/fcxml.c (FcEndElement):
288
289 Stop trampling the directory name when writing out caches.
290 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
291 subdirs when necessary. Don't scan directories that can't be
292 normalized.
293
575a37b7
PL
2942006-01-25 Patrick Lam <plam@mit.edu>
295 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
296 * src/fccfg.c (FcConfigEvaluate):
297 * src/fcfreetype.c (FcPatternAddWithBinding):
298
299 Fix additional memory leaks reported by Ronny V. Vindenes: don't
300 invoke FcValueSave on hashed static strings in
301 FcPatternAddWithBinding.
302
303 Add another st_dev check in FcDirCacheOpen.
304
16a71eff
PL
3052006-01-24 James Su <james.su@gmail.com>
306 reviewed by: plam
307
308 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
309 * fc-lang/zh_hk.orth:
310
311 Treat zh-hk fonts differently from zh-tw fonts. This patch may
312 cause fontconfig to treat A-X fonts differently from A-Y fonts;
313 please mail the fontconfig list if this causes any problems.
314
6f9fcb51
PL
3152006-01-24 Patrick Lam <plam@mit.edu>
316 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
317 * src/fcfreetype.c (FcFreeTypeQuery):
318
319 Fix memory leaks reported by Ronny V. Vindenes.
320
986e3597
PL
3212006-01-19 Andreas Schwab <schwab@suse.de>
322 reviewed by: plam
323
324 * src/fcpat.c (FcStrNeededBytes):
325
326 Fix for unaligned memory accesses.
327
58bdd296
PL
3282006-01-18 Mike Fabian <mfabian@suse.de>
329 reviewed by: plam
330
331 * src/fcdir.c (FcDirScanConfig):
332
333 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
334 calls to avoid crashes.
335
986e3597 3362006-01-14 Patrick Lam <plam@mit.edu>
eadadf48
PL
337 * src/fccache.c (FcDirCacheConsume):
338
339 Fix segfault when consuming zero-length caches in fc-cat
340 (which has no config, so FcConfigAddFontDir shouldn't be called.)
341
8a0b0ed6
PL
3422006-01-14 Patrick Lam <plam@mit.edu>
343 * fc-cache/fc-cache.c (scanDirs):
344 * fontconfig/fontconfig.h:
345 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
346 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
347 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
348 * src/fcdir.c (FcDirScanConfig):
349 * src/fcint.h:
350
351 Compare device numbers as well as inodes.
352 Always normalize directory names before comparing them.
353
3542006-01-11 Mike Fabian <mfabian@suse.de>
355 reviewed by: plam
356
357 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
358
359 Allocate extra space for appended '/' in directory name.
360
df3efc11
PL
3612006-01-10 Patrick Lam <plam@mit.edu>
362 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
363 FcDirCacheValid, FcDirCacheHasCurrentArch,
364 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
365 * fc-cache/fc-cache.c (main):
366
367 Explicitly add font dirs to config.fontDirs even if they're empty.
368 Set current config in fc-cache.c.
369 Fix treatment of cache directory as read from cache file; don't
370 use string equality to determine if we have the right file,
371 use inode equality.
372
cd9bca69
PL
3732006-01-09 Patrick Lam <plam@mit.edu>
374 * fc-cache/fc-cache.c (scanDirs):
375 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
376 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
377 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
378 * src/fccfg.c (FcConfigNormalizeFontDir):
379 * src/fcdir.c (FcDirScanConfig):
380 * src/fcint.h:
381
382 Normalize font dirs by using the form, as given in fonts.conf, and
383 recorded in FcConfig's fontDirs string set, as canonical.
384
385 Actually update config.fontDirs as font directories are scanned.
386
a6d3757d
PL
3872006-01-08 James Su <james.su@gmail.com>
388 * src/fcmatch.c (FcFontSetMatch):
389
390 Fix matching bug when multiple elements match; don't use
391 the sum of all scores, but the best score.
392
393 Also more perf opts, e.g. evaluate best over all font sets
394 rather than on a per-set basis (and other changes).
395
05a98eaf
PL
3962006-01-08 Patrick Lam <plam@mit.edu>
397 * src/fccache.c (FcDirCacheConsume):
398
399 Properly skip past dir caches that contain zero fonts (as occurs
400 in global caches.) Reported by Mike Fabian.
401
5fe09702
PL
4022006-01-06 Patrick Lam <plam@mit.edu>
403 * src/fcdbg.c (FcPatternPrint):
404
405 Print out full pathname in fc-match -v as well. Reported by
406 Frederic Crozat.
407
4082006-01-06 Mike Fabian <mfabian@suse.de>
409 reviewed by: plam
410
411 * src/fcname.c (FcNameParse):
412
413 Fix bug where fc-match crashes when given __DUMMY__ property to
414 match on.
415
416 (I added the __DUMMY__ string to enable callers of
417 FcObjectToPtrLookup to distinguish an error return from a
418 successful return. -PL)
419
c60ec7cc
PL
4202006-01-05 Patrick Lam <plam@mit.edu>
421 * AUTHORS:
422
423 Add self to AUTHORS list.
424
425 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
426 FcCacheFileRead, FcCachePrintSet, main):
427 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
428 FcGlobalCacheSave, FcCacheNextOffset,
429 FcDirCacheHasCurrentArch, FcDirCacheRead,
430 FcDirCacheConsume, FcDirCacheWrite):
431 * src/fcint.h:
432 * src/fcpat.c (comment):
433
434 Minor change to global cache file format to fix fc-cat bug
435 reported by Frederic Crozat, and buglet with not globally caching
436 directories with zero fonts cached.
437
52ac91f7
PL
4382006-01-02 Lubos Lunak <l.lunak@suse.cz>
439 reviewed by: plam
440
441 * src/fccfg.c (FcConfigEvaluate):
442
443 Fix double-free which occurs because FcValueCanonicalize doesn't
444 create an extra copy of the returned value, it only canonicalizes
445 it.
446
4472006-01-02 Patrick Lam <plam@mit.edu>
cea78a87
PL
448 * doc/fontconfig-user.sgml:
449
450 Fix version of .cache file (currently 1 -> currently 2). Reported
451 by Jim Osborn.
452
ebc157f9
PL
4532005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
454 reviewed by: plam
455
456 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
457
458 Shut up GCC warnings on amd.
459
3bfae75d
PL
4602005-12-20 Patrick Lam <plam@mit.edu>
461 * ChangeLog:
462 * README:
463 * configure.in:
464 * fontconfig/fontconfig.h:
465
466 Bump version to 2.3.93.
467
19ea60bc
PL
4682005-12-20 Patrick Lam <plam@mit.edu>
469 * src/fccharset.c (FcLangCharSetPopulate):
470 * src/fcint.h (FcCacheBankToIndex):
471
472 Avoid check on _fcBankId nullness and fix case where it used to
473 crash.
474
6f767cec 4752005-12-20 Patrick Lam <plam@mit.edu>
3bfae75d
PL
476 * src/fcxml.c (FcConfigParseAndLoad):
477
478 Use open instead of fopen (requested by Phil Race for Sun).
479
4802005-12-20 Patrick Lam <plam@mit.edu>
481 * src/fccache.c (FcDirCacheWrite);
482 * fc-cache/Makefile.am:
483
484 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
485 dir.
486
4872005-12-20 Patrick Lam <plam@mit.edu>
6f767cec
PL
488 * src/fcfreetype.c (FcFreeTypeQuery):
489
490 Restore code to skip over PCF fonts that have no encoded
491 characters.
492 (We guess that a font is PCF by presence of the PIXEL_SIZE
493 BDF property.)
494
ec760b17
PL
4952005-12-12 Patrick Lam <plam@mit.edu>
496 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
497
498 Read and write the original location as a fallback for the
499 hashed cache file locations. This is mostly for users to be
500 able to have per-directory cache files.
501
83b67390
PL
5022005-12-12 Patrick Lam <plam@mit.edu>
503 * fc-cache/fc-cache.c (scanDirs):
504 * fc-cache/Makefile.am:
505 * src/fccache.c (FcDirCacheHashName):
506
507 Improve error message when fc-cache can't write the cache. Add
508 missing slash. Reported by Behdad. Incorporate Behdad's patch to
509 create /var/cache/fontconfig when appropriate.
510
368104c3
PL
5112005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
512 reviewed by: plam
513
514 * src/fcxml.c (FcConfigGetAttribute):
515
516 Fix crash reported by Frederic Crozat when using libxml2.
517
ea44e218
PL
5182005-12-09 Patrick Lam <plam@mit.edu>
519 * INSTALL:
520 * configure.in:
521 * fc-cache/Makefile.am:
522 * fc-cat/Makefile.am:
523 * src/Makefile.am:
524 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
525 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
526 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
527 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
528 FcDirCacheHasCurrentArch, FcDirCacheHashName,
529 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
530
531 Migrate cache files from fonts directories to
532 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
533 but requires that all caches get rebuilt.
534
535 Also, autogen.sh now needs the additional parameter
536 --localstatedir=/var.
537
204da5a8
PL
5382005-12-07 Patrick Lam <plam@mit.edu>
539 * src/fcpat.c (FcPatternAddString):
540
541 Because we've changed FcPatternAddString to use FcStrStaticName
542 and not FcValueSave, explicitly handle the case of a null string.
543
982b5982
PL
5442005-12-06 Patrick Lam <plam@mit.edu>
545 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
546
547 Fix warnings.
548
c6103dfb
PL
5492005-12-05 Patrick Lam <plam@mit.edu>
550 * src/fcname.c (FcNameGetObjectType):
551
552 Don't assign types to user object names.
553
9ede93f1
PL
5542005-12-05 Patrick Lam <plam@mit.edu>
555 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
556
557 Don't free strings that have been returned from FcStrStaticName.
558
6059daed
PL
5592005-12-01 Patrick Lam <plam@mit.edu>
560 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
561
562 Add codepath for reading global cache files as well.
563
2c6fead7
PL
5642005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
565 reviewed by: plam
566
567 * conf.d/10-fonts.persian.conf:
568 * conf.d/Makefile.am:
569
570 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
571
5722005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
cb6d97eb
PL
573 reviewed by: plam
574
575 * src/fcxml.c (FcConfigParseAndLoad):
576
577 Only add a config file to the set of config files once.
578
93a27747
PL
5792005-11-29 Patrick Lam <plam@mit.edu>
580 * src/fcint.h (FcCacheBankToIndex);
581
582 Fix segfault by guarding array dereference.
583
b8948e85
PL
5842005-11-29 Dirk Mueller <dmueller@suse.de>
585 reviewed by: plam
586
587 * fc-lang/fc-lang.c:
588 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
589 FcCacheBankToIndex, FcCacheBankToIndexMTF,
590 FcCacheAddBankDir):
591 * src/fcint.h:
592
593 Refactor FcCacheBankToIndex into an inlineable part
594 (in fcint.h) which checks the front of the list and a
595 non-inlineable part which finds and moves the appropriate element
596 to the front of the list.
597
9fad72ab
PL
5982005-11-29 Patrick Lam <plam@mit.edu>
599 * src/fccfg.c (FcConfigBuildFonts):
600 * src/fccache.c (FcCacheReadDirs):
601
602 Make the perf guys hate me a bit less: hoist the directory-name
603 FcConfigAcceptFont check for cached fonts up to directory cache
604 read time, rather than running it for each font.
605
51af0509
PL
6062005-11-29 Patrick Lam <plam@mit.edu>
607 * src/fccfg.c (FcConfigBuildFonts):
608 * src/fcint.h:
609 * src/fcpat.c (FcPatternFindFullFname):
610
611 Don't make FcPatternFindFullFname available to fccfg, it's not
612 really safe. Instead go through FcPatternGetString (sorry,
613 perf guys.) Also, use globs for dirs as well.
614
e0421d02
PL
6152005-11-28 Patrick Lam <plam@mit.edu>
616 * src/fccfg.c (FcConfigBuildFonts):
617
618 Fix segfault.
619
ced3f0a0
PL
6202005-11-28 Patrick Lam <plam@mit.edu>
621 * src/fcint.h:
622 * src/fcpat.c (FcPatternFindFullFname):
623 * src/fccfg.c (FcConfigBuildFonts):
624
625 Fix problem dating back at least to 2.3.2 where globs weren't
626 being applied to patterns loaded from a cache.
627
6282005-11-28 Patrick Lam <plam@mit.edu>
629 * doc/fontconfig-user.sgml:
630
631 Fix some obvious spelling mistakes.
632
1ed98a0c
PL
6332005-11-28 Dirk Mueller <dmueller@suse.com>
634 Stephan Kulow <coolo@suse.de>
635 reviewed by: plam
636
637 * src/fcmatch.c (FcFontSetMatch):
638
639 Don't kill all fonts during match (oops!)
640
641
6422005-11-25 Dirk Mueller <dmueller@suse.com>
643 Stephan Kulow <coolo@suse.de>
644 Michael Matz <matz@suse.de>
645 reviewed by: plam
646
647 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
648 FcFontSetMatch):
649
650 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
651 inline FcCompare into FcFontSetMatch and reorder the
652 loops, adding a boolean array which blocks patterns from future
653 consideration if they're known to not be best on some past
654 criterion.
655
200a44fe
PL
6562005-11-26 Dirk Mueller <dmueller@suse.com>
657 reviewed by: plam
658
659 * src/fcmatch.c (FcCompareValueList):
660
661 Fix incorrect merge.
662
cbe1df81
PL
6632005-11-25 Patrick Lam <plam@mit.edu>
664 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
665
666 Don't do random matching when bad objects are passed into
667 FcCompareValueList.
668
81fe99fd
PL
6692005-11-25 Patrick Lam <plam@mit.edu>
670 * src/fcint.h:
671 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
672 FcPatternSerialize, FcPatternUnserialize,
673 FcValueListEnsureBank, FcValueListDistributeBytes,
674 FcValueListUnserialize):
675
676 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
677 _fcPatternElts, _fcValueLists for consistency.
678
d854eaf8
PL
6792005-11-25 Dirk Mueller <dmueller@suse.com>
680 reviewed by: plam
681
682 * src/fcmatch.c:
683
684 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
685
61571f3f
PL
6862005-11-25 Patrick Lam <plam@mit.edu>
687 * src/fcint.h:
688 * src/fccache.c (FcDirCacheConsume):
689 * src/fccharset.c (FcCharSetUnserialize):
690 * src/fcfs.c (FcFontSetUnserialize):
691 * src/fclang.c (FcLangSetUnserialize):
692 * src/fcname.c (FcObjectUnserialize):
693 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
694 FcPatternUnserialize):
695
696 Pass around FcCache *s to the Unserialize functions for extra
697 consistency (and less overhead, for what that's worth).
698
9ab79bdf
PL
6992005-11-24 Dirk Mueller <dmueller@suse.com>
700 reviewed by: plam
701
702 * src/fcint.h:
703 * src/fcmatch.c (FcCompare*, FcFontSetSort):
704 * src/fcname.c (FcNameUnparseValue):
705
706 Inline the *PtrU functions to gain perf.
707 Remove unneeded params for the FcCompare* functions.
708
7092005-11-24 Dirk Mueller <dmueller@suse.com>
1c9fdcca
PL
710 reviewed by: plam
711
712 * src/fcint.h, fontconfig/fontconfig.h:
713
714 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
715
716 * src/fcpat.c, src/fcint.h, src/fcname.c:
717
718 Check for type validity during FcPatternAddWithBinding, don't
719 verify type in FcFontMatch, don't call FcCanonicalize here
720 (which always does a deep copy).
721
4f8b266f
PL
7222005-11-24 Dirk Mueller <dmueller@suse.com>
723 reviewed by: plam
724
725 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
726 * src/fcpat.c (FcPatternAddWithBinding):
727
728 Make FcCompareString and FcCompareFamily less expensive.
729 Only add a value for FC_FAMILY if the proposed value is a string.
730
7312005-11-24 Dirk Mueller <dmueller@suse.com>
b97a34b5
PL
732 reviewed by: plam
733
734 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
735 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
736 * src/fcint.h (FcDebug):
737
738 Inline FcDebug invocations and only initialize once, in FcInit*.
739 Improve debug msg in FcPatternPrint.
740
f7c4624f
PL
7412005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
742 reviewed by: plam
743
744 * fontconfig/fontconfig.h:
745 * fc-cat/fc-cat.c:
746
747 Minor code warning cleanups.
748
435fc660
PL
7492005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
750 reviewed by: plam
751
752 * fc-match/fc-match.c (main):
753
754 Make getopt_long accept -s parameter to fc-match as well.
755
adac22f2
PL
7562005-11-21 Dirk Mueller <dmueller@suse.com>
757 reviewed by: plam
758
759 * src/fcmatch.c (FcCompareValueList):
760
761 Manually perform inlining & partial redundancy elimination to
762 reduce calls to FcValueListPtrU.
763
7642005-11-21 Dirk Mueller <dmueller@suse.com>
765 reviewed by: plam
766
767 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
768 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
769
770 Only invoke strlen() when really necessary.
771
8ebf7725
PL
7722005-11-19 Matthias Clasen <mclasen@redhat.com>
773 reviewed by: plam
774
775 * src/Makefile.am:
776 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
777 FcFontCapabilities):
8c24aa6b
PL
778 * src/ftglue.c:
779 * src/ftglue.h:
8ebf7725
PL
780
781 Get rid of the use of freetype internal headers in fcfreetype.c,
782 since those headers will go away with freetype 2.2. Replace with
783 public domain ftglue code from pango. Note that the patch removes
784 some extra error checking in FT_Get_BDF_Property() and comments
785 out the skipping of empty pcf fonts.
786
a151aced
PL
7872005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
788 reviewed by: plam
789
790 * fc-lang/fc-lang.c (main):
791
792 Further fix of patch from 2005-11-04: miscounted numbers count
793 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
794 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
795
796 Removed leafidx_count and numbers_count since they are the same
797 and replaced them with offset_count.
798
8f2a8078
PL
7992005-11-18 Frederic Crozat <fcrozat@mandriva.com>
800 reviewed by: plam
801
802 * fc-cat/fc-cat.c (main):
803
804 Don't crash when fc-cat invoked with no arguments.
805
8062005-11-18 Frederic Crozat <fcrozat@mandriva.com>
807 reviewed by: plam
808
809 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
810
811 Fix invalid read access caused by premature free and
812 GCC4 warnings in libxml2 codepath.
813
8142005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
82912b06
PL
815 reviewed by: plam
816
817 * src/fccfg.c (FcConfigValues):
818
819 List iteration not needed in FcConfigValues, since it's building
820 up the list itself; we can just strip FcVoid elements during
821 construction.
822
38b2ecad
PL
8232005-11-17 Patrick Lam <plam@mit.edu>
824 * src/fccfg.c (FcConfigValues):
825
826 Fix crash on invalid constants in config files (forgot to update
827 a pointer upon list iteration.)
828
f28472fd
PL
8292005-11-17 Frederic Crozat <fcrozat@mandriva.com>
830 reviewed by: plam
831
832 * src/fcxml.c (FcTypecheckExpr):
833
834 Complain about invalid constants in config files.
835
1c5b6345
PL
8362005-11-17 Andreas Schwab <schwab@suse.de>
837 reviewed by: plam
838
839 * src/fccache.c (FcGlobalCacheSave):
840
841 Don't add current_arch_start more than once.
842
8432005-11-16 Patrick Lam <plam@mit.edu>
844 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
845 * src/fcfs.c (FcFontSetUnserialize):
846 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
847 * src/fcpat.c (FcStrUnserialize):
848
849 Fix ordering of ALIGN with respect to saving block_ptr; add
850 another ALIGN to fcfs.c.
851
8e351527
PL
8522005-11-16 Patrick Lam <plam@mit.edu>
853 * src/fccache.c (FcDirCacheProduce)
854
855 Fix case where alignment bytes bumped up metadata->count
856 causing unwarranted failures to write cache files.
857 (Reported by Stephan Kulow).
858
7fd7221e
PL
8592005-11-16 Patrick Lam <plam@mit.edu>
860 * src/fccache.c (FcDirCacheProduce):
861 * src/fccharset.c (FcCharSetDistributeBytes):
862 * src/fcfs.c (FcFontSetDistributeBytes):
863 * src/fcint.h:
864 * src/fclang.c (FcLangSetDistributeBytes):
865 * src/fcname.c (FcObjectDistributeBytes):
866 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
867 FcStrNeededBytes):
868
869 Add *NeededBytesAlign(), which overestimates the padding which is
870 later added by the new ALIGN macro. Fix alignment problems on
871 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
872 version by Andreas Schwab).
873
8742005-11-16 Stephan Kulow <coolo@kde.org>
875 reviewed by: plam
876
877 * src/fccache.c:
878
879 Use sysconf to determine proper PAGESIZE value; this
880 appears to be POSIX-compliant. (reported by Andreas Schwab)
881
82f35f8b
PL
8822005-11-04 Patrick Lam <plam@mit.edu>
883 * fc-lang/fc-lang.c:
884 * src/fccharset.c:
885 * src/fcint.h:
886 * src/fclang.c:
887
888 Fix bug 2878 (excessive relocations at startup for charsets,
889 reported by Ross Burton): fc-lang/fc-lang now creates the
890 static form of the langset, not the dynamic form, so that
891 the charsets should now be in .rodata.
892
50544b13
PL
8932005-11-04 Patrick Lam <plam@mit.edu>
894 * src/fcdir.c (FcDirScanConfig):
895
896 Add test for validity of directory caches that
897 somehow got lost (reported by make distcheck).
898
e6d3e251
PL
8992005-11-04 Patrick Lam <plam@mit.edu>
900 * ChangeLog:
901 * README:
902 * configure.in:
903 * fontconfig/fontconfig.h:
904
905 Bump version to 2.3.92.
906
ea9726b6
PL
9072005-11-02 Patrick Lam <plam@mit.edu>
908 * src/fcpat.c (FcPatternDuplicate):
909
910 Fix argument ordering problem in call to FcPatternTransferFullFname.
911
7358dae4
PL
9122005-11-02 Patrick Lam <plam@mit.edu>
913 * src/fcfreetype.c (FcFreetypeQuery):
914 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
915 FcPatternTransferFullFname):
916
917 Fix warnings and embarrassing double-free error.
918
efa9f2bd
PL
9192005-11-02 Zhe Su <zsu@novell.com>
920 reviewed by: plam
921
922 * fonts.conf.in:
923
924 Change the rule for artificial emboldening in fonts.conf.in. This
925 enables the support for artificial emboldening included in cairo.
926
d7b3ac63
PL
9272005-11-02 Patrick Lam <plam@mit.edu>
928 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
929
930 Don't zero out full names for FC_REF_CONSTANT fonts;
931 also, duplicate full names when transferring, and free
932 full names when freeing the associated font.
933 Reported by Jinghua Luo.
934
303bcf9b
PL
9352005-11-02 Patrick Lam <plam@mit.edu>
936 * fc-cache/fc-cache.c (scanDirs):
937 * src/fcpat.c (FcValueListSerialize):
938
939 Revert the previous patch and commit the correct patch:
940 I forgot a canonicalization in FcValueListSerialize, so
941 that it would choke on already-serialized input files. Duh!
942
c6b75577
PL
9432005-11-02 Patrick Lam <plam@mit.edu>
944 * fc-cache/fc-cache.c (scanDirs):
945
946 Forcibly rescan a directory before writing a fresh local
947 cache file for that directory, fixing the losing-fonts
948 problem reported by Mike Fabian and also apparently the
949 font cache file corruption.
950
9090cb9e
PL
9512005-11-02 Patrick Lam <plam@mit.edu>
952 * src/fccache.c (FcGlobalCacheLoad):
953
954 Fix thinko: actually, the whole global cache is stale
955 if the global cache is older than the (newest) config file.
956
2b25f00c
PL
9572005-11-02 Patrick Lam <plam@mit.edu>
958 * src/fccache.c (FcGlobalCacheLoad):
959 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
960 * src/fcint.h:
961
962 Declare the global cache of a directory's contents to be stale if
963 the directory is newer than the (newest) configuration file.
964
793154ed
PL
9652005-10-31 Patrick Lam <plam@mit.edu>
966 * src/fcint.h:
967 * src/fclist.c (FcListAppend):
968 * src/fcmatch.c (FcFontRenderPrepare):
969 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
970 FcPatternFreeze, FcPatternBaseFreeze):
971
972 Copy the full pathname whenever duplicating an FcPattern; otherwise,
973 applications continue breaking.
974
d6946c1a
PL
9752005-10-31 Patrick Lam <plam@mit.edu>
976 * fc-cat/fc-cat.c (FcCacheFileRead, main):
977 * src/fcfreetype.c (FcFreeTypeQuery):
978
979 Fix small memory error (tried to free argv); use basename and
980 dirname correctly (they can modify their arguments).
981
e77c1718
PL
9822005-10-31 Patrick Lam <plam@mit.edu>
983 * fc-cat/fc-cat.c:
984 * src/fccache.c:
985 * src/fcfreetype.c:
986 * src/fcint.h:
987 * src/fclist.c:
988 * src/fcpat.c:
989
990 Reinstate basename patch, but keep a hash table linking FcPatterns
991 to their fully-qualified font names for clients' benefit. Clients
992 only pay for the font names once they request the FC_FILE property
993 from an FcPattern, but the font name is malloc'd at that point (i.e.
994 not mmapped: that's impossible, since it may vary between machines.)
995 Clients do have to pay for a copy of the path name per cache file.
996
997 Note that FcPatternGetString now does some rewriting if you ask
998 for an FC_FILE, appending the pathname as appropriate.
999
10002005-10-31 Patrick Lam <plam@mit.edu>
1001 * src/fcfreetype.c (FcFreeTypeQuery):
1002
1003 Revert basename patch, which breaks fontconfig clients on my system.
1004
720298e7
PL
10052005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1006 reviewed by: plam
1007
1008 * fontconfig/fonts.conf.in:
1009 * fontconfig/fontconfig.h:
1010 * src/fcdefault.c:
1011 * src/fcname.c:
1012
1013 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1014 to load embedded bitmaps or not.
1015
961d9b99
PL
10162005-10-25 Patrick Lam <plam@mit.edu>
1017 * src/fcfreetype.c (FcFreeTypeQuery):
1018
1019 Only add basename to patterns' FC_FILE element, not any part of
1020 the dirname.
1021
573da729
PL
10222005-10-22 Patrick Lam <plam@mit.edu>
1023 * src/fcfreetype.c:
1024
1025 Add some more consts, fixing more GCC4 warnings.
1026
90442681
PL
10272005-10-22 Zhe Su <zsu@novell.com>
1028 reviewed by: plam
1029
1030 Support localized font family and style names.
1031 This has been reported to break old apps like xfd, but modern
1032 (gtk+/qt/mozilla) apps work fine.
1033
e58b50e8
PL
10342005-10-21 Patrick Lam <plam@mit.edu>
1035 * src/fccache.c (FcGlobalCacheLoad):
1036
1037 Destroy the global cache file if it's terminally broken. (reported by
1038 Mike Fabian)
1039
2fa3f27e
PL
10402005-10-21 Patrick Lam <plam@mit.edu>
1041 * fc-list/fc-list.c (main):
1042 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1043 * fontconfig/fontconfig.h:
1044
e58b50e8
PL
1045 Prevent fc-list from escaping strings when printing them (reported by
1046 Matthias Clasen).
2fa3f27e 1047
250c1cd4
PL
10482005-10-20 Marcus Meissner <meissner@suse.de>
1049 reviewed by: plam
1050
1051 * fontconfig/fontconfig.h:
1052
1053 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1054
10552005-10-14 Ross Burton <ross@burtonini.com>
21696e5b
PL
1056 reviewed by: plam
1057
1058 * fc-glyphname/fc-glyphname.c:
1059 * src/fclang.c:
1060
1061 Add consts to variables so as to move arrays into .rodata.
1062
15d7bd0a
PL
10632005-10-14 Mike Fabian <mfabian@suse.de>
1064 reviewed by: plam
1065
1066 * src/fccache.c (FcDirCacheUnlink):
1067
1068 Check existence of directory cache file before attempting to unlink.
1069
1178b569
PL
10702005-10-13 Patrick Lam <plam@mit.edu>
1071 * src/fccache.c (FcDirCacheUnlink):
1072
1073 Fix flipped return value on unlink. (Reported by Mike Fabian)
1074
10752005-10-12 Patrick Lam <plam@mit.edu>
1076
1077 * src/fccache.c:
1078 * src/fcdir.c (FcDirScanConfig):
1079 * src/fcint.h:
1080
1081 When fc-cache is run without --force, use directory cache files
1082 to speed up fc-cache run time. (Reported by Mike Fabian)
1083
23787a8f
PL
10842005-10-06 Patrick Lam <plam@mit.edu>
1085
1086 * src/fcname.c (FcObjectToPtr):
1087 * src/fcpat.c (FcStrStaticName):
1088
1089 Add padding to make valgrind and glibc not hate each other
1090 when calling strlen().
1091
328929f5
PL
10922005-10-05 Simos Xenitellis <simos74@gmx.net>
1093 reviewed by: plam & keithp
1094
1095 * fonts.conf.in:
1096
1097 Modify config file to use Greek fonts before Asian fonts with
1098 Greek glyphs.
1099
1ed67f65
PL
11002005-10-05 Christian Biesinger <cbiesinger@web.de>
1101 reviewed by: plam & keithp
1102
1103 * src/Makefile.am:
1104
1105 Use libtool -no-undefined flag on all platforms.
1106
751932dd
PL
11072005-10-05 Patrick Lam <plam@mit.edu>
1108 * src/fccache.c (FcCacheHaveBank):
1109
1110 Implement move-to-front array for banks (perf regression
1111 reported by Ronny V. Vindenes).
1112
55c8fa4f
PL
11132005-10-04 Patrick Lam <plam@mit.edu>
1114 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1115 FcDirCacheHasCurrentArch):
1116 * fc-cache/fc-cache.c (scanDirs):
1117 * fontconfig/fontconfig.h:
1118
1119 Add new API which unlinks directory caches and checks dir caches
1120 for existence of appropriate sections. Fix fc-cache to unlink
1121 stale cache files and save directory caches that lack relevant
1122 sections.
1123
6bf23804
PL
11242005-10-03 Patrick Lam <plam@mit.edu>
1125 * src/fccache.c (FcDirCacheValid):
1126
1127 Ensure that a directory cache has the appropriate section
1128 before reporting that it is valid (reported by Matthias Clasen).
1129
e99f0f0a
PL
11302005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1131
1132 reviewed by: plam
1133
1134 * configure.in:
1135 * src/Makefile.am:
1136 * src/fcxml.c:
1137
1138 Use libxml2 if requested (with --enable-libxml2) or if
1139 expat is not available.
1140
649cc361
PL
11412005-09-29 Patrick Lam <plam@mit.edu>
1142 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1143
1144 Fix multi-arch cache files: compute the position for the
1145 block to be added using info from OrigFile, not NewFile.
1146
cd310911
PL
11472005-09-28 Patrick Lam <plam@mit.edu>
1148 * src/fccache.c (FcCacheMachineSignature):
1149
1150 Cast results of sizeof() to unsigned int to get rid of
1151 warnings on x86_64 (thanks Matthias Clasen).
1152
11532005-09-27 Patrick Lam <plam@mit.edu>
9ecb9a9a
PL
1154 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1155 FcDirCacheWrite):
1156
1157 Use FcAtomic to rewrite cache files.
1158
11592005-09-27 Patrick Lam <plam@mit.edu>
1160
1161 * src/fccache.c (FcDirCacheWrite):
1162
1163 Don't unlink the fonts.cache-2 file even if there's no data
1164 to write; just write an empty cache file. (thanks Lubos Lunak)
1165
11662005-09-27 Patrick Lam <plam@mit.edu>
1167
1168 * src/fccache.c (FcDirCacheWrite):
1169
1170 Allocate room for the subdirectory names in each
1171 directory cache. Thanks to James Cloos for finding
1172 and diagnosing this bug!
1173
11742005-09-22 Patrick Lam <plam@mit.edu>
1175
1176 * fc-cache/fc-cache.sgml:
1177 * src/fccache.c (FcDirCacheWrite):
1178 * src/fccache.h (struct FcCache):
1179
1180 Update documentation -- fc-cache's man page now says that you
1181 need to run fc-cache once per cached architecture; add some
1182 documentation to the FcCache structure.
1183
1184 Make fc-cache write out fonts.cache-2 files for directories with
1185 no fonts (i.e. only subdirectories).
1186
35c2c7f1
PL
11872005-09-22 Patrick Lam <plam@mit.edu>
1188 * doc/edit-sgml.c:
1189 * fc-cache/fc-cache.sgml:
1190 * fc-case/fc-case.c:
1191 * fc-glyphname/fc-glyphname.c:
1192 * src/fcdefault.c:
1193 * src/fcfreetype.c:
1194 * src/fcinit.c:
1195 * src/fcxml.c:
1196
1197 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1198
1199 * Makefile.am:
1200 * configure.in:
1201 * fc-lang/fc-lang.c:
1202 * fontconfig/fcprivate.h:
1203 * fontconfig/fontconfig.h:
1204 * src/fccache.c:
1205 * src/fccfg.c:
1206 * src/fccharset.c:
1207 * src/fcdbg.c:
1208 * src/fcdir.c:
1209 * src/fcfs.c:
1210 * src/fcint.h:
1211 * src/fclang.c:
1212 * src/fclist.c:
1213 * src/fcmatch.c:
1214 * src/fcname.c:
1215 * src/fcpat.c:
1216
1217 Implement new mmaped cache for font information.
1218 Bump so revision to 2.3.90.
1219
8245771d
PL
12202005-07-25 Keith Packard <keithp@keithp.com>
1221
1222 * doc/fontconfig-user.sgml:
1223 * fc-glyphname/fc-glyphname.c: (scan), (main):
1224 * fc-lang/fc-lang.c: (FcConfigHome):
1225 * fc-match/fc-match.c: (main):
1226 * src/fccfg.c: (FcConfigHome):
1227 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1228 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1229 (addtag), (FcFontCapabilities):
1230 * src/fcpat.c: (FcValueListEntCreate):
1231 * src/fcstr.c: (FcStrCaseWalkerInit):
1232 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1233
1234 Various GCC 4 cleanups for signed vs unsigned char
1235
1236 Match only [0-9]*.conf files in <include>{directory}</include>
1237 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1238
e1b9d091
PL
12392005-07-15 Carl Worth <cworth@cworth.org>
1240
1241 * src/fcint.h:
1242 * src/fcinit.c: (FcFini):
1243 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1244 FcPatternFini.
1245
1246 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1247 Pull the FcObjectStateName hash table out to file scope, and add
1248 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1249 as well.
1250
1251 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1252 fclose.
1253
f1a42f6b
KP
12542005-06-16 Patrick Lam <plam@MIT.EDU>
1255
1256 reviewed by: keithp
1257
1258 * src/fccfg.c: (FcConfigCompareValue):
1259 Make FcOpNotContains use FcStrStr for strings so that
1260 it matches semantics for !FcOpContains.
1261
adc7abac
KP
12622005-05-20 Keith Packard <keithp@keithp.com>
1263
1264 * debian/changelog:
1265 * debian/control:
1266 Move fontconfig source package to libs as per override
1267
a65a77ae
KP
12682005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1269
1270 reviewed by: Mike Fabian
1271
1272 * fc-lang/ka.orth:
1273 The ka.orth file requires several characters which are not
1274 used anymore in modern Georgian and which are missing in the free
1275 Georgian TrueType fonts downloadable at:
1276
1277 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1278
87c88746
KP
12792005-04-27 Keith Packard <keithp@keithp.com>
1280
1281 * README:
1282 * debian/changelog:
1283 Update date to real 2.3.2 release date.
1284 Fix change attributions
1285
12862005-04-27 Keith Packard <keithp@keithp.com>
1287
1288 * configure.in:
1289 Bump so revision for 2.3.2
1290 * fc-cache/fc-cache.c: (scanDirs):
1291 Fix a few minor leaks in error cases.
1292
1cb309ad
KP
12932005-04-23 Keith Packard <keithp@keithp.com>
1294
1295 * README:
1296 * configure.in:
1297 * debian/changelog:
1298 * fontconfig/fontconfig.h:
1299 Update for version 2.3.2
1300
716ac8b8
KP
13012005-04-21 Keith Packard <keithp@keithp.com>
1302
1303 * debian/fontconfig.postinst:
1304 Don't force bitmap font enable in default
1305 configuration; allows users to override this in
1306 ~/.fonts.conf
1307 * debian/po/cs.po:
1308 * debian/po/da.po:
1309 * debian/po/de.po:
1310 * debian/po/es.po:
1311 * debian/po/fr.po:
1312 * debian/po/ja.po:
1313 * debian/po/nl.po:
1314 * debian/po/pt.po:
1315 * debian/po/pt_BR.po:
1316 * debian/po/templates.pot:
1317 * debian/po/tr.po:
1318 * debian/po/zh_CN.po:
1319 Updated translations
1320
1321 * fc-cache/fc-cache.c: (main):
1322 Destroy font configuration on exit to help valgrind
1323
1324 * fonts.conf.in:
1325 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1326 (FcFreeTypeCheckGlyph):
1327 Use own transcoding routines in preference to iconv
1328 which appears to have leaks in some translators.
1329 Call iconv_close after using iconv (oops).
1330
1331 Prefer unicode encoding of Euro char as some
1332 fonts mis-encode Euro in other ones.
1333
1334 Must fetch bitmap glyphs to get width values
1335 to check for monospace/dual-width fonts.
1336
2ff4f076
RB
13372005-04-13 Ross Burton <ross@burtonini.com>
1338
1339 * src/fcpat.c:
1340 Check that a pattern isn't already frozen in FcPatternFreeze.
1341
ae7d0f35
RB
13422005-03-31 Ross Burton <ross@burtonini.com>
1343
1344 * src/fclist.c:
1345 * src/fcmatch.c:
1346 * src/fcpat.c:
1347 Run all FcPattern objects through FcObjectStaticName, so that
1348 compares can be done on pointers instead of strings (#2659)
1349
15603274
TL
13502005-03-17 Tor Lillqvist <tml@novell.com>
1351
1352 * src/fontconfig.def.in: Add the .dll to the dll name.
1353
5f347d9c
KP
13542005-03-10 Keith Packard <keithp@keithp.com>
1355
1356 * debian/README.Debian:
1357 Update to reflect configuration changes
1358 * debian/changelog:
1359 * debian/fontconfig.postinst:
1360 Fix Autohint vs Autohinter mistake
1361 * debian/fontconfig.templates:
1362 Adopt changes from Josselin Mouette for configuration descriptions
1363 Update debian to version 2.3.1-2
1364
8c740260
KP
13652005-03-08 Keith Packard <keithp@keithp.com>
1366
1367 * debian/changelog:
1368 * debian/rules:
1369 Update debian for 2.3.1
1370
79da4fe9
TL
13712005-03-09 Tor Lillqvist <tml@novell.com>
1372
1373 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1374 put it, not "lib".
1375
1376 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1377 prefix on Win32.
1378
d49dde9f
KP
13792005-03-08 Keith Packard <keithp@keithp.com>
1380
1381 * README:
1382 * configure.in:
1383 * fontconfig/fontconfig.h:
1384 Update for 2.3.1
1385
76a8dfa3
KP
13862005-03-05 Keith Packard <keithp@keithp.com>
1387
1388 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1389 Include space and remove numbers from valid script tags.
1390 This ensures that tags like 'lao ' work while rejecting
1391 those which have any digits.
1392 Eliminate a spurious debugging variable (len)
1393
219f7818
KP
13942005-03-05 Keith Packard <keithp@keithp.com>
1395
1396 * src/fcfreetype.c: (addtag), (GetScriptTags),
1397 (FcFontCapabilities):
1398 Rework GSUB/GPOS script parsing to survive broken fonts.
1399 Thanks for the broken font go to Manish Singh
1400
97bde49a
KP
14012005-03-05 Keith Packard <keithp@keithp.com>
1402
1403 Josselin Mouette:
1404 * debian/changelog:
1405 * debian/control:
1406 * debian/fontconfig.config:
1407 * debian/fontconfig.templates:
1408 * debian/rules:
1409 Include 2.3 release information in changelog
1410 Add Josselin Mouette as an Uploader
1411 Set hinting_type to low priority configuration option
1412
1413 Manish Singh:
1414 * debian/fontconfig.postinst:
1415 yes_bitmaps.conf -> yes-bitmaps.conf
1416
1417 Funda Wang:
1418 * src/fcfreetype.c:
1419 Johap -> Johab
1420
683dc3c4
KP
14212005-03-02 Keith Packard <keithp@keithp.com>
1422
1423 * Makefile.am:
1424 * conf.d/Makefile.am:
1425 * conf.d/autohint.conf:
1426 * conf.d/no-sub-pixel.conf:
1427 * conf.d/sub-pixel.conf:
1428 * conf.d/unhinted.conf:
1429 * debian/autohint.conf:
1430 * debian/fontconfig.install:
1431 * debian/fontconfig.postinst:
1432 * debian/fontconfig.templates:
1433 * debian/no-sub-pixel.conf:
1434 * debian/unhinted.conf:
1435 Move debian-specific conf file examples upstream.
1436
1437 Sub-pixel configuration examples must smash subpixel value
1438 as Xft always sets it from X.
1439
1440 Change sub-pixel rendering debconf descriptions from
1441 Enable/Disable to Always/Never.
1442
dc2e06ab
KP
14432005-03-02 Keith Packard <keithp@keithp.com>
1444
1445 * .cvsignore:
1446 * conf.d/.cvsignore:
1447 * doc/.cvsignore:
1448 Ignore more build detritus
1449
1450 * Makefile.am:
1451 Add debian package construction stuff.
1452
1453 * config/config.guess:
1454 * config/config.sub:
1455 Update to newer versions of these tools
1456
1457 * doc/Makefile.am:
1458 Get library manuals to build again (we love automake).
1459
1460 * debian/README.Debian:
1461 * debian/autohint.conf:
1462 * debian/changelog:
1463 * debian/compat:
1464 * debian/control:
1465 * debian/copyright:
1466 * debian/fontconfig-udeb.install:
1467 * debian/fontconfig.config:
1468 * debian/fontconfig.defoma:
1469 * debian/fontconfig.dirs:
1470 * debian/fontconfig.install:
1471 * debian/fontconfig.postinst:
1472 * debian/fontconfig.postrm:
1473 * debian/fontconfig.templates:
1474 * debian/libfontconfig1-dev.install:
1475 * debian/libfontconfig1.install:
1476 * debian/local.conf.md5sum:
1477 * debian/no-sub-pixel.conf:
1478 * debian/po/POTFILES.in:
1479 * debian/po/cs.po:
1480 * debian/po/da.po:
1481 * debian/po/de.po:
1482 * debian/po/es.po:
1483 * debian/po/fr.po:
1484 * debian/po/ja.po:
1485 * debian/po/nl.po:
1486 * debian/po/pt.po:
1487 * debian/po/pt_BR.po:
1488 * debian/po/templates.pot:
1489 * debian/po/tr.po:
1490 * debian/po/zh_CN.po:
1491 * debian/rules:
1492 * debian/unhinted.conf:
1493 Update debian build system to switch maintainers and
1494 deal with 2.3 functionality
1495
4afc00ca
KP
14962005-03-01 Keith Packard <keithp@keithp.com>
1497
1498 * README:
1499 * configure.in:
1500 * fontconfig/fontconfig.h:
1501 Update for 2.3.0
1502
0c009d2b
KP
15032005-03-01 Keith Packard <keithp@keithp.com>
1504
1505 * doc/Makefile.am:
1506 Generate and install PDF versions of the manuals
1507
1508 * doc/fcpattern.fncs:
1509 Fix formatting
1510
1511 * doc/fcstring.fncs:
1512 Add missing exported functions, fix data types
1513
1514 * doc/fontconfig-devel.sgml:
1515 Add missing pattern elements.
1516
1517 * doc/fontconfig-user.sgml:
1518 Add missing pattern elements. Document conf.d usage,
1519 clarify available orthography list. Fix some config file
1520 attributes. Complete list of constants.
1521
1522 * fontconfig/fontconfig.h:
1523 Mark FC_SOURCE deprecated.
1524
1525 * src/fcfreetype.c: (FcFreeTypeQuery):
1526 Don't set FC_SOURCE any longer.
1527
414f7202
KP
15282005-02-28 Keith Packard <keithp@keithp.com>
1529
1530 * Makefile.am:
1531 * conf.d/Makefile.am:
1532 * conf.d/README:
1533 * conf.d/no-bitmaps.conf:
1534 * conf.d/sub-pixel.conf:
1535 * conf.d/yes-bitmaps.conf:
1536 * configure.in:
1537 Create prototype /etc/fonts/conf.d directory with a few
1538 sample configuration files.
1539 Deprecate use of local.conf for local customizations in favor of
1540 this directory based scheme which is more easily integrated into
1541 installation systems.
1542
1543 * src/fcname.c:
1544 Tag FC_EMBOLDEN as a boolean variable
1545
47b49bf1
KP
15462005-02-10 Keith Packard <keithp@keithp.com>
1547
1548 reviewed by: pborelli@katamail.com
1549
1550 * src/fcdir.c: (FcFileScanConfig):
1551 Free patterns from fonts which are rejected by configuration
1552 (bug #2518)
1553
845a0bf3
KP
15542005-01-28 Keith Packard <keithp@keithp.com>
1555
1556 * README:
afca7836
KP
1557 * configure.in:
1558 * fontconfig/fontconfig.h:
1559 Update for version 2.2.99
1560
15612005-01-28 Keith Packard <keithp@keithp.com>
1562
1563 * README:
1564 Add a few pointers (#2284, #2285)
845a0bf3 1565
ca60d2b5
KP
15662005-01-28 Keith Packard <keithp@keithp.com>
1567
1568 * src/fcint.h:
1569 * src/fcname.c: (FcNameBool):
1570 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1571 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1572 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1573 Polite typechecking for test and edit expressions. Helps
afca7836 1574 catch errors in the font configuration. (bug 229)
ca60d2b5 1575
59e149e7
KP
15762005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1577
1578 reviewed by: Keith Packard <keithp@keithp.com>
1579
1580 * configure.in:
1581 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1582
d8ae9c92
KP
15832005-01-13 Keith Packard <keithp@keithp.com>
1584
1585 * doc/fontconfig-user.sgml:
1586 Add SEE ALSO section (bug 2085)
1587
15882005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1589
1590 reviewed by: Keith Packard <keithp@keithp.com>
1591
1592 * Makefile.am:
1593 * configure.in:
1594 * doc/Makefile.am:
1595 * fc-case/Makefile.am:
1596 * fc-glyphname/Makefile.am:
1597 * fc-lang/Makefile.am:
1598 * src/fontconfig.def.in:
1599 Cross compiling fixes (bug 280)
1600
8759822e
KP
16012005-01-13 Keith Packard <keithp@keithp.com>
1602
1603 * fonts.conf.in:
1604 Update blanks list (Closes bug 86)
1605
fce87a18
KP
16062005-01-04 Keith Packard <keithp@keithp.com>
1607
1608 * src/fccache.c: (FcCacheFontSetAdd):
1609 Verify that every font pattern loaded from cache has
1610 both FC_FILE and FC_FAMILY entries.
1611 Attempt to fix bug #2219.
1612
d5346181
KP
16132004-12-29 Keith Packard <keithp@keithp.com>
1614
1615 * README:
1616 * configure.in:
1617 * fontconfig/fontconfig.h:
1618 Update for version 2.2.98
1619
479f551f
KP
16202004-12-29 Keith Packard <keithp@keithp.com>
1621
1622 * fontconfig/fontconfig.h:
1623 Document ASCII limitations of Fc character conversion macros
1624 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1625 Fix off-by-one error in utf-8 case walking code.
1626 Add FcStrDowncase (useful for testing case conversion functions)
1627
02748dd3
KP
16282004-12-29 Keith Packard <keithp@keithp.com>
1629
1630 * .cvsignore:
1631 * fc-case/.cvsignore:
1632 clean up CVS ignore lists
1633 * fc-lang/iso-3166.txt:
1634 Add territory database
1635
16362004-12-29 Tor Andersson <tor.andersson@gmail.com>
1637
1638 Reviewed by: Keith Packard
1639
1640 * fc-lang/ko.orth:
1641 Remove Han characters from Korean orthography
1642
2ba729ed
KP
16432004-12-29 Keith Packard <keithp@keithp.com>
1644
1645 * Makefile.am:
1646 Reorder utility programs to make sure fc-case is run before fc-lang
1647 as fc-lang uses fcstr.c which uses fccase.h
1648 * fonts.conf.in:
1649 Fix broken XML
1650
192296d8
KP
16512004-12-29 Keith Packard <keithp@keithp.com>
1652
1653 * fonts.conf.in:
1654 Adopt some RedHat suggestions for standard font configuration.
1655
1656 * Makefile.am:
1657 * configure.in:
1658 * fc-case/CaseFolding.txt:
1659 * fc-case/Makefile.am:
1660 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1661 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1662 (dump), (parseRaw), (caseFoldReadRaw), (main):
1663 * fc-case/fccase.tmpl.h:
1664 Add new helper program 'fc-case' to construct case folding
1665 tables from standard Unicode CaseFolding.txt file
1666
1667 * src/fcint.h:
1668 * src/fclist.c: (FcListValueHash):
1669 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1670 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1671 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1672 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1673 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1674 Re-implement case insensitive functions with Unicode
1675 aware versions (including full case folding mappings)
1676
5cf8c536
KP
16772004-12-13 Keith Packard <keithp@keithp.com>
1678
1679 reviewed by: Owen Taylor <otaylor@redhat.com>
1680
1681 * src/fcmatch.c: (FcFontSetSort):
1682 I changed FcFontSetSort to respect the generic aliases better
1683 in the face of language matching.
1684
1685 What I did was to ammend the strict sort order used by FcFontSort so
1686 that it 'satisfies' the language specified in the pattern by locating
1687 the best matching font supporting each pattern language and then
1688 ignores language in the remaining fonts for purposes of matching.
1689
1690 So, when asking for 'sans:lang=en', you'll get an English font first,
1691 and then the remaining fonts sorted with respect to the 'sans' alias
1692 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1693
46a10637
KP
16942004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1695
1696 reviewed by: Keith Packard <keithp@keithp.com>
1697
1698 * fontconfig/fontconfig.h:
1699 * fonts.conf.in:
1700
1701 Configuration changes to request synthetic emboldening of
1702 fonts. The actual emboldening code will live in Xft.
1703
9af19286
KP
17042004-12-09 John Thacker <thacker@math.cornell.edu>
1705
1706 reviewed by: Keith Packard <keithp@keithp.com>
1707
1708 * fc-lang/ru.orth:
1709
1710 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1711 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1712 и), and don't even appear in KOI8-R. (The hypothesis that they
1713 don't appear in KOI8-R due to their similarity with Latin I and i is
1714 eliminated by their presence in KOI8-U.) I have a couple of fonts
1715 with Russian support that don't have the letter.
1716
1717 Therefore, 0406 and 0456 should be removed from or commented out of
1718 ru.orth
1719
1c52c0f0
KP
17202004-12-06 michael meeks <mmeeks@novell.com>
1721
1722 Reviewed by: Keith Packard <keithp@keithp.com>
1723
1724 * src/fcinit.c: (FcMemReport):
1725 * src/fcint.h:
1726 * src/fclist.c: (FcObjectSetAdd):
1727 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1728 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1729 * src/fcxml.c: (FcParsePatelt):
1730 memoize strings and share a single copy for all uses. Note that
1731 this could be improved further by using statically allocated blocks
1732 and gluing multiple strings together, but I'm basically lazy.
1733 In my environment with 800 font files, I get a savings of about 90KB.
1734
46b51147
KP
17352004-12-06 Keith Packard <keithp@keithp.com>
1736
1737 * COPYING:
1738 * Makefile.am:
1739 * config/Makedefs.in:
1740 * configure.in:
1741 * doc/edit-sgml.c:
1742 * doc/fcatomic.fncs:
1743 * doc/fcblanks.fncs:
1744 * doc/fccharset.fncs:
1745 * doc/fcconfig.fncs:
1746 * doc/fcconstant.fncs:
1747 * doc/fcfile.fncs:
1748 * doc/fcfontset.fncs:
1749 * doc/fcfreetype.fncs:
1750 * doc/fcinit.fncs:
1751 * doc/fcmatrix.fncs:
1752 * doc/fcobjectset.fncs:
1753 * doc/fcobjecttype.fncs:
1754 * doc/fcpattern.fncs:
1755 * doc/fcstring.fncs:
1756 * doc/fcstrset.fncs:
1757 * doc/fcvalue.fncs:
1758 * doc/fontconfig-devel.sgml:
1759 * doc/fontconfig-user.sgml:
1760 * doc/func.sgml:
1761 * doc/version.sgml.in:
1762 * fc-cache/Makefile.am:
1763 * fc-cache/fc-cache.c:
1764 * fc-glyphname/Makefile.am:
1765 * fc-glyphname/fc-glyphname.c:
1766 * fc-glyphname/fcglyphname.tmpl.h:
1767 * fc-lang/Makefile.am:
1768 * fc-lang/aa.orth:
1769 * fc-lang/ab.orth:
1770 * fc-lang/af.orth:
1771 * fc-lang/am.orth:
1772 * fc-lang/ar.orth:
1773 * fc-lang/ast.orth:
1774 * fc-lang/ava.orth:
1775 * fc-lang/ay.orth:
1776 * fc-lang/az.orth:
1777 * fc-lang/az_ir.orth:
1778 * fc-lang/ba.orth:
1779 * fc-lang/bam.orth:
1780 * fc-lang/be.orth:
1781 * fc-lang/bg.orth:
1782 * fc-lang/bh.orth:
1783 * fc-lang/bho.orth:
1784 * fc-lang/bi.orth:
1785 * fc-lang/bin.orth:
1786 * fc-lang/bn.orth:
1787 * fc-lang/bo.orth:
1788 * fc-lang/br.orth:
1789 * fc-lang/bs.orth:
1790 * fc-lang/bua.orth:
1791 * fc-lang/ca.orth:
1792 * fc-lang/ce.orth:
1793 * fc-lang/ch.orth:
1794 * fc-lang/chm.orth:
1795 * fc-lang/chr.orth:
1796 * fc-lang/co.orth:
1797 * fc-lang/cs.orth:
1798 * fc-lang/cu.orth:
1799 * fc-lang/cv.orth:
1800 * fc-lang/cy.orth:
1801 * fc-lang/da.orth:
1802 * fc-lang/de.orth:
1803 * fc-lang/dz.orth:
1804 * fc-lang/el.orth:
1805 * fc-lang/en.orth:
1806 * fc-lang/eo.orth:
1807 * fc-lang/es.orth:
1808 * fc-lang/et.orth:
1809 * fc-lang/eu.orth:
1810 * fc-lang/fa.orth:
1811 * fc-lang/fc-lang.c:
1812 * fc-lang/fc-lang.man:
1813 * fc-lang/fclang.tmpl.h:
1814 * fc-lang/fi.orth:
1815 * fc-lang/fj.orth:
1816 * fc-lang/fo.orth:
1817 * fc-lang/fr.orth:
1818 * fc-lang/ful.orth:
1819 * fc-lang/fur.orth:
1820 * fc-lang/fy.orth:
1821 * fc-lang/ga.orth:
1822 * fc-lang/gd.orth:
1823 * fc-lang/gez.orth:
1824 * fc-lang/gl.orth:
1825 * fc-lang/gn.orth:
1826 * fc-lang/gu.orth:
1827 * fc-lang/gv.orth:
1828 * fc-lang/ha.orth:
1829 * fc-lang/haw.orth:
1830 * fc-lang/he.orth:
1831 * fc-lang/hi.orth:
1832 * fc-lang/ho.orth:
1833 * fc-lang/hr.orth:
1834 * fc-lang/hu.orth:
1835 * fc-lang/hy.orth:
1836 * fc-lang/ia.orth:
1837 * fc-lang/ibo.orth:
1838 * fc-lang/id.orth:
1839 * fc-lang/ie.orth:
1840 * fc-lang/ik.orth:
1841 * fc-lang/io.orth:
1842 * fc-lang/is.orth:
1843 * fc-lang/iso639-2:
1844 * fc-lang/it.orth:
1845 * fc-lang/iu.orth:
1846 * fc-lang/ja.orth:
1847 * fc-lang/ka.orth:
1848 * fc-lang/kaa.orth:
1849 * fc-lang/ki.orth:
1850 * fc-lang/kk.orth:
1851 * fc-lang/kl.orth:
1852 * fc-lang/km.orth:
1853 * fc-lang/kn.orth:
1854 * fc-lang/ko.orth:
1855 * fc-lang/kok.orth:
1856 * fc-lang/ks.orth:
1857 * fc-lang/ku.orth:
1858 * fc-lang/ku_ir.orth:
1859 * fc-lang/kum.orth:
1860 * fc-lang/kv.orth:
1861 * fc-lang/kw.orth:
1862 * fc-lang/ky.orth:
1863 * fc-lang/la.orth:
1864 * fc-lang/lb.orth:
1865 * fc-lang/lez.orth:
1866 * fc-lang/lo.orth:
1867 * fc-lang/lt.orth:
1868 * fc-lang/lv.orth:
1869 * fc-lang/mg.orth:
1870 * fc-lang/mh.orth:
1871 * fc-lang/mi.orth:
1872 * fc-lang/mk.orth:
1873 * fc-lang/ml.orth:
1874 * fc-lang/mn.orth:
1875 * fc-lang/mo.orth:
1876 * fc-lang/mr.orth:
1877 * fc-lang/mt.orth:
1878 * fc-lang/my.orth:
1879 * fc-lang/nb.orth:
1880 * fc-lang/nds.orth:
1881 * fc-lang/ne.orth:
1882 * fc-lang/nl.orth:
1883 * fc-lang/nn.orth:
1884 * fc-lang/no.orth:
1885 * fc-lang/ny.orth:
1886 * fc-lang/oc.orth:
1887 * fc-lang/om.orth:
1888 * fc-lang/or.orth:
1889 * fc-lang/os.orth:
1890 * fc-lang/pl.orth:
1891 * fc-lang/ps_af.orth:
1892 * fc-lang/ps_pk.orth:
1893 * fc-lang/pt.orth:
1894 * fc-lang/rm.orth:
1895 * fc-lang/ro.orth:
1896 * fc-lang/ru.orth:
1897 * fc-lang/sa.orth:
1898 * fc-lang/sah.orth:
1899 * fc-lang/sco.orth:
1900 * fc-lang/se.orth:
1901 * fc-lang/sel.orth:
1902 * fc-lang/sh.orth:
1903 * fc-lang/si.orth:
1904 * fc-lang/sk.orth:
1905 * fc-lang/sl.orth:
1906 * fc-lang/sm.orth:
1907 * fc-lang/sma.orth:
1908 * fc-lang/smj.orth:
1909 * fc-lang/smn.orth:
1910 * fc-lang/sms.orth:
1911 * fc-lang/so.orth:
1912 * fc-lang/sq.orth:
1913 * fc-lang/sr.orth:
1914 * fc-lang/sv.orth:
1915 * fc-lang/sw.orth:
1916 * fc-lang/syr.orth:
1917 * fc-lang/ta.orth:
1918 * fc-lang/te.orth:
1919 * fc-lang/tg.orth:
1920 * fc-lang/th.orth:
1921 * fc-lang/ti_er.orth:
1922 * fc-lang/ti_et.orth:
1923 * fc-lang/tig.orth:
1924 * fc-lang/tk.orth:
1925 * fc-lang/tl.orth:
1926 * fc-lang/tn.orth:
1927 * fc-lang/to.orth:
1928 * fc-lang/tr.orth:
1929 * fc-lang/ts.orth:
1930 * fc-lang/tt.orth:
1931 * fc-lang/tw.orth:
1932 * fc-lang/tyv.orth:
1933 * fc-lang/ug.orth:
1934 * fc-lang/uk.orth:
1935 * fc-lang/ur.orth:
1936 * fc-lang/uz.orth:
1937 * fc-lang/ven.orth:
1938 * fc-lang/vi.orth:
1939 * fc-lang/vo.orth:
1940 * fc-lang/vot.orth:
1941 * fc-lang/wa.orth:
1942 * fc-lang/wen.orth:
1943 * fc-lang/wo.orth:
1944 * fc-lang/xh.orth:
1945 * fc-lang/yap.orth:
1946 * fc-lang/yi.orth:
1947 * fc-lang/yo.orth:
1948 * fc-lang/zh_cn.orth:
1949 * fc-lang/zh_hk.orth:
1950 * fc-lang/zh_mo.orth:
1951 * fc-lang/zh_sg.orth:
1952 * fc-lang/zh_tw.orth:
1953 * fc-lang/zu.orth:
1954 * fc-list/Makefile.am:
1955 * fc-list/fc-list.c:
1956 * fc-match/Makefile.am:
1957 * fc-match/fc-match.1:
1958 * fc-match/fc-match.c:
1959 * fontconfig/fcfreetype.h:
1960 * fontconfig/fcprivate.h:
1961 * fontconfig/fontconfig.h:
1962 * src/fcatomic.c:
1963 * src/fcblanks.c:
1964 * src/fccache.c:
1965 * src/fccfg.c:
1966 * src/fccharset.c:
1967 * src/fcdbg.c:
1968 * src/fcdefault.c:
1969 * src/fcdir.c:
1970 * src/fcfreetype.c:
1971 * src/fcfs.c:
1972 * src/fcinit.c:
1973 * src/fcint.h:
1974 * src/fclang.c:
1975 * src/fclist.c:
1976 * src/fcmatch.c:
1977 * src/fcmatrix.c:
1978 * src/fcname.c:
1979 * src/fcpat.c:
1980 * src/fcstr.c:
1981 * src/fcxml.c:
1982 Change files from ISO-Latin-1 to UTF-8
1983
fc2cc873
KP
19842004-12-04 Keith Packard <keithp@keithp.com>
1985
1986 * INSTALL:
1987 Update links to new freedesktop.org locations
1988 * Makefile.am:
1989 Add uninstall-local to get rid of fonts.conf and local.conf if they
1990 match the distributed versions. Fixes 'make distcheck'
1991
308dc9c3
KP
19922004-12-04 Keith Packard <keithp@keithp.com>
1993
1994 * README:
1995 * configure.in:
1996 * fontconfig/fontconfig.h:
1997 Updates for version 2.2.97
1998
54560b01
KP
19992004-12-04 Owen Taylor <otaylor@redhat.com>
2000
2001 reviewed by: Keith Packard <keithp@keithp.com>
2002
2003 * fc-cache/fc-cache.c: (main):
2004 Sleep for two seconds before exiting to make sure timestamps
2005 for future changes have distinct mod times in the file system.
2006 Bug #1982.
2007 * fc-lang/pa.orth:
2008 Add Punjabi orthography. Bug #1671.
2009
c5a0b541
KP
20102004-12-04 Keith Packard <keithp@keithp.com>
2011
2012 * fonts.conf.in:
2013 Just remove the FC_FONTDATE -- it has locale issues and
2014 annoys redhat multi-arch installs. Now that all X fonts are
2015 included without prejudice, the chances of the date being at
54560b01 2016 all interesting are rather limited. Bug #505.
c5a0b541
KP
2017 * src/Makefile.am:
2018 Add copyright and license
2019
2d9c79c0
KP
20202004-12-04 Keith Packard <keithp@keithp.com>
2021
2022 * configure.in:
2023 Change default set of fonts to include all of
2024 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2025 * doc/fontconfig-user.sgml:
2026 Document new <include>directory-name</include> semantics
2027 * fonts.conf.in:
2028 add <include ignore_missing="yes">conf.d</include>
2029 * local.conf:
2030 Add selectfont to ignore bitmap fonts, add comment for
2031 selectfont which accepts bitmap fonts.
2032 * src/fcdir.c:
2033 * src/fcint.h:
2034 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2035 Allow <include> configuration elements to reference directories.
2036 Parse and load all files of the form [0-9]* in sorted order.
2037
38e528e7
KP
20382004-12-04 Keith Packard <keithp@keithp.com>
2039
2040 * autogen.sh:
2041 Report command line for $srcdir/configure accurately.
2042 Bug #212.
2043
e4125ef9
KP
20442004-12-04 Keith Packard <keithp@keithp.com>
2045
2046 * src/fcfreetype.c: (FcFreeTypeQuery):
2047 Check for non-empty face->family_name and face->style_name
2048 before using those for the font. Empty names match everything.
38e528e7 2049 Bug #210.
e4125ef9 2050
537e3d23
KP
20512004-12-04 Keith Packard <keithp@keithp.com>
2052
2053 * configure.in:
2054 * fontconfig/fontconfig.h:
2055 * src/fcfreetype.c: (FcFreeTypeQuery):
2056 * src/fcname.c:
2057 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2058 available. This provides font file format information (BDF, Type 1,
2059 PCF, TrueType) for each font. Closes #109.
2060
dbf68dd5
KP
20612004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2062
2063 reviewed by: Keith Packard <keithp@keithp.com>
2064
2065 * doc/fontconfig-user.sgml:
2066 Fix typo.
2067
2068 * fontconfig/fontconfig.h:
2069 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2070 (GetScriptTags), (FcFontCapabilities):
2071 * src/fcname.c:
2072 Add detection for font capabilities (bug #105)
2073
4f27c1c0
KP
20742004-12-04 Keith Packard <keithp@keithp.com>
2075
2076 * Makefile.am:
2077 Move existing fonts.conf to fonts.conf.bak
2078
2079 * configure.in:
2080 Add detection of iconv
2081
2082 * doc/fcpattern.fncs:
2083 * doc/fontconfig-devel.sgml:
2084 * doc/fontconfig-user.sgml:
2085 * fonts.dtd:
2086 Document new selectfont elements
2087
2088 * fc-lang/nb.orth:
2089 Switch to UTF-8 in comment
2090
2091 * fontconfig/fontconfig.h:
2092 * src/fcname.c:
2093 Add fullname, and family/style/fullname language entries
2094
2095 * src/fccache.c: (FcCacheFontSetAdd):
2096 * src/fcdir.c: (FcFileScanConfig):
2097 Respect selectfont/*/glob
2098
2099 * src/fcint.h:
2100 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2101 (FcConfigCompareValue), (FcConfigPatternsAdd),
2102 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2103 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2104 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2105 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2106 Add support for selectfont
2107
2108 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2109 (FcStringInPatternElement), (FcFreeTypeQuery):
2110 Add multi-lingual family/style/fullname support
2111
2112 * src/fclist.c: (FcListPatternMatchAny):
2113 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2114
2115 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2116 (FcObjectStaticName):
2117 Add new FcPatternRemove/FcPatternAppend.
2118 FcObjectStaticName stores computed pattern element names which
2119 are required to be static.
2120
c641c77d
KP
21212004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2122
2123 reviewed by: keithp
2124
2125 * Makefile.am:
2126 Remove spurious / after $(DESTDIR)
2127
b5f36ca0
KP
21282004-06-30 Keith Packard <keithp@keithp.com>
2129
2130 * README:
2131 * configure.in:
2132 * fontconfig/fontconfig.h:
2133 Update for 2.2.96
2134
28f93bc4
KP
21352004-06-30 Keith Packard <keithp@keithp.com>
2136
2137 Provided by: Lubos Lunak <l.lunak@suse.cz>
2138
2139 * src/fccfg.c: (FcConfigUptoDate):
2140 However FcConfigUptoDate() doesn't seem to work. See the attached
2141 patch. First there's an obvious misplaced parenthesis making it
2142 return always false, and second, even this call fails to detect font
2143 changes (e.g. adding a new font to
2144 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2145 well. The problem seems to be triggered by my fonts.conf specifying
2146 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2147 doesn't include subdirs, unlike config->fontDirs.
2148
3d1ea0e5
KP
21492004-06-03 Keith Packard <keithp@keithp.com>
2150
2151 * fontconfig/fontconfig.h:
2152 Remove comma at end of FcResult enum definition.
2153
087d899c
KP
21542004-05-29 Keith Packard <keithp@keithp.com>
2155
2156 * INSTALL:
2157 Add steps to md5sum release
2158
d81271eb
KP
21592004-05-29 Keith Packard <keithp@keithp.com>
2160
2161 * README:
2162 * configure.in:
2163 * fontconfig/fontconfig.h:
2164 Update for 2.2.95
2165
ec0c740e
KP
21662004-05-29 Keith Packard <keithp@keithp.com>
2167
2168 * fontconfig/fontconfig.h:
2169 * src/fcmatch.c: (FcFontSetMatch):
2170 Add FcResultOutOfMemory to provide an accurate error when
2171 FcFontSetMatch fails in this way
2172
2173 * src/fcfreetype.c:
2174 Make #warning about lacking various FreeType features indicate
2175 which version those features appeared so users know how to
2176 fix the problem (Thanks to Anton Tropashko)
2177
55a69bd0
KP
21782004-05-05 Keith Packard <keithp@keithp.com>
2179
2180 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2181 Replace MIN/MAX/ABS macros which happen to have come
2182 from FreeType with fontconfig-specific ones (FC_*)
2183
bd0ddac8
KP
21842004-04-23 Keith Packard <keithp@keithp.com>
2185
2186 * INSTALL:
2187 Extend release preparation instructions to include
2188 notification and distribution steps
2189
626a7016
KP
21902004-04-23 Keith Packard <keithp@keithp.com>
2191
2192 * README:
2193 * configure.in:
2194 * fontconfig/fontconfig.h:
2195 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2196
7969113f
KP
21972004-04-23 Keith Packard <keithp@keithp.com>
2198
2199 * .cvsignore:
2200 Ignore a few more autotool files
2201
6ae6acf3
KP
22022004-04-14 Keith Packard <keithp@keithp.com>
2203
2204 * INSTALL:
2205 Add instructions for doing a release
2206
2207 * fontconfig.spec.in:
2208 clean up .spec file; perhaps this will be useful to somebody...
2209
2210 * README:
2211 * configure.in:
2212 * fontconfig/fontconfig.h:
2213 Update to 2.2.93
2214
2215 * fc-lang/fc-lang.c:
2216 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2217
2218 * fc-glyphname/Makefile.am:
2219 * fc-lang/Makefile.am:
2220 * fc-list/Makefile.am:
2221 * fc-match/Makefile.am:
2222 * src/Makefile.am:
2223 Add WARN_CFLAGS to pass -W flags for GCC systems
2224
2225 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2226 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2227 Change various char types around to match across
2228 function calls.
2229 Fixed bug in using available_sizes[i].height which
2230 is in pixels, not 64ths of a pixel.
2231
89e28590
KP
22322004-03-06 Keith Packard <keithp@keithp.com>
2233
2234 * src/fcfreetype.c: (FcFreeTypeQuery):
2235 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2236 matches looking for explicit values prefer exact matches
2237
02638f1a
KP
22382004-03-02 Keith Packard <keithp@keithp.com>
2239
2240 Supplied by: mfabian@suse.de (Mike FABIAN)
2241
2242 * src/fcfreetype.c: (FcFreeTypeQuery):
2243 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2244 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2245
de66e750
MS
22462004-02-21 Manish Singh <yosh@gimp.org>
2247
2248 * fc-glyphname/fc-glyphname.c: (main):
2249 Cast strlen to int for printf, so we're 64-bit clean.
2250
208a720f
KP
22512004-02-11 Keith Packard <keithp@keithp.com>
2252
2253 * configure.in:
2254 * src/fcfreetype.c: (FcGetPixelSize):
2255 Ok, so I messed up the test for y_ppem. Let's see if I
2256 got it right this time.
2257
4f38fa81
KP
22582004-02-10 Keith Packard <keithp@keithp.com>
2259
2260 * configure.in:
2261 * src/fcfreetype.c: (FcGetPixelSize):
2262 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2263 FT_Bitmap_Size record. Add a configure.in test for this
2264 and change the code accordingly (using height instead).
2265
b68b9646
KP
22662004-02-06 Keith Packard <keithp@keithp.com>
2267
2268 * fc-lang/nds.orth:
2269 Add Low Saxon orthography
2270 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2271
2272 * src/fccfg.c: (FcConfigNewestFile):
2273 Oops. Left 'newest.set' unset, which would miscompute
2274 the newest file
2275
2276 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2277 (FcFreeTypeCheckGlyph):
2278 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2279 font properties (which report the wrong value in current FreeType)
2280
2281 Don't attempt to check for empty glyphs in non-scalable fonts; they
2282 have no outlines...
2283
f4c52909
TL
22842004-02-01 Tor Lillqvist <tml@iki.fi>
2285
2286 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2287 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2288 cache if config->cache is NULL, which happens if FcConfigHome() is
2289 NULL. Guard against that by using the temp folder in that case.
2290
d3481737
RP
22912004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2292
2293 * fc-lang/az_ir.orth:
2294 * fc-lang/ku_ir.orth:
2295 * fc-lang/ps_af.orth:
2296 * fc-lang/ps_pk.orth:
2297 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2298 (Afghan and Pakistani).
2299 * fc-lang/ur.orth:
2300 Updated Urdu orthography with real data.
2301
d098e4eb
CW
23022003-12-11 Carl Worth <cworth@east.isi.edu>
2303
2304 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2305 USEDOCBOOK' block.
2306
2307 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2308 USEDOCBOOK' block.
2309 (all-local): Remove excessive whitespace.
2310
2311 * autogen.sh: Add 'set -e' to abort when any program fails,
2312 (avoids printing of 'now type make' after configure aborts).
2313
408dd9c0
KP
23142003-11-17 Eric Christopherson <rakko@charter.net>
2315
2316 reviewed by: Keith Packard <keithp@keithp.com>
2317
2318 * doc/Makefile.am:
2319 * fontconfig/fcfreetype.h:
2320 * src/fcfreetype.c:
2321 Switch to FreeType 2.1.7 style includes. Bug #150.
2322
8e8fcda4
NL
23232003-11-16 Noah Levitt <nlevitt@columbia.edu>
2324
2325 * fc-list/fc-list.sgml: Add some example usages.
2326
344a0e33
RP
23272003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2328
2329 * src/fcxml.c:
2330 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2331 separators.
2332
23332003-10-27 Keith Packard <keith@keithp.com>
27143fc9
KP
2334
2335 * configure.in:
2336 * fontconfig/fontconfig.h:
2337 Update to version 2.2.92
2338
4cbc3ee8
KP
23392003-10-27 Keith Packard <keithp@keithp.com>
2340
2341 * Makefile.am:
2342 * configure.in:
2343 * doc/Makefile.am:
2344 * fc-cache/Makefile.am:
2345 * fc-glyphname/Makefile.am:
2346 * fc-lang/Makefile.am:
2347 * fc-list/Makefile.am:
2348 * fc-match/Makefile.am:
2349 * test/Makefile.am:
2350 * test/run-test.sh:
2351 Yet more cleanups to finish getting 'make distcheck' working
2352 This has been tested to ensure that it even works from a _build
2353 directory.
2354
394b2bf0
KP
23552003-10-26 Keith Packard <keithp@keithp.com>
2356
2357 * configure.in:
2358 * doc/Makefile.am:
2359 * fc-cache/Makefile.am:
2360 * fc-glyphname/Makefile.am:
2361 * fc-lang/Makefile.am:
2362 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2363 * fc-list/Makefile.am:
2364 * fc-match/Makefile.am:
2365 Attempts to fix 'make distcheck' work. Things are
2366 progressing pretty well, but there are still failures
2367 long into the process dealing with docs (as always).
2368
2369 The big changes here are mostly to make $(srcdir) != "."
2370 work correctly, fixing the docbook related sections and
2371 fc-lang were particularily tricky. Docbook refuses to load
2372 system entities from anywhere other than where the original .sgml
2373 file was located, so no luck looking in "." for the
2374 configure-generated version.sgml and confdir.sgml files.
2375
2376 fc-lang needed help finding .orth files; added a -d option
2377 to set the directory as the least evil of many options.
2378
2379 Now to go use a faster machine and try and wring out the last
2380 issues.
2381
3541556b
KP
23822003-10-26 Keith Packard <keithp@keithp.com>
2383
2384 Tag version 2.2.91
2385
e99043ac
KP
23862003-10-26 Keith Packard <keithp@keithp.com>
2387
2388 * doc/Makefile.am:
2389 Include confdir.sgml.in in EXTRA_DIST
2390
75839218
JM
23912003-10-09 Josselin Mouette <joss@debian.org>
2392
2393 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2394 * fc-list/fc-list.sgml fc-list/Makefile.am:
2395 Replace fc-cache and fc-list manpages with more detailed, SGML
2396 versions.
2397
f077d662
OT
23982003-09-23 Owen Taylor <otaylor@redhat.com>
2399
2400 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2401 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2402 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2403 (Bug #117)
2404
44f59f71
OT
24052003-09-23 Owen Taylor <otaylor@redhat.com>
2406
2407 * fc-lang/ka.orth: Remove Georgian capitals, they
2408 aren't used for normal writing. (Bug #116)
2409
a05d257f
NL
24102003-09-06 Noah Levitt <nlevitt@columbia.edu>
2411
2412 * doc/fontconfig-devel.sgml:
2413 * doc/fontconfig-user.sgml:
2414 * fontconfig/fontconfig.h:
2415 * src/fcname.c:
2416 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2417 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2418
2419 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2420 monospace and dual-width fonts, allow roughly a 3% variance in the
2421 advances.
2422
3ef32bcd
MS
24232003-08-31 Manish Singh <yosh@gimp.org>
2424
2425 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2426 use default config.
2427
34cd0514
CW
24282003-08-15 Carl Worth <cworth@isi.edu>
2429
2430 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2431 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2432
2433 * src/fcpat.c (FcValueListEntDestroy): New function to support
2434 FcFini memory cleanup. Some statistics are not kept in
2435 synch. here.
2436 (FcValueListFreeze): Move hashTable outside this function so it
2437 can be accessed by FcValueListThawAll.
2438 (FcValueListThawAll): New function complements FcValueListFreeze.
2439 (FcPatternBaseFreeze): Move hashTable outside this function so it
2440 can be accessed by FcPatternBaseThawAll.
2441 (FcPatternBaseThawAll): New function complements
2442 FcPatternBaseFreeze.
2443 (FcPatternThawAll): New function complements FcPatternFreeze.
2444
2445 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2446
2447 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2448 allocated FcCharLeafEnt "blocks" so they can be freed later.
2449 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2450 can be accessed by FcCharSetThawAllLeaf.
2451 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2452 (FcCharSetFreezeBase): Move hashTable outside this function so it
2453 can be accessed by FcCharSetThawAll.
2454 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2455
2456 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2457 (FcConfigDestroy): Fic leak of FcBlanks.
2458
2459 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2460 (main): Add call to FcFini when finished.
2461
2462 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2463 static. Add prototypes.
2464
2465 * doc/fcinit.fncs: Add documentation for FcFini function.
2466
2467 * doc/edit-sgml.c: Mark several local functions as static. Add
2468 prototypes.
2469
2470 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2471
c3941ba9
TL
24722003-06-15 Tor Lillqvist <tml@iki.fi>
2473
231051f4
TL
2474 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2475 before comparing (needed on Windows).
2476
c3941ba9
TL
2477 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2478
ee1d8125
TL
24792003-06-13 Tor Lillqvist <tml@iki.fi>
2480
2481 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2482 man pages.
2483
2484 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2485 WINDOWSFONTDIR token.
2486
2487 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2488 end, not to confuse libtool, which expects the EXPORTS line to be
2489 the first. Add FcConfigEnableHome.
2490
e5206dbc
TL
2491 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2492 built as a DLL on Win32.
2493
4ae7f71c
KP
24942003-06-09 Keith Packard <keithp@keithp.com>
2495
2496 * Tag version 2.2.90
2497
8edb970e
KP
24982003-06-09 Keith Packard <keithp@keithp.com>
2499
2500 * Optimization in FcLangSetIndex was broken, occasionally
2501 returning a pointer to the wrong location on miss
2502
2503 * Add fc-match to test font matching from the command line.
2504
25052003-05-31 Keith Packard <keithp@keithp.com>
2506
2507 * (Bug 85) add support for culmus fonts
2508 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2509 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2510
25112003-05-28 James Su <suzhe@turbolinux.com.cn>
2512
2513 * Fix "contains" op for strings and langsets.
2514
25152003-05-17 Keith Packard <keithp@keithp.com>
2516
2517 * Fix build error with BDF prop local. Free langset after query
2518
25192003-05-14 Keith Packard <keithp@keithp.com>
2520
2521 * Extract spacing from XLFD atom
2522
25232003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2524
2525 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2526 disappeared in 1.30.
2527
2528 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2529
25302003-05-12 Keith Packard <keithp@keithp.com>
2531
2532 * Use FcIsWidth to share code
2533
2534 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2535 misclassifying some Han fonts as monospaced.
2536
25372003-05-07 Keith Packard <keithp@keithp.com>
2538
2539 * Add filename-based accept/reject to ammend available fonts.
2540
2541 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2542 older FreeType releases.
2543
25442003-05-06 Keith Packard <keithp@keithp.com>
2545
2546 * Remove 0b82 and Tamil numbers from tamil
2547 orthography (Jungshik Shin <jshin@mailaps.org>)
2548
25492003-05-04 Keith Packard <keithp@keithp.com>
86b12431
KP
2550
2551 + Map glyph names in fonts with adobe custom encoding to unicode
2552
8edb970e
KP
25532003-05-02 Keith Packard <keithp@keithp.com>
2554
2555 * Add FC_WEIGHT_BOOK as weight 75
2556
25572003-04-30 Keith Packard <keithp@keithp.com>
2558
2559 * Typo in bitstream foundry name
2560
25612003-04-24 Keith Packard <keithp@keithp.com>
2562
2563 * Eliminate italic_angle check for PS fonts
2564
25652003-04-23 Noah Levitt <nlevitt@columbia.edu>
2566
2567 * Getting closer to fixing /etc/fonts hard-coding.
2568
25692003-04-22 Keith Packard <keithp@keithp.com>
2570
2571 * Update autogen.sh to work with newer automake versions
2572 * Handle pattern elements moving during multiple edits
2573
8c87b429
KP
25742003-04-23 James Henstridge <james@daa.com.au>
2575
2576 * doc/fontconfig-devel.sgml: close the <para> element.
2577
2578 * doc/fcpattern.fncs: close the <para> element.
2579
2580 * doc/func.sgml: close the <refsynopsisdiv> element.
2581
8edb970e
KP
25822003-04-22 Keith Packard <keithp@keithp.com
2583
2584 * Update autogen.sh to work with newer automake versions
2585 * Handle pattern elements moving during multiple edits
2586
12d49d3c
CW
25872003-04-17 Colin Walters <walters@debian.org>
2588
2589 + Remove some unused variables, and initialize some other ones so
2590 gcc doesn't warn us.
2591
ab06f005
KP
25922003-04-16 Keith Packard <keithp@keithp.com>
2593
2594 + tag version 2.1.94
2595
25962003-04-16 Keith Packard <keithp@keithp.com>
2597
2598 + add BDF property fetching support for foundry
2599 (from Juliusz Chroboczek)
2600 + add BDF property fetching support for width
2601
26022003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2603
2604 + Implemented foundry generation for Type 1 and TrueType
2605
26062003-04-11 Gerard Escalante <g2@magestudios.net>
2607
2608 + Retrieve information from Type1 FontInfo dictionaries
2609
8c8caabd
CW
26102003-04-07 Colin Walters <walters@verbum.org>
2611
2612 + src/Makefile.am: Fix dummy makefile target names when
2613 MS_LIB_AVAILABLE isn't set.
2614
daeed6e0
TL
26152003-03-22 Tor Lillqvist <tml@iki.fi>
2616
2617 Changes for Windows:
2618
2619 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2620
2621 + We don't want to hardcode the fonts.conf file location in the
2622 DLL, so we look up the DLL location at run-time in a DllMain()
2623 function. The fonts.conf location is deduced from that.
2624
2625 + The colon can't be used as path separator on Windows,
2626 semicolon is used instead. File path components can be separated
2627 with either slash or backslash. Absolute paths can also begin
2628 with a drive letter.
2629
2630 + Add internal function FcStrLastSlash that strrchr's the last
2631 slash, or backslash on Windows.
2632
2633 + There is no link() on Windows. For atomicity checks, mkdir a
2634 lock directory instead.
2635
2636 + In addition to HOME, also look for USERPROFILE.
2637
2638 + Recognize the special font directory token WINDOWSFONTDIR, to
2639 use the system's font directory.
2640
2641 + Remove the fontconfig-def.cpp that was obsolete. Add
2642 fontconfig.def(.in), without internal functions.
2643
2644 + Add a fontconfig-zip(.in) script, used to build a binary
2645 distribution.
2646
dbe9a11e
MH
2647Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2648 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2649 to main package and man3/* to devel package
2650
2651 + Added missing defattr(-, root, root) to main RPM package
2652
2653 + Added HTML and text development documentation to -devel subpackage
2654
c92abf78
MH
2655Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2656 + Added back the configure macro options --disable-docs, otherwise
2657 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2658 version number) unconditionally, causing RPM to fail the build due
2659 to _unpackaged_files_terminate_build. We pick up the pregenerated
2660 docs with %doc already.
2661
b06766e4
MH
2662Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2663 + Removed commented out rpm macro define at top of spec file,
2664 replacing it with a simple explanation, since rpm macros are
2665 expanded by rpm even in comments.
2666
2667 + Changed /usr/bin to _bindir in BuildRequires lines
2668
2669 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2670
2671 + Reorganized file manifest lists
2672
2673Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
22dc6fc6
OT
2674
2675 + fontconfig.spec.in: Improvements from Red Hat spec file.
2676
2677 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2678
2679 + docs/*.sgml: SGML fixes.
2680
8fc10a72
KP
2681Sat Mar 1 17:28:53 PST 2003 keithp
2682 + Ok, so the ChangeLog is a bit out of date
2683
2684 + Lots of bugs fixed; most are in bugzilla, the
2685 biggest problems were in cache management where
2686 Owen discovered the library would lose badly when
2687 combining fonts-cache and ~/.fonts-cache data
2688
2689 + Converted from autoconf to automake. This after
2690 getting patches accepted into libtool to allow
2691 the '-version-number' argument which lets
2692 packages set version numbers explicitly rather
2693 than the roundabout libtool way
2694
2695 + Converted documentation to SGML using the docbook
2696 DTD. Now .txt and .html documents are installed
2697 in /usr/share/doc/fontconfig and there's no
2698 man page. Perhaps a man version can be written
2699 at some point.
2700
c2022f99
KP
2701Sat Aug 31 15:21:22 PDT 2002 keithp
2702 + Xrender and Xft had several bugs related to
2703 rendering manually placed or poly-face text
2704
2705 + Added more complete memory tracing in fontconfig
2706 Checked with (patched) mozilla and found no leaks
2707
2708 + Updated Latin orthographies by comparing those from
2709 evertype.com with those from eki.ee. Tried to make
2710 sensible choices, including chars that occured in both
2711 and leaving some optional chars out that occured only
2712 in one.
2713
2458a6d8 2714Mon Aug 26 16:33:04 PDT 2002 keithp
c2022f99 2715 + Owen discovered that FcLangSetHasLang wasn't actually
2458a6d8
KP
2716 checking the language set.
2717
5d6788ac
KP
2718Mon Aug 26 13:37:23 PDT 2002 keithp
2719 + Append a version number to cache filenames
2720
47d4f950
KP
2721Thu Aug 22 11:36:18 PDT 2002 keithp
2722
2723 + Add "contains" and "not_contains" operators and elements to
2724 font configuration
2725
2726 + Changed semantics of eq operator for LangSets to check for
2727 FcLangEqual so that any match will do
2728
2729 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2730 of FcValueEqual to check for identical values when inserting into
2731 the results. This broke when the above semantic change was made,
2732 now it uses FcValueEqual which is "more correct" in any case.
2733
d8d73958
KP
2734Thu Aug 22 00:32:29 PDT 2002 keithp
2735
2736 + Reimplement FC_LANG as new datatype. Lists of strings
2737 was consuming over a megabyte of memory for 401 fonts.
2738
2739 + Freeze patterns loaded from cache files. This shares
2740 common value lists and common patterns which saves
2741 considerable memory.
2742
2743 + Change the denotation of 'constant' charsets to use special
2744 ref value instead of separate boolean.
2745
2746 + Clean up leak tracing stuff, found several unannoted alloc/free
2747 calls
2748
2749Tue Aug 20 16:17:37 PDT 2002 keithp
2750
2751 + Fix memory leak when parsing matrices from XML
2752
2753Mon Aug 19 11:57:27 PDT 2002 keithp
2754
fa244f3d
KP
2755 + Fix autoconf files to pass FONTCONFIG_PATH on
2756 compile line so that ${prefix} gets substituted
2757 correctly.
2758
2759 + Use getc_unlocked/putc_unlocked on systems that
2760 provide them to avoid damage done to stdio by posix
2761
2762 + Eliminate FC_PATTERN and FcTypePattern in favor of
2763 an extended api for FcConfigSubstitute which takes
2764 both the font and the pattern.
2765
2766 + Add 'sans serif' alias for 'sans-serif' as some apps
2767 can't handle hyphens in family names
2768
2769 + Eliminate pretense of support for libxml2
2770
2771 + Comment origins of Han orthographies
2772
aefb2c41
KP
2773Tue Jul 30 18:37:09 PDT 2002 keithp
2774
2775 + Add binding property to edit element so that strong
2776 binding values may be inserted by the config file.
2777 The default remains weak.
2778
2779Sun 28 Jul 04:16:55 PDT 2002 keithp
2780
2781 + Tagged release candidate 1 in the CVS tree and
2782 placed fcpackage.rc1.tar.gz for distribution
2783
2784Thu Aug 1 08:55:08 PDT 2002 keithp
2785
2786 + Fixed autoconf builds to always specify install
2787 target files (for BSD). Also fixed to
2788 define FONTCONFIG_PATH in config.h so that
2789 nonstandard installs will actually work.