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