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