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