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