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