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