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