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