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