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