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