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