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