1 2004-02-01 Tor Lillqvist <tml@iki.fi>
3 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
4 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
5 cache if config->cache is NULL, which happens if FcConfigHome() is
6 NULL. Guard against that by using the temp folder in that case.
8 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
14 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
15 (Afghan and Pakistani).
17 Updated Urdu orthography with real data.
19 2003-12-11 Carl Worth <cworth@east.isi.edu>
21 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
24 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
26 (all-local): Remove excessive whitespace.
28 * autogen.sh: Add 'set -e' to abort when any program fails,
29 (avoids printing of 'now type make' after configure aborts).
31 2003-11-17 Eric Christopherson <rakko@charter.net>
33 reviewed by: Keith Packard <keithp@keithp.com>
36 * fontconfig/fcfreetype.h:
38 Switch to FreeType 2.1.7 style includes. Bug #150.
40 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
42 * fc-list/fc-list.sgml: Add some example usages.
44 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
47 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
50 2003-10-27 Keith Packard <keith@keithp.com>
53 * fontconfig/fontconfig.h:
54 Update to version 2.2.92
56 2003-10-27 Keith Packard <keithp@keithp.com>
61 * fc-cache/Makefile.am:
62 * fc-glyphname/Makefile.am:
63 * fc-lang/Makefile.am:
64 * fc-list/Makefile.am:
65 * fc-match/Makefile.am:
68 Yet more cleanups to finish getting 'make distcheck' working
69 This has been tested to ensure that it even works from a _build
72 2003-10-26 Keith Packard <keithp@keithp.com>
76 * fc-cache/Makefile.am:
77 * fc-glyphname/Makefile.am:
78 * fc-lang/Makefile.am:
79 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
80 * fc-list/Makefile.am:
81 * fc-match/Makefile.am:
82 Attempts to fix 'make distcheck' work. Things are
83 progressing pretty well, but there are still failures
84 long into the process dealing with docs (as always).
86 The big changes here are mostly to make $(srcdir) != "."
87 work correctly, fixing the docbook related sections and
88 fc-lang were particularily tricky. Docbook refuses to load
89 system entities from anywhere other than where the original .sgml
90 file was located, so no luck looking in "." for the
91 configure-generated version.sgml and confdir.sgml files.
93 fc-lang needed help finding .orth files; added a -d option
94 to set the directory as the least evil of many options.
96 Now to go use a faster machine and try and wring out the last
99 2003-10-26 Keith Packard <keithp@keithp.com>
103 2003-10-26 Keith Packard <keithp@keithp.com>
106 Include confdir.sgml.in in EXTRA_DIST
108 2003-10-09 Josselin Mouette <joss@debian.org>
110 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
111 * fc-list/fc-list.sgml fc-list/Makefile.am:
112 Replace fc-cache and fc-list manpages with more detailed, SGML
115 2003-09-23 Owen Taylor <otaylor@redhat.com>
117 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
118 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
119 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
122 2003-09-23 Owen Taylor <otaylor@redhat.com>
124 * fc-lang/ka.orth: Remove Georgian capitals, they
125 aren't used for normal writing. (Bug #116)
127 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
129 * doc/fontconfig-devel.sgml:
130 * doc/fontconfig-user.sgml:
131 * fontconfig/fontconfig.h:
133 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
134 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
136 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
137 monospace and dual-width fonts, allow roughly a 3% variance in the
140 2003-08-31 Manish Singh <yosh@gimp.org>
142 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
145 2003-08-15 Carl Worth <cworth@isi.edu>
147 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
148 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
150 * src/fcpat.c (FcValueListEntDestroy): New function to support
151 FcFini memory cleanup. Some statistics are not kept in
153 (FcValueListFreeze): Move hashTable outside this function so it
154 can be accessed by FcValueListThawAll.
155 (FcValueListThawAll): New function complements FcValueListFreeze.
156 (FcPatternBaseFreeze): Move hashTable outside this function so it
157 can be accessed by FcPatternBaseThawAll.
158 (FcPatternBaseThawAll): New function complements
160 (FcPatternThawAll): New function complements FcPatternFreeze.
162 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
164 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
165 allocated FcCharLeafEnt "blocks" so they can be freed later.
166 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
167 can be accessed by FcCharSetThawAllLeaf.
168 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
169 (FcCharSetFreezeBase): Move hashTable outside this function so it
170 can be accessed by FcCharSetThawAll.
171 (FcCharSetThawAll): New function complements FcCharSetFreeze.
173 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
174 (FcConfigDestroy): Fic leak of FcBlanks.
176 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
177 (main): Add call to FcFini when finished.
179 * fc-glyphname/fc-glyphname.c: Mark several local functions as
180 static. Add prototypes.
182 * doc/fcinit.fncs: Add documentation for FcFini function.
184 * doc/edit-sgml.c: Mark several local functions as static. Add
187 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
189 2003-06-15 Tor Lillqvist <tml@iki.fi>
191 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
192 before comparing (needed on Windows).
194 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
196 2003-06-13 Tor Lillqvist <tml@iki.fi>
198 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
201 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
202 WINDOWSFONTDIR token.
204 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
205 end, not to confuse libtool, which expects the EXPORTS line to be
206 the first. Add FcConfigEnableHome.
208 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
209 built as a DLL on Win32.
211 2003-06-09 Keith Packard <keithp@keithp.com>
215 2003-06-09 Keith Packard <keithp@keithp.com>
217 * Optimization in FcLangSetIndex was broken, occasionally
218 returning a pointer to the wrong location on miss
220 * Add fc-match to test font matching from the command line.
222 2003-05-31 Keith Packard <keithp@keithp.com>
224 * (Bug 85) add support for culmus fonts
225 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
226 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
228 2003-05-28 James Su <suzhe@turbolinux.com.cn>
230 * Fix "contains" op for strings and langsets.
232 2003-05-17 Keith Packard <keithp@keithp.com>
234 * Fix build error with BDF prop local. Free langset after query
236 2003-05-14 Keith Packard <keithp@keithp.com>
238 * Extract spacing from XLFD atom
240 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
242 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
245 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
247 2003-05-12 Keith Packard <keithp@keithp.com>
249 * Use FcIsWidth to share code
251 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
252 misclassifying some Han fonts as monospaced.
254 2003-05-07 Keith Packard <keithp@keithp.com>
256 * Add filename-based accept/reject to ammend available fonts.
258 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
259 older FreeType releases.
261 2003-05-06 Keith Packard <keithp@keithp.com>
263 * Remove 0b82 and Tamil numbers from tamil
264 orthography (Jungshik Shin <jshin@mailaps.org>)
266 2003-05-04 Keith Packard <keithp@keithp.com>
268 + Map glyph names in fonts with adobe custom encoding to unicode
270 2003-05-02 Keith Packard <keithp@keithp.com>
272 * Add FC_WEIGHT_BOOK as weight 75
274 2003-04-30 Keith Packard <keithp@keithp.com>
276 * Typo in bitstream foundry name
278 2003-04-24 Keith Packard <keithp@keithp.com>
280 * Eliminate italic_angle check for PS fonts
282 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
284 * Getting closer to fixing /etc/fonts hard-coding.
286 2003-04-22 Keith Packard <keithp@keithp.com>
288 * Update autogen.sh to work with newer automake versions
289 * Handle pattern elements moving during multiple edits
291 2003-04-23 James Henstridge <james@daa.com.au>
293 * doc/fontconfig-devel.sgml: close the <para> element.
295 * doc/fcpattern.fncs: close the <para> element.
297 * doc/func.sgml: close the <refsynopsisdiv> element.
299 2003-04-22 Keith Packard <keithp@keithp.com
301 * Update autogen.sh to work with newer automake versions
302 * Handle pattern elements moving during multiple edits
304 2003-04-17 Colin Walters <walters@debian.org>
306 + Remove some unused variables, and initialize some other ones so
309 2003-04-16 Keith Packard <keithp@keithp.com>
313 2003-04-16 Keith Packard <keithp@keithp.com>
315 + add BDF property fetching support for foundry
316 (from Juliusz Chroboczek)
317 + add BDF property fetching support for width
319 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
321 + Implemented foundry generation for Type 1 and TrueType
323 2003-04-11 Gerard Escalante <g2@magestudios.net>
325 + Retrieve information from Type1 FontInfo dictionaries
327 2003-04-07 Colin Walters <walters@verbum.org>
329 + src/Makefile.am: Fix dummy makefile target names when
330 MS_LIB_AVAILABLE isn't set.
332 2003-03-22 Tor Lillqvist <tml@iki.fi>
336 + On Windows with gcc (a.k.a. mingw) build as a DLL.
338 + We don't want to hardcode the fonts.conf file location in the
339 DLL, so we look up the DLL location at run-time in a DllMain()
340 function. The fonts.conf location is deduced from that.
342 + The colon can't be used as path separator on Windows,
343 semicolon is used instead. File path components can be separated
344 with either slash or backslash. Absolute paths can also begin
347 + Add internal function FcStrLastSlash that strrchr's the last
348 slash, or backslash on Windows.
350 + There is no link() on Windows. For atomicity checks, mkdir a
351 lock directory instead.
353 + In addition to HOME, also look for USERPROFILE.
355 + Recognize the special font directory token WINDOWSFONTDIR, to
356 use the system's font directory.
358 + Remove the fontconfig-def.cpp that was obsolete. Add
359 fontconfig.def(.in), without internal functions.
361 + Add a fontconfig-zip(.in) script, used to build a binary
364 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
365 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
366 to main package and man3/* to devel package
368 + Added missing defattr(-, root, root) to main RPM package
370 + Added HTML and text development documentation to -devel subpackage
372 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
373 + Added back the configure macro options --disable-docs, otherwise
374 fontconfig installs docs into /usr/share/doc/fontconfig (with no
375 version number) unconditionally, causing RPM to fail the build due
376 to _unpackaged_files_terminate_build. We pick up the pregenerated
377 docs with %doc already.
379 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
380 + Removed commented out rpm macro define at top of spec file,
381 replacing it with a simple explanation, since rpm macros are
382 expanded by rpm even in comments.
384 + Changed /usr/bin to _bindir in BuildRequires lines
386 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
388 + Reorganized file manifest lists
390 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
392 + fontconfig.spec.in: Improvements from Red Hat spec file.
394 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
396 + docs/*.sgml: SGML fixes.
398 Sat Mar 1 17:28:53 PST 2003 keithp
399 + Ok, so the ChangeLog is a bit out of date
401 + Lots of bugs fixed; most are in bugzilla, the
402 biggest problems were in cache management where
403 Owen discovered the library would lose badly when
404 combining fonts-cache and ~/.fonts-cache data
406 + Converted from autoconf to automake. This after
407 getting patches accepted into libtool to allow
408 the '-version-number' argument which lets
409 packages set version numbers explicitly rather
410 than the roundabout libtool way
412 + Converted documentation to SGML using the docbook
413 DTD. Now .txt and .html documents are installed
414 in /usr/share/doc/fontconfig and there's no
415 man page. Perhaps a man version can be written
418 Sat Aug 31 15:21:22 PDT 2002 keithp
419 + Xrender and Xft had several bugs related to
420 rendering manually placed or poly-face text
422 + Added more complete memory tracing in fontconfig
423 Checked with (patched) mozilla and found no leaks
425 + Updated Latin orthographies by comparing those from
426 evertype.com with those from eki.ee. Tried to make
427 sensible choices, including chars that occured in both
428 and leaving some optional chars out that occured only
431 Mon Aug 26 16:33:04 PDT 2002 keithp
432 + Owen discovered that FcLangSetHasLang wasn't actually
433 checking the language set.
435 Mon Aug 26 13:37:23 PDT 2002 keithp
436 + Append a version number to cache filenames
438 Thu Aug 22 11:36:18 PDT 2002 keithp
440 + Add "contains" and "not_contains" operators and elements to
443 + Changed semantics of eq operator for LangSets to check for
444 FcLangEqual so that any match will do
446 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
447 of FcValueEqual to check for identical values when inserting into
448 the results. This broke when the above semantic change was made,
449 now it uses FcValueEqual which is "more correct" in any case.
451 Thu Aug 22 00:32:29 PDT 2002 keithp
453 + Reimplement FC_LANG as new datatype. Lists of strings
454 was consuming over a megabyte of memory for 401 fonts.
456 + Freeze patterns loaded from cache files. This shares
457 common value lists and common patterns which saves
460 + Change the denotation of 'constant' charsets to use special
461 ref value instead of separate boolean.
463 + Clean up leak tracing stuff, found several unannoted alloc/free
466 Tue Aug 20 16:17:37 PDT 2002 keithp
468 + Fix memory leak when parsing matrices from XML
470 Mon Aug 19 11:57:27 PDT 2002 keithp
472 + Fix autoconf files to pass FONTCONFIG_PATH on
473 compile line so that ${prefix} gets substituted
476 + Use getc_unlocked/putc_unlocked on systems that
477 provide them to avoid damage done to stdio by posix
479 + Eliminate FC_PATTERN and FcTypePattern in favor of
480 an extended api for FcConfigSubstitute which takes
481 both the font and the pattern.
483 + Add 'sans serif' alias for 'sans-serif' as some apps
484 can't handle hyphens in family names
486 + Eliminate pretense of support for libxml2
488 + Comment origins of Han orthographies
490 Tue Jul 30 18:37:09 PDT 2002 keithp
492 + Add binding property to edit element so that strong
493 binding values may be inserted by the config file.
494 The default remains weak.
496 Sun 28 Jul 04:16:55 PDT 2002 keithp
498 + Tagged release candidate 1 in the CVS tree and
499 placed fcpackage.rc1.tar.gz for distribution
501 Thu Aug 1 08:55:08 PDT 2002 keithp
503 + Fixed autoconf builds to always specify install
504 target files (for BSD). Also fixed to
505 define FONTCONFIG_PATH in config.h so that
506 nonstandard installs will actually work.