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