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