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