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