]> git.wh0rd.org Git - fontconfig.git/blob - ChangeLog
Check existence of directory cache file before attempting to unlink.
[fontconfig.git] / ChangeLog
1 2005-10-14  Mike Fabian  <mfabian@suse.de>
2         reviewed by: plam
3
4         * src/fccache.c (FcDirCacheUnlink):
5
6         Check existence of directory cache file before attempting to unlink.
7
8 2005-10-13  Patrick Lam  <plam@mit.edu>
9         * src/fccache.c (FcDirCacheUnlink):
10
11         Fix flipped return value on unlink.  (Reported by Mike Fabian)
12
13 2005-10-12  Patrick Lam  <plam@mit.edu>
14
15         * src/fccache.c:
16         * src/fcdir.c (FcDirScanConfig):
17         * src/fcint.h:
18
19         When fc-cache is run without --force, use directory cache files
20         to speed up fc-cache run time.  (Reported by Mike Fabian)
21
22 2005-10-06  Patrick Lam  <plam@mit.edu>
23
24         * src/fcname.c (FcObjectToPtr):
25         * src/fcpat.c (FcStrStaticName):
26
27         Add padding to make valgrind and glibc not hate each other
28         when calling strlen().
29
30 2005-10-05  Simos Xenitellis  <simos74@gmx.net>
31         reviewed by: plam & keithp
32
33         * fonts.conf.in:
34
35         Modify config file to use Greek fonts before Asian fonts with
36         Greek glyphs.
37
38 2005-10-05  Christian Biesinger  <cbiesinger@web.de>
39         reviewed by: plam & keithp
40
41         * src/Makefile.am:
42
43         Use libtool -no-undefined flag on all platforms.
44
45 2005-10-05  Patrick Lam  <plam@mit.edu>
46         * src/fccache.c (FcCacheHaveBank):
47
48         Implement move-to-front array for banks (perf regression
49         reported by Ronny V. Vindenes).
50
51 2005-10-04  Patrick Lam  <plam@mit.edu>
52         * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink, 
53                          FcDirCacheHasCurrentArch):
54         * fc-cache/fc-cache.c (scanDirs):
55         * fontconfig/fontconfig.h:
56
57         Add new API which unlinks directory caches and checks dir caches
58         for existence of appropriate sections.  Fix fc-cache to unlink
59         stale cache files and save directory caches that lack relevant
60         sections.
61
62 2005-10-03  Patrick Lam  <plam@mit.edu>
63         * src/fccache.c (FcDirCacheValid):
64
65         Ensure that a directory cache has the appropriate section
66         before reporting that it is valid (reported by Matthias Clasen).
67
68 2005-09-29  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
69
70         reviewed by: plam
71         
72         * configure.in:
73         * src/Makefile.am:
74         * src/fcxml.c:
75
76         Use libxml2 if requested (with --enable-libxml2) or if
77         expat is not available.
78
79 2005-09-29  Patrick Lam  <plam@mit.edu>
80         * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
81
82         Fix multi-arch cache files: compute the position for the
83         block to be added using info from OrigFile, not NewFile.
84
85 2005-09-28  Patrick Lam  <plam@mit.edu>
86         * src/fccache.c (FcCacheMachineSignature):
87
88         Cast results of sizeof() to unsigned int to get rid of
89         warnings on x86_64 (thanks Matthias Clasen).
90
91 2005-09-27  Patrick Lam  <plam@mit.edu>
92         * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
93                 FcDirCacheWrite):
94
95         Use FcAtomic to rewrite cache files.
96
97 2005-09-27  Patrick Lam  <plam@mit.edu>
98
99         * src/fccache.c (FcDirCacheWrite):
100
101         Don't unlink the fonts.cache-2 file even if there's no data
102         to write; just write an empty cache file.  (thanks Lubos Lunak)
103
104 2005-09-27  Patrick Lam  <plam@mit.edu>
105
106         * src/fccache.c (FcDirCacheWrite):
107
108         Allocate room for the subdirectory names in each
109         directory cache.  Thanks to James Cloos for finding
110         and diagnosing this bug!
111
112 2005-09-22  Patrick Lam  <plam@mit.edu>
113
114         * fc-cache/fc-cache.sgml:
115         * src/fccache.c (FcDirCacheWrite):
116         * src/fccache.h (struct FcCache):
117
118         Update documentation -- fc-cache's man page now says that you
119         need to run fc-cache once per cached architecture; add some
120         documentation to the FcCache structure.
121
122         Make fc-cache write out fonts.cache-2 files for directories with
123         no fonts (i.e. only subdirectories).
124         
125 2005-09-22  Patrick Lam    <plam@mit.edu>
126         * doc/edit-sgml.c:
127         * fc-cache/fc-cache.sgml:
128         * fc-case/fc-case.c:
129         * fc-glyphname/fc-glyphname.c:
130         * src/fcdefault.c:
131         * src/fcfreetype.c:
132         * src/fcinit.c:
133         * src/fcxml.c:
134
135         More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
136
137         * Makefile.am:
138         * configure.in:
139         * fc-lang/fc-lang.c:
140         * fontconfig/fcprivate.h:
141         * fontconfig/fontconfig.h:
142         * src/fccache.c:
143         * src/fccfg.c:
144         * src/fccharset.c:
145         * src/fcdbg.c:
146         * src/fcdir.c:
147         * src/fcfs.c:
148         * src/fcint.h:
149         * src/fclang.c:
150         * src/fclist.c:
151         * src/fcmatch.c:
152         * src/fcname.c:
153         * src/fcpat.c:
154
155         Implement new mmaped cache for font information.
156         Bump so revision to 2.3.90.
157
158 2005-07-25  Keith Packard  <keithp@keithp.com>
159
160         * doc/fontconfig-user.sgml:
161         * fc-glyphname/fc-glyphname.c: (scan), (main):
162         * fc-lang/fc-lang.c: (FcConfigHome):
163         * fc-match/fc-match.c: (main):
164         * src/fccfg.c: (FcConfigHome):
165         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
166         (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
167         (addtag), (FcFontCapabilities):
168         * src/fcpat.c: (FcValueListEntCreate):
169         * src/fcstr.c: (FcStrCaseWalkerInit):
170         * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
171
172         Various GCC 4 cleanups for signed vs unsigned char
173
174         Match only [0-9]*.conf files in <include>{directory}</include>
175         elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
176
177 2005-07-15  Carl Worth  <cworth@cworth.org>
178
179         * src/fcint.h:
180         * src/fcinit.c: (FcFini):
181         * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
182         FcPatternFini.
183         
184         * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
185         Pull the FcObjectStateName hash table out to file scope, and add
186         FcObjectStaticNameFini so that FcFini will cleanup this hash table
187         as well.
188
189         * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
190         fclose.
191
192 2005-06-16  Patrick Lam <plam@MIT.EDU>
193
194         reviewed by: keithp
195
196         * src/fccfg.c: (FcConfigCompareValue):
197         Make FcOpNotContains use FcStrStr for strings so that
198         it matches semantics for !FcOpContains.
199
200 2005-05-20  Keith Packard  <keithp@keithp.com>
201
202         * debian/changelog:
203         * debian/control:
204         Move fontconfig source package to libs as per override
205
206 2005-05-20  Aiet Kolkhi <aietkolkhi@gmail.com>
207
208         reviewed by: Mike Fabian
209
210         * fc-lang/ka.orth:
211         The ka.orth file requires several characters which are not 
212         used anymore in modern Georgian and which are missing in the free 
213         Georgian TrueType fonts downloadable at: 
214         
215         http://aiet.qartuli.net/docs/georgian_on_linux_en.php
216
217 2005-04-27  Keith Packard  <keithp@keithp.com>
218
219         * README:
220         * debian/changelog:
221         Update date to real 2.3.2 release date.
222         Fix change attributions
223         
224 2005-04-27  Keith Packard  <keithp@keithp.com>
225
226         * configure.in:
227         Bump so revision for 2.3.2
228         * fc-cache/fc-cache.c: (scanDirs):
229         Fix a few minor leaks in error cases.
230
231 2005-04-23  Keith Packard  <keithp@keithp.com>
232
233         * README:
234         * configure.in:
235         * debian/changelog:
236         * fontconfig/fontconfig.h:
237         Update for version 2.3.2
238
239 2005-04-21  Keith Packard  <keithp@keithp.com>
240
241         * debian/fontconfig.postinst:
242         Don't force bitmap font enable in default
243         configuration; allows users to override this in
244         ~/.fonts.conf
245         * debian/po/cs.po:
246         * debian/po/da.po:
247         * debian/po/de.po:
248         * debian/po/es.po:
249         * debian/po/fr.po:
250         * debian/po/ja.po:
251         * debian/po/nl.po:
252         * debian/po/pt.po:
253         * debian/po/pt_BR.po:
254         * debian/po/templates.pot:
255         * debian/po/tr.po:
256         * debian/po/zh_CN.po:
257         Updated translations
258         
259         * fc-cache/fc-cache.c: (main):
260         Destroy font configuration on exit to help valgrind
261         
262         * fonts.conf.in:
263         * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
264         (FcFreeTypeCheckGlyph):
265         Use own transcoding routines in preference to iconv
266         which appears to have leaks in some translators.
267         Call iconv_close after using iconv (oops).
268         
269         Prefer unicode encoding of Euro char as some
270         fonts mis-encode Euro in other ones.
271
272         Must fetch bitmap glyphs to get width values
273         to check for monospace/dual-width fonts.
274
275 2005-04-13  Ross Burton  <ross@burtonini.com>
276
277         * src/fcpat.c:
278         Check that a pattern isn't already frozen in FcPatternFreeze.
279
280 2005-03-31  Ross Burton  <ross@burtonini.com>
281
282         * src/fclist.c:
283         * src/fcmatch.c:
284         * src/fcpat.c:
285         Run all FcPattern objects through FcObjectStaticName, so that
286         compares can be done on pointers instead of strings (#2659)
287
288 2005-03-17  Tor Lillqvist  <tml@novell.com>
289
290         * src/fontconfig.def.in: Add the .dll to the dll name.
291
292 2005-03-10  Keith Packard  <keithp@keithp.com>
293
294         * debian/README.Debian:
295         Update to reflect configuration changes
296         * debian/changelog:
297         * debian/fontconfig.postinst:
298         Fix Autohint vs Autohinter mistake
299         * debian/fontconfig.templates:
300         Adopt changes from Josselin Mouette for configuration descriptions
301         Update debian to version 2.3.1-2
302
303 2005-03-08  Keith Packard  <keithp@keithp.com>
304
305         * debian/changelog:
306         * debian/rules:
307         Update debian for 2.3.1
308
309 2005-03-09  Tor Lillqvist  <tml@novell.com>
310
311         * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
312         put it, not "lib".
313
314         * src/fccfg.c (FcConfigFileExists): Check also drive letter
315         prefix on Win32.
316
317 2005-03-08  Keith Packard  <keithp@keithp.com>
318
319         * README:
320         * configure.in:
321         * fontconfig/fontconfig.h:
322         Update for 2.3.1
323
324 2005-03-05  Keith Packard  <keithp@keithp.com>
325
326         * src/fcfreetype.c: (addtag), (FcFontCapabilities):
327         Include space and remove numbers from valid script tags.
328         This ensures that tags like 'lao ' work while rejecting
329         those which have any digits.
330         Eliminate a spurious debugging variable (len)
331
332 2005-03-05  Keith Packard  <keithp@keithp.com>
333
334         * src/fcfreetype.c: (addtag), (GetScriptTags),
335         (FcFontCapabilities):
336         Rework GSUB/GPOS script parsing to survive broken fonts.
337         Thanks for the broken font go to Manish Singh
338
339 2005-03-05  Keith Packard  <keithp@keithp.com>
340
341         Josselin Mouette:
342         * debian/changelog:
343         * debian/control:
344         * debian/fontconfig.config:
345         * debian/fontconfig.templates:
346         * debian/rules:
347                 Include 2.3 release information in changelog
348                 Add Josselin Mouette as an Uploader
349                 Set hinting_type to low priority configuration option
350                 
351         Manish Singh:
352         * debian/fontconfig.postinst:
353                 yes_bitmaps.conf -> yes-bitmaps.conf
354                 
355         Funda Wang:
356         * src/fcfreetype.c:
357                 Johap -> Johab
358                 
359 2005-03-02  Keith Packard  <keithp@keithp.com>
360
361         * Makefile.am:
362         * conf.d/Makefile.am:
363         * conf.d/autohint.conf:
364         * conf.d/no-sub-pixel.conf:
365         * conf.d/sub-pixel.conf:
366         * conf.d/unhinted.conf:
367         * debian/autohint.conf:
368         * debian/fontconfig.install:
369         * debian/fontconfig.postinst:
370         * debian/fontconfig.templates:
371         * debian/no-sub-pixel.conf:
372         * debian/unhinted.conf:
373         Move debian-specific conf file examples upstream.
374         
375         Sub-pixel configuration examples must smash subpixel value
376         as Xft always sets it from X.
377
378         Change sub-pixel rendering debconf descriptions from
379         Enable/Disable to Always/Never.
380
381 2005-03-02  Keith Packard  <keithp@keithp.com>
382
383         * .cvsignore:
384         * conf.d/.cvsignore:
385         * doc/.cvsignore:
386         Ignore more build detritus
387
388         * Makefile.am:
389         Add debian package construction stuff.
390         
391         * config/config.guess:
392         * config/config.sub:
393         Update to newer versions of these tools
394         
395         * doc/Makefile.am:
396         Get library manuals to build again (we love automake).
397         
398         * debian/README.Debian:
399         * debian/autohint.conf:
400         * debian/changelog:
401         * debian/compat:
402         * debian/control:
403         * debian/copyright:
404         * debian/fontconfig-udeb.install:
405         * debian/fontconfig.config:
406         * debian/fontconfig.defoma:
407         * debian/fontconfig.dirs:
408         * debian/fontconfig.install:
409         * debian/fontconfig.postinst:
410         * debian/fontconfig.postrm:
411         * debian/fontconfig.templates:
412         * debian/libfontconfig1-dev.install:
413         * debian/libfontconfig1.install:
414         * debian/local.conf.md5sum:
415         * debian/no-sub-pixel.conf:
416         * debian/po/POTFILES.in:
417         * debian/po/cs.po:
418         * debian/po/da.po:
419         * debian/po/de.po:
420         * debian/po/es.po:
421         * debian/po/fr.po:
422         * debian/po/ja.po:
423         * debian/po/nl.po:
424         * debian/po/pt.po:
425         * debian/po/pt_BR.po:
426         * debian/po/templates.pot:
427         * debian/po/tr.po:
428         * debian/po/zh_CN.po:
429         * debian/rules:
430         * debian/unhinted.conf:
431         Update debian build system to switch maintainers and
432         deal with 2.3 functionality
433
434 2005-03-01  Keith Packard  <keithp@keithp.com>
435
436         * README:
437         * configure.in:
438         * fontconfig/fontconfig.h:
439         Update for 2.3.0
440
441 2005-03-01  Keith Packard  <keithp@keithp.com>
442
443         * doc/Makefile.am:
444         Generate and install PDF versions of the manuals
445
446         * doc/fcpattern.fncs:
447         Fix formatting
448         
449         * doc/fcstring.fncs:
450         Add missing exported functions, fix data types
451         
452         * doc/fontconfig-devel.sgml:
453         Add missing pattern elements.
454         
455         * doc/fontconfig-user.sgml:
456         Add missing pattern elements.  Document conf.d usage,
457         clarify available orthography list.  Fix some config file
458         attributes.  Complete list of constants.
459         
460         * fontconfig/fontconfig.h:
461         Mark FC_SOURCE deprecated.
462         
463         * src/fcfreetype.c: (FcFreeTypeQuery):
464         Don't set FC_SOURCE any longer.
465
466 2005-02-28  Keith Packard  <keithp@keithp.com>
467
468         * Makefile.am:
469         * conf.d/Makefile.am:
470         * conf.d/README:
471         * conf.d/no-bitmaps.conf:
472         * conf.d/sub-pixel.conf:
473         * conf.d/yes-bitmaps.conf:
474         * configure.in:
475         Create prototype /etc/fonts/conf.d directory with a few
476         sample configuration files.
477         Deprecate use of local.conf for local customizations in favor of
478         this directory based scheme which is more easily integrated into
479         installation systems.
480         
481         * src/fcname.c:
482         Tag FC_EMBOLDEN as a boolean variable
483
484 2005-02-10  Keith Packard  <keithp@keithp.com>
485
486         reviewed by: pborelli@katamail.com
487
488         * src/fcdir.c: (FcFileScanConfig):
489         Free patterns from fonts which are rejected by configuration
490         (bug #2518)
491
492 2005-01-28  Keith Packard  <keithp@keithp.com>
493
494         * README:
495         * configure.in:
496         * fontconfig/fontconfig.h:
497         Update for version 2.2.99
498
499 2005-01-28  Keith Packard  <keithp@keithp.com>
500
501         * README:
502         Add a few pointers (#2284, #2285)
503
504 2005-01-28  Keith Packard  <keithp@keithp.com>
505
506         * src/fcint.h:
507         * src/fcname.c: (FcNameBool):
508         * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
509         (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
510         (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
511         Polite typechecking for test and edit expressions.  Helps
512         catch errors in the font configuration. (bug 229)
513
514 2005-01-15  Alan Coopersmith <alan.coopersmith@sun.com>
515
516         reviewed by: Keith Packard <keithp@keithp.com>
517
518         * configure.in:
519         Have --with-expat set EXPAT_CFLAGS (bug 2278)
520
521 2005-01-13  Keith Packard  <keithp@keithp.com>
522
523         * doc/fontconfig-user.sgml:
524         Add SEE ALSO section (bug 2085)
525         
526 2005-01-13  J. Ali Harlow <ali@juiblex.co.uk>
527
528         reviewed by: Keith Packard  <keithp@keithp.com>
529
530         * Makefile.am:
531         * configure.in:
532         * doc/Makefile.am:
533         * fc-case/Makefile.am:
534         * fc-glyphname/Makefile.am:
535         * fc-lang/Makefile.am:
536         * src/fontconfig.def.in:
537         Cross compiling fixes (bug 280)
538
539 2005-01-13  Keith Packard  <keithp@keithp.com>
540
541         * fonts.conf.in:
542         Update blanks list (Closes bug 86)
543
544 2005-01-04  Keith Packard  <keithp@keithp.com>
545
546         * src/fccache.c: (FcCacheFontSetAdd):
547         Verify that every font pattern loaded from cache has
548         both FC_FILE and FC_FAMILY entries.
549         Attempt to fix bug #2219.
550
551 2004-12-29  Keith Packard  <keithp@keithp.com>
552
553         * README:
554         * configure.in:
555         * fontconfig/fontconfig.h:
556         Update for version 2.2.98
557
558 2004-12-29  Keith Packard  <keithp@keithp.com>
559
560         * fontconfig/fontconfig.h:
561         Document ASCII limitations of Fc character conversion macros
562         * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
563         Fix off-by-one error in utf-8 case walking code.
564         Add FcStrDowncase (useful for testing case conversion functions)
565
566 2004-12-29  Keith Packard  <keithp@keithp.com>
567
568         * .cvsignore:
569         * fc-case/.cvsignore:
570         clean up CVS ignore lists
571         * fc-lang/iso-3166.txt:
572         Add territory database
573         
574 2004-12-29   Tor Andersson <tor.andersson@gmail.com>
575
576         Reviewed by: Keith Packard
577         
578         * fc-lang/ko.orth:
579         Remove Han characters from Korean orthography
580
581 2004-12-29  Keith Packard  <keithp@keithp.com>
582
583         * Makefile.am:
584         Reorder utility programs to make sure fc-case is run before fc-lang
585         as fc-lang uses fcstr.c which uses fccase.h
586         * fonts.conf.in:
587         Fix broken XML
588
589 2004-12-29  Keith Packard  <keithp@keithp.com>
590
591         * fonts.conf.in:
592         Adopt some RedHat suggestions for standard font configuration.
593
594         * Makefile.am:
595         * configure.in:
596         * fc-case/CaseFolding.txt:
597         * fc-case/Makefile.am:
598         * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
599         (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
600         (dump), (parseRaw), (caseFoldReadRaw), (main):
601         * fc-case/fccase.tmpl.h:
602         Add new helper program 'fc-case' to construct case folding
603         tables from standard Unicode CaseFolding.txt file
604         
605         * src/fcint.h:
606         * src/fclist.c: (FcListValueHash):
607         * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
608         (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
609         (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
610         (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
611         (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
612         Re-implement case insensitive functions with Unicode
613         aware versions (including full case folding mappings)
614
615 2004-12-13  Keith Packard  <keithp@keithp.com>
616
617         reviewed by: Owen Taylor <otaylor@redhat.com>
618
619         * src/fcmatch.c: (FcFontSetSort):
620         I changed FcFontSetSort to respect the generic aliases better
621         in the face of language matching.
622         
623         What I did was to ammend the strict sort order used by FcFontSort so
624         that it 'satisfies' the language specified in the pattern by locating
625         the best matching font supporting each pattern language and then
626         ignores language in the remaining fonts for purposes of matching.
627
628         So, when asking for 'sans:lang=en', you'll get an English font first,
629         and then the remaining fonts sorted with respect to the 'sans' alias
630         alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
631
632 2004-12-10  Jakub Pavelek <jakub.pavelek@nokia.com>
633
634         reviewed by: Keith Packard  <keithp@keithp.com>
635
636         * fontconfig/fontconfig.h:
637         * fonts.conf.in:
638
639         Configuration changes to request synthetic emboldening of
640         fonts.  The actual emboldening code will live in Xft.
641
642 2004-12-09  John Thacker <thacker@math.cornell.edu>
643
644         reviewed by: Keith Packard  <keithp@keithp.com>
645
646         * fc-lang/ru.orth:
647         
648         Currently Russian (ru) requires 0406 and 0456 (І and Ñ–), but these
649         were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
650         Ð¸), and don't even appear in KOI8-R.  (The hypothesis that they
651         don't appear in KOI8-R due to their similarity with Latin I and i is
652         eliminated by their presence in KOI8-U.)  I have a couple of fonts
653         with Russian support that don't have the letter.
654
655         Therefore, 0406 and 0456 should be removed from or commented out of
656         ru.orth
657
658 2004-12-06  michael meeks <mmeeks@novell.com>
659
660         Reviewed by: Keith Packard  <keithp@keithp.com>
661
662         * src/fcinit.c: (FcMemReport):
663         * src/fcint.h:
664         * src/fclist.c: (FcObjectSetAdd):
665         * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
666         (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
667         * src/fcxml.c: (FcParsePatelt):
668         memoize strings and share a single copy for all uses.  Note that
669         this could be improved further by using statically allocated blocks
670         and gluing multiple strings together, but I'm basically lazy.
671         In my environment with 800 font files, I get a savings of about 90KB.
672
673 2004-12-06  Keith Packard  <keithp@keithp.com>
674
675         * COPYING:
676         * Makefile.am:
677         * config/Makedefs.in:
678         * configure.in:
679         * doc/edit-sgml.c:
680         * doc/fcatomic.fncs:
681         * doc/fcblanks.fncs:
682         * doc/fccharset.fncs:
683         * doc/fcconfig.fncs:
684         * doc/fcconstant.fncs:
685         * doc/fcfile.fncs:
686         * doc/fcfontset.fncs:
687         * doc/fcfreetype.fncs:
688         * doc/fcinit.fncs:
689         * doc/fcmatrix.fncs:
690         * doc/fcobjectset.fncs:
691         * doc/fcobjecttype.fncs:
692         * doc/fcpattern.fncs:
693         * doc/fcstring.fncs:
694         * doc/fcstrset.fncs:
695         * doc/fcvalue.fncs:
696         * doc/fontconfig-devel.sgml:
697         * doc/fontconfig-user.sgml:
698         * doc/func.sgml:
699         * doc/version.sgml.in:
700         * fc-cache/Makefile.am:
701         * fc-cache/fc-cache.c:
702         * fc-glyphname/Makefile.am:
703         * fc-glyphname/fc-glyphname.c:
704         * fc-glyphname/fcglyphname.tmpl.h:
705         * fc-lang/Makefile.am:
706         * fc-lang/aa.orth:
707         * fc-lang/ab.orth:
708         * fc-lang/af.orth:
709         * fc-lang/am.orth:
710         * fc-lang/ar.orth:
711         * fc-lang/ast.orth:
712         * fc-lang/ava.orth:
713         * fc-lang/ay.orth:
714         * fc-lang/az.orth:
715         * fc-lang/az_ir.orth:
716         * fc-lang/ba.orth:
717         * fc-lang/bam.orth:
718         * fc-lang/be.orth:
719         * fc-lang/bg.orth:
720         * fc-lang/bh.orth:
721         * fc-lang/bho.orth:
722         * fc-lang/bi.orth:
723         * fc-lang/bin.orth:
724         * fc-lang/bn.orth:
725         * fc-lang/bo.orth:
726         * fc-lang/br.orth:
727         * fc-lang/bs.orth:
728         * fc-lang/bua.orth:
729         * fc-lang/ca.orth:
730         * fc-lang/ce.orth:
731         * fc-lang/ch.orth:
732         * fc-lang/chm.orth:
733         * fc-lang/chr.orth:
734         * fc-lang/co.orth:
735         * fc-lang/cs.orth:
736         * fc-lang/cu.orth:
737         * fc-lang/cv.orth:
738         * fc-lang/cy.orth:
739         * fc-lang/da.orth:
740         * fc-lang/de.orth:
741         * fc-lang/dz.orth:
742         * fc-lang/el.orth:
743         * fc-lang/en.orth:
744         * fc-lang/eo.orth:
745         * fc-lang/es.orth:
746         * fc-lang/et.orth:
747         * fc-lang/eu.orth:
748         * fc-lang/fa.orth:
749         * fc-lang/fc-lang.c:
750         * fc-lang/fc-lang.man:
751         * fc-lang/fclang.tmpl.h:
752         * fc-lang/fi.orth:
753         * fc-lang/fj.orth:
754         * fc-lang/fo.orth:
755         * fc-lang/fr.orth:
756         * fc-lang/ful.orth:
757         * fc-lang/fur.orth:
758         * fc-lang/fy.orth:
759         * fc-lang/ga.orth:
760         * fc-lang/gd.orth:
761         * fc-lang/gez.orth:
762         * fc-lang/gl.orth:
763         * fc-lang/gn.orth:
764         * fc-lang/gu.orth:
765         * fc-lang/gv.orth:
766         * fc-lang/ha.orth:
767         * fc-lang/haw.orth:
768         * fc-lang/he.orth:
769         * fc-lang/hi.orth:
770         * fc-lang/ho.orth:
771         * fc-lang/hr.orth:
772         * fc-lang/hu.orth:
773         * fc-lang/hy.orth:
774         * fc-lang/ia.orth:
775         * fc-lang/ibo.orth:
776         * fc-lang/id.orth:
777         * fc-lang/ie.orth:
778         * fc-lang/ik.orth:
779         * fc-lang/io.orth:
780         * fc-lang/is.orth:
781         * fc-lang/iso639-2:
782         * fc-lang/it.orth:
783         * fc-lang/iu.orth:
784         * fc-lang/ja.orth:
785         * fc-lang/ka.orth:
786         * fc-lang/kaa.orth:
787         * fc-lang/ki.orth:
788         * fc-lang/kk.orth:
789         * fc-lang/kl.orth:
790         * fc-lang/km.orth:
791         * fc-lang/kn.orth:
792         * fc-lang/ko.orth:
793         * fc-lang/kok.orth:
794         * fc-lang/ks.orth:
795         * fc-lang/ku.orth:
796         * fc-lang/ku_ir.orth:
797         * fc-lang/kum.orth:
798         * fc-lang/kv.orth:
799         * fc-lang/kw.orth:
800         * fc-lang/ky.orth:
801         * fc-lang/la.orth:
802         * fc-lang/lb.orth:
803         * fc-lang/lez.orth:
804         * fc-lang/lo.orth:
805         * fc-lang/lt.orth:
806         * fc-lang/lv.orth:
807         * fc-lang/mg.orth:
808         * fc-lang/mh.orth:
809         * fc-lang/mi.orth:
810         * fc-lang/mk.orth:
811         * fc-lang/ml.orth:
812         * fc-lang/mn.orth:
813         * fc-lang/mo.orth:
814         * fc-lang/mr.orth:
815         * fc-lang/mt.orth:
816         * fc-lang/my.orth:
817         * fc-lang/nb.orth:
818         * fc-lang/nds.orth:
819         * fc-lang/ne.orth:
820         * fc-lang/nl.orth:
821         * fc-lang/nn.orth:
822         * fc-lang/no.orth:
823         * fc-lang/ny.orth:
824         * fc-lang/oc.orth:
825         * fc-lang/om.orth:
826         * fc-lang/or.orth:
827         * fc-lang/os.orth:
828         * fc-lang/pl.orth:
829         * fc-lang/ps_af.orth:
830         * fc-lang/ps_pk.orth:
831         * fc-lang/pt.orth:
832         * fc-lang/rm.orth:
833         * fc-lang/ro.orth:
834         * fc-lang/ru.orth:
835         * fc-lang/sa.orth:
836         * fc-lang/sah.orth:
837         * fc-lang/sco.orth:
838         * fc-lang/se.orth:
839         * fc-lang/sel.orth:
840         * fc-lang/sh.orth:
841         * fc-lang/si.orth:
842         * fc-lang/sk.orth:
843         * fc-lang/sl.orth:
844         * fc-lang/sm.orth:
845         * fc-lang/sma.orth:
846         * fc-lang/smj.orth:
847         * fc-lang/smn.orth:
848         * fc-lang/sms.orth:
849         * fc-lang/so.orth:
850         * fc-lang/sq.orth:
851         * fc-lang/sr.orth:
852         * fc-lang/sv.orth:
853         * fc-lang/sw.orth:
854         * fc-lang/syr.orth:
855         * fc-lang/ta.orth:
856         * fc-lang/te.orth:
857         * fc-lang/tg.orth:
858         * fc-lang/th.orth:
859         * fc-lang/ti_er.orth:
860         * fc-lang/ti_et.orth:
861         * fc-lang/tig.orth:
862         * fc-lang/tk.orth:
863         * fc-lang/tl.orth:
864         * fc-lang/tn.orth:
865         * fc-lang/to.orth:
866         * fc-lang/tr.orth:
867         * fc-lang/ts.orth:
868         * fc-lang/tt.orth:
869         * fc-lang/tw.orth:
870         * fc-lang/tyv.orth:
871         * fc-lang/ug.orth:
872         * fc-lang/uk.orth:
873         * fc-lang/ur.orth:
874         * fc-lang/uz.orth:
875         * fc-lang/ven.orth:
876         * fc-lang/vi.orth:
877         * fc-lang/vo.orth:
878         * fc-lang/vot.orth:
879         * fc-lang/wa.orth:
880         * fc-lang/wen.orth:
881         * fc-lang/wo.orth:
882         * fc-lang/xh.orth:
883         * fc-lang/yap.orth:
884         * fc-lang/yi.orth:
885         * fc-lang/yo.orth:
886         * fc-lang/zh_cn.orth:
887         * fc-lang/zh_hk.orth:
888         * fc-lang/zh_mo.orth:
889         * fc-lang/zh_sg.orth:
890         * fc-lang/zh_tw.orth:
891         * fc-lang/zu.orth:
892         * fc-list/Makefile.am:
893         * fc-list/fc-list.c:
894         * fc-match/Makefile.am:
895         * fc-match/fc-match.1:
896         * fc-match/fc-match.c:
897         * fontconfig/fcfreetype.h:
898         * fontconfig/fcprivate.h:
899         * fontconfig/fontconfig.h:
900         * src/fcatomic.c:
901         * src/fcblanks.c:
902         * src/fccache.c:
903         * src/fccfg.c:
904         * src/fccharset.c:
905         * src/fcdbg.c:
906         * src/fcdefault.c:
907         * src/fcdir.c:
908         * src/fcfreetype.c:
909         * src/fcfs.c:
910         * src/fcinit.c:
911         * src/fcint.h:
912         * src/fclang.c:
913         * src/fclist.c:
914         * src/fcmatch.c:
915         * src/fcmatrix.c:
916         * src/fcname.c:
917         * src/fcpat.c:
918         * src/fcstr.c:
919         * src/fcxml.c:
920         Change files from ISO-Latin-1 to UTF-8
921
922 2004-12-04  Keith Packard  <keithp@keithp.com>
923
924         * INSTALL:
925         Update links to new freedesktop.org locations
926         * Makefile.am:
927         Add uninstall-local to get rid of fonts.conf and local.conf if they
928         match the distributed versions.  Fixes 'make distcheck'
929
930 2004-12-04  Keith Packard  <keithp@keithp.com>
931
932         * README:
933         * configure.in:
934         * fontconfig/fontconfig.h:
935         Updates for version 2.2.97
936
937 2004-12-04  Owen Taylor  <otaylor@redhat.com>
938
939         reviewed by: Keith Packard  <keithp@keithp.com>
940
941         * fc-cache/fc-cache.c: (main):
942         Sleep for two seconds before exiting to make sure timestamps
943         for future changes have distinct mod times in the file system.
944         Bug #1982.
945         * fc-lang/pa.orth:
946         Add Punjabi orthography.  Bug #1671.
947
948 2004-12-04  Keith Packard  <keithp@keithp.com>
949
950         * fonts.conf.in:
951         Just remove the FC_FONTDATE -- it has locale issues and
952         annoys redhat multi-arch installs.  Now that all X fonts are
953         included without prejudice, the chances of the date being at
954         all interesting are rather limited.  Bug #505.
955         * src/Makefile.am:
956         Add copyright and license
957
958 2004-12-04  Keith Packard  <keithp@keithp.com>
959
960         * configure.in:
961         Change default set of fonts to include all of
962         /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
963         * doc/fontconfig-user.sgml:
964         Document new <include>directory-name</include> semantics
965         * fonts.conf.in:
966         add <include ignore_missing="yes">conf.d</include>
967         * local.conf:
968         Add selectfont to ignore bitmap fonts, add comment for
969         selectfont which accepts bitmap fonts.
970         * src/fcdir.c:
971         * src/fcint.h:
972         * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
973         Allow <include> configuration elements to reference directories.
974         Parse and load all files of the form [0-9]* in sorted order.
975
976 2004-12-04  Keith Packard  <keithp@keithp.com>
977
978         * autogen.sh:
979         Report command line for $srcdir/configure accurately.
980         Bug #212.
981
982 2004-12-04  Keith Packard  <keithp@keithp.com>
983
984         * src/fcfreetype.c: (FcFreeTypeQuery):
985         Check for non-empty face->family_name and face->style_name
986         before using those for the font.  Empty names match everything.
987         Bug #210.
988
989 2004-12-04  Keith Packard  <keithp@keithp.com>
990
991         * configure.in:
992         * fontconfig/fontconfig.h:
993         * src/fcfreetype.c: (FcFreeTypeQuery):
994         * src/fcname.c:
995         Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
996         available.  This provides font file format information (BDF, Type 1,
997         PCF, TrueType) for each font.  Closes #109.
998
999 2004-12-04  Daniel Glassey <danglassey@ntlworld.com>
1000
1001         reviewed by: Keith Packard  <keithp@keithp.com>
1002
1003         * doc/fontconfig-user.sgml:
1004         Fix typo.
1005         
1006         * fontconfig/fontconfig.h:
1007         * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1008         (GetScriptTags), (FcFontCapabilities):
1009         * src/fcname.c:
1010         Add detection for font capabilities (bug #105)
1011
1012 2004-12-04  Keith Packard  <keithp@keithp.com>
1013
1014         * Makefile.am:
1015         Move existing fonts.conf to fonts.conf.bak
1016         
1017         * configure.in:
1018         Add detection of iconv
1019         
1020         * doc/fcpattern.fncs:
1021         * doc/fontconfig-devel.sgml:
1022         * doc/fontconfig-user.sgml:
1023         * fonts.dtd:
1024         Document new selectfont elements
1025         
1026         * fc-lang/nb.orth:
1027         Switch to UTF-8 in comment
1028         
1029         * fontconfig/fontconfig.h:
1030         * src/fcname.c:
1031         Add fullname, and family/style/fullname language entries
1032         
1033         * src/fccache.c: (FcCacheFontSetAdd):
1034         * src/fcdir.c: (FcFileScanConfig):
1035         Respect selectfont/*/glob
1036         
1037         * src/fcint.h:
1038         * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1039         (FcConfigCompareValue), (FcConfigPatternsAdd),
1040         (FcConfigPatternsMatch), (FcConfigAcceptFont):
1041         * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1042         (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1043         (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1044         Add support for selectfont
1045         
1046         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1047         (FcStringInPatternElement), (FcFreeTypeQuery):
1048         Add multi-lingual family/style/fullname support
1049         
1050         * src/fclist.c: (FcListPatternMatchAny):
1051         Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1052         
1053         * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1054         (FcObjectStaticName):
1055         Add new FcPatternRemove/FcPatternAppend.
1056         FcObjectStaticName stores computed pattern element names which
1057         are required to be static.
1058         
1059 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1060
1061         reviewed by: keithp
1062
1063         * Makefile.am:
1064         Remove spurious / after $(DESTDIR)
1065
1066 2004-06-30  Keith Packard  <keithp@keithp.com>
1067
1068         * README:
1069         * configure.in:
1070         * fontconfig/fontconfig.h:
1071         Update for 2.2.96
1072
1073 2004-06-30  Keith Packard  <keithp@keithp.com>
1074
1075         Provided by: Lubos Lunak <l.lunak@suse.cz>
1076
1077         * src/fccfg.c: (FcConfigUptoDate):
1078         However FcConfigUptoDate() doesn't seem to work. See the attached
1079         patch.  First there's an obvious misplaced parenthesis making it
1080         return always false, and second, even this call fails to detect font
1081         changes (e.g.  adding a new font to 
1082         /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1083         well. The problem seems to be triggered by my fonts.conf specifying
1084         only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1085         doesn't include subdirs, unlike config->fontDirs.
1086
1087 2004-06-03  Keith Packard  <keithp@keithp.com>
1088
1089         * fontconfig/fontconfig.h:
1090         Remove comma at end of FcResult enum definition.
1091
1092 2004-05-29  Keith Packard  <keithp@keithp.com>
1093
1094         * INSTALL:
1095         Add steps to md5sum release
1096
1097 2004-05-29  Keith Packard  <keithp@keithp.com>
1098
1099         * README:
1100         * configure.in:
1101         * fontconfig/fontconfig.h:
1102         Update for 2.2.95
1103
1104 2004-05-29  Keith Packard  <keithp@keithp.com>
1105
1106         * fontconfig/fontconfig.h:
1107         * src/fcmatch.c: (FcFontSetMatch):
1108         Add FcResultOutOfMemory to provide an accurate error when
1109         FcFontSetMatch fails in this way
1110         
1111         * src/fcfreetype.c:
1112         Make #warning about lacking various FreeType features indicate
1113         which version those features appeared so users know how to
1114         fix the problem (Thanks to Anton Tropashko)
1115
1116 2004-05-05  Keith Packard  <keithp@keithp.com>
1117
1118         * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1119         Replace MIN/MAX/ABS macros which happen to have come
1120         from FreeType with fontconfig-specific ones (FC_*)
1121
1122 2004-04-23  Keith Packard  <keithp@keithp.com>
1123
1124         * INSTALL:
1125         Extend release preparation instructions to include
1126         notification and distribution steps
1127
1128 2004-04-23  Keith Packard  <keithp@keithp.com>
1129
1130         * README:
1131         * configure.in:
1132         * fontconfig/fontconfig.h:
1133         Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1134
1135 2004-04-23  Keith Packard  <keithp@keithp.com>
1136
1137         * .cvsignore:
1138         Ignore a few more autotool files
1139
1140 2004-04-14  Keith Packard  <keithp@keithp.com>
1141
1142         * INSTALL:
1143         Add instructions for doing a release
1144         
1145         * fontconfig.spec.in:
1146         clean up .spec file; perhaps this will be useful to somebody...
1147
1148         * README:
1149         * configure.in:
1150         * fontconfig/fontconfig.h:
1151         Update to 2.2.93
1152         
1153         * fc-lang/fc-lang.c:
1154         Make 'scanopen' static so GCC doesn't whine about lacking prototype
1155         
1156         * fc-glyphname/Makefile.am:
1157         * fc-lang/Makefile.am:
1158         * fc-list/Makefile.am:
1159         * fc-match/Makefile.am:
1160         * src/Makefile.am:
1161         Add WARN_CFLAGS to pass -W flags for GCC systems
1162         
1163         * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1164         (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1165         Change various char types around to match across
1166         function calls.
1167         Fixed bug in using available_sizes[i].height which 
1168         is in pixels, not 64ths of a pixel.
1169
1170 2004-03-06  Keith Packard  <keithp@keithp.com>
1171
1172         * src/fcfreetype.c: (FcFreeTypeQuery):
1173         Force FC_FOUNDRY and FC_WIDTH to always be set so that
1174         matches looking for explicit values prefer exact matches
1175
1176 2004-03-02  Keith Packard  <keithp@keithp.com>
1177
1178         Supplied by: mfabian@suse.de (Mike FABIAN)
1179
1180         * src/fcfreetype.c: (FcFreeTypeQuery):
1181         Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1182         Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1183
1184 2004-02-21  Manish Singh  <yosh@gimp.org>
1185
1186         * fc-glyphname/fc-glyphname.c: (main):
1187         Cast strlen to int for printf, so we're 64-bit clean.
1188
1189 2004-02-11  Keith Packard  <keithp@keithp.com>
1190
1191         * configure.in:
1192         * src/fcfreetype.c: (FcGetPixelSize):
1193         Ok, so I messed up the test for y_ppem.  Let's see if I
1194         got it right this time.
1195
1196 2004-02-10  Keith Packard  <keithp@keithp.com>
1197
1198         * configure.in:
1199         * src/fcfreetype.c: (FcGetPixelSize):
1200         Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1201         FT_Bitmap_Size record.  Add a configure.in test for this
1202         and change the code accordingly (using height instead).
1203
1204 2004-02-06  Keith Packard  <keithp@keithp.com>
1205
1206         * fc-lang/nds.orth:
1207         Add Low Saxon orthography 
1208                 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1209                 
1210         * src/fccfg.c: (FcConfigNewestFile):
1211         Oops.  Left 'newest.set' unset, which would miscompute
1212         the newest file
1213         
1214         * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1215         (FcFreeTypeCheckGlyph):
1216         Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1217         font properties (which report the wrong value in current FreeType)
1218
1219         Don't attempt to check for empty glyphs in non-scalable fonts; they
1220         have no outlines...
1221
1222 2004-02-01  Tor Lillqvist  <tml@iki.fi>
1223
1224         * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1225         GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1226         cache if config->cache is NULL, which happens if FcConfigHome() is
1227         NULL. Guard against that by using the temp folder in that case.
1228
1229 2004-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
1230
1231         * fc-lang/az_ir.orth:
1232         * fc-lang/ku_ir.orth:
1233         * fc-lang/ps_af.orth:
1234         * fc-lang/ps_pk.orth:
1235         Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1236         (Afghan and Pakistani).
1237         * fc-lang/ur.orth:
1238         Updated Urdu orthography with real data.
1239
1240 2003-12-11  Carl Worth  <cworth@east.isi.edu>
1241
1242         * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1243         USEDOCBOOK' block.
1244
1245         * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1246         USEDOCBOOK' block.
1247         (all-local): Remove excessive whitespace.
1248
1249         * autogen.sh: Add 'set -e' to abort when any program fails,
1250         (avoids printing of 'now type make' after configure aborts).
1251
1252 2003-11-17   Eric Christopherson  <rakko@charter.net>
1253
1254         reviewed by: Keith Packard  <keithp@keithp.com>
1255
1256         * doc/Makefile.am:
1257         * fontconfig/fcfreetype.h:
1258         * src/fcfreetype.c:
1259         Switch to FreeType 2.1.7 style includes.  Bug #150.
1260
1261 2003-11-16  Noah Levitt  <nlevitt@columbia.edu>
1262
1263         * fc-list/fc-list.sgml: Add some example usages.
1264
1265 2003-11-10  Roozbeh Pournader  <roozbeh@sharif.edu>
1266
1267         * src/fcxml.c:
1268         Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1269         separators.
1270
1271 2003-10-27  Keith Packard  <keith@keithp.com>
1272
1273         * configure.in:
1274         * fontconfig/fontconfig.h:
1275         Update to version 2.2.92
1276
1277 2003-10-27  Keith Packard  <keithp@keithp.com>
1278
1279         * Makefile.am:
1280         * configure.in:
1281         * doc/Makefile.am:
1282         * fc-cache/Makefile.am:
1283         * fc-glyphname/Makefile.am:
1284         * fc-lang/Makefile.am:
1285         * fc-list/Makefile.am:
1286         * fc-match/Makefile.am:
1287         * test/Makefile.am:
1288         * test/run-test.sh:
1289         Yet more cleanups to finish getting 'make distcheck' working
1290         This has been tested to ensure that it even works from a _build
1291         directory.
1292
1293 2003-10-26  Keith Packard  <keithp@keithp.com>
1294
1295         * configure.in:
1296         * doc/Makefile.am:
1297         * fc-cache/Makefile.am:
1298         * fc-glyphname/Makefile.am:
1299         * fc-lang/Makefile.am:
1300         * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1301         * fc-list/Makefile.am:
1302         * fc-match/Makefile.am:
1303         Attempts to fix 'make distcheck' work.  Things are
1304         progressing pretty well, but there are still failures
1305         long into the process dealing with docs (as always).
1306         
1307         The big changes here are mostly to make $(srcdir) != "."
1308         work correctly, fixing the docbook related sections and
1309         fc-lang were particularily tricky.  Docbook refuses to load
1310         system entities from anywhere other than where the original .sgml
1311         file was located, so no luck looking in "." for the
1312         configure-generated version.sgml and confdir.sgml files.
1313
1314         fc-lang needed help finding .orth files; added a -d option
1315         to set the directory as the least evil of many options.
1316
1317         Now to go use a faster machine and try and wring out the last
1318         issues.
1319
1320 2003-10-26  Keith Packard  <keithp@keithp.com>
1321
1322         Tag version 2.2.91
1323
1324 2003-10-26  Keith Packard  <keithp@keithp.com>
1325
1326         * doc/Makefile.am:
1327         Include confdir.sgml.in in EXTRA_DIST
1328
1329 2003-10-09  Josselin Mouette  <joss@debian.org>
1330
1331         * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1332         * fc-list/fc-list.sgml fc-list/Makefile.am:
1333           Replace fc-cache and fc-list manpages with more detailed, SGML
1334           versions.
1335
1336 2003-09-23  Owen Taylor <otaylor@redhat.com>
1337
1338         * fontconfig/fontconfig.h  src/fcdefault.c (FcDefaultSubstitute)
1339         src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1340         possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1341         (Bug #117)
1342
1343 2003-09-23  Owen Taylor <otaylor@redhat.com>
1344
1345         * fc-lang/ka.orth: Remove Georgian capitals, they
1346         aren't used for normal writing. (Bug #116)
1347
1348 2003-09-06  Noah Levitt  <nlevitt@columbia.edu>
1349
1350         * doc/fontconfig-devel.sgml:
1351         * doc/fontconfig-user.sgml:
1352         * fontconfig/fontconfig.h:
1353         * src/fcname.c:
1354         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1355         value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1356
1357         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1358         monospace and dual-width fonts, allow roughly a 3% variance in the
1359         advances.
1360
1361 2003-08-31  Manish Singh  <yosh@gimp.org>
1362
1363         * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1364         use default config.
1365
1366 2003-08-15  Carl Worth  <cworth@isi.edu>
1367
1368         * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1369         (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1370
1371         * src/fcpat.c (FcValueListEntDestroy): New function to support
1372         FcFini memory cleanup. Some statistics are not kept in
1373         synch. here.
1374         (FcValueListFreeze): Move hashTable outside this function so it
1375         can be accessed by FcValueListThawAll.
1376         (FcValueListThawAll): New function complements FcValueListFreeze.
1377         (FcPatternBaseFreeze): Move hashTable outside this function so it
1378         can be accessed by FcPatternBaseThawAll.
1379         (FcPatternBaseThawAll): New function complements
1380         FcPatternBaseFreeze.
1381         (FcPatternThawAll): New function complements FcPatternFreeze.
1382
1383         * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1384
1385         * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1386         allocated FcCharLeafEnt "blocks" so they can be freed later.
1387         (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1388         can be accessed by FcCharSetThawAllLeaf.
1389         (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1390         (FcCharSetFreezeBase): Move hashTable outside this function so it
1391         can be accessed by FcCharSetThawAll.
1392         (FcCharSetThawAll): New function complements FcCharSetFreeze.
1393
1394         * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1395         (FcConfigDestroy): Fic leak of FcBlanks.
1396
1397         * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1398         (main): Add call to FcFini when finished.
1399
1400         * fc-glyphname/fc-glyphname.c: Mark several local functions as
1401         static. Add prototypes.
1402
1403         * doc/fcinit.fncs: Add documentation for FcFini function.
1404
1405         * doc/edit-sgml.c: Mark several local functions as static. Add
1406         prototypes.
1407
1408         * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1409
1410 2003-06-15  Tor Lillqvist  <tml@iki.fi>
1411
1412         * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1413         before comparing (needed on Windows).
1414
1415         * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1416
1417 2003-06-13  Tor Lillqvist  <tml@iki.fi>
1418
1419         * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1420         man pages.
1421
1422         * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1423         WINDOWSFONTDIR token.
1424
1425         * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1426         end, not to confuse libtool, which expects the EXPORTS line to be
1427         the first. Add FcConfigEnableHome.
1428
1429         * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1430         built as a DLL on Win32.
1431
1432 2003-06-09  Keith Packard <keithp@keithp.com>
1433
1434         * Tag version 2.2.90
1435
1436 2003-06-09  Keith Packard <keithp@keithp.com>
1437
1438         * Optimization in FcLangSetIndex was broken, occasionally
1439           returning a pointer to the wrong location on miss
1440
1441         * Add fc-match to test font matching from the command line.
1442
1443 2003-05-31  Keith Packard <keithp@keithp.com>
1444
1445         * (Bug 85) add support for culmus fonts
1446         * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1447         * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1448
1449 2003-05-28  James Su <suzhe@turbolinux.com.cn>
1450
1451         * Fix "contains" op for strings and langsets.
1452
1453 2003-05-17  Keith Packard <keithp@keithp.com>
1454
1455         * Fix build error with BDF prop local.  Free langset after query
1456
1457 2003-05-14  Keith Packard <keithp@keithp.com>
1458
1459         * Extract spacing from XLFD atom
1460
1461 2003-05-12  Juliusz Chroboczek <jch@pps.jussieu.fr>
1462
1463         * Reinstate SETWIDTH_NAME parsing for legacy fonts, 
1464           disappeared in 1.30.
1465
1466         * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1467
1468 2003-05-12  Keith Packard <keithp@keithp.com>
1469
1470         * Use FcIsWidth to share code
1471
1472         * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1473           misclassifying some Han fonts as monospaced.
1474           
1475 2003-05-07  Keith Packard <keithp@keithp.com>
1476
1477         * Add filename-based accept/reject to ammend available fonts.
1478
1479         * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1480           older FreeType releases.
1481
1482 2003-05-06  Keith Packard <keithp@keithp.com>
1483
1484         * Remove 0b82 and Tamil numbers from tamil 
1485           orthography (Jungshik Shin <jshin@mailaps.org>)
1486
1487 2003-05-04  Keith Packard <keithp@keithp.com>
1488
1489         + Map glyph names in fonts with adobe custom encoding to unicode
1490
1491 2003-05-02  Keith Packard <keithp@keithp.com>
1492
1493         * Add FC_WEIGHT_BOOK as weight 75
1494
1495 2003-04-30  Keith Packard <keithp@keithp.com>
1496
1497         * Typo in bitstream foundry name
1498
1499 2003-04-24  Keith Packard <keithp@keithp.com>
1500
1501         * Eliminate italic_angle check for PS fonts
1502
1503 2003-04-23  Noah Levitt <nlevitt@columbia.edu>
1504
1505         * Getting closer to fixing /etc/fonts hard-coding.
1506
1507 2003-04-22  Keith Packard <keithp@keithp.com>
1508
1509         * Update autogen.sh to work with newer automake versions
1510         * Handle pattern elements moving during multiple edits
1511
1512 2003-04-23  James Henstridge  <james@daa.com.au>
1513
1514         * doc/fontconfig-devel.sgml: close the <para> element.
1515
1516         * doc/fcpattern.fncs: close the <para> element.
1517
1518         * doc/func.sgml: close the <refsynopsisdiv> element.
1519
1520 2003-04-22  Keith Packard <keithp@keithp.com
1521
1522         * Update autogen.sh to work with newer automake versions
1523         * Handle pattern elements moving during multiple edits
1524
1525 2003-04-17  Colin Walters <walters@debian.org>
1526
1527         + Remove some unused variables, and initialize some other ones so
1528         gcc doesn't warn us.
1529
1530 2003-04-16  Keith Packard <keithp@keithp.com>
1531
1532         + tag version 2.1.94
1533
1534 2003-04-16  Keith Packard <keithp@keithp.com>
1535
1536         + add BDF property fetching support for foundry 
1537           (from Juliusz Chroboczek)
1538         + add BDF property fetching support for width
1539
1540 2003-04-11  Juliusz Chroboczek <jch@pps.jussieu.fr>
1541
1542         + Implemented foundry generation for Type 1 and TrueType
1543
1544 2003-04-11  Gerard Escalante <g2@magestudios.net>
1545
1546         + Retrieve information from Type1 FontInfo dictionaries
1547
1548 2003-04-07  Colin Walters <walters@verbum.org>
1549
1550         + src/Makefile.am: Fix dummy makefile target names when
1551         MS_LIB_AVAILABLE isn't set.
1552
1553 2003-03-22  Tor Lillqvist  <tml@iki.fi>
1554
1555         Changes for Windows:
1556           
1557         + On Windows with gcc (a.k.a. mingw) build as a DLL.
1558           
1559         + We don't want to hardcode the fonts.conf file location in the
1560           DLL, so we look up the DLL location at run-time in a DllMain()
1561           function. The fonts.conf location is deduced from that.
1562
1563         + The colon can't be used as path separator on Windows,
1564           semicolon is used instead. File path components can be separated
1565           with either slash or backslash. Absolute paths can also begin
1566           with a drive letter.
1567
1568         + Add internal function FcStrLastSlash that strrchr's the last
1569           slash, or backslash on Windows.
1570         
1571         + There is no link() on Windows. For atomicity checks, mkdir a
1572           lock directory instead.
1573           
1574         + In addition to HOME, also look for USERPROFILE.
1575
1576         + Recognize the special font directory token WINDOWSFONTDIR, to
1577           use the system's font directory.
1578           
1579         + Remove the fontconfig-def.cpp that was obsolete. Add
1580           fontconfig.def(.in), without internal functions.
1581           
1582         + Add a fontconfig-zip(.in) script, used to build a binary
1583           distribution.
1584
1585 Fri Mar  7 07:55:00 EST 2003    Mike A. Harris <mharris@redhat.com>
1586         + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1587           to main package and man3/* to devel package
1588
1589         + Added missing defattr(-, root, root) to main RPM package
1590  
1591         + Added HTML and text development documentation to -devel subpackage
1592
1593 Wed Mar  5 05:08:00 EST 2003    Mike A. Harris <mharris@redhat.com>
1594         + Added back the configure macro options --disable-docs, otherwise
1595           fontconfig installs docs into /usr/share/doc/fontconfig (with no
1596           version number) unconditionally, causing RPM to fail the build due
1597           to _unpackaged_files_terminate_build.  We pick up the pregenerated
1598           docs with %doc already.
1599
1600 Wed Mar  5 04:26:20 EST 2003    Mike A. Harris <mharris@redhat.com>
1601         + Removed commented out rpm macro define at top of spec file,
1602           replacing it with a simple explanation, since rpm macros are
1603           expanded by rpm even in comments.
1604
1605         + Changed /usr/bin to _bindir in BuildRequires lines
1606
1607         + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1608
1609         + Reorganized file manifest lists
1610
1611 Sun Mar  2 14:16:17 EST 2003    Owen Taylor <otaylor@redhat.com>
1612
1613         + fontconfig.spec.in: Improvements from Red Hat spec file.
1614
1615         + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1616
1617         + docs/*.sgml: SGML fixes.
1618
1619 Sat Mar  1 17:28:53 PST 2003    keithp
1620         + Ok, so the ChangeLog is a bit out of date
1621
1622         + Lots of bugs fixed; most are in bugzilla, the
1623           biggest problems were in cache management where
1624           Owen discovered the library would lose badly when
1625           combining fonts-cache and ~/.fonts-cache data
1626
1627         + Converted from autoconf to automake.  This after
1628           getting patches accepted into libtool to allow
1629           the '-version-number' argument which lets
1630           packages set version numbers explicitly rather
1631           than the roundabout libtool way
1632
1633         + Converted documentation to SGML using the docbook
1634           DTD.  Now .txt and .html documents are installed
1635           in /usr/share/doc/fontconfig and there's no
1636           man page.  Perhaps a man version can be written
1637           at some point.
1638
1639 Sat Aug 31 15:21:22 PDT 2002    keithp
1640         + Xrender and Xft had several bugs related to
1641           rendering manually placed or poly-face text
1642
1643         + Added more complete memory tracing in fontconfig
1644           Checked with (patched) mozilla and found no leaks
1645
1646         + Updated Latin orthographies by comparing those from
1647           evertype.com with those from eki.ee.  Tried to make
1648           sensible choices, including chars that occured in both
1649           and leaving some optional chars out that occured only
1650           in one.
1651
1652 Mon Aug 26 16:33:04 PDT 2002    keithp
1653         + Owen discovered that FcLangSetHasLang wasn't actually
1654           checking the language set.
1655
1656 Mon Aug 26 13:37:23 PDT 2002    keithp
1657         + Append a version number to cache filenames
1658
1659 Thu Aug 22 11:36:18 PDT 2002    keithp
1660
1661         + Add "contains" and "not_contains" operators and elements to
1662           font configuration
1663           
1664         + Changed semantics of eq operator for LangSets to check for
1665           FcLangEqual so that any match will do
1666         
1667         + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1668           of FcValueEqual to check for identical values when inserting into
1669           the results.  This broke when the above semantic change was made,
1670           now it uses FcValueEqual which is "more correct" in any case.
1671
1672 Thu Aug 22 00:32:29 PDT 2002    keithp
1673
1674         + Reimplement FC_LANG as new datatype.  Lists of strings
1675           was consuming over a megabyte of memory for 401 fonts.
1676
1677         + Freeze patterns loaded from cache files.  This shares
1678           common value lists and common patterns which saves
1679           considerable memory.
1680
1681         + Change the denotation of 'constant' charsets to use special
1682           ref value instead of separate boolean.
1683
1684         + Clean up leak tracing stuff, found several unannoted alloc/free
1685           calls
1686
1687 Tue Aug 20 16:17:37 PDT 2002    keithp
1688
1689         + Fix memory leak when parsing matrices from XML
1690
1691 Mon Aug 19 11:57:27 PDT 2002    keithp
1692
1693         + Fix autoconf files to pass FONTCONFIG_PATH on
1694           compile line so that ${prefix} gets substituted
1695           correctly.
1696
1697         + Use getc_unlocked/putc_unlocked on systems that
1698           provide them to avoid damage done to stdio by posix
1699
1700         + Eliminate FC_PATTERN and FcTypePattern in favor of
1701           an extended api for FcConfigSubstitute which takes
1702           both the font and the pattern.
1703
1704         + Add 'sans serif' alias for 'sans-serif' as some apps
1705           can't handle hyphens in family names
1706
1707         + Eliminate pretense of support for libxml2
1708
1709         + Comment origins of Han orthographies
1710
1711 Tue Jul 30 18:37:09 PDT 2002    keithp
1712
1713         + Add binding property to edit element so that strong
1714           binding values may be inserted by the config file.
1715           The default remains weak.
1716
1717 Sun 28 Jul 04:16:55 PDT 2002    keithp
1718
1719         + Tagged release candidate 1 in the CVS tree and
1720           placed fcpackage.rc1.tar.gz for distribution
1721
1722 Thu Aug  1 08:55:08 PDT 2002    keithp
1723
1724         + Fixed autoconf builds to always specify install
1725           target files (for BSD).  Also fixed to
1726           define FONTCONFIG_PATH in config.h so that
1727           nonstandard installs will actually work.