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