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