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