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