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