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