]> git.wh0rd.org Git - fontconfig.git/blob - ChangeLog
5038ed3fc8a98f7ab027668b1ea9d47d9671ef21
[fontconfig.git] / ChangeLog
1 2004-05-29  Keith Packard  <keithp@keithp.com>
2
3         * INSTALL:
4         Add steps to md5sum release
5
6 2004-05-29  Keith Packard  <keithp@keithp.com>
7
8         * README:
9         * configure.in:
10         * fontconfig/fontconfig.h:
11         Update for 2.2.95
12
13 2004-05-29  Keith Packard  <keithp@keithp.com>
14
15         * fontconfig/fontconfig.h:
16         * src/fcmatch.c: (FcFontSetMatch):
17         Add FcResultOutOfMemory to provide an accurate error when
18         FcFontSetMatch fails in this way
19         
20         * src/fcfreetype.c:
21         Make #warning about lacking various FreeType features indicate
22         which version those features appeared so users know how to
23         fix the problem (Thanks to Anton Tropashko)
24
25 2004-05-05  Keith Packard  <keithp@keithp.com>
26
27         * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
28         Replace MIN/MAX/ABS macros which happen to have come
29         from FreeType with fontconfig-specific ones (FC_*)
30
31 2004-04-23  Keith Packard  <keithp@keithp.com>
32
33         * INSTALL:
34         Extend release preparation instructions to include
35         notification and distribution steps
36
37 2004-04-23  Keith Packard  <keithp@keithp.com>
38
39         * README:
40         * configure.in:
41         * fontconfig/fontconfig.h:
42         Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
43
44 2004-04-23  Keith Packard  <keithp@keithp.com>
45
46         * .cvsignore:
47         Ignore a few more autotool files
48
49 2004-04-14  Keith Packard  <keithp@keithp.com>
50
51         * INSTALL:
52         Add instructions for doing a release
53         
54         * fontconfig.spec.in:
55         clean up .spec file; perhaps this will be useful to somebody...
56
57         * README:
58         * configure.in:
59         * fontconfig/fontconfig.h:
60         Update to 2.2.93
61         
62         * fc-lang/fc-lang.c:
63         Make 'scanopen' static so GCC doesn't whine about lacking prototype
64         
65         * fc-glyphname/Makefile.am:
66         * fc-lang/Makefile.am:
67         * fc-list/Makefile.am:
68         * fc-match/Makefile.am:
69         * src/Makefile.am:
70         Add WARN_CFLAGS to pass -W flags for GCC systems
71         
72         * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
73         (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
74         Change various char types around to match across
75         function calls.
76         Fixed bug in using available_sizes[i].height which 
77         is in pixels, not 64ths of a pixel.
78
79 2004-03-06  Keith Packard  <keithp@keithp.com>
80
81         * src/fcfreetype.c: (FcFreeTypeQuery):
82         Force FC_FOUNDRY and FC_WIDTH to always be set so that
83         matches looking for explicit values prefer exact matches
84
85 2004-03-02  Keith Packard  <keithp@keithp.com>
86
87         Supplied by: mfabian@suse.de (Mike FABIAN)
88
89         * src/fcfreetype.c: (FcFreeTypeQuery):
90         Bug #260 fc-cache generates wrong spacing values for bitmap fonts
91         Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
92
93 2004-02-21  Manish Singh  <yosh@gimp.org>
94
95         * fc-glyphname/fc-glyphname.c: (main):
96         Cast strlen to int for printf, so we're 64-bit clean.
97
98 2004-02-11  Keith Packard  <keithp@keithp.com>
99
100         * configure.in:
101         * src/fcfreetype.c: (FcGetPixelSize):
102         Ok, so I messed up the test for y_ppem.  Let's see if I
103         got it right this time.
104
105 2004-02-10  Keith Packard  <keithp@keithp.com>
106
107         * configure.in:
108         * src/fcfreetype.c: (FcGetPixelSize):
109         Pre-2.1.5 versions of FreeType didn't include y_ppem in the
110         FT_Bitmap_Size record.  Add a configure.in test for this
111         and change the code accordingly (using height instead).
112
113 2004-02-06  Keith Packard  <keithp@keithp.com>
114
115         * fc-lang/nds.orth:
116         Add Low Saxon orthography 
117                 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
118                 
119         * src/fccfg.c: (FcConfigNewestFile):
120         Oops.  Left 'newest.set' unset, which would miscompute
121         the newest file
122         
123         * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
124         (FcFreeTypeCheckGlyph):
125         Add FcGetPixelSize to extract correct pixel size from bdf/pcf
126         font properties (which report the wrong value in current FreeType)
127
128         Don't attempt to check for empty glyphs in non-scalable fonts; they
129         have no outlines...
130
131 2004-02-01  Tor Lillqvist  <tml@iki.fi>
132
133         * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
134         GIMP and/or PangoFT2 on Windows, crashes when trying to save the
135         cache if config->cache is NULL, which happens if FcConfigHome() is
136         NULL. Guard against that by using the temp folder in that case.
137
138 2004-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
139
140         * fc-lang/az_ir.orth:
141         * fc-lang/ku_ir.orth:
142         * fc-lang/ps_af.orth:
143         * fc-lang/ps_pk.orth:
144         Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
145         (Afghan and Pakistani).
146         * fc-lang/ur.orth:
147         Updated Urdu orthography with real data.
148
149 2003-12-11  Carl Worth  <cworth@east.isi.edu>
150
151         * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
152         USEDOCBOOK' block.
153
154         * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
155         USEDOCBOOK' block.
156         (all-local): Remove excessive whitespace.
157
158         * autogen.sh: Add 'set -e' to abort when any program fails,
159         (avoids printing of 'now type make' after configure aborts).
160
161 2003-11-17   Eric Christopherson  <rakko@charter.net>
162
163         reviewed by: Keith Packard  <keithp@keithp.com>
164
165         * doc/Makefile.am:
166         * fontconfig/fcfreetype.h:
167         * src/fcfreetype.c:
168         Switch to FreeType 2.1.7 style includes.  Bug #150.
169
170 2003-11-16  Noah Levitt  <nlevitt@columbia.edu>
171
172         * fc-list/fc-list.sgml: Add some example usages.
173
174 2003-11-10  Roozbeh Pournader  <roozbeh@sharif.edu>
175
176         * src/fcxml.c:
177         Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
178         separators.
179
180 2003-10-27  Keith Packard  <keith@keithp.com>
181
182         * configure.in:
183         * fontconfig/fontconfig.h:
184         Update to version 2.2.92
185
186 2003-10-27  Keith Packard  <keithp@keithp.com>
187
188         * Makefile.am:
189         * configure.in:
190         * doc/Makefile.am:
191         * fc-cache/Makefile.am:
192         * fc-glyphname/Makefile.am:
193         * fc-lang/Makefile.am:
194         * fc-list/Makefile.am:
195         * fc-match/Makefile.am:
196         * test/Makefile.am:
197         * test/run-test.sh:
198         Yet more cleanups to finish getting 'make distcheck' working
199         This has been tested to ensure that it even works from a _build
200         directory.
201
202 2003-10-26  Keith Packard  <keithp@keithp.com>
203
204         * configure.in:
205         * doc/Makefile.am:
206         * fc-cache/Makefile.am:
207         * fc-glyphname/Makefile.am:
208         * fc-lang/Makefile.am:
209         * fc-lang/fc-lang.c: (scanopen), (scan), (main):
210         * fc-list/Makefile.am:
211         * fc-match/Makefile.am:
212         Attempts to fix 'make distcheck' work.  Things are
213         progressing pretty well, but there are still failures
214         long into the process dealing with docs (as always).
215         
216         The big changes here are mostly to make $(srcdir) != "."
217         work correctly, fixing the docbook related sections and
218         fc-lang were particularily tricky.  Docbook refuses to load
219         system entities from anywhere other than where the original .sgml
220         file was located, so no luck looking in "." for the
221         configure-generated version.sgml and confdir.sgml files.
222
223         fc-lang needed help finding .orth files; added a -d option
224         to set the directory as the least evil of many options.
225
226         Now to go use a faster machine and try and wring out the last
227         issues.
228
229 2003-10-26  Keith Packard  <keithp@keithp.com>
230
231         Tag version 2.2.91
232
233 2003-10-26  Keith Packard  <keithp@keithp.com>
234
235         * doc/Makefile.am:
236         Include confdir.sgml.in in EXTRA_DIST
237
238 2003-10-09  Josselin Mouette  <joss@debian.org>
239
240         * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
241         * fc-list/fc-list.sgml fc-list/Makefile.am:
242           Replace fc-cache and fc-list manpages with more detailed, SGML
243           versions.
244
245 2003-09-23  Owen Taylor <otaylor@redhat.com>
246
247         * fontconfig/fontconfig.h  src/fcdefault.c (FcDefaultSubstitute)
248         src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
249         possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
250         (Bug #117)
251
252 2003-09-23  Owen Taylor <otaylor@redhat.com>
253
254         * fc-lang/ka.orth: Remove Georgian capitals, they
255         aren't used for normal writing. (Bug #116)
256
257 2003-09-06  Noah Levitt  <nlevitt@columbia.edu>
258
259         * doc/fontconfig-devel.sgml:
260         * doc/fontconfig-user.sgml:
261         * fontconfig/fontconfig.h:
262         * src/fcname.c:
263         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
264         value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
265
266         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
267         monospace and dual-width fonts, allow roughly a 3% variance in the
268         advances.
269
270 2003-08-31  Manish Singh  <yosh@gimp.org>
271
272         * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
273         use default config.
274
275 2003-08-15  Carl Worth  <cworth@isi.edu>
276
277         * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
278         (FcPopExpr): Add comment about unhandled FcVStackGlob case.
279
280         * src/fcpat.c (FcValueListEntDestroy): New function to support
281         FcFini memory cleanup. Some statistics are not kept in
282         synch. here.
283         (FcValueListFreeze): Move hashTable outside this function so it
284         can be accessed by FcValueListThawAll.
285         (FcValueListThawAll): New function complements FcValueListFreeze.
286         (FcPatternBaseFreeze): Move hashTable outside this function so it
287         can be accessed by FcPatternBaseThawAll.
288         (FcPatternBaseThawAll): New function complements
289         FcPatternBaseFreeze.
290         (FcPatternThawAll): New function complements FcPatternFreeze.
291
292         * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
293
294         * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
295         allocated FcCharLeafEnt "blocks" so they can be freed later.
296         (FcCharSetFreezeLeaf): Move hashTable outside this function so it
297         can be accessed by FcCharSetThawAllLeaf.
298         (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
299         (FcCharSetFreezeBase): Move hashTable outside this function so it
300         can be accessed by FcCharSetThawAll.
301         (FcCharSetThawAll): New function complements FcCharSetFreeze.
302
303         * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
304         (FcConfigDestroy): Fic leak of FcBlanks.
305
306         * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
307         (main): Add call to FcFini when finished.
308
309         * fc-glyphname/fc-glyphname.c: Mark several local functions as
310         static. Add prototypes.
311
312         * doc/fcinit.fncs: Add documentation for FcFini function.
313
314         * doc/edit-sgml.c: Mark several local functions as static. Add
315         prototypes.
316
317         * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
318
319 2003-06-15  Tor Lillqvist  <tml@iki.fi>
320
321         * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
322         before comparing (needed on Windows).
323
324         * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
325
326 2003-06-13  Tor Lillqvist  <tml@iki.fi>
327
328         * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
329         man pages.
330
331         * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
332         WINDOWSFONTDIR token.
333
334         * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
335         end, not to confuse libtool, which expects the EXPORTS line to be
336         the first. Add FcConfigEnableHome.
337
338         * src/fccfg.c: Check also for DLL_EXPORT as indication of being
339         built as a DLL on Win32.
340
341 2003-06-09  Keith Packard <keithp@keithp.com>
342
343         * Tag version 2.2.90
344
345 2003-06-09  Keith Packard <keithp@keithp.com>
346
347         * Optimization in FcLangSetIndex was broken, occasionally
348           returning a pointer to the wrong location on miss
349
350         * Add fc-match to test font matching from the command line.
351
352 2003-05-31  Keith Packard <keithp@keithp.com>
353
354         * (Bug 85) add support for culmus fonts
355         * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
356         * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
357
358 2003-05-28  James Su <suzhe@turbolinux.com.cn>
359
360         * Fix "contains" op for strings and langsets.
361
362 2003-05-17  Keith Packard <keithp@keithp.com>
363
364         * Fix build error with BDF prop local.  Free langset after query
365
366 2003-05-14  Keith Packard <keithp@keithp.com>
367
368         * Extract spacing from XLFD atom
369
370 2003-05-12  Juliusz Chroboczek <jch@pps.jussieu.fr>
371
372         * Reinstate SETWIDTH_NAME parsing for legacy fonts, 
373           disappeared in 1.30.
374
375         * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
376
377 2003-05-12  Keith Packard <keithp@keithp.com>
378
379         * Use FcIsWidth to share code
380
381         * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
382           misclassifying some Han fonts as monospaced.
383           
384 2003-05-07  Keith Packard <keithp@keithp.com>
385
386         * Add filename-based accept/reject to ammend available fonts.
387
388         * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
389           older FreeType releases.
390
391 2003-05-06  Keith Packard <keithp@keithp.com>
392
393         * Remove 0b82 and Tamil numbers from tamil 
394           orthography (Jungshik Shin <jshin@mailaps.org>)
395
396 2003-05-04  Keith Packard <keithp@keithp.com>
397
398         + Map glyph names in fonts with adobe custom encoding to unicode
399
400 2003-05-02  Keith Packard <keithp@keithp.com>
401
402         * Add FC_WEIGHT_BOOK as weight 75
403
404 2003-04-30  Keith Packard <keithp@keithp.com>
405
406         * Typo in bitstream foundry name
407
408 2003-04-24  Keith Packard <keithp@keithp.com>
409
410         * Eliminate italic_angle check for PS fonts
411
412 2003-04-23  Noah Levitt <nlevitt@columbia.edu>
413
414         * Getting closer to fixing /etc/fonts hard-coding.
415
416 2003-04-22  Keith Packard <keithp@keithp.com>
417
418         * Update autogen.sh to work with newer automake versions
419         * Handle pattern elements moving during multiple edits
420
421 2003-04-23  James Henstridge  <james@daa.com.au>
422
423         * doc/fontconfig-devel.sgml: close the <para> element.
424
425         * doc/fcpattern.fncs: close the <para> element.
426
427         * doc/func.sgml: close the <refsynopsisdiv> element.
428
429 2003-04-22  Keith Packard <keithp@keithp.com
430
431         * Update autogen.sh to work with newer automake versions
432         * Handle pattern elements moving during multiple edits
433
434 2003-04-17  Colin Walters <walters@debian.org>
435
436         + Remove some unused variables, and initialize some other ones so
437         gcc doesn't warn us.
438
439 2003-04-16  Keith Packard <keithp@keithp.com>
440
441         + tag version 2.1.94
442
443 2003-04-16  Keith Packard <keithp@keithp.com>
444
445         + add BDF property fetching support for foundry 
446           (from Juliusz Chroboczek)
447         + add BDF property fetching support for width
448
449 2003-04-11  Juliusz Chroboczek <jch@pps.jussieu.fr>
450
451         + Implemented foundry generation for Type 1 and TrueType
452
453 2003-04-11  Gerard Escalante <g2@magestudios.net>
454
455         + Retrieve information from Type1 FontInfo dictionaries
456
457 2003-04-07  Colin Walters <walters@verbum.org>
458
459         + src/Makefile.am: Fix dummy makefile target names when
460         MS_LIB_AVAILABLE isn't set.
461
462 2003-03-22  Tor Lillqvist  <tml@iki.fi>
463
464         Changes for Windows:
465           
466         + On Windows with gcc (a.k.a. mingw) build as a DLL.
467           
468         + We don't want to hardcode the fonts.conf file location in the
469           DLL, so we look up the DLL location at run-time in a DllMain()
470           function. The fonts.conf location is deduced from that.
471
472         + The colon can't be used as path separator on Windows,
473           semicolon is used instead. File path components can be separated
474           with either slash or backslash. Absolute paths can also begin
475           with a drive letter.
476
477         + Add internal function FcStrLastSlash that strrchr's the last
478           slash, or backslash on Windows.
479         
480         + There is no link() on Windows. For atomicity checks, mkdir a
481           lock directory instead.
482           
483         + In addition to HOME, also look for USERPROFILE.
484
485         + Recognize the special font directory token WINDOWSFONTDIR, to
486           use the system's font directory.
487           
488         + Remove the fontconfig-def.cpp that was obsolete. Add
489           fontconfig.def(.in), without internal functions.
490           
491         + Add a fontconfig-zip(.in) script, used to build a binary
492           distribution.
493
494 Fri Mar  7 07:55:00 EST 2003    Mike A. Harris <mharris@redhat.com>
495         + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
496           to main package and man3/* to devel package
497
498         + Added missing defattr(-, root, root) to main RPM package
499  
500         + Added HTML and text development documentation to -devel subpackage
501
502 Wed Mar  5 05:08:00 EST 2003    Mike A. Harris <mharris@redhat.com>
503         + Added back the configure macro options --disable-docs, otherwise
504           fontconfig installs docs into /usr/share/doc/fontconfig (with no
505           version number) unconditionally, causing RPM to fail the build due
506           to _unpackaged_files_terminate_build.  We pick up the pregenerated
507           docs with %doc already.
508
509 Wed Mar  5 04:26:20 EST 2003    Mike A. Harris <mharris@redhat.com>
510         + Removed commented out rpm macro define at top of spec file,
511           replacing it with a simple explanation, since rpm macros are
512           expanded by rpm even in comments.
513
514         + Changed /usr/bin to _bindir in BuildRequires lines
515
516         + Cleaned up rpm postinstall script, and made fc-cache use _bindir
517
518         + Reorganized file manifest lists
519
520 Sun Mar  2 14:16:17 EST 2003    Owen Taylor <otaylor@redhat.com>
521
522         + fontconfig.spec.in: Improvements from Red Hat spec file.
523
524         + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
525
526         + docs/*.sgml: SGML fixes.
527
528 Sat Mar  1 17:28:53 PST 2003    keithp
529         + Ok, so the ChangeLog is a bit out of date
530
531         + Lots of bugs fixed; most are in bugzilla, the
532           biggest problems were in cache management where
533           Owen discovered the library would lose badly when
534           combining fonts-cache and ~/.fonts-cache data
535
536         + Converted from autoconf to automake.  This after
537           getting patches accepted into libtool to allow
538           the '-version-number' argument which lets
539           packages set version numbers explicitly rather
540           than the roundabout libtool way
541
542         + Converted documentation to SGML using the docbook
543           DTD.  Now .txt and .html documents are installed
544           in /usr/share/doc/fontconfig and there's no
545           man page.  Perhaps a man version can be written
546           at some point.
547
548 Sat Aug 31 15:21:22 PDT 2002    keithp
549         + Xrender and Xft had several bugs related to
550           rendering manually placed or poly-face text
551
552         + Added more complete memory tracing in fontconfig
553           Checked with (patched) mozilla and found no leaks
554
555         + Updated Latin orthographies by comparing those from
556           evertype.com with those from eki.ee.  Tried to make
557           sensible choices, including chars that occured in both
558           and leaving some optional chars out that occured only
559           in one.
560
561 Mon Aug 26 16:33:04 PDT 2002    keithp
562         + Owen discovered that FcLangSetHasLang wasn't actually
563           checking the language set.
564
565 Mon Aug 26 13:37:23 PDT 2002    keithp
566         + Append a version number to cache filenames
567
568 Thu Aug 22 11:36:18 PDT 2002    keithp
569
570         + Add "contains" and "not_contains" operators and elements to
571           font configuration
572           
573         + Changed semantics of eq operator for LangSets to check for
574           FcLangEqual so that any match will do
575         
576         + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
577           of FcValueEqual to check for identical values when inserting into
578           the results.  This broke when the above semantic change was made,
579           now it uses FcValueEqual which is "more correct" in any case.
580
581 Thu Aug 22 00:32:29 PDT 2002    keithp
582
583         + Reimplement FC_LANG as new datatype.  Lists of strings
584           was consuming over a megabyte of memory for 401 fonts.
585
586         + Freeze patterns loaded from cache files.  This shares
587           common value lists and common patterns which saves
588           considerable memory.
589
590         + Change the denotation of 'constant' charsets to use special
591           ref value instead of separate boolean.
592
593         + Clean up leak tracing stuff, found several unannoted alloc/free
594           calls
595
596 Tue Aug 20 16:17:37 PDT 2002    keithp
597
598         + Fix memory leak when parsing matrices from XML
599
600 Mon Aug 19 11:57:27 PDT 2002    keithp
601
602         + Fix autoconf files to pass FONTCONFIG_PATH on
603           compile line so that ${prefix} gets substituted
604           correctly.
605
606         + Use getc_unlocked/putc_unlocked on systems that
607           provide them to avoid damage done to stdio by posix
608
609         + Eliminate FC_PATTERN and FcTypePattern in favor of
610           an extended api for FcConfigSubstitute which takes
611           both the font and the pattern.
612
613         + Add 'sans serif' alias for 'sans-serif' as some apps
614           can't handle hyphens in family names
615
616         + Eliminate pretense of support for libxml2
617
618         + Comment origins of Han orthographies
619
620 Tue Jul 30 18:37:09 PDT 2002    keithp
621
622         + Add binding property to edit element so that strong
623           binding values may be inserted by the config file.
624           The default remains weak.
625
626 Sun 28 Jul 04:16:55 PDT 2002    keithp
627
628         + Tagged release candidate 1 in the CVS tree and
629           placed fcpackage.rc1.tar.gz for distribution
630
631 Thu Aug  1 08:55:08 PDT 2002    keithp
632
633         + Fixed autoconf builds to always specify install
634           target files (for BSD).  Also fixed to
635           define FONTCONFIG_PATH in config.h so that
636           nonstandard installs will actually work.