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