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