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