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