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