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