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