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