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