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