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