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