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