]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Fix memory leaks reported by Ronny V. Vindenes.
[fontconfig.git] / ChangeLog
CommitLineData
6f9fcb51
PL
12006-01-24 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
3 * src/fcfreetype.c (FcFreeTypeQuery):
4
5 Fix memory leaks reported by Ronny V. Vindenes.
6
986e3597
PL
72006-01-19 Andreas Schwab <schwab@suse.de>
8 reviewed by: plam
9
10 * src/fcpat.c (FcStrNeededBytes):
11
12 Fix for unaligned memory accesses.
13
58bdd296
PL
142006-01-18 Mike Fabian <mfabian@suse.de>
15 reviewed by: plam
16
17 * src/fcdir.c (FcDirScanConfig):
18
19 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
20 calls to avoid crashes.
21
986e3597 222006-01-14 Patrick Lam <plam@mit.edu>
eadadf48
PL
23 * src/fccache.c (FcDirCacheConsume):
24
25 Fix segfault when consuming zero-length caches in fc-cat
26 (which has no config, so FcConfigAddFontDir shouldn't be called.)
27
8a0b0ed6
PL
282006-01-14 Patrick Lam <plam@mit.edu>
29 * fc-cache/fc-cache.c (scanDirs):
30 * fontconfig/fontconfig.h:
31 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
32 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
33 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
34 * src/fcdir.c (FcDirScanConfig):
35 * src/fcint.h:
36
37 Compare device numbers as well as inodes.
38 Always normalize directory names before comparing them.
39
402006-01-11 Mike Fabian <mfabian@suse.de>
41 reviewed by: plam
42
43 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
44
45 Allocate extra space for appended '/' in directory name.
46
df3efc11
PL
472006-01-10 Patrick Lam <plam@mit.edu>
48 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
49 FcDirCacheValid, FcDirCacheHasCurrentArch,
50 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
51 * fc-cache/fc-cache.c (main):
52
53 Explicitly add font dirs to config.fontDirs even if they're empty.
54 Set current config in fc-cache.c.
55 Fix treatment of cache directory as read from cache file; don't
56 use string equality to determine if we have the right file,
57 use inode equality.
58
cd9bca69
PL
592006-01-09 Patrick Lam <plam@mit.edu>
60 * fc-cache/fc-cache.c (scanDirs):
61 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
62 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
63 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
64 * src/fccfg.c (FcConfigNormalizeFontDir):
65 * src/fcdir.c (FcDirScanConfig):
66 * src/fcint.h:
67
68 Normalize font dirs by using the form, as given in fonts.conf, and
69 recorded in FcConfig's fontDirs string set, as canonical.
70
71 Actually update config.fontDirs as font directories are scanned.
72
a6d3757d
PL
732006-01-08 James Su <james.su@gmail.com>
74 * src/fcmatch.c (FcFontSetMatch):
75
76 Fix matching bug when multiple elements match; don't use
77 the sum of all scores, but the best score.
78
79 Also more perf opts, e.g. evaluate best over all font sets
80 rather than on a per-set basis (and other changes).
81
05a98eaf
PL
822006-01-08 Patrick Lam <plam@mit.edu>
83 * src/fccache.c (FcDirCacheConsume):
84
85 Properly skip past dir caches that contain zero fonts (as occurs
86 in global caches.) Reported by Mike Fabian.
87
5fe09702
PL
882006-01-06 Patrick Lam <plam@mit.edu>
89 * src/fcdbg.c (FcPatternPrint):
90
91 Print out full pathname in fc-match -v as well. Reported by
92 Frederic Crozat.
93
942006-01-06 Mike Fabian <mfabian@suse.de>
95 reviewed by: plam
96
97 * src/fcname.c (FcNameParse):
98
99 Fix bug where fc-match crashes when given __DUMMY__ property to
100 match on.
101
102 (I added the __DUMMY__ string to enable callers of
103 FcObjectToPtrLookup to distinguish an error return from a
104 successful return. -PL)
105
c60ec7cc
PL
1062006-01-05 Patrick Lam <plam@mit.edu>
107 * AUTHORS:
108
109 Add self to AUTHORS list.
110
111 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
112 FcCacheFileRead, FcCachePrintSet, main):
113 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
114 FcGlobalCacheSave, FcCacheNextOffset,
115 FcDirCacheHasCurrentArch, FcDirCacheRead,
116 FcDirCacheConsume, FcDirCacheWrite):
117 * src/fcint.h:
118 * src/fcpat.c (comment):
119
120 Minor change to global cache file format to fix fc-cat bug
121 reported by Frederic Crozat, and buglet with not globally caching
122 directories with zero fonts cached.
123
52ac91f7
PL
1242006-01-02 Lubos Lunak <l.lunak@suse.cz>
125 reviewed by: plam
126
127 * src/fccfg.c (FcConfigEvaluate):
128
129 Fix double-free which occurs because FcValueCanonicalize doesn't
130 create an extra copy of the returned value, it only canonicalizes
131 it.
132
1332006-01-02 Patrick Lam <plam@mit.edu>
cea78a87
PL
134 * doc/fontconfig-user.sgml:
135
136 Fix version of .cache file (currently 1 -> currently 2). Reported
137 by Jim Osborn.
138
ebc157f9
PL
1392005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
140 reviewed by: plam
141
142 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
143
144 Shut up GCC warnings on amd.
145
3bfae75d
PL
1462005-12-20 Patrick Lam <plam@mit.edu>
147 * ChangeLog:
148 * README:
149 * configure.in:
150 * fontconfig/fontconfig.h:
151
152 Bump version to 2.3.93.
153
19ea60bc
PL
1542005-12-20 Patrick Lam <plam@mit.edu>
155 * src/fccharset.c (FcLangCharSetPopulate):
156 * src/fcint.h (FcCacheBankToIndex):
157
158 Avoid check on _fcBankId nullness and fix case where it used to
159 crash.
160
6f767cec 1612005-12-20 Patrick Lam <plam@mit.edu>
3bfae75d
PL
162 * src/fcxml.c (FcConfigParseAndLoad):
163
164 Use open instead of fopen (requested by Phil Race for Sun).
165
1662005-12-20 Patrick Lam <plam@mit.edu>
167 * src/fccache.c (FcDirCacheWrite);
168 * fc-cache/Makefile.am:
169
170 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
171 dir.
172
1732005-12-20 Patrick Lam <plam@mit.edu>
6f767cec
PL
174 * src/fcfreetype.c (FcFreeTypeQuery):
175
176 Restore code to skip over PCF fonts that have no encoded
177 characters.
178 (We guess that a font is PCF by presence of the PIXEL_SIZE
179 BDF property.)
180
ec760b17
PL
1812005-12-12 Patrick Lam <plam@mit.edu>
182 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
183
184 Read and write the original location as a fallback for the
185 hashed cache file locations. This is mostly for users to be
186 able to have per-directory cache files.
187
83b67390
PL
1882005-12-12 Patrick Lam <plam@mit.edu>
189 * fc-cache/fc-cache.c (scanDirs):
190 * fc-cache/Makefile.am:
191 * src/fccache.c (FcDirCacheHashName):
192
193 Improve error message when fc-cache can't write the cache. Add
194 missing slash. Reported by Behdad. Incorporate Behdad's patch to
195 create /var/cache/fontconfig when appropriate.
196
368104c3
PL
1972005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
198 reviewed by: plam
199
200 * src/fcxml.c (FcConfigGetAttribute):
201
202 Fix crash reported by Frederic Crozat when using libxml2.
203
ea44e218
PL
2042005-12-09 Patrick Lam <plam@mit.edu>
205 * INSTALL:
206 * configure.in:
207 * fc-cache/Makefile.am:
208 * fc-cat/Makefile.am:
209 * src/Makefile.am:
210 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
211 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
212 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
213 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
214 FcDirCacheHasCurrentArch, FcDirCacheHashName,
215 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
216
217 Migrate cache files from fonts directories to
218 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
219 but requires that all caches get rebuilt.
220
221 Also, autogen.sh now needs the additional parameter
222 --localstatedir=/var.
223
204da5a8
PL
2242005-12-07 Patrick Lam <plam@mit.edu>
225 * src/fcpat.c (FcPatternAddString):
226
227 Because we've changed FcPatternAddString to use FcStrStaticName
228 and not FcValueSave, explicitly handle the case of a null string.
229
982b5982
PL
2302005-12-06 Patrick Lam <plam@mit.edu>
231 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
232
233 Fix warnings.
234
c6103dfb
PL
2352005-12-05 Patrick Lam <plam@mit.edu>
236 * src/fcname.c (FcNameGetObjectType):
237
238 Don't assign types to user object names.
239
9ede93f1
PL
2402005-12-05 Patrick Lam <plam@mit.edu>
241 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
242
243 Don't free strings that have been returned from FcStrStaticName.
244
6059daed
PL
2452005-12-01 Patrick Lam <plam@mit.edu>
246 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
247
248 Add codepath for reading global cache files as well.
249
2c6fead7
PL
2502005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
251 reviewed by: plam
252
253 * conf.d/10-fonts.persian.conf:
254 * conf.d/Makefile.am:
255
256 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
257
2582005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
cb6d97eb
PL
259 reviewed by: plam
260
261 * src/fcxml.c (FcConfigParseAndLoad):
262
263 Only add a config file to the set of config files once.
264
93a27747
PL
2652005-11-29 Patrick Lam <plam@mit.edu>
266 * src/fcint.h (FcCacheBankToIndex);
267
268 Fix segfault by guarding array dereference.
269
b8948e85
PL
2702005-11-29 Dirk Mueller <dmueller@suse.de>
271 reviewed by: plam
272
273 * fc-lang/fc-lang.c:
274 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
275 FcCacheBankToIndex, FcCacheBankToIndexMTF,
276 FcCacheAddBankDir):
277 * src/fcint.h:
278
279 Refactor FcCacheBankToIndex into an inlineable part
280 (in fcint.h) which checks the front of the list and a
281 non-inlineable part which finds and moves the appropriate element
282 to the front of the list.
283
9fad72ab
PL
2842005-11-29 Patrick Lam <plam@mit.edu>
285 * src/fccfg.c (FcConfigBuildFonts):
286 * src/fccache.c (FcCacheReadDirs):
287
288 Make the perf guys hate me a bit less: hoist the directory-name
289 FcConfigAcceptFont check for cached fonts up to directory cache
290 read time, rather than running it for each font.
291
51af0509
PL
2922005-11-29 Patrick Lam <plam@mit.edu>
293 * src/fccfg.c (FcConfigBuildFonts):
294 * src/fcint.h:
295 * src/fcpat.c (FcPatternFindFullFname):
296
297 Don't make FcPatternFindFullFname available to fccfg, it's not
298 really safe. Instead go through FcPatternGetString (sorry,
299 perf guys.) Also, use globs for dirs as well.
300
e0421d02
PL
3012005-11-28 Patrick Lam <plam@mit.edu>
302 * src/fccfg.c (FcConfigBuildFonts):
303
304 Fix segfault.
305
ced3f0a0
PL
3062005-11-28 Patrick Lam <plam@mit.edu>
307 * src/fcint.h:
308 * src/fcpat.c (FcPatternFindFullFname):
309 * src/fccfg.c (FcConfigBuildFonts):
310
311 Fix problem dating back at least to 2.3.2 where globs weren't
312 being applied to patterns loaded from a cache.
313
3142005-11-28 Patrick Lam <plam@mit.edu>
315 * doc/fontconfig-user.sgml:
316
317 Fix some obvious spelling mistakes.
318
1ed98a0c
PL
3192005-11-28 Dirk Mueller <dmueller@suse.com>
320 Stephan Kulow <coolo@suse.de>
321 reviewed by: plam
322
323 * src/fcmatch.c (FcFontSetMatch):
324
325 Don't kill all fonts during match (oops!)
326
327
3282005-11-25 Dirk Mueller <dmueller@suse.com>
329 Stephan Kulow <coolo@suse.de>
330 Michael Matz <matz@suse.de>
331 reviewed by: plam
332
333 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
334 FcFontSetMatch):
335
336 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
337 inline FcCompare into FcFontSetMatch and reorder the
338 loops, adding a boolean array which blocks patterns from future
339 consideration if they're known to not be best on some past
340 criterion.
341
200a44fe
PL
3422005-11-26 Dirk Mueller <dmueller@suse.com>
343 reviewed by: plam
344
345 * src/fcmatch.c (FcCompareValueList):
346
347 Fix incorrect merge.
348
cbe1df81
PL
3492005-11-25 Patrick Lam <plam@mit.edu>
350 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
351
352 Don't do random matching when bad objects are passed into
353 FcCompareValueList.
354
81fe99fd
PL
3552005-11-25 Patrick Lam <plam@mit.edu>
356 * src/fcint.h:
357 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
358 FcPatternSerialize, FcPatternUnserialize,
359 FcValueListEnsureBank, FcValueListDistributeBytes,
360 FcValueListUnserialize):
361
362 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
363 _fcPatternElts, _fcValueLists for consistency.
364
d854eaf8
PL
3652005-11-25 Dirk Mueller <dmueller@suse.com>
366 reviewed by: plam
367
368 * src/fcmatch.c:
369
370 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
371
61571f3f
PL
3722005-11-25 Patrick Lam <plam@mit.edu>
373 * src/fcint.h:
374 * src/fccache.c (FcDirCacheConsume):
375 * src/fccharset.c (FcCharSetUnserialize):
376 * src/fcfs.c (FcFontSetUnserialize):
377 * src/fclang.c (FcLangSetUnserialize):
378 * src/fcname.c (FcObjectUnserialize):
379 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
380 FcPatternUnserialize):
381
382 Pass around FcCache *s to the Unserialize functions for extra
383 consistency (and less overhead, for what that's worth).
384
9ab79bdf
PL
3852005-11-24 Dirk Mueller <dmueller@suse.com>
386 reviewed by: plam
387
388 * src/fcint.h:
389 * src/fcmatch.c (FcCompare*, FcFontSetSort):
390 * src/fcname.c (FcNameUnparseValue):
391
392 Inline the *PtrU functions to gain perf.
393 Remove unneeded params for the FcCompare* functions.
394
3952005-11-24 Dirk Mueller <dmueller@suse.com>
1c9fdcca
PL
396 reviewed by: plam
397
398 * src/fcint.h, fontconfig/fontconfig.h:
399
400 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
401
402 * src/fcpat.c, src/fcint.h, src/fcname.c:
403
404 Check for type validity during FcPatternAddWithBinding, don't
405 verify type in FcFontMatch, don't call FcCanonicalize here
406 (which always does a deep copy).
407
4f8b266f
PL
4082005-11-24 Dirk Mueller <dmueller@suse.com>
409 reviewed by: plam
410
411 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
412 * src/fcpat.c (FcPatternAddWithBinding):
413
414 Make FcCompareString and FcCompareFamily less expensive.
415 Only add a value for FC_FAMILY if the proposed value is a string.
416
4172005-11-24 Dirk Mueller <dmueller@suse.com>
b97a34b5
PL
418 reviewed by: plam
419
420 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
421 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
422 * src/fcint.h (FcDebug):
423
424 Inline FcDebug invocations and only initialize once, in FcInit*.
425 Improve debug msg in FcPatternPrint.
426
f7c4624f
PL
4272005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
428 reviewed by: plam
429
430 * fontconfig/fontconfig.h:
431 * fc-cat/fc-cat.c:
432
433 Minor code warning cleanups.
434
435fc660
PL
4352005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
436 reviewed by: plam
437
438 * fc-match/fc-match.c (main):
439
440 Make getopt_long accept -s parameter to fc-match as well.
441
adac22f2
PL
4422005-11-21 Dirk Mueller <dmueller@suse.com>
443 reviewed by: plam
444
445 * src/fcmatch.c (FcCompareValueList):
446
447 Manually perform inlining & partial redundancy elimination to
448 reduce calls to FcValueListPtrU.
449
4502005-11-21 Dirk Mueller <dmueller@suse.com>
451 reviewed by: plam
452
453 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
454 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
455
456 Only invoke strlen() when really necessary.
457
8ebf7725
PL
4582005-11-19 Matthias Clasen <mclasen@redhat.com>
459 reviewed by: plam
460
461 * src/Makefile.am:
462 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
463 FcFontCapabilities):
8c24aa6b
PL
464 * src/ftglue.c:
465 * src/ftglue.h:
8ebf7725
PL
466
467 Get rid of the use of freetype internal headers in fcfreetype.c,
468 since those headers will go away with freetype 2.2. Replace with
469 public domain ftglue code from pango. Note that the patch removes
470 some extra error checking in FT_Get_BDF_Property() and comments
471 out the skipping of empty pcf fonts.
472
a151aced
PL
4732005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
474 reviewed by: plam
475
476 * fc-lang/fc-lang.c (main):
477
478 Further fix of patch from 2005-11-04: miscounted numbers count
479 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
480 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
481
482 Removed leafidx_count and numbers_count since they are the same
483 and replaced them with offset_count.
484
8f2a8078
PL
4852005-11-18 Frederic Crozat <fcrozat@mandriva.com>
486 reviewed by: plam
487
488 * fc-cat/fc-cat.c (main):
489
490 Don't crash when fc-cat invoked with no arguments.
491
4922005-11-18 Frederic Crozat <fcrozat@mandriva.com>
493 reviewed by: plam
494
495 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
496
497 Fix invalid read access caused by premature free and
498 GCC4 warnings in libxml2 codepath.
499
5002005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
82912b06
PL
501 reviewed by: plam
502
503 * src/fccfg.c (FcConfigValues):
504
505 List iteration not needed in FcConfigValues, since it's building
506 up the list itself; we can just strip FcVoid elements during
507 construction.
508
38b2ecad
PL
5092005-11-17 Patrick Lam <plam@mit.edu>
510 * src/fccfg.c (FcConfigValues):
511
512 Fix crash on invalid constants in config files (forgot to update
513 a pointer upon list iteration.)
514
f28472fd
PL
5152005-11-17 Frederic Crozat <fcrozat@mandriva.com>
516 reviewed by: plam
517
518 * src/fcxml.c (FcTypecheckExpr):
519
520 Complain about invalid constants in config files.
521
1c5b6345
PL
5222005-11-17 Andreas Schwab <schwab@suse.de>
523 reviewed by: plam
524
525 * src/fccache.c (FcGlobalCacheSave):
526
527 Don't add current_arch_start more than once.
528
5292005-11-16 Patrick Lam <plam@mit.edu>
530 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
531 * src/fcfs.c (FcFontSetUnserialize):
532 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
533 * src/fcpat.c (FcStrUnserialize):
534
535 Fix ordering of ALIGN with respect to saving block_ptr; add
536 another ALIGN to fcfs.c.
537
8e351527
PL
5382005-11-16 Patrick Lam <plam@mit.edu>
539 * src/fccache.c (FcDirCacheProduce)
540
541 Fix case where alignment bytes bumped up metadata->count
542 causing unwarranted failures to write cache files.
543 (Reported by Stephan Kulow).
544
7fd7221e
PL
5452005-11-16 Patrick Lam <plam@mit.edu>
546 * src/fccache.c (FcDirCacheProduce):
547 * src/fccharset.c (FcCharSetDistributeBytes):
548 * src/fcfs.c (FcFontSetDistributeBytes):
549 * src/fcint.h:
550 * src/fclang.c (FcLangSetDistributeBytes):
551 * src/fcname.c (FcObjectDistributeBytes):
552 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
553 FcStrNeededBytes):
554
555 Add *NeededBytesAlign(), which overestimates the padding which is
556 later added by the new ALIGN macro. Fix alignment problems on
557 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
558 version by Andreas Schwab).
559
5602005-11-16 Stephan Kulow <coolo@kde.org>
561 reviewed by: plam
562
563 * src/fccache.c:
564
565 Use sysconf to determine proper PAGESIZE value; this
566 appears to be POSIX-compliant. (reported by Andreas Schwab)
567
82f35f8b
PL
5682005-11-04 Patrick Lam <plam@mit.edu>
569 * fc-lang/fc-lang.c:
570 * src/fccharset.c:
571 * src/fcint.h:
572 * src/fclang.c:
573
574 Fix bug 2878 (excessive relocations at startup for charsets,
575 reported by Ross Burton): fc-lang/fc-lang now creates the
576 static form of the langset, not the dynamic form, so that
577 the charsets should now be in .rodata.
578
50544b13
PL
5792005-11-04 Patrick Lam <plam@mit.edu>
580 * src/fcdir.c (FcDirScanConfig):
581
582 Add test for validity of directory caches that
583 somehow got lost (reported by make distcheck).
584
e6d3e251
PL
5852005-11-04 Patrick Lam <plam@mit.edu>
586 * ChangeLog:
587 * README:
588 * configure.in:
589 * fontconfig/fontconfig.h:
590
591 Bump version to 2.3.92.
592
ea9726b6
PL
5932005-11-02 Patrick Lam <plam@mit.edu>
594 * src/fcpat.c (FcPatternDuplicate):
595
596 Fix argument ordering problem in call to FcPatternTransferFullFname.
597
7358dae4
PL
5982005-11-02 Patrick Lam <plam@mit.edu>
599 * src/fcfreetype.c (FcFreetypeQuery):
600 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
601 FcPatternTransferFullFname):
602
603 Fix warnings and embarrassing double-free error.
604
efa9f2bd
PL
6052005-11-02 Zhe Su <zsu@novell.com>
606 reviewed by: plam
607
608 * fonts.conf.in:
609
610 Change the rule for artificial emboldening in fonts.conf.in. This
611 enables the support for artificial emboldening included in cairo.
612
d7b3ac63
PL
6132005-11-02 Patrick Lam <plam@mit.edu>
614 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
615
616 Don't zero out full names for FC_REF_CONSTANT fonts;
617 also, duplicate full names when transferring, and free
618 full names when freeing the associated font.
619 Reported by Jinghua Luo.
620
303bcf9b
PL
6212005-11-02 Patrick Lam <plam@mit.edu>
622 * fc-cache/fc-cache.c (scanDirs):
623 * src/fcpat.c (FcValueListSerialize):
624
625 Revert the previous patch and commit the correct patch:
626 I forgot a canonicalization in FcValueListSerialize, so
627 that it would choke on already-serialized input files. Duh!
628
c6b75577
PL
6292005-11-02 Patrick Lam <plam@mit.edu>
630 * fc-cache/fc-cache.c (scanDirs):
631
632 Forcibly rescan a directory before writing a fresh local
633 cache file for that directory, fixing the losing-fonts
634 problem reported by Mike Fabian and also apparently the
635 font cache file corruption.
636
9090cb9e
PL
6372005-11-02 Patrick Lam <plam@mit.edu>
638 * src/fccache.c (FcGlobalCacheLoad):
639
640 Fix thinko: actually, the whole global cache is stale
641 if the global cache is older than the (newest) config file.
642
2b25f00c
PL
6432005-11-02 Patrick Lam <plam@mit.edu>
644 * src/fccache.c (FcGlobalCacheLoad):
645 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
646 * src/fcint.h:
647
648 Declare the global cache of a directory's contents to be stale if
649 the directory is newer than the (newest) configuration file.
650
793154ed
PL
6512005-10-31 Patrick Lam <plam@mit.edu>
652 * src/fcint.h:
653 * src/fclist.c (FcListAppend):
654 * src/fcmatch.c (FcFontRenderPrepare):
655 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
656 FcPatternFreeze, FcPatternBaseFreeze):
657
658 Copy the full pathname whenever duplicating an FcPattern; otherwise,
659 applications continue breaking.
660
d6946c1a
PL
6612005-10-31 Patrick Lam <plam@mit.edu>
662 * fc-cat/fc-cat.c (FcCacheFileRead, main):
663 * src/fcfreetype.c (FcFreeTypeQuery):
664
665 Fix small memory error (tried to free argv); use basename and
666 dirname correctly (they can modify their arguments).
667
e77c1718
PL
6682005-10-31 Patrick Lam <plam@mit.edu>
669 * fc-cat/fc-cat.c:
670 * src/fccache.c:
671 * src/fcfreetype.c:
672 * src/fcint.h:
673 * src/fclist.c:
674 * src/fcpat.c:
675
676 Reinstate basename patch, but keep a hash table linking FcPatterns
677 to their fully-qualified font names for clients' benefit. Clients
678 only pay for the font names once they request the FC_FILE property
679 from an FcPattern, but the font name is malloc'd at that point (i.e.
680 not mmapped: that's impossible, since it may vary between machines.)
681 Clients do have to pay for a copy of the path name per cache file.
682
683 Note that FcPatternGetString now does some rewriting if you ask
684 for an FC_FILE, appending the pathname as appropriate.
685
6862005-10-31 Patrick Lam <plam@mit.edu>
687 * src/fcfreetype.c (FcFreeTypeQuery):
688
689 Revert basename patch, which breaks fontconfig clients on my system.
690
720298e7
PL
6912005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
692 reviewed by: plam
693
694 * fontconfig/fonts.conf.in:
695 * fontconfig/fontconfig.h:
696 * src/fcdefault.c:
697 * src/fcname.c:
698
699 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
700 to load embedded bitmaps or not.
701
961d9b99
PL
7022005-10-25 Patrick Lam <plam@mit.edu>
703 * src/fcfreetype.c (FcFreeTypeQuery):
704
705 Only add basename to patterns' FC_FILE element, not any part of
706 the dirname.
707
573da729
PL
7082005-10-22 Patrick Lam <plam@mit.edu>
709 * src/fcfreetype.c:
710
711 Add some more consts, fixing more GCC4 warnings.
712
90442681
PL
7132005-10-22 Zhe Su <zsu@novell.com>
714 reviewed by: plam
715
716 Support localized font family and style names.
717 This has been reported to break old apps like xfd, but modern
718 (gtk+/qt/mozilla) apps work fine.
719
e58b50e8
PL
7202005-10-21 Patrick Lam <plam@mit.edu>
721 * src/fccache.c (FcGlobalCacheLoad):
722
723 Destroy the global cache file if it's terminally broken. (reported by
724 Mike Fabian)
725
2fa3f27e
PL
7262005-10-21 Patrick Lam <plam@mit.edu>
727 * fc-list/fc-list.c (main):
728 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
729 * fontconfig/fontconfig.h:
730
e58b50e8
PL
731 Prevent fc-list from escaping strings when printing them (reported by
732 Matthias Clasen).
2fa3f27e 733
250c1cd4
PL
7342005-10-20 Marcus Meissner <meissner@suse.de>
735 reviewed by: plam
736
737 * fontconfig/fontconfig.h:
738
739 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
740
7412005-10-14 Ross Burton <ross@burtonini.com>
21696e5b
PL
742 reviewed by: plam
743
744 * fc-glyphname/fc-glyphname.c:
745 * src/fclang.c:
746
747 Add consts to variables so as to move arrays into .rodata.
748
15d7bd0a
PL
7492005-10-14 Mike Fabian <mfabian@suse.de>
750 reviewed by: plam
751
752 * src/fccache.c (FcDirCacheUnlink):
753
754 Check existence of directory cache file before attempting to unlink.
755
1178b569
PL
7562005-10-13 Patrick Lam <plam@mit.edu>
757 * src/fccache.c (FcDirCacheUnlink):
758
759 Fix flipped return value on unlink. (Reported by Mike Fabian)
760
7612005-10-12 Patrick Lam <plam@mit.edu>
762
763 * src/fccache.c:
764 * src/fcdir.c (FcDirScanConfig):
765 * src/fcint.h:
766
767 When fc-cache is run without --force, use directory cache files
768 to speed up fc-cache run time. (Reported by Mike Fabian)
769
23787a8f
PL
7702005-10-06 Patrick Lam <plam@mit.edu>
771
772 * src/fcname.c (FcObjectToPtr):
773 * src/fcpat.c (FcStrStaticName):
774
775 Add padding to make valgrind and glibc not hate each other
776 when calling strlen().
777
328929f5
PL
7782005-10-05 Simos Xenitellis <simos74@gmx.net>
779 reviewed by: plam & keithp
780
781 * fonts.conf.in:
782
783 Modify config file to use Greek fonts before Asian fonts with
784 Greek glyphs.
785
1ed67f65
PL
7862005-10-05 Christian Biesinger <cbiesinger@web.de>
787 reviewed by: plam & keithp
788
789 * src/Makefile.am:
790
791 Use libtool -no-undefined flag on all platforms.
792
751932dd
PL
7932005-10-05 Patrick Lam <plam@mit.edu>
794 * src/fccache.c (FcCacheHaveBank):
795
796 Implement move-to-front array for banks (perf regression
797 reported by Ronny V. Vindenes).
798
55c8fa4f
PL
7992005-10-04 Patrick Lam <plam@mit.edu>
800 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
801 FcDirCacheHasCurrentArch):
802 * fc-cache/fc-cache.c (scanDirs):
803 * fontconfig/fontconfig.h:
804
805 Add new API which unlinks directory caches and checks dir caches
806 for existence of appropriate sections. Fix fc-cache to unlink
807 stale cache files and save directory caches that lack relevant
808 sections.
809
6bf23804
PL
8102005-10-03 Patrick Lam <plam@mit.edu>
811 * src/fccache.c (FcDirCacheValid):
812
813 Ensure that a directory cache has the appropriate section
814 before reporting that it is valid (reported by Matthias Clasen).
815
e99f0f0a
PL
8162005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
817
818 reviewed by: plam
819
820 * configure.in:
821 * src/Makefile.am:
822 * src/fcxml.c:
823
824 Use libxml2 if requested (with --enable-libxml2) or if
825 expat is not available.
826
649cc361
PL
8272005-09-29 Patrick Lam <plam@mit.edu>
828 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
829
830 Fix multi-arch cache files: compute the position for the
831 block to be added using info from OrigFile, not NewFile.
832
cd310911
PL
8332005-09-28 Patrick Lam <plam@mit.edu>
834 * src/fccache.c (FcCacheMachineSignature):
835
836 Cast results of sizeof() to unsigned int to get rid of
837 warnings on x86_64 (thanks Matthias Clasen).
838
8392005-09-27 Patrick Lam <plam@mit.edu>
9ecb9a9a
PL
840 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
841 FcDirCacheWrite):
842
843 Use FcAtomic to rewrite cache files.
844
8452005-09-27 Patrick Lam <plam@mit.edu>
846
847 * src/fccache.c (FcDirCacheWrite):
848
849 Don't unlink the fonts.cache-2 file even if there's no data
850 to write; just write an empty cache file. (thanks Lubos Lunak)
851
8522005-09-27 Patrick Lam <plam@mit.edu>
853
854 * src/fccache.c (FcDirCacheWrite):
855
856 Allocate room for the subdirectory names in each
857 directory cache. Thanks to James Cloos for finding
858 and diagnosing this bug!
859
8602005-09-22 Patrick Lam <plam@mit.edu>
861
862 * fc-cache/fc-cache.sgml:
863 * src/fccache.c (FcDirCacheWrite):
864 * src/fccache.h (struct FcCache):
865
866 Update documentation -- fc-cache's man page now says that you
867 need to run fc-cache once per cached architecture; add some
868 documentation to the FcCache structure.
869
870 Make fc-cache write out fonts.cache-2 files for directories with
871 no fonts (i.e. only subdirectories).
872
35c2c7f1
PL
8732005-09-22 Patrick Lam <plam@mit.edu>
874 * doc/edit-sgml.c:
875 * fc-cache/fc-cache.sgml:
876 * fc-case/fc-case.c:
877 * fc-glyphname/fc-glyphname.c:
878 * src/fcdefault.c:
879 * src/fcfreetype.c:
880 * src/fcinit.c:
881 * src/fcxml.c:
882
883 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
884
885 * Makefile.am:
886 * configure.in:
887 * fc-lang/fc-lang.c:
888 * fontconfig/fcprivate.h:
889 * fontconfig/fontconfig.h:
890 * src/fccache.c:
891 * src/fccfg.c:
892 * src/fccharset.c:
893 * src/fcdbg.c:
894 * src/fcdir.c:
895 * src/fcfs.c:
896 * src/fcint.h:
897 * src/fclang.c:
898 * src/fclist.c:
899 * src/fcmatch.c:
900 * src/fcname.c:
901 * src/fcpat.c:
902
903 Implement new mmaped cache for font information.
904 Bump so revision to 2.3.90.
905
8245771d
PL
9062005-07-25 Keith Packard <keithp@keithp.com>
907
908 * doc/fontconfig-user.sgml:
909 * fc-glyphname/fc-glyphname.c: (scan), (main):
910 * fc-lang/fc-lang.c: (FcConfigHome):
911 * fc-match/fc-match.c: (main):
912 * src/fccfg.c: (FcConfigHome):
913 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
914 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
915 (addtag), (FcFontCapabilities):
916 * src/fcpat.c: (FcValueListEntCreate):
917 * src/fcstr.c: (FcStrCaseWalkerInit):
918 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
919
920 Various GCC 4 cleanups for signed vs unsigned char
921
922 Match only [0-9]*.conf files in <include>{directory}</include>
923 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
924
e1b9d091
PL
9252005-07-15 Carl Worth <cworth@cworth.org>
926
927 * src/fcint.h:
928 * src/fcinit.c: (FcFini):
929 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
930 FcPatternFini.
931
932 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
933 Pull the FcObjectStateName hash table out to file scope, and add
934 FcObjectStaticNameFini so that FcFini will cleanup this hash table
935 as well.
936
937 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
938 fclose.
939
f1a42f6b
KP
9402005-06-16 Patrick Lam <plam@MIT.EDU>
941
942 reviewed by: keithp
943
944 * src/fccfg.c: (FcConfigCompareValue):
945 Make FcOpNotContains use FcStrStr for strings so that
946 it matches semantics for !FcOpContains.
947
adc7abac
KP
9482005-05-20 Keith Packard <keithp@keithp.com>
949
950 * debian/changelog:
951 * debian/control:
952 Move fontconfig source package to libs as per override
953
a65a77ae
KP
9542005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
955
956 reviewed by: Mike Fabian
957
958 * fc-lang/ka.orth:
959 The ka.orth file requires several characters which are not
960 used anymore in modern Georgian and which are missing in the free
961 Georgian TrueType fonts downloadable at:
962
963 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
964
87c88746
KP
9652005-04-27 Keith Packard <keithp@keithp.com>
966
967 * README:
968 * debian/changelog:
969 Update date to real 2.3.2 release date.
970 Fix change attributions
971
9722005-04-27 Keith Packard <keithp@keithp.com>
973
974 * configure.in:
975 Bump so revision for 2.3.2
976 * fc-cache/fc-cache.c: (scanDirs):
977 Fix a few minor leaks in error cases.
978
1cb309ad
KP
9792005-04-23 Keith Packard <keithp@keithp.com>
980
981 * README:
982 * configure.in:
983 * debian/changelog:
984 * fontconfig/fontconfig.h:
985 Update for version 2.3.2
986
716ac8b8
KP
9872005-04-21 Keith Packard <keithp@keithp.com>
988
989 * debian/fontconfig.postinst:
990 Don't force bitmap font enable in default
991 configuration; allows users to override this in
992 ~/.fonts.conf
993 * debian/po/cs.po:
994 * debian/po/da.po:
995 * debian/po/de.po:
996 * debian/po/es.po:
997 * debian/po/fr.po:
998 * debian/po/ja.po:
999 * debian/po/nl.po:
1000 * debian/po/pt.po:
1001 * debian/po/pt_BR.po:
1002 * debian/po/templates.pot:
1003 * debian/po/tr.po:
1004 * debian/po/zh_CN.po:
1005 Updated translations
1006
1007 * fc-cache/fc-cache.c: (main):
1008 Destroy font configuration on exit to help valgrind
1009
1010 * fonts.conf.in:
1011 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1012 (FcFreeTypeCheckGlyph):
1013 Use own transcoding routines in preference to iconv
1014 which appears to have leaks in some translators.
1015 Call iconv_close after using iconv (oops).
1016
1017 Prefer unicode encoding of Euro char as some
1018 fonts mis-encode Euro in other ones.
1019
1020 Must fetch bitmap glyphs to get width values
1021 to check for monospace/dual-width fonts.
1022
2ff4f076
RB
10232005-04-13 Ross Burton <ross@burtonini.com>
1024
1025 * src/fcpat.c:
1026 Check that a pattern isn't already frozen in FcPatternFreeze.
1027
ae7d0f35
RB
10282005-03-31 Ross Burton <ross@burtonini.com>
1029
1030 * src/fclist.c:
1031 * src/fcmatch.c:
1032 * src/fcpat.c:
1033 Run all FcPattern objects through FcObjectStaticName, so that
1034 compares can be done on pointers instead of strings (#2659)
1035
15603274
TL
10362005-03-17 Tor Lillqvist <tml@novell.com>
1037
1038 * src/fontconfig.def.in: Add the .dll to the dll name.
1039
5f347d9c
KP
10402005-03-10 Keith Packard <keithp@keithp.com>
1041
1042 * debian/README.Debian:
1043 Update to reflect configuration changes
1044 * debian/changelog:
1045 * debian/fontconfig.postinst:
1046 Fix Autohint vs Autohinter mistake
1047 * debian/fontconfig.templates:
1048 Adopt changes from Josselin Mouette for configuration descriptions
1049 Update debian to version 2.3.1-2
1050
8c740260
KP
10512005-03-08 Keith Packard <keithp@keithp.com>
1052
1053 * debian/changelog:
1054 * debian/rules:
1055 Update debian for 2.3.1
1056
79da4fe9
TL
10572005-03-09 Tor Lillqvist <tml@novell.com>
1058
1059 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1060 put it, not "lib".
1061
1062 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1063 prefix on Win32.
1064
d49dde9f
KP
10652005-03-08 Keith Packard <keithp@keithp.com>
1066
1067 * README:
1068 * configure.in:
1069 * fontconfig/fontconfig.h:
1070 Update for 2.3.1
1071
76a8dfa3
KP
10722005-03-05 Keith Packard <keithp@keithp.com>
1073
1074 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1075 Include space and remove numbers from valid script tags.
1076 This ensures that tags like 'lao ' work while rejecting
1077 those which have any digits.
1078 Eliminate a spurious debugging variable (len)
1079
219f7818
KP
10802005-03-05 Keith Packard <keithp@keithp.com>
1081
1082 * src/fcfreetype.c: (addtag), (GetScriptTags),
1083 (FcFontCapabilities):
1084 Rework GSUB/GPOS script parsing to survive broken fonts.
1085 Thanks for the broken font go to Manish Singh
1086
97bde49a
KP
10872005-03-05 Keith Packard <keithp@keithp.com>
1088
1089 Josselin Mouette:
1090 * debian/changelog:
1091 * debian/control:
1092 * debian/fontconfig.config:
1093 * debian/fontconfig.templates:
1094 * debian/rules:
1095 Include 2.3 release information in changelog
1096 Add Josselin Mouette as an Uploader
1097 Set hinting_type to low priority configuration option
1098
1099 Manish Singh:
1100 * debian/fontconfig.postinst:
1101 yes_bitmaps.conf -> yes-bitmaps.conf
1102
1103 Funda Wang:
1104 * src/fcfreetype.c:
1105 Johap -> Johab
1106
683dc3c4
KP
11072005-03-02 Keith Packard <keithp@keithp.com>
1108
1109 * Makefile.am:
1110 * conf.d/Makefile.am:
1111 * conf.d/autohint.conf:
1112 * conf.d/no-sub-pixel.conf:
1113 * conf.d/sub-pixel.conf:
1114 * conf.d/unhinted.conf:
1115 * debian/autohint.conf:
1116 * debian/fontconfig.install:
1117 * debian/fontconfig.postinst:
1118 * debian/fontconfig.templates:
1119 * debian/no-sub-pixel.conf:
1120 * debian/unhinted.conf:
1121 Move debian-specific conf file examples upstream.
1122
1123 Sub-pixel configuration examples must smash subpixel value
1124 as Xft always sets it from X.
1125
1126 Change sub-pixel rendering debconf descriptions from
1127 Enable/Disable to Always/Never.
1128
dc2e06ab
KP
11292005-03-02 Keith Packard <keithp@keithp.com>
1130
1131 * .cvsignore:
1132 * conf.d/.cvsignore:
1133 * doc/.cvsignore:
1134 Ignore more build detritus
1135
1136 * Makefile.am:
1137 Add debian package construction stuff.
1138
1139 * config/config.guess:
1140 * config/config.sub:
1141 Update to newer versions of these tools
1142
1143 * doc/Makefile.am:
1144 Get library manuals to build again (we love automake).
1145
1146 * debian/README.Debian:
1147 * debian/autohint.conf:
1148 * debian/changelog:
1149 * debian/compat:
1150 * debian/control:
1151 * debian/copyright:
1152 * debian/fontconfig-udeb.install:
1153 * debian/fontconfig.config:
1154 * debian/fontconfig.defoma:
1155 * debian/fontconfig.dirs:
1156 * debian/fontconfig.install:
1157 * debian/fontconfig.postinst:
1158 * debian/fontconfig.postrm:
1159 * debian/fontconfig.templates:
1160 * debian/libfontconfig1-dev.install:
1161 * debian/libfontconfig1.install:
1162 * debian/local.conf.md5sum:
1163 * debian/no-sub-pixel.conf:
1164 * debian/po/POTFILES.in:
1165 * debian/po/cs.po:
1166 * debian/po/da.po:
1167 * debian/po/de.po:
1168 * debian/po/es.po:
1169 * debian/po/fr.po:
1170 * debian/po/ja.po:
1171 * debian/po/nl.po:
1172 * debian/po/pt.po:
1173 * debian/po/pt_BR.po:
1174 * debian/po/templates.pot:
1175 * debian/po/tr.po:
1176 * debian/po/zh_CN.po:
1177 * debian/rules:
1178 * debian/unhinted.conf:
1179 Update debian build system to switch maintainers and
1180 deal with 2.3 functionality
1181
4afc00ca
KP
11822005-03-01 Keith Packard <keithp@keithp.com>
1183
1184 * README:
1185 * configure.in:
1186 * fontconfig/fontconfig.h:
1187 Update for 2.3.0
1188
0c009d2b
KP
11892005-03-01 Keith Packard <keithp@keithp.com>
1190
1191 * doc/Makefile.am:
1192 Generate and install PDF versions of the manuals
1193
1194 * doc/fcpattern.fncs:
1195 Fix formatting
1196
1197 * doc/fcstring.fncs:
1198 Add missing exported functions, fix data types
1199
1200 * doc/fontconfig-devel.sgml:
1201 Add missing pattern elements.
1202
1203 * doc/fontconfig-user.sgml:
1204 Add missing pattern elements. Document conf.d usage,
1205 clarify available orthography list. Fix some config file
1206 attributes. Complete list of constants.
1207
1208 * fontconfig/fontconfig.h:
1209 Mark FC_SOURCE deprecated.
1210
1211 * src/fcfreetype.c: (FcFreeTypeQuery):
1212 Don't set FC_SOURCE any longer.
1213
414f7202
KP
12142005-02-28 Keith Packard <keithp@keithp.com>
1215
1216 * Makefile.am:
1217 * conf.d/Makefile.am:
1218 * conf.d/README:
1219 * conf.d/no-bitmaps.conf:
1220 * conf.d/sub-pixel.conf:
1221 * conf.d/yes-bitmaps.conf:
1222 * configure.in:
1223 Create prototype /etc/fonts/conf.d directory with a few
1224 sample configuration files.
1225 Deprecate use of local.conf for local customizations in favor of
1226 this directory based scheme which is more easily integrated into
1227 installation systems.
1228
1229 * src/fcname.c:
1230 Tag FC_EMBOLDEN as a boolean variable
1231
47b49bf1
KP
12322005-02-10 Keith Packard <keithp@keithp.com>
1233
1234 reviewed by: pborelli@katamail.com
1235
1236 * src/fcdir.c: (FcFileScanConfig):
1237 Free patterns from fonts which are rejected by configuration
1238 (bug #2518)
1239
845a0bf3
KP
12402005-01-28 Keith Packard <keithp@keithp.com>
1241
1242 * README:
afca7836
KP
1243 * configure.in:
1244 * fontconfig/fontconfig.h:
1245 Update for version 2.2.99
1246
12472005-01-28 Keith Packard <keithp@keithp.com>
1248
1249 * README:
1250 Add a few pointers (#2284, #2285)
845a0bf3 1251
ca60d2b5
KP
12522005-01-28 Keith Packard <keithp@keithp.com>
1253
1254 * src/fcint.h:
1255 * src/fcname.c: (FcNameBool):
1256 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1257 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1258 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1259 Polite typechecking for test and edit expressions. Helps
afca7836 1260 catch errors in the font configuration. (bug 229)
ca60d2b5 1261
59e149e7
KP
12622005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1263
1264 reviewed by: Keith Packard <keithp@keithp.com>
1265
1266 * configure.in:
1267 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1268
d8ae9c92
KP
12692005-01-13 Keith Packard <keithp@keithp.com>
1270
1271 * doc/fontconfig-user.sgml:
1272 Add SEE ALSO section (bug 2085)
1273
12742005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1275
1276 reviewed by: Keith Packard <keithp@keithp.com>
1277
1278 * Makefile.am:
1279 * configure.in:
1280 * doc/Makefile.am:
1281 * fc-case/Makefile.am:
1282 * fc-glyphname/Makefile.am:
1283 * fc-lang/Makefile.am:
1284 * src/fontconfig.def.in:
1285 Cross compiling fixes (bug 280)
1286
8759822e
KP
12872005-01-13 Keith Packard <keithp@keithp.com>
1288
1289 * fonts.conf.in:
1290 Update blanks list (Closes bug 86)
1291
fce87a18
KP
12922005-01-04 Keith Packard <keithp@keithp.com>
1293
1294 * src/fccache.c: (FcCacheFontSetAdd):
1295 Verify that every font pattern loaded from cache has
1296 both FC_FILE and FC_FAMILY entries.
1297 Attempt to fix bug #2219.
1298
d5346181
KP
12992004-12-29 Keith Packard <keithp@keithp.com>
1300
1301 * README:
1302 * configure.in:
1303 * fontconfig/fontconfig.h:
1304 Update for version 2.2.98
1305
479f551f
KP
13062004-12-29 Keith Packard <keithp@keithp.com>
1307
1308 * fontconfig/fontconfig.h:
1309 Document ASCII limitations of Fc character conversion macros
1310 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1311 Fix off-by-one error in utf-8 case walking code.
1312 Add FcStrDowncase (useful for testing case conversion functions)
1313
02748dd3
KP
13142004-12-29 Keith Packard <keithp@keithp.com>
1315
1316 * .cvsignore:
1317 * fc-case/.cvsignore:
1318 clean up CVS ignore lists
1319 * fc-lang/iso-3166.txt:
1320 Add territory database
1321
13222004-12-29 Tor Andersson <tor.andersson@gmail.com>
1323
1324 Reviewed by: Keith Packard
1325
1326 * fc-lang/ko.orth:
1327 Remove Han characters from Korean orthography
1328
2ba729ed
KP
13292004-12-29 Keith Packard <keithp@keithp.com>
1330
1331 * Makefile.am:
1332 Reorder utility programs to make sure fc-case is run before fc-lang
1333 as fc-lang uses fcstr.c which uses fccase.h
1334 * fonts.conf.in:
1335 Fix broken XML
1336
192296d8
KP
13372004-12-29 Keith Packard <keithp@keithp.com>
1338
1339 * fonts.conf.in:
1340 Adopt some RedHat suggestions for standard font configuration.
1341
1342 * Makefile.am:
1343 * configure.in:
1344 * fc-case/CaseFolding.txt:
1345 * fc-case/Makefile.am:
1346 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1347 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1348 (dump), (parseRaw), (caseFoldReadRaw), (main):
1349 * fc-case/fccase.tmpl.h:
1350 Add new helper program 'fc-case' to construct case folding
1351 tables from standard Unicode CaseFolding.txt file
1352
1353 * src/fcint.h:
1354 * src/fclist.c: (FcListValueHash):
1355 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1356 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1357 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1358 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1359 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1360 Re-implement case insensitive functions with Unicode
1361 aware versions (including full case folding mappings)
1362
5cf8c536
KP
13632004-12-13 Keith Packard <keithp@keithp.com>
1364
1365 reviewed by: Owen Taylor <otaylor@redhat.com>
1366
1367 * src/fcmatch.c: (FcFontSetSort):
1368 I changed FcFontSetSort to respect the generic aliases better
1369 in the face of language matching.
1370
1371 What I did was to ammend the strict sort order used by FcFontSort so
1372 that it 'satisfies' the language specified in the pattern by locating
1373 the best matching font supporting each pattern language and then
1374 ignores language in the remaining fonts for purposes of matching.
1375
1376 So, when asking for 'sans:lang=en', you'll get an English font first,
1377 and then the remaining fonts sorted with respect to the 'sans' alias
1378 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1379
46a10637
KP
13802004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1381
1382 reviewed by: Keith Packard <keithp@keithp.com>
1383
1384 * fontconfig/fontconfig.h:
1385 * fonts.conf.in:
1386
1387 Configuration changes to request synthetic emboldening of
1388 fonts. The actual emboldening code will live in Xft.
1389
9af19286
KP
13902004-12-09 John Thacker <thacker@math.cornell.edu>
1391
1392 reviewed by: Keith Packard <keithp@keithp.com>
1393
1394 * fc-lang/ru.orth:
1395
1396 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1397 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1398 и), and don't even appear in KOI8-R. (The hypothesis that they
1399 don't appear in KOI8-R due to their similarity with Latin I and i is
1400 eliminated by their presence in KOI8-U.) I have a couple of fonts
1401 with Russian support that don't have the letter.
1402
1403 Therefore, 0406 and 0456 should be removed from or commented out of
1404 ru.orth
1405
1c52c0f0
KP
14062004-12-06 michael meeks <mmeeks@novell.com>
1407
1408 Reviewed by: Keith Packard <keithp@keithp.com>
1409
1410 * src/fcinit.c: (FcMemReport):
1411 * src/fcint.h:
1412 * src/fclist.c: (FcObjectSetAdd):
1413 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1414 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1415 * src/fcxml.c: (FcParsePatelt):
1416 memoize strings and share a single copy for all uses. Note that
1417 this could be improved further by using statically allocated blocks
1418 and gluing multiple strings together, but I'm basically lazy.
1419 In my environment with 800 font files, I get a savings of about 90KB.
1420
46b51147
KP
14212004-12-06 Keith Packard <keithp@keithp.com>
1422
1423 * COPYING:
1424 * Makefile.am:
1425 * config/Makedefs.in:
1426 * configure.in:
1427 * doc/edit-sgml.c:
1428 * doc/fcatomic.fncs:
1429 * doc/fcblanks.fncs:
1430 * doc/fccharset.fncs:
1431 * doc/fcconfig.fncs:
1432 * doc/fcconstant.fncs:
1433 * doc/fcfile.fncs:
1434 * doc/fcfontset.fncs:
1435 * doc/fcfreetype.fncs:
1436 * doc/fcinit.fncs:
1437 * doc/fcmatrix.fncs:
1438 * doc/fcobjectset.fncs:
1439 * doc/fcobjecttype.fncs:
1440 * doc/fcpattern.fncs:
1441 * doc/fcstring.fncs:
1442 * doc/fcstrset.fncs:
1443 * doc/fcvalue.fncs:
1444 * doc/fontconfig-devel.sgml:
1445 * doc/fontconfig-user.sgml:
1446 * doc/func.sgml:
1447 * doc/version.sgml.in:
1448 * fc-cache/Makefile.am:
1449 * fc-cache/fc-cache.c:
1450 * fc-glyphname/Makefile.am:
1451 * fc-glyphname/fc-glyphname.c:
1452 * fc-glyphname/fcglyphname.tmpl.h:
1453 * fc-lang/Makefile.am:
1454 * fc-lang/aa.orth:
1455 * fc-lang/ab.orth:
1456 * fc-lang/af.orth:
1457 * fc-lang/am.orth:
1458 * fc-lang/ar.orth:
1459 * fc-lang/ast.orth:
1460 * fc-lang/ava.orth:
1461 * fc-lang/ay.orth:
1462 * fc-lang/az.orth:
1463 * fc-lang/az_ir.orth:
1464 * fc-lang/ba.orth:
1465 * fc-lang/bam.orth:
1466 * fc-lang/be.orth:
1467 * fc-lang/bg.orth:
1468 * fc-lang/bh.orth:
1469 * fc-lang/bho.orth:
1470 * fc-lang/bi.orth:
1471 * fc-lang/bin.orth:
1472 * fc-lang/bn.orth:
1473 * fc-lang/bo.orth:
1474 * fc-lang/br.orth:
1475 * fc-lang/bs.orth:
1476 * fc-lang/bua.orth:
1477 * fc-lang/ca.orth:
1478 * fc-lang/ce.orth:
1479 * fc-lang/ch.orth:
1480 * fc-lang/chm.orth:
1481 * fc-lang/chr.orth:
1482 * fc-lang/co.orth:
1483 * fc-lang/cs.orth:
1484 * fc-lang/cu.orth:
1485 * fc-lang/cv.orth:
1486 * fc-lang/cy.orth:
1487 * fc-lang/da.orth:
1488 * fc-lang/de.orth:
1489 * fc-lang/dz.orth:
1490 * fc-lang/el.orth:
1491 * fc-lang/en.orth:
1492 * fc-lang/eo.orth:
1493 * fc-lang/es.orth:
1494 * fc-lang/et.orth:
1495 * fc-lang/eu.orth:
1496 * fc-lang/fa.orth:
1497 * fc-lang/fc-lang.c:
1498 * fc-lang/fc-lang.man:
1499 * fc-lang/fclang.tmpl.h:
1500 * fc-lang/fi.orth:
1501 * fc-lang/fj.orth:
1502 * fc-lang/fo.orth:
1503 * fc-lang/fr.orth:
1504 * fc-lang/ful.orth:
1505 * fc-lang/fur.orth:
1506 * fc-lang/fy.orth:
1507 * fc-lang/ga.orth:
1508 * fc-lang/gd.orth:
1509 * fc-lang/gez.orth:
1510 * fc-lang/gl.orth:
1511 * fc-lang/gn.orth:
1512 * fc-lang/gu.orth:
1513 * fc-lang/gv.orth:
1514 * fc-lang/ha.orth:
1515 * fc-lang/haw.orth:
1516 * fc-lang/he.orth:
1517 * fc-lang/hi.orth:
1518 * fc-lang/ho.orth:
1519 * fc-lang/hr.orth:
1520 * fc-lang/hu.orth:
1521 * fc-lang/hy.orth:
1522 * fc-lang/ia.orth:
1523 * fc-lang/ibo.orth:
1524 * fc-lang/id.orth:
1525 * fc-lang/ie.orth:
1526 * fc-lang/ik.orth:
1527 * fc-lang/io.orth:
1528 * fc-lang/is.orth:
1529 * fc-lang/iso639-2:
1530 * fc-lang/it.orth:
1531 * fc-lang/iu.orth:
1532 * fc-lang/ja.orth:
1533 * fc-lang/ka.orth:
1534 * fc-lang/kaa.orth:
1535 * fc-lang/ki.orth:
1536 * fc-lang/kk.orth:
1537 * fc-lang/kl.orth:
1538 * fc-lang/km.orth:
1539 * fc-lang/kn.orth:
1540 * fc-lang/ko.orth:
1541 * fc-lang/kok.orth:
1542 * fc-lang/ks.orth:
1543 * fc-lang/ku.orth:
1544 * fc-lang/ku_ir.orth:
1545 * fc-lang/kum.orth:
1546 * fc-lang/kv.orth:
1547 * fc-lang/kw.orth:
1548 * fc-lang/ky.orth:
1549 * fc-lang/la.orth:
1550 * fc-lang/lb.orth:
1551 * fc-lang/lez.orth:
1552 * fc-lang/lo.orth:
1553 * fc-lang/lt.orth:
1554 * fc-lang/lv.orth:
1555 * fc-lang/mg.orth:
1556 * fc-lang/mh.orth:
1557 * fc-lang/mi.orth:
1558 * fc-lang/mk.orth:
1559 * fc-lang/ml.orth:
1560 * fc-lang/mn.orth:
1561 * fc-lang/mo.orth:
1562 * fc-lang/mr.orth:
1563 * fc-lang/mt.orth:
1564 * fc-lang/my.orth:
1565 * fc-lang/nb.orth:
1566 * fc-lang/nds.orth:
1567 * fc-lang/ne.orth:
1568 * fc-lang/nl.orth:
1569 * fc-lang/nn.orth:
1570 * fc-lang/no.orth:
1571 * fc-lang/ny.orth:
1572 * fc-lang/oc.orth:
1573 * fc-lang/om.orth:
1574 * fc-lang/or.orth:
1575 * fc-lang/os.orth:
1576 * fc-lang/pl.orth:
1577 * fc-lang/ps_af.orth:
1578 * fc-lang/ps_pk.orth:
1579 * fc-lang/pt.orth:
1580 * fc-lang/rm.orth:
1581 * fc-lang/ro.orth:
1582 * fc-lang/ru.orth:
1583 * fc-lang/sa.orth:
1584 * fc-lang/sah.orth:
1585 * fc-lang/sco.orth:
1586 * fc-lang/se.orth:
1587 * fc-lang/sel.orth:
1588 * fc-lang/sh.orth:
1589 * fc-lang/si.orth:
1590 * fc-lang/sk.orth:
1591 * fc-lang/sl.orth:
1592 * fc-lang/sm.orth:
1593 * fc-lang/sma.orth:
1594 * fc-lang/smj.orth:
1595 * fc-lang/smn.orth:
1596 * fc-lang/sms.orth:
1597 * fc-lang/so.orth:
1598 * fc-lang/sq.orth:
1599 * fc-lang/sr.orth:
1600 * fc-lang/sv.orth:
1601 * fc-lang/sw.orth:
1602 * fc-lang/syr.orth:
1603 * fc-lang/ta.orth:
1604 * fc-lang/te.orth:
1605 * fc-lang/tg.orth:
1606 * fc-lang/th.orth:
1607 * fc-lang/ti_er.orth:
1608 * fc-lang/ti_et.orth:
1609 * fc-lang/tig.orth:
1610 * fc-lang/tk.orth:
1611 * fc-lang/tl.orth:
1612 * fc-lang/tn.orth:
1613 * fc-lang/to.orth:
1614 * fc-lang/tr.orth:
1615 * fc-lang/ts.orth:
1616 * fc-lang/tt.orth:
1617 * fc-lang/tw.orth:
1618 * fc-lang/tyv.orth:
1619 * fc-lang/ug.orth:
1620 * fc-lang/uk.orth:
1621 * fc-lang/ur.orth:
1622 * fc-lang/uz.orth:
1623 * fc-lang/ven.orth:
1624 * fc-lang/vi.orth:
1625 * fc-lang/vo.orth:
1626 * fc-lang/vot.orth:
1627 * fc-lang/wa.orth:
1628 * fc-lang/wen.orth:
1629 * fc-lang/wo.orth:
1630 * fc-lang/xh.orth:
1631 * fc-lang/yap.orth:
1632 * fc-lang/yi.orth:
1633 * fc-lang/yo.orth:
1634 * fc-lang/zh_cn.orth:
1635 * fc-lang/zh_hk.orth:
1636 * fc-lang/zh_mo.orth:
1637 * fc-lang/zh_sg.orth:
1638 * fc-lang/zh_tw.orth:
1639 * fc-lang/zu.orth:
1640 * fc-list/Makefile.am:
1641 * fc-list/fc-list.c:
1642 * fc-match/Makefile.am:
1643 * fc-match/fc-match.1:
1644 * fc-match/fc-match.c:
1645 * fontconfig/fcfreetype.h:
1646 * fontconfig/fcprivate.h:
1647 * fontconfig/fontconfig.h:
1648 * src/fcatomic.c:
1649 * src/fcblanks.c:
1650 * src/fccache.c:
1651 * src/fccfg.c:
1652 * src/fccharset.c:
1653 * src/fcdbg.c:
1654 * src/fcdefault.c:
1655 * src/fcdir.c:
1656 * src/fcfreetype.c:
1657 * src/fcfs.c:
1658 * src/fcinit.c:
1659 * src/fcint.h:
1660 * src/fclang.c:
1661 * src/fclist.c:
1662 * src/fcmatch.c:
1663 * src/fcmatrix.c:
1664 * src/fcname.c:
1665 * src/fcpat.c:
1666 * src/fcstr.c:
1667 * src/fcxml.c:
1668 Change files from ISO-Latin-1 to UTF-8
1669
fc2cc873
KP
16702004-12-04 Keith Packard <keithp@keithp.com>
1671
1672 * INSTALL:
1673 Update links to new freedesktop.org locations
1674 * Makefile.am:
1675 Add uninstall-local to get rid of fonts.conf and local.conf if they
1676 match the distributed versions. Fixes 'make distcheck'
1677
308dc9c3
KP
16782004-12-04 Keith Packard <keithp@keithp.com>
1679
1680 * README:
1681 * configure.in:
1682 * fontconfig/fontconfig.h:
1683 Updates for version 2.2.97
1684
54560b01
KP
16852004-12-04 Owen Taylor <otaylor@redhat.com>
1686
1687 reviewed by: Keith Packard <keithp@keithp.com>
1688
1689 * fc-cache/fc-cache.c: (main):
1690 Sleep for two seconds before exiting to make sure timestamps
1691 for future changes have distinct mod times in the file system.
1692 Bug #1982.
1693 * fc-lang/pa.orth:
1694 Add Punjabi orthography. Bug #1671.
1695
c5a0b541
KP
16962004-12-04 Keith Packard <keithp@keithp.com>
1697
1698 * fonts.conf.in:
1699 Just remove the FC_FONTDATE -- it has locale issues and
1700 annoys redhat multi-arch installs. Now that all X fonts are
1701 included without prejudice, the chances of the date being at
54560b01 1702 all interesting are rather limited. Bug #505.
c5a0b541
KP
1703 * src/Makefile.am:
1704 Add copyright and license
1705
2d9c79c0
KP
17062004-12-04 Keith Packard <keithp@keithp.com>
1707
1708 * configure.in:
1709 Change default set of fonts to include all of
1710 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1711 * doc/fontconfig-user.sgml:
1712 Document new <include>directory-name</include> semantics
1713 * fonts.conf.in:
1714 add <include ignore_missing="yes">conf.d</include>
1715 * local.conf:
1716 Add selectfont to ignore bitmap fonts, add comment for
1717 selectfont which accepts bitmap fonts.
1718 * src/fcdir.c:
1719 * src/fcint.h:
1720 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1721 Allow <include> configuration elements to reference directories.
1722 Parse and load all files of the form [0-9]* in sorted order.
1723
38e528e7
KP
17242004-12-04 Keith Packard <keithp@keithp.com>
1725
1726 * autogen.sh:
1727 Report command line for $srcdir/configure accurately.
1728 Bug #212.
1729
e4125ef9
KP
17302004-12-04 Keith Packard <keithp@keithp.com>
1731
1732 * src/fcfreetype.c: (FcFreeTypeQuery):
1733 Check for non-empty face->family_name and face->style_name
1734 before using those for the font. Empty names match everything.
38e528e7 1735 Bug #210.
e4125ef9 1736
537e3d23
KP
17372004-12-04 Keith Packard <keithp@keithp.com>
1738
1739 * configure.in:
1740 * fontconfig/fontconfig.h:
1741 * src/fcfreetype.c: (FcFreeTypeQuery):
1742 * src/fcname.c:
1743 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1744 available. This provides font file format information (BDF, Type 1,
1745 PCF, TrueType) for each font. Closes #109.
1746
dbf68dd5
KP
17472004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1748
1749 reviewed by: Keith Packard <keithp@keithp.com>
1750
1751 * doc/fontconfig-user.sgml:
1752 Fix typo.
1753
1754 * fontconfig/fontconfig.h:
1755 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1756 (GetScriptTags), (FcFontCapabilities):
1757 * src/fcname.c:
1758 Add detection for font capabilities (bug #105)
1759
4f27c1c0
KP
17602004-12-04 Keith Packard <keithp@keithp.com>
1761
1762 * Makefile.am:
1763 Move existing fonts.conf to fonts.conf.bak
1764
1765 * configure.in:
1766 Add detection of iconv
1767
1768 * doc/fcpattern.fncs:
1769 * doc/fontconfig-devel.sgml:
1770 * doc/fontconfig-user.sgml:
1771 * fonts.dtd:
1772 Document new selectfont elements
1773
1774 * fc-lang/nb.orth:
1775 Switch to UTF-8 in comment
1776
1777 * fontconfig/fontconfig.h:
1778 * src/fcname.c:
1779 Add fullname, and family/style/fullname language entries
1780
1781 * src/fccache.c: (FcCacheFontSetAdd):
1782 * src/fcdir.c: (FcFileScanConfig):
1783 Respect selectfont/*/glob
1784
1785 * src/fcint.h:
1786 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1787 (FcConfigCompareValue), (FcConfigPatternsAdd),
1788 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1789 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1790 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1791 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1792 Add support for selectfont
1793
1794 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1795 (FcStringInPatternElement), (FcFreeTypeQuery):
1796 Add multi-lingual family/style/fullname support
1797
1798 * src/fclist.c: (FcListPatternMatchAny):
1799 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1800
1801 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1802 (FcObjectStaticName):
1803 Add new FcPatternRemove/FcPatternAppend.
1804 FcObjectStaticName stores computed pattern element names which
1805 are required to be static.
1806
c641c77d
KP
18072004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1808
1809 reviewed by: keithp
1810
1811 * Makefile.am:
1812 Remove spurious / after $(DESTDIR)
1813
b5f36ca0
KP
18142004-06-30 Keith Packard <keithp@keithp.com>
1815
1816 * README:
1817 * configure.in:
1818 * fontconfig/fontconfig.h:
1819 Update for 2.2.96
1820
28f93bc4
KP
18212004-06-30 Keith Packard <keithp@keithp.com>
1822
1823 Provided by: Lubos Lunak <l.lunak@suse.cz>
1824
1825 * src/fccfg.c: (FcConfigUptoDate):
1826 However FcConfigUptoDate() doesn't seem to work. See the attached
1827 patch. First there's an obvious misplaced parenthesis making it
1828 return always false, and second, even this call fails to detect font
1829 changes (e.g. adding a new font to
1830 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1831 well. The problem seems to be triggered by my fonts.conf specifying
1832 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1833 doesn't include subdirs, unlike config->fontDirs.
1834
3d1ea0e5
KP
18352004-06-03 Keith Packard <keithp@keithp.com>
1836
1837 * fontconfig/fontconfig.h:
1838 Remove comma at end of FcResult enum definition.
1839
087d899c
KP
18402004-05-29 Keith Packard <keithp@keithp.com>
1841
1842 * INSTALL:
1843 Add steps to md5sum release
1844
d81271eb
KP
18452004-05-29 Keith Packard <keithp@keithp.com>
1846
1847 * README:
1848 * configure.in:
1849 * fontconfig/fontconfig.h:
1850 Update for 2.2.95
1851
ec0c740e
KP
18522004-05-29 Keith Packard <keithp@keithp.com>
1853
1854 * fontconfig/fontconfig.h:
1855 * src/fcmatch.c: (FcFontSetMatch):
1856 Add FcResultOutOfMemory to provide an accurate error when
1857 FcFontSetMatch fails in this way
1858
1859 * src/fcfreetype.c:
1860 Make #warning about lacking various FreeType features indicate
1861 which version those features appeared so users know how to
1862 fix the problem (Thanks to Anton Tropashko)
1863
55a69bd0
KP
18642004-05-05 Keith Packard <keithp@keithp.com>
1865
1866 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1867 Replace MIN/MAX/ABS macros which happen to have come
1868 from FreeType with fontconfig-specific ones (FC_*)
1869
bd0ddac8
KP
18702004-04-23 Keith Packard <keithp@keithp.com>
1871
1872 * INSTALL:
1873 Extend release preparation instructions to include
1874 notification and distribution steps
1875
626a7016
KP
18762004-04-23 Keith Packard <keithp@keithp.com>
1877
1878 * README:
1879 * configure.in:
1880 * fontconfig/fontconfig.h:
1881 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1882
7969113f
KP
18832004-04-23 Keith Packard <keithp@keithp.com>
1884
1885 * .cvsignore:
1886 Ignore a few more autotool files
1887
6ae6acf3
KP
18882004-04-14 Keith Packard <keithp@keithp.com>
1889
1890 * INSTALL:
1891 Add instructions for doing a release
1892
1893 * fontconfig.spec.in:
1894 clean up .spec file; perhaps this will be useful to somebody...
1895
1896 * README:
1897 * configure.in:
1898 * fontconfig/fontconfig.h:
1899 Update to 2.2.93
1900
1901 * fc-lang/fc-lang.c:
1902 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1903
1904 * fc-glyphname/Makefile.am:
1905 * fc-lang/Makefile.am:
1906 * fc-list/Makefile.am:
1907 * fc-match/Makefile.am:
1908 * src/Makefile.am:
1909 Add WARN_CFLAGS to pass -W flags for GCC systems
1910
1911 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1912 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1913 Change various char types around to match across
1914 function calls.
1915 Fixed bug in using available_sizes[i].height which
1916 is in pixels, not 64ths of a pixel.
1917
89e28590
KP
19182004-03-06 Keith Packard <keithp@keithp.com>
1919
1920 * src/fcfreetype.c: (FcFreeTypeQuery):
1921 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1922 matches looking for explicit values prefer exact matches
1923
02638f1a
KP
19242004-03-02 Keith Packard <keithp@keithp.com>
1925
1926 Supplied by: mfabian@suse.de (Mike FABIAN)
1927
1928 * src/fcfreetype.c: (FcFreeTypeQuery):
1929 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1930 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1931
de66e750
MS
19322004-02-21 Manish Singh <yosh@gimp.org>
1933
1934 * fc-glyphname/fc-glyphname.c: (main):
1935 Cast strlen to int for printf, so we're 64-bit clean.
1936
208a720f
KP
19372004-02-11 Keith Packard <keithp@keithp.com>
1938
1939 * configure.in:
1940 * src/fcfreetype.c: (FcGetPixelSize):
1941 Ok, so I messed up the test for y_ppem. Let's see if I
1942 got it right this time.
1943
4f38fa81
KP
19442004-02-10 Keith Packard <keithp@keithp.com>
1945
1946 * configure.in:
1947 * src/fcfreetype.c: (FcGetPixelSize):
1948 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1949 FT_Bitmap_Size record. Add a configure.in test for this
1950 and change the code accordingly (using height instead).
1951
b68b9646
KP
19522004-02-06 Keith Packard <keithp@keithp.com>
1953
1954 * fc-lang/nds.orth:
1955 Add Low Saxon orthography
1956 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1957
1958 * src/fccfg.c: (FcConfigNewestFile):
1959 Oops. Left 'newest.set' unset, which would miscompute
1960 the newest file
1961
1962 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1963 (FcFreeTypeCheckGlyph):
1964 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1965 font properties (which report the wrong value in current FreeType)
1966
1967 Don't attempt to check for empty glyphs in non-scalable fonts; they
1968 have no outlines...
1969
f4c52909
TL
19702004-02-01 Tor Lillqvist <tml@iki.fi>
1971
1972 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1973 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1974 cache if config->cache is NULL, which happens if FcConfigHome() is
1975 NULL. Guard against that by using the temp folder in that case.
1976
d3481737
RP
19772004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1978
1979 * fc-lang/az_ir.orth:
1980 * fc-lang/ku_ir.orth:
1981 * fc-lang/ps_af.orth:
1982 * fc-lang/ps_pk.orth:
1983 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1984 (Afghan and Pakistani).
1985 * fc-lang/ur.orth:
1986 Updated Urdu orthography with real data.
1987
d098e4eb
CW
19882003-12-11 Carl Worth <cworth@east.isi.edu>
1989
1990 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1991 USEDOCBOOK' block.
1992
1993 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1994 USEDOCBOOK' block.
1995 (all-local): Remove excessive whitespace.
1996
1997 * autogen.sh: Add 'set -e' to abort when any program fails,
1998 (avoids printing of 'now type make' after configure aborts).
1999
408dd9c0
KP
20002003-11-17 Eric Christopherson <rakko@charter.net>
2001
2002 reviewed by: Keith Packard <keithp@keithp.com>
2003
2004 * doc/Makefile.am:
2005 * fontconfig/fcfreetype.h:
2006 * src/fcfreetype.c:
2007 Switch to FreeType 2.1.7 style includes. Bug #150.
2008
8e8fcda4
NL
20092003-11-16 Noah Levitt <nlevitt@columbia.edu>
2010
2011 * fc-list/fc-list.sgml: Add some example usages.
2012
344a0e33
RP
20132003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2014
2015 * src/fcxml.c:
2016 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2017 separators.
2018
20192003-10-27 Keith Packard <keith@keithp.com>
27143fc9
KP
2020
2021 * configure.in:
2022 * fontconfig/fontconfig.h:
2023 Update to version 2.2.92
2024
4cbc3ee8
KP
20252003-10-27 Keith Packard <keithp@keithp.com>
2026
2027 * Makefile.am:
2028 * configure.in:
2029 * doc/Makefile.am:
2030 * fc-cache/Makefile.am:
2031 * fc-glyphname/Makefile.am:
2032 * fc-lang/Makefile.am:
2033 * fc-list/Makefile.am:
2034 * fc-match/Makefile.am:
2035 * test/Makefile.am:
2036 * test/run-test.sh:
2037 Yet more cleanups to finish getting 'make distcheck' working
2038 This has been tested to ensure that it even works from a _build
2039 directory.
2040
394b2bf0
KP
20412003-10-26 Keith Packard <keithp@keithp.com>
2042
2043 * configure.in:
2044 * doc/Makefile.am:
2045 * fc-cache/Makefile.am:
2046 * fc-glyphname/Makefile.am:
2047 * fc-lang/Makefile.am:
2048 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2049 * fc-list/Makefile.am:
2050 * fc-match/Makefile.am:
2051 Attempts to fix 'make distcheck' work. Things are
2052 progressing pretty well, but there are still failures
2053 long into the process dealing with docs (as always).
2054
2055 The big changes here are mostly to make $(srcdir) != "."
2056 work correctly, fixing the docbook related sections and
2057 fc-lang were particularily tricky. Docbook refuses to load
2058 system entities from anywhere other than where the original .sgml
2059 file was located, so no luck looking in "." for the
2060 configure-generated version.sgml and confdir.sgml files.
2061
2062 fc-lang needed help finding .orth files; added a -d option
2063 to set the directory as the least evil of many options.
2064
2065 Now to go use a faster machine and try and wring out the last
2066 issues.
2067
3541556b
KP
20682003-10-26 Keith Packard <keithp@keithp.com>
2069
2070 Tag version 2.2.91
2071
e99043ac
KP
20722003-10-26 Keith Packard <keithp@keithp.com>
2073
2074 * doc/Makefile.am:
2075 Include confdir.sgml.in in EXTRA_DIST
2076
75839218
JM
20772003-10-09 Josselin Mouette <joss@debian.org>
2078
2079 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2080 * fc-list/fc-list.sgml fc-list/Makefile.am:
2081 Replace fc-cache and fc-list manpages with more detailed, SGML
2082 versions.
2083
f077d662
OT
20842003-09-23 Owen Taylor <otaylor@redhat.com>
2085
2086 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2087 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2088 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2089 (Bug #117)
2090
44f59f71
OT
20912003-09-23 Owen Taylor <otaylor@redhat.com>
2092
2093 * fc-lang/ka.orth: Remove Georgian capitals, they
2094 aren't used for normal writing. (Bug #116)
2095
a05d257f
NL
20962003-09-06 Noah Levitt <nlevitt@columbia.edu>
2097
2098 * doc/fontconfig-devel.sgml:
2099 * doc/fontconfig-user.sgml:
2100 * fontconfig/fontconfig.h:
2101 * src/fcname.c:
2102 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2103 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2104
2105 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2106 monospace and dual-width fonts, allow roughly a 3% variance in the
2107 advances.
2108
3ef32bcd
MS
21092003-08-31 Manish Singh <yosh@gimp.org>
2110
2111 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2112 use default config.
2113
34cd0514
CW
21142003-08-15 Carl Worth <cworth@isi.edu>
2115
2116 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2117 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2118
2119 * src/fcpat.c (FcValueListEntDestroy): New function to support
2120 FcFini memory cleanup. Some statistics are not kept in
2121 synch. here.
2122 (FcValueListFreeze): Move hashTable outside this function so it
2123 can be accessed by FcValueListThawAll.
2124 (FcValueListThawAll): New function complements FcValueListFreeze.
2125 (FcPatternBaseFreeze): Move hashTable outside this function so it
2126 can be accessed by FcPatternBaseThawAll.
2127 (FcPatternBaseThawAll): New function complements
2128 FcPatternBaseFreeze.
2129 (FcPatternThawAll): New function complements FcPatternFreeze.
2130
2131 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2132
2133 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2134 allocated FcCharLeafEnt "blocks" so they can be freed later.
2135 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2136 can be accessed by FcCharSetThawAllLeaf.
2137 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2138 (FcCharSetFreezeBase): Move hashTable outside this function so it
2139 can be accessed by FcCharSetThawAll.
2140 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2141
2142 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2143 (FcConfigDestroy): Fic leak of FcBlanks.
2144
2145 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2146 (main): Add call to FcFini when finished.
2147
2148 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2149 static. Add prototypes.
2150
2151 * doc/fcinit.fncs: Add documentation for FcFini function.
2152
2153 * doc/edit-sgml.c: Mark several local functions as static. Add
2154 prototypes.
2155
2156 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2157
c3941ba9
TL
21582003-06-15 Tor Lillqvist <tml@iki.fi>
2159
231051f4
TL
2160 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2161 before comparing (needed on Windows).
2162
c3941ba9
TL
2163 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2164
ee1d8125
TL
21652003-06-13 Tor Lillqvist <tml@iki.fi>
2166
2167 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2168 man pages.
2169
2170 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2171 WINDOWSFONTDIR token.
2172
2173 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2174 end, not to confuse libtool, which expects the EXPORTS line to be
2175 the first. Add FcConfigEnableHome.
2176
e5206dbc
TL
2177 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2178 built as a DLL on Win32.
2179
4ae7f71c
KP
21802003-06-09 Keith Packard <keithp@keithp.com>
2181
2182 * Tag version 2.2.90
2183
8edb970e
KP
21842003-06-09 Keith Packard <keithp@keithp.com>
2185
2186 * Optimization in FcLangSetIndex was broken, occasionally
2187 returning a pointer to the wrong location on miss
2188
2189 * Add fc-match to test font matching from the command line.
2190
21912003-05-31 Keith Packard <keithp@keithp.com>
2192
2193 * (Bug 85) add support for culmus fonts
2194 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2195 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2196
21972003-05-28 James Su <suzhe@turbolinux.com.cn>
2198
2199 * Fix "contains" op for strings and langsets.
2200
22012003-05-17 Keith Packard <keithp@keithp.com>
2202
2203 * Fix build error with BDF prop local. Free langset after query
2204
22052003-05-14 Keith Packard <keithp@keithp.com>
2206
2207 * Extract spacing from XLFD atom
2208
22092003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2210
2211 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2212 disappeared in 1.30.
2213
2214 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2215
22162003-05-12 Keith Packard <keithp@keithp.com>
2217
2218 * Use FcIsWidth to share code
2219
2220 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2221 misclassifying some Han fonts as monospaced.
2222
22232003-05-07 Keith Packard <keithp@keithp.com>
2224
2225 * Add filename-based accept/reject to ammend available fonts.
2226
2227 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2228 older FreeType releases.
2229
22302003-05-06 Keith Packard <keithp@keithp.com>
2231
2232 * Remove 0b82 and Tamil numbers from tamil
2233 orthography (Jungshik Shin <jshin@mailaps.org>)
2234
22352003-05-04 Keith Packard <keithp@keithp.com>
86b12431
KP
2236
2237 + Map glyph names in fonts with adobe custom encoding to unicode
2238
8edb970e
KP
22392003-05-02 Keith Packard <keithp@keithp.com>
2240
2241 * Add FC_WEIGHT_BOOK as weight 75
2242
22432003-04-30 Keith Packard <keithp@keithp.com>
2244
2245 * Typo in bitstream foundry name
2246
22472003-04-24 Keith Packard <keithp@keithp.com>
2248
2249 * Eliminate italic_angle check for PS fonts
2250
22512003-04-23 Noah Levitt <nlevitt@columbia.edu>
2252
2253 * Getting closer to fixing /etc/fonts hard-coding.
2254
22552003-04-22 Keith Packard <keithp@keithp.com>
2256
2257 * Update autogen.sh to work with newer automake versions
2258 * Handle pattern elements moving during multiple edits
2259
8c87b429
KP
22602003-04-23 James Henstridge <james@daa.com.au>
2261
2262 * doc/fontconfig-devel.sgml: close the <para> element.
2263
2264 * doc/fcpattern.fncs: close the <para> element.
2265
2266 * doc/func.sgml: close the <refsynopsisdiv> element.
2267
8edb970e
KP
22682003-04-22 Keith Packard <keithp@keithp.com
2269
2270 * Update autogen.sh to work with newer automake versions
2271 * Handle pattern elements moving during multiple edits
2272
12d49d3c
CW
22732003-04-17 Colin Walters <walters@debian.org>
2274
2275 + Remove some unused variables, and initialize some other ones so
2276 gcc doesn't warn us.
2277
ab06f005
KP
22782003-04-16 Keith Packard <keithp@keithp.com>
2279
2280 + tag version 2.1.94
2281
22822003-04-16 Keith Packard <keithp@keithp.com>
2283
2284 + add BDF property fetching support for foundry
2285 (from Juliusz Chroboczek)
2286 + add BDF property fetching support for width
2287
22882003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2289
2290 + Implemented foundry generation for Type 1 and TrueType
2291
22922003-04-11 Gerard Escalante <g2@magestudios.net>
2293
2294 + Retrieve information from Type1 FontInfo dictionaries
2295
8c8caabd
CW
22962003-04-07 Colin Walters <walters@verbum.org>
2297
2298 + src/Makefile.am: Fix dummy makefile target names when
2299 MS_LIB_AVAILABLE isn't set.
2300
daeed6e0
TL
23012003-03-22 Tor Lillqvist <tml@iki.fi>
2302
2303 Changes for Windows:
2304
2305 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2306
2307 + We don't want to hardcode the fonts.conf file location in the
2308 DLL, so we look up the DLL location at run-time in a DllMain()
2309 function. The fonts.conf location is deduced from that.
2310
2311 + The colon can't be used as path separator on Windows,
2312 semicolon is used instead. File path components can be separated
2313 with either slash or backslash. Absolute paths can also begin
2314 with a drive letter.
2315
2316 + Add internal function FcStrLastSlash that strrchr's the last
2317 slash, or backslash on Windows.
2318
2319 + There is no link() on Windows. For atomicity checks, mkdir a
2320 lock directory instead.
2321
2322 + In addition to HOME, also look for USERPROFILE.
2323
2324 + Recognize the special font directory token WINDOWSFONTDIR, to
2325 use the system's font directory.
2326
2327 + Remove the fontconfig-def.cpp that was obsolete. Add
2328 fontconfig.def(.in), without internal functions.
2329
2330 + Add a fontconfig-zip(.in) script, used to build a binary
2331 distribution.
2332
dbe9a11e
MH
2333Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2334 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2335 to main package and man3/* to devel package
2336
2337 + Added missing defattr(-, root, root) to main RPM package
2338
2339 + Added HTML and text development documentation to -devel subpackage
2340
c92abf78
MH
2341Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2342 + Added back the configure macro options --disable-docs, otherwise
2343 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2344 version number) unconditionally, causing RPM to fail the build due
2345 to _unpackaged_files_terminate_build. We pick up the pregenerated
2346 docs with %doc already.
2347
b06766e4
MH
2348Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2349 + Removed commented out rpm macro define at top of spec file,
2350 replacing it with a simple explanation, since rpm macros are
2351 expanded by rpm even in comments.
2352
2353 + Changed /usr/bin to _bindir in BuildRequires lines
2354
2355 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2356
2357 + Reorganized file manifest lists
2358
2359Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
22dc6fc6
OT
2360
2361 + fontconfig.spec.in: Improvements from Red Hat spec file.
2362
2363 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2364
2365 + docs/*.sgml: SGML fixes.
2366
8fc10a72
KP
2367Sat Mar 1 17:28:53 PST 2003 keithp
2368 + Ok, so the ChangeLog is a bit out of date
2369
2370 + Lots of bugs fixed; most are in bugzilla, the
2371 biggest problems were in cache management where
2372 Owen discovered the library would lose badly when
2373 combining fonts-cache and ~/.fonts-cache data
2374
2375 + Converted from autoconf to automake. This after
2376 getting patches accepted into libtool to allow
2377 the '-version-number' argument which lets
2378 packages set version numbers explicitly rather
2379 than the roundabout libtool way
2380
2381 + Converted documentation to SGML using the docbook
2382 DTD. Now .txt and .html documents are installed
2383 in /usr/share/doc/fontconfig and there's no
2384 man page. Perhaps a man version can be written
2385 at some point.
2386
c2022f99
KP
2387Sat Aug 31 15:21:22 PDT 2002 keithp
2388 + Xrender and Xft had several bugs related to
2389 rendering manually placed or poly-face text
2390
2391 + Added more complete memory tracing in fontconfig
2392 Checked with (patched) mozilla and found no leaks
2393
2394 + Updated Latin orthographies by comparing those from
2395 evertype.com with those from eki.ee. Tried to make
2396 sensible choices, including chars that occured in both
2397 and leaving some optional chars out that occured only
2398 in one.
2399
2458a6d8 2400Mon Aug 26 16:33:04 PDT 2002 keithp
c2022f99 2401 + Owen discovered that FcLangSetHasLang wasn't actually
2458a6d8
KP
2402 checking the language set.
2403
5d6788ac
KP
2404Mon Aug 26 13:37:23 PDT 2002 keithp
2405 + Append a version number to cache filenames
2406
47d4f950
KP
2407Thu Aug 22 11:36:18 PDT 2002 keithp
2408
2409 + Add "contains" and "not_contains" operators and elements to
2410 font configuration
2411
2412 + Changed semantics of eq operator for LangSets to check for
2413 FcLangEqual so that any match will do
2414
2415 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2416 of FcValueEqual to check for identical values when inserting into
2417 the results. This broke when the above semantic change was made,
2418 now it uses FcValueEqual which is "more correct" in any case.
2419
d8d73958
KP
2420Thu Aug 22 00:32:29 PDT 2002 keithp
2421
2422 + Reimplement FC_LANG as new datatype. Lists of strings
2423 was consuming over a megabyte of memory for 401 fonts.
2424
2425 + Freeze patterns loaded from cache files. This shares
2426 common value lists and common patterns which saves
2427 considerable memory.
2428
2429 + Change the denotation of 'constant' charsets to use special
2430 ref value instead of separate boolean.
2431
2432 + Clean up leak tracing stuff, found several unannoted alloc/free
2433 calls
2434
2435Tue Aug 20 16:17:37 PDT 2002 keithp
2436
2437 + Fix memory leak when parsing matrices from XML
2438
2439Mon Aug 19 11:57:27 PDT 2002 keithp
2440
fa244f3d
KP
2441 + Fix autoconf files to pass FONTCONFIG_PATH on
2442 compile line so that ${prefix} gets substituted
2443 correctly.
2444
2445 + Use getc_unlocked/putc_unlocked on systems that
2446 provide them to avoid damage done to stdio by posix
2447
2448 + Eliminate FC_PATTERN and FcTypePattern in favor of
2449 an extended api for FcConfigSubstitute which takes
2450 both the font and the pattern.
2451
2452 + Add 'sans serif' alias for 'sans-serif' as some apps
2453 can't handle hyphens in family names
2454
2455 + Eliminate pretense of support for libxml2
2456
2457 + Comment origins of Han orthographies
2458
aefb2c41
KP
2459Tue Jul 30 18:37:09 PDT 2002 keithp
2460
2461 + Add binding property to edit element so that strong
2462 binding values may be inserted by the config file.
2463 The default remains weak.
2464
2465Sun 28 Jul 04:16:55 PDT 2002 keithp
2466
2467 + Tagged release candidate 1 in the CVS tree and
2468 placed fcpackage.rc1.tar.gz for distribution
2469
2470Thu Aug 1 08:55:08 PDT 2002 keithp
2471
2472 + Fixed autoconf builds to always specify install
2473 target files (for BSD). Also fixed to
2474 define FONTCONFIG_PATH in config.h so that
2475 nonstandard installs will actually work.