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