bdb5a60de254ccdc73ed9f7de1676bd4997919ed
[platform/upstream/fontconfig.git] / ChangeLog
1 2004-12-06  michael meeks <mmeeks@novell.com>
2
3         Reviewed by: Keith Packard  <keithp@keithp.com>
4
5         * src/fcinit.c: (FcMemReport):
6         * src/fcint.h:
7         * src/fclist.c: (FcObjectSetAdd):
8         * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
9         (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
10         * src/fcxml.c: (FcParsePatelt):
11         memoize strings and share a single copy for all uses.  Note that
12         this could be improved further by using statically allocated blocks
13         and gluing multiple strings together, but I'm basically lazy.
14         In my environment with 800 font files, I get a savings of about 90KB.
15
16 2004-12-06  Keith Packard  <keithp@keithp.com>
17
18         * COPYING:
19         * Makefile.am:
20         * config/Makedefs.in:
21         * configure.in:
22         * doc/edit-sgml.c:
23         * doc/fcatomic.fncs:
24         * doc/fcblanks.fncs:
25         * doc/fccharset.fncs:
26         * doc/fcconfig.fncs:
27         * doc/fcconstant.fncs:
28         * doc/fcfile.fncs:
29         * doc/fcfontset.fncs:
30         * doc/fcfreetype.fncs:
31         * doc/fcinit.fncs:
32         * doc/fcmatrix.fncs:
33         * doc/fcobjectset.fncs:
34         * doc/fcobjecttype.fncs:
35         * doc/fcpattern.fncs:
36         * doc/fcstring.fncs:
37         * doc/fcstrset.fncs:
38         * doc/fcvalue.fncs:
39         * doc/fontconfig-devel.sgml:
40         * doc/fontconfig-user.sgml:
41         * doc/func.sgml:
42         * doc/version.sgml.in:
43         * fc-cache/Makefile.am:
44         * fc-cache/fc-cache.c:
45         * fc-glyphname/Makefile.am:
46         * fc-glyphname/fc-glyphname.c:
47         * fc-glyphname/fcglyphname.tmpl.h:
48         * fc-lang/Makefile.am:
49         * fc-lang/aa.orth:
50         * fc-lang/ab.orth:
51         * fc-lang/af.orth:
52         * fc-lang/am.orth:
53         * fc-lang/ar.orth:
54         * fc-lang/ast.orth:
55         * fc-lang/ava.orth:
56         * fc-lang/ay.orth:
57         * fc-lang/az.orth:
58         * fc-lang/az_ir.orth:
59         * fc-lang/ba.orth:
60         * fc-lang/bam.orth:
61         * fc-lang/be.orth:
62         * fc-lang/bg.orth:
63         * fc-lang/bh.orth:
64         * fc-lang/bho.orth:
65         * fc-lang/bi.orth:
66         * fc-lang/bin.orth:
67         * fc-lang/bn.orth:
68         * fc-lang/bo.orth:
69         * fc-lang/br.orth:
70         * fc-lang/bs.orth:
71         * fc-lang/bua.orth:
72         * fc-lang/ca.orth:
73         * fc-lang/ce.orth:
74         * fc-lang/ch.orth:
75         * fc-lang/chm.orth:
76         * fc-lang/chr.orth:
77         * fc-lang/co.orth:
78         * fc-lang/cs.orth:
79         * fc-lang/cu.orth:
80         * fc-lang/cv.orth:
81         * fc-lang/cy.orth:
82         * fc-lang/da.orth:
83         * fc-lang/de.orth:
84         * fc-lang/dz.orth:
85         * fc-lang/el.orth:
86         * fc-lang/en.orth:
87         * fc-lang/eo.orth:
88         * fc-lang/es.orth:
89         * fc-lang/et.orth:
90         * fc-lang/eu.orth:
91         * fc-lang/fa.orth:
92         * fc-lang/fc-lang.c:
93         * fc-lang/fc-lang.man:
94         * fc-lang/fclang.tmpl.h:
95         * fc-lang/fi.orth:
96         * fc-lang/fj.orth:
97         * fc-lang/fo.orth:
98         * fc-lang/fr.orth:
99         * fc-lang/ful.orth:
100         * fc-lang/fur.orth:
101         * fc-lang/fy.orth:
102         * fc-lang/ga.orth:
103         * fc-lang/gd.orth:
104         * fc-lang/gez.orth:
105         * fc-lang/gl.orth:
106         * fc-lang/gn.orth:
107         * fc-lang/gu.orth:
108         * fc-lang/gv.orth:
109         * fc-lang/ha.orth:
110         * fc-lang/haw.orth:
111         * fc-lang/he.orth:
112         * fc-lang/hi.orth:
113         * fc-lang/ho.orth:
114         * fc-lang/hr.orth:
115         * fc-lang/hu.orth:
116         * fc-lang/hy.orth:
117         * fc-lang/ia.orth:
118         * fc-lang/ibo.orth:
119         * fc-lang/id.orth:
120         * fc-lang/ie.orth:
121         * fc-lang/ik.orth:
122         * fc-lang/io.orth:
123         * fc-lang/is.orth:
124         * fc-lang/iso639-2:
125         * fc-lang/it.orth:
126         * fc-lang/iu.orth:
127         * fc-lang/ja.orth:
128         * fc-lang/ka.orth:
129         * fc-lang/kaa.orth:
130         * fc-lang/ki.orth:
131         * fc-lang/kk.orth:
132         * fc-lang/kl.orth:
133         * fc-lang/km.orth:
134         * fc-lang/kn.orth:
135         * fc-lang/ko.orth:
136         * fc-lang/kok.orth:
137         * fc-lang/ks.orth:
138         * fc-lang/ku.orth:
139         * fc-lang/ku_ir.orth:
140         * fc-lang/kum.orth:
141         * fc-lang/kv.orth:
142         * fc-lang/kw.orth:
143         * fc-lang/ky.orth:
144         * fc-lang/la.orth:
145         * fc-lang/lb.orth:
146         * fc-lang/lez.orth:
147         * fc-lang/lo.orth:
148         * fc-lang/lt.orth:
149         * fc-lang/lv.orth:
150         * fc-lang/mg.orth:
151         * fc-lang/mh.orth:
152         * fc-lang/mi.orth:
153         * fc-lang/mk.orth:
154         * fc-lang/ml.orth:
155         * fc-lang/mn.orth:
156         * fc-lang/mo.orth:
157         * fc-lang/mr.orth:
158         * fc-lang/mt.orth:
159         * fc-lang/my.orth:
160         * fc-lang/nb.orth:
161         * fc-lang/nds.orth:
162         * fc-lang/ne.orth:
163         * fc-lang/nl.orth:
164         * fc-lang/nn.orth:
165         * fc-lang/no.orth:
166         * fc-lang/ny.orth:
167         * fc-lang/oc.orth:
168         * fc-lang/om.orth:
169         * fc-lang/or.orth:
170         * fc-lang/os.orth:
171         * fc-lang/pl.orth:
172         * fc-lang/ps_af.orth:
173         * fc-lang/ps_pk.orth:
174         * fc-lang/pt.orth:
175         * fc-lang/rm.orth:
176         * fc-lang/ro.orth:
177         * fc-lang/ru.orth:
178         * fc-lang/sa.orth:
179         * fc-lang/sah.orth:
180         * fc-lang/sco.orth:
181         * fc-lang/se.orth:
182         * fc-lang/sel.orth:
183         * fc-lang/sh.orth:
184         * fc-lang/si.orth:
185         * fc-lang/sk.orth:
186         * fc-lang/sl.orth:
187         * fc-lang/sm.orth:
188         * fc-lang/sma.orth:
189         * fc-lang/smj.orth:
190         * fc-lang/smn.orth:
191         * fc-lang/sms.orth:
192         * fc-lang/so.orth:
193         * fc-lang/sq.orth:
194         * fc-lang/sr.orth:
195         * fc-lang/sv.orth:
196         * fc-lang/sw.orth:
197         * fc-lang/syr.orth:
198         * fc-lang/ta.orth:
199         * fc-lang/te.orth:
200         * fc-lang/tg.orth:
201         * fc-lang/th.orth:
202         * fc-lang/ti_er.orth:
203         * fc-lang/ti_et.orth:
204         * fc-lang/tig.orth:
205         * fc-lang/tk.orth:
206         * fc-lang/tl.orth:
207         * fc-lang/tn.orth:
208         * fc-lang/to.orth:
209         * fc-lang/tr.orth:
210         * fc-lang/ts.orth:
211         * fc-lang/tt.orth:
212         * fc-lang/tw.orth:
213         * fc-lang/tyv.orth:
214         * fc-lang/ug.orth:
215         * fc-lang/uk.orth:
216         * fc-lang/ur.orth:
217         * fc-lang/uz.orth:
218         * fc-lang/ven.orth:
219         * fc-lang/vi.orth:
220         * fc-lang/vo.orth:
221         * fc-lang/vot.orth:
222         * fc-lang/wa.orth:
223         * fc-lang/wen.orth:
224         * fc-lang/wo.orth:
225         * fc-lang/xh.orth:
226         * fc-lang/yap.orth:
227         * fc-lang/yi.orth:
228         * fc-lang/yo.orth:
229         * fc-lang/zh_cn.orth:
230         * fc-lang/zh_hk.orth:
231         * fc-lang/zh_mo.orth:
232         * fc-lang/zh_sg.orth:
233         * fc-lang/zh_tw.orth:
234         * fc-lang/zu.orth:
235         * fc-list/Makefile.am:
236         * fc-list/fc-list.c:
237         * fc-match/Makefile.am:
238         * fc-match/fc-match.1:
239         * fc-match/fc-match.c:
240         * fontconfig/fcfreetype.h:
241         * fontconfig/fcprivate.h:
242         * fontconfig/fontconfig.h:
243         * src/fcatomic.c:
244         * src/fcblanks.c:
245         * src/fccache.c:
246         * src/fccfg.c:
247         * src/fccharset.c:
248         * src/fcdbg.c:
249         * src/fcdefault.c:
250         * src/fcdir.c:
251         * src/fcfreetype.c:
252         * src/fcfs.c:
253         * src/fcinit.c:
254         * src/fcint.h:
255         * src/fclang.c:
256         * src/fclist.c:
257         * src/fcmatch.c:
258         * src/fcmatrix.c:
259         * src/fcname.c:
260         * src/fcpat.c:
261         * src/fcstr.c:
262         * src/fcxml.c:
263         Change files from ISO-Latin-1 to UTF-8
264
265 2004-12-04  Keith Packard  <keithp@keithp.com>
266
267         * INSTALL:
268         Update links to new freedesktop.org locations
269         * Makefile.am:
270         Add uninstall-local to get rid of fonts.conf and local.conf if they
271         match the distributed versions.  Fixes 'make distcheck'
272
273 2004-12-04  Keith Packard  <keithp@keithp.com>
274
275         * README:
276         * configure.in:
277         * fontconfig/fontconfig.h:
278         Updates for version 2.2.97
279
280 2004-12-04  Owen Taylor  <otaylor@redhat.com>
281
282         reviewed by: Keith Packard  <keithp@keithp.com>
283
284         * fc-cache/fc-cache.c: (main):
285         Sleep for two seconds before exiting to make sure timestamps
286         for future changes have distinct mod times in the file system.
287         Bug #1982.
288         * fc-lang/pa.orth:
289         Add Punjabi orthography.  Bug #1671.
290
291 2004-12-04  Keith Packard  <keithp@keithp.com>
292
293         * fonts.conf.in:
294         Just remove the FC_FONTDATE -- it has locale issues and
295         annoys redhat multi-arch installs.  Now that all X fonts are
296         included without prejudice, the chances of the date being at
297         all interesting are rather limited.  Bug #505.
298         * src/Makefile.am:
299         Add copyright and license
300
301 2004-12-04  Keith Packard  <keithp@keithp.com>
302
303         * configure.in:
304         Change default set of fonts to include all of
305         /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
306         * doc/fontconfig-user.sgml:
307         Document new <include>directory-name</include> semantics
308         * fonts.conf.in:
309         add <include ignore_missing="yes">conf.d</include>
310         * local.conf:
311         Add selectfont to ignore bitmap fonts, add comment for
312         selectfont which accepts bitmap fonts.
313         * src/fcdir.c:
314         * src/fcint.h:
315         * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
316         Allow <include> configuration elements to reference directories.
317         Parse and load all files of the form [0-9]* in sorted order.
318
319 2004-12-04  Keith Packard  <keithp@keithp.com>
320
321         * autogen.sh:
322         Report command line for $srcdir/configure accurately.
323         Bug #212.
324
325 2004-12-04  Keith Packard  <keithp@keithp.com>
326
327         * src/fcfreetype.c: (FcFreeTypeQuery):
328         Check for non-empty face->family_name and face->style_name
329         before using those for the font.  Empty names match everything.
330         Bug #210.
331
332 2004-12-04  Keith Packard  <keithp@keithp.com>
333
334         * configure.in:
335         * fontconfig/fontconfig.h:
336         * src/fcfreetype.c: (FcFreeTypeQuery):
337         * src/fcname.c:
338         Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
339         available.  This provides font file format information (BDF, Type 1,
340         PCF, TrueType) for each font.  Closes #109.
341
342 2004-12-04  Daniel Glassey <danglassey@ntlworld.com>
343
344         reviewed by: Keith Packard  <keithp@keithp.com>
345
346         * doc/fontconfig-user.sgml:
347         Fix typo.
348         
349         * fontconfig/fontconfig.h:
350         * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
351         (GetScriptTags), (FcFontCapabilities):
352         * src/fcname.c:
353         Add detection for font capabilities (bug #105)
354
355 2004-12-04  Keith Packard  <keithp@keithp.com>
356
357         * Makefile.am:
358         Move existing fonts.conf to fonts.conf.bak
359         
360         * configure.in:
361         Add detection of iconv
362         
363         * doc/fcpattern.fncs:
364         * doc/fontconfig-devel.sgml:
365         * doc/fontconfig-user.sgml:
366         * fonts.dtd:
367         Document new selectfont elements
368         
369         * fc-lang/nb.orth:
370         Switch to UTF-8 in comment
371         
372         * fontconfig/fontconfig.h:
373         * src/fcname.c:
374         Add fullname, and family/style/fullname language entries
375         
376         * src/fccache.c: (FcCacheFontSetAdd):
377         * src/fcdir.c: (FcFileScanConfig):
378         Respect selectfont/*/glob
379         
380         * src/fcint.h:
381         * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
382         (FcConfigCompareValue), (FcConfigPatternsAdd),
383         (FcConfigPatternsMatch), (FcConfigAcceptFont):
384         * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
385         (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
386         (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
387         Add support for selectfont
388         
389         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
390         (FcStringInPatternElement), (FcFreeTypeQuery):
391         Add multi-lingual family/style/fullname support
392         
393         * src/fclist.c: (FcListPatternMatchAny):
394         Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
395         
396         * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
397         (FcObjectStaticName):
398         Add new FcPatternRemove/FcPatternAppend.
399         FcObjectStaticName stores computed pattern element names which
400         are required to be static.
401         
402 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
403
404         reviewed by: keithp
405
406         * Makefile.am:
407         Remove spurious / after $(DESTDIR)
408
409 2004-06-30  Keith Packard  <keithp@keithp.com>
410
411         * README:
412         * configure.in:
413         * fontconfig/fontconfig.h:
414         Update for 2.2.96
415
416 2004-06-30  Keith Packard  <keithp@keithp.com>
417
418         Provided by: Lubos Lunak <l.lunak@suse.cz>
419
420         * src/fccfg.c: (FcConfigUptoDate):
421         However FcConfigUptoDate() doesn't seem to work. See the attached
422         patch.  First there's an obvious misplaced parenthesis making it
423         return always false, and second, even this call fails to detect font
424         changes (e.g.  adding a new font to 
425         /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
426         well. The problem seems to be triggered by my fonts.conf specifying
427         only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
428         doesn't include subdirs, unlike config->fontDirs.
429
430 2004-06-03  Keith Packard  <keithp@keithp.com>
431
432         * fontconfig/fontconfig.h:
433         Remove comma at end of FcResult enum definition.
434
435 2004-05-29  Keith Packard  <keithp@keithp.com>
436
437         * INSTALL:
438         Add steps to md5sum release
439
440 2004-05-29  Keith Packard  <keithp@keithp.com>
441
442         * README:
443         * configure.in:
444         * fontconfig/fontconfig.h:
445         Update for 2.2.95
446
447 2004-05-29  Keith Packard  <keithp@keithp.com>
448
449         * fontconfig/fontconfig.h:
450         * src/fcmatch.c: (FcFontSetMatch):
451         Add FcResultOutOfMemory to provide an accurate error when
452         FcFontSetMatch fails in this way
453         
454         * src/fcfreetype.c:
455         Make #warning about lacking various FreeType features indicate
456         which version those features appeared so users know how to
457         fix the problem (Thanks to Anton Tropashko)
458
459 2004-05-05  Keith Packard  <keithp@keithp.com>
460
461         * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
462         Replace MIN/MAX/ABS macros which happen to have come
463         from FreeType with fontconfig-specific ones (FC_*)
464
465 2004-04-23  Keith Packard  <keithp@keithp.com>
466
467         * INSTALL:
468         Extend release preparation instructions to include
469         notification and distribution steps
470
471 2004-04-23  Keith Packard  <keithp@keithp.com>
472
473         * README:
474         * configure.in:
475         * fontconfig/fontconfig.h:
476         Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
477
478 2004-04-23  Keith Packard  <keithp@keithp.com>
479
480         * .cvsignore:
481         Ignore a few more autotool files
482
483 2004-04-14  Keith Packard  <keithp@keithp.com>
484
485         * INSTALL:
486         Add instructions for doing a release
487         
488         * fontconfig.spec.in:
489         clean up .spec file; perhaps this will be useful to somebody...
490
491         * README:
492         * configure.in:
493         * fontconfig/fontconfig.h:
494         Update to 2.2.93
495         
496         * fc-lang/fc-lang.c:
497         Make 'scanopen' static so GCC doesn't whine about lacking prototype
498         
499         * fc-glyphname/Makefile.am:
500         * fc-lang/Makefile.am:
501         * fc-list/Makefile.am:
502         * fc-match/Makefile.am:
503         * src/Makefile.am:
504         Add WARN_CFLAGS to pass -W flags for GCC systems
505         
506         * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
507         (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
508         Change various char types around to match across
509         function calls.
510         Fixed bug in using available_sizes[i].height which 
511         is in pixels, not 64ths of a pixel.
512
513 2004-03-06  Keith Packard  <keithp@keithp.com>
514
515         * src/fcfreetype.c: (FcFreeTypeQuery):
516         Force FC_FOUNDRY and FC_WIDTH to always be set so that
517         matches looking for explicit values prefer exact matches
518
519 2004-03-02  Keith Packard  <keithp@keithp.com>
520
521         Supplied by: mfabian@suse.de (Mike FABIAN)
522
523         * src/fcfreetype.c: (FcFreeTypeQuery):
524         Bug #260 fc-cache generates wrong spacing values for bitmap fonts
525         Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
526
527 2004-02-21  Manish Singh  <yosh@gimp.org>
528
529         * fc-glyphname/fc-glyphname.c: (main):
530         Cast strlen to int for printf, so we're 64-bit clean.
531
532 2004-02-11  Keith Packard  <keithp@keithp.com>
533
534         * configure.in:
535         * src/fcfreetype.c: (FcGetPixelSize):
536         Ok, so I messed up the test for y_ppem.  Let's see if I
537         got it right this time.
538
539 2004-02-10  Keith Packard  <keithp@keithp.com>
540
541         * configure.in:
542         * src/fcfreetype.c: (FcGetPixelSize):
543         Pre-2.1.5 versions of FreeType didn't include y_ppem in the
544         FT_Bitmap_Size record.  Add a configure.in test for this
545         and change the code accordingly (using height instead).
546
547 2004-02-06  Keith Packard  <keithp@keithp.com>
548
549         * fc-lang/nds.orth:
550         Add Low Saxon orthography 
551                 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
552                 
553         * src/fccfg.c: (FcConfigNewestFile):
554         Oops.  Left 'newest.set' unset, which would miscompute
555         the newest file
556         
557         * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
558         (FcFreeTypeCheckGlyph):
559         Add FcGetPixelSize to extract correct pixel size from bdf/pcf
560         font properties (which report the wrong value in current FreeType)
561
562         Don't attempt to check for empty glyphs in non-scalable fonts; they
563         have no outlines...
564
565 2004-02-01  Tor Lillqvist  <tml@iki.fi>
566
567         * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
568         GIMP and/or PangoFT2 on Windows, crashes when trying to save the
569         cache if config->cache is NULL, which happens if FcConfigHome() is
570         NULL. Guard against that by using the temp folder in that case.
571
572 2004-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
573
574         * fc-lang/az_ir.orth:
575         * fc-lang/ku_ir.orth:
576         * fc-lang/ps_af.orth:
577         * fc-lang/ps_pk.orth:
578         Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
579         (Afghan and Pakistani).
580         * fc-lang/ur.orth:
581         Updated Urdu orthography with real data.
582
583 2003-12-11  Carl Worth  <cworth@east.isi.edu>
584
585         * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
586         USEDOCBOOK' block.
587
588         * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
589         USEDOCBOOK' block.
590         (all-local): Remove excessive whitespace.
591
592         * autogen.sh: Add 'set -e' to abort when any program fails,
593         (avoids printing of 'now type make' after configure aborts).
594
595 2003-11-17   Eric Christopherson  <rakko@charter.net>
596
597         reviewed by: Keith Packard  <keithp@keithp.com>
598
599         * doc/Makefile.am:
600         * fontconfig/fcfreetype.h:
601         * src/fcfreetype.c:
602         Switch to FreeType 2.1.7 style includes.  Bug #150.
603
604 2003-11-16  Noah Levitt  <nlevitt@columbia.edu>
605
606         * fc-list/fc-list.sgml: Add some example usages.
607
608 2003-11-10  Roozbeh Pournader  <roozbeh@sharif.edu>
609
610         * src/fcxml.c:
611         Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
612         separators.
613
614 2003-10-27  Keith Packard  <keith@keithp.com>
615
616         * configure.in:
617         * fontconfig/fontconfig.h:
618         Update to version 2.2.92
619
620 2003-10-27  Keith Packard  <keithp@keithp.com>
621
622         * Makefile.am:
623         * configure.in:
624         * doc/Makefile.am:
625         * fc-cache/Makefile.am:
626         * fc-glyphname/Makefile.am:
627         * fc-lang/Makefile.am:
628         * fc-list/Makefile.am:
629         * fc-match/Makefile.am:
630         * test/Makefile.am:
631         * test/run-test.sh:
632         Yet more cleanups to finish getting 'make distcheck' working
633         This has been tested to ensure that it even works from a _build
634         directory.
635
636 2003-10-26  Keith Packard  <keithp@keithp.com>
637
638         * configure.in:
639         * doc/Makefile.am:
640         * fc-cache/Makefile.am:
641         * fc-glyphname/Makefile.am:
642         * fc-lang/Makefile.am:
643         * fc-lang/fc-lang.c: (scanopen), (scan), (main):
644         * fc-list/Makefile.am:
645         * fc-match/Makefile.am:
646         Attempts to fix 'make distcheck' work.  Things are
647         progressing pretty well, but there are still failures
648         long into the process dealing with docs (as always).
649         
650         The big changes here are mostly to make $(srcdir) != "."
651         work correctly, fixing the docbook related sections and
652         fc-lang were particularily tricky.  Docbook refuses to load
653         system entities from anywhere other than where the original .sgml
654         file was located, so no luck looking in "." for the
655         configure-generated version.sgml and confdir.sgml files.
656
657         fc-lang needed help finding .orth files; added a -d option
658         to set the directory as the least evil of many options.
659
660         Now to go use a faster machine and try and wring out the last
661         issues.
662
663 2003-10-26  Keith Packard  <keithp@keithp.com>
664
665         Tag version 2.2.91
666
667 2003-10-26  Keith Packard  <keithp@keithp.com>
668
669         * doc/Makefile.am:
670         Include confdir.sgml.in in EXTRA_DIST
671
672 2003-10-09  Josselin Mouette  <joss@debian.org>
673
674         * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
675         * fc-list/fc-list.sgml fc-list/Makefile.am:
676           Replace fc-cache and fc-list manpages with more detailed, SGML
677           versions.
678
679 2003-09-23  Owen Taylor <otaylor@redhat.com>
680
681         * fontconfig/fontconfig.h  src/fcdefault.c (FcDefaultSubstitute)
682         src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
683         possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
684         (Bug #117)
685
686 2003-09-23  Owen Taylor <otaylor@redhat.com>
687
688         * fc-lang/ka.orth: Remove Georgian capitals, they
689         aren't used for normal writing. (Bug #116)
690
691 2003-09-06  Noah Levitt  <nlevitt@columbia.edu>
692
693         * doc/fontconfig-devel.sgml:
694         * doc/fontconfig-user.sgml:
695         * fontconfig/fontconfig.h:
696         * src/fcname.c:
697         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
698         value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
699
700         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
701         monospace and dual-width fonts, allow roughly a 3% variance in the
702         advances.
703
704 2003-08-31  Manish Singh  <yosh@gimp.org>
705
706         * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
707         use default config.
708
709 2003-08-15  Carl Worth  <cworth@isi.edu>
710
711         * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
712         (FcPopExpr): Add comment about unhandled FcVStackGlob case.
713
714         * src/fcpat.c (FcValueListEntDestroy): New function to support
715         FcFini memory cleanup. Some statistics are not kept in
716         synch. here.
717         (FcValueListFreeze): Move hashTable outside this function so it
718         can be accessed by FcValueListThawAll.
719         (FcValueListThawAll): New function complements FcValueListFreeze.
720         (FcPatternBaseFreeze): Move hashTable outside this function so it
721         can be accessed by FcPatternBaseThawAll.
722         (FcPatternBaseThawAll): New function complements
723         FcPatternBaseFreeze.
724         (FcPatternThawAll): New function complements FcPatternFreeze.
725
726         * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
727
728         * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
729         allocated FcCharLeafEnt "blocks" so they can be freed later.
730         (FcCharSetFreezeLeaf): Move hashTable outside this function so it
731         can be accessed by FcCharSetThawAllLeaf.
732         (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
733         (FcCharSetFreezeBase): Move hashTable outside this function so it
734         can be accessed by FcCharSetThawAll.
735         (FcCharSetThawAll): New function complements FcCharSetFreeze.
736
737         * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
738         (FcConfigDestroy): Fic leak of FcBlanks.
739
740         * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
741         (main): Add call to FcFini when finished.
742
743         * fc-glyphname/fc-glyphname.c: Mark several local functions as
744         static. Add prototypes.
745
746         * doc/fcinit.fncs: Add documentation for FcFini function.
747
748         * doc/edit-sgml.c: Mark several local functions as static. Add
749         prototypes.
750
751         * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
752
753 2003-06-15  Tor Lillqvist  <tml@iki.fi>
754
755         * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
756         before comparing (needed on Windows).
757
758         * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
759
760 2003-06-13  Tor Lillqvist  <tml@iki.fi>
761
762         * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
763         man pages.
764
765         * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
766         WINDOWSFONTDIR token.
767
768         * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
769         end, not to confuse libtool, which expects the EXPORTS line to be
770         the first. Add FcConfigEnableHome.
771
772         * src/fccfg.c: Check also for DLL_EXPORT as indication of being
773         built as a DLL on Win32.
774
775 2003-06-09  Keith Packard <keithp@keithp.com>
776
777         * Tag version 2.2.90
778
779 2003-06-09  Keith Packard <keithp@keithp.com>
780
781         * Optimization in FcLangSetIndex was broken, occasionally
782           returning a pointer to the wrong location on miss
783
784         * Add fc-match to test font matching from the command line.
785
786 2003-05-31  Keith Packard <keithp@keithp.com>
787
788         * (Bug 85) add support for culmus fonts
789         * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
790         * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
791
792 2003-05-28  James Su <suzhe@turbolinux.com.cn>
793
794         * Fix "contains" op for strings and langsets.
795
796 2003-05-17  Keith Packard <keithp@keithp.com>
797
798         * Fix build error with BDF prop local.  Free langset after query
799
800 2003-05-14  Keith Packard <keithp@keithp.com>
801
802         * Extract spacing from XLFD atom
803
804 2003-05-12  Juliusz Chroboczek <jch@pps.jussieu.fr>
805
806         * Reinstate SETWIDTH_NAME parsing for legacy fonts, 
807           disappeared in 1.30.
808
809         * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
810
811 2003-05-12  Keith Packard <keithp@keithp.com>
812
813         * Use FcIsWidth to share code
814
815         * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
816           misclassifying some Han fonts as monospaced.
817           
818 2003-05-07  Keith Packard <keithp@keithp.com>
819
820         * Add filename-based accept/reject to ammend available fonts.
821
822         * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
823           older FreeType releases.
824
825 2003-05-06  Keith Packard <keithp@keithp.com>
826
827         * Remove 0b82 and Tamil numbers from tamil 
828           orthography (Jungshik Shin <jshin@mailaps.org>)
829
830 2003-05-04  Keith Packard <keithp@keithp.com>
831
832         + Map glyph names in fonts with adobe custom encoding to unicode
833
834 2003-05-02  Keith Packard <keithp@keithp.com>
835
836         * Add FC_WEIGHT_BOOK as weight 75
837
838 2003-04-30  Keith Packard <keithp@keithp.com>
839
840         * Typo in bitstream foundry name
841
842 2003-04-24  Keith Packard <keithp@keithp.com>
843
844         * Eliminate italic_angle check for PS fonts
845
846 2003-04-23  Noah Levitt <nlevitt@columbia.edu>
847
848         * Getting closer to fixing /etc/fonts hard-coding.
849
850 2003-04-22  Keith Packard <keithp@keithp.com>
851
852         * Update autogen.sh to work with newer automake versions
853         * Handle pattern elements moving during multiple edits
854
855 2003-04-23  James Henstridge  <james@daa.com.au>
856
857         * doc/fontconfig-devel.sgml: close the <para> element.
858
859         * doc/fcpattern.fncs: close the <para> element.
860
861         * doc/func.sgml: close the <refsynopsisdiv> element.
862
863 2003-04-22  Keith Packard <keithp@keithp.com
864
865         * Update autogen.sh to work with newer automake versions
866         * Handle pattern elements moving during multiple edits
867
868 2003-04-17  Colin Walters <walters@debian.org>
869
870         + Remove some unused variables, and initialize some other ones so
871         gcc doesn't warn us.
872
873 2003-04-16  Keith Packard <keithp@keithp.com>
874
875         + tag version 2.1.94
876
877 2003-04-16  Keith Packard <keithp@keithp.com>
878
879         + add BDF property fetching support for foundry 
880           (from Juliusz Chroboczek)
881         + add BDF property fetching support for width
882
883 2003-04-11  Juliusz Chroboczek <jch@pps.jussieu.fr>
884
885         + Implemented foundry generation for Type 1 and TrueType
886
887 2003-04-11  Gerard Escalante <g2@magestudios.net>
888
889         + Retrieve information from Type1 FontInfo dictionaries
890
891 2003-04-07  Colin Walters <walters@verbum.org>
892
893         + src/Makefile.am: Fix dummy makefile target names when
894         MS_LIB_AVAILABLE isn't set.
895
896 2003-03-22  Tor Lillqvist  <tml@iki.fi>
897
898         Changes for Windows:
899           
900         + On Windows with gcc (a.k.a. mingw) build as a DLL.
901           
902         + We don't want to hardcode the fonts.conf file location in the
903           DLL, so we look up the DLL location at run-time in a DllMain()
904           function. The fonts.conf location is deduced from that.
905
906         + The colon can't be used as path separator on Windows,
907           semicolon is used instead. File path components can be separated
908           with either slash or backslash. Absolute paths can also begin
909           with a drive letter.
910
911         + Add internal function FcStrLastSlash that strrchr's the last
912           slash, or backslash on Windows.
913         
914         + There is no link() on Windows. For atomicity checks, mkdir a
915           lock directory instead.
916           
917         + In addition to HOME, also look for USERPROFILE.
918
919         + Recognize the special font directory token WINDOWSFONTDIR, to
920           use the system's font directory.
921           
922         + Remove the fontconfig-def.cpp that was obsolete. Add
923           fontconfig.def(.in), without internal functions.
924           
925         + Add a fontconfig-zip(.in) script, used to build a binary
926           distribution.
927
928 Fri Mar  7 07:55:00 EST 2003    Mike A. Harris <mharris@redhat.com>
929         + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
930           to main package and man3/* to devel package
931
932         + Added missing defattr(-, root, root) to main RPM package
933  
934         + Added HTML and text development documentation to -devel subpackage
935
936 Wed Mar  5 05:08:00 EST 2003    Mike A. Harris <mharris@redhat.com>
937         + Added back the configure macro options --disable-docs, otherwise
938           fontconfig installs docs into /usr/share/doc/fontconfig (with no
939           version number) unconditionally, causing RPM to fail the build due
940           to _unpackaged_files_terminate_build.  We pick up the pregenerated
941           docs with %doc already.
942
943 Wed Mar  5 04:26:20 EST 2003    Mike A. Harris <mharris@redhat.com>
944         + Removed commented out rpm macro define at top of spec file,
945           replacing it with a simple explanation, since rpm macros are
946           expanded by rpm even in comments.
947
948         + Changed /usr/bin to _bindir in BuildRequires lines
949
950         + Cleaned up rpm postinstall script, and made fc-cache use _bindir
951
952         + Reorganized file manifest lists
953
954 Sun Mar  2 14:16:17 EST 2003    Owen Taylor <otaylor@redhat.com>
955
956         + fontconfig.spec.in: Improvements from Red Hat spec file.
957
958         + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
959
960         + docs/*.sgml: SGML fixes.
961
962 Sat Mar  1 17:28:53 PST 2003    keithp
963         + Ok, so the ChangeLog is a bit out of date
964
965         + Lots of bugs fixed; most are in bugzilla, the
966           biggest problems were in cache management where
967           Owen discovered the library would lose badly when
968           combining fonts-cache and ~/.fonts-cache data
969
970         + Converted from autoconf to automake.  This after
971           getting patches accepted into libtool to allow
972           the '-version-number' argument which lets
973           packages set version numbers explicitly rather
974           than the roundabout libtool way
975
976         + Converted documentation to SGML using the docbook
977           DTD.  Now .txt and .html documents are installed
978           in /usr/share/doc/fontconfig and there's no
979           man page.  Perhaps a man version can be written
980           at some point.
981
982 Sat Aug 31 15:21:22 PDT 2002    keithp
983         + Xrender and Xft had several bugs related to
984           rendering manually placed or poly-face text
985
986         + Added more complete memory tracing in fontconfig
987           Checked with (patched) mozilla and found no leaks
988
989         + Updated Latin orthographies by comparing those from
990           evertype.com with those from eki.ee.  Tried to make
991           sensible choices, including chars that occured in both
992           and leaving some optional chars out that occured only
993           in one.
994
995 Mon Aug 26 16:33:04 PDT 2002    keithp
996         + Owen discovered that FcLangSetHasLang wasn't actually
997           checking the language set.
998
999 Mon Aug 26 13:37:23 PDT 2002    keithp
1000         + Append a version number to cache filenames
1001
1002 Thu Aug 22 11:36:18 PDT 2002    keithp
1003
1004         + Add "contains" and "not_contains" operators and elements to
1005           font configuration
1006           
1007         + Changed semantics of eq operator for LangSets to check for
1008           FcLangEqual so that any match will do
1009         
1010         + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1011           of FcValueEqual to check for identical values when inserting into
1012           the results.  This broke when the above semantic change was made,
1013           now it uses FcValueEqual which is "more correct" in any case.
1014
1015 Thu Aug 22 00:32:29 PDT 2002    keithp
1016
1017         + Reimplement FC_LANG as new datatype.  Lists of strings
1018           was consuming over a megabyte of memory for 401 fonts.
1019
1020         + Freeze patterns loaded from cache files.  This shares
1021           common value lists and common patterns which saves
1022           considerable memory.
1023
1024         + Change the denotation of 'constant' charsets to use special
1025           ref value instead of separate boolean.
1026
1027         + Clean up leak tracing stuff, found several unannoted alloc/free
1028           calls
1029
1030 Tue Aug 20 16:17:37 PDT 2002    keithp
1031
1032         + Fix memory leak when parsing matrices from XML
1033
1034 Mon Aug 19 11:57:27 PDT 2002    keithp
1035
1036         + Fix autoconf files to pass FONTCONFIG_PATH on
1037           compile line so that ${prefix} gets substituted
1038           correctly.
1039
1040         + Use getc_unlocked/putc_unlocked on systems that
1041           provide them to avoid damage done to stdio by posix
1042
1043         + Eliminate FC_PATTERN and FcTypePattern in favor of
1044           an extended api for FcConfigSubstitute which takes
1045           both the font and the pattern.
1046
1047         + Add 'sans serif' alias for 'sans-serif' as some apps
1048           can't handle hyphens in family names
1049
1050         + Eliminate pretense of support for libxml2
1051
1052         + Comment origins of Han orthographies
1053
1054 Tue Jul 30 18:37:09 PDT 2002    keithp
1055
1056         + Add binding property to edit element so that strong
1057           binding values may be inserted by the config file.
1058           The default remains weak.
1059
1060 Sun 28 Jul 04:16:55 PDT 2002    keithp
1061
1062         + Tagged release candidate 1 in the CVS tree and
1063           placed fcpackage.rc1.tar.gz for distribution
1064
1065 Thu Aug  1 08:55:08 PDT 2002    keithp
1066
1067         + Fixed autoconf builds to always specify install
1068           target files (for BSD).  Also fixed to
1069           define FONTCONFIG_PATH in config.h so that
1070           nonstandard installs will actually work.