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