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