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