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