1 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
6 Remove spurious / after $(DESTDIR)
8 2004-06-30 Keith Packard <keithp@keithp.com>
12 * fontconfig/fontconfig.h:
15 2004-06-30 Keith Packard <keithp@keithp.com>
17 Provided by: Lubos Lunak <l.lunak@suse.cz>
19 * src/fccfg.c: (FcConfigUptoDate):
20 However FcConfigUptoDate() doesn't seem to work. See the attached
21 patch. First there's an obvious misplaced parenthesis making it
22 return always false, and second, even this call fails to detect font
23 changes (e.g. adding a new font to
24 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
25 well. The problem seems to be triggered by my fonts.conf specifying
26 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
27 doesn't include subdirs, unlike config->fontDirs.
29 2004-06-03 Keith Packard <keithp@keithp.com>
31 * fontconfig/fontconfig.h:
32 Remove comma at end of FcResult enum definition.
34 2004-05-29 Keith Packard <keithp@keithp.com>
37 Add steps to md5sum release
39 2004-05-29 Keith Packard <keithp@keithp.com>
43 * fontconfig/fontconfig.h:
46 2004-05-29 Keith Packard <keithp@keithp.com>
48 * fontconfig/fontconfig.h:
49 * src/fcmatch.c: (FcFontSetMatch):
50 Add FcResultOutOfMemory to provide an accurate error when
51 FcFontSetMatch fails in this way
54 Make #warning about lacking various FreeType features indicate
55 which version those features appeared so users know how to
56 fix the problem (Thanks to Anton Tropashko)
58 2004-05-05 Keith Packard <keithp@keithp.com>
60 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
61 Replace MIN/MAX/ABS macros which happen to have come
62 from FreeType with fontconfig-specific ones (FC_*)
64 2004-04-23 Keith Packard <keithp@keithp.com>
67 Extend release preparation instructions to include
68 notification and distribution steps
70 2004-04-23 Keith Packard <keithp@keithp.com>
74 * fontconfig/fontconfig.h:
75 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
77 2004-04-23 Keith Packard <keithp@keithp.com>
80 Ignore a few more autotool files
82 2004-04-14 Keith Packard <keithp@keithp.com>
85 Add instructions for doing a release
88 clean up .spec file; perhaps this will be useful to somebody...
92 * fontconfig/fontconfig.h:
96 Make 'scanopen' static so GCC doesn't whine about lacking prototype
98 * fc-glyphname/Makefile.am:
99 * fc-lang/Makefile.am:
100 * fc-list/Makefile.am:
101 * fc-match/Makefile.am:
103 Add WARN_CFLAGS to pass -W flags for GCC systems
105 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
106 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
107 Change various char types around to match across
109 Fixed bug in using available_sizes[i].height which
110 is in pixels, not 64ths of a pixel.
112 2004-03-06 Keith Packard <keithp@keithp.com>
114 * src/fcfreetype.c: (FcFreeTypeQuery):
115 Force FC_FOUNDRY and FC_WIDTH to always be set so that
116 matches looking for explicit values prefer exact matches
118 2004-03-02 Keith Packard <keithp@keithp.com>
120 Supplied by: mfabian@suse.de (Mike FABIAN)
122 * src/fcfreetype.c: (FcFreeTypeQuery):
123 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
124 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
126 2004-02-21 Manish Singh <yosh@gimp.org>
128 * fc-glyphname/fc-glyphname.c: (main):
129 Cast strlen to int for printf, so we're 64-bit clean.
131 2004-02-11 Keith Packard <keithp@keithp.com>
134 * src/fcfreetype.c: (FcGetPixelSize):
135 Ok, so I messed up the test for y_ppem. Let's see if I
136 got it right this time.
138 2004-02-10 Keith Packard <keithp@keithp.com>
141 * src/fcfreetype.c: (FcGetPixelSize):
142 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
143 FT_Bitmap_Size record. Add a configure.in test for this
144 and change the code accordingly (using height instead).
146 2004-02-06 Keith Packard <keithp@keithp.com>
149 Add Low Saxon orthography
150 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
152 * src/fccfg.c: (FcConfigNewestFile):
153 Oops. Left 'newest.set' unset, which would miscompute
156 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
157 (FcFreeTypeCheckGlyph):
158 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
159 font properties (which report the wrong value in current FreeType)
161 Don't attempt to check for empty glyphs in non-scalable fonts; they
164 2004-02-01 Tor Lillqvist <tml@iki.fi>
166 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
167 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
168 cache if config->cache is NULL, which happens if FcConfigHome() is
169 NULL. Guard against that by using the temp folder in that case.
171 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
173 * fc-lang/az_ir.orth:
174 * fc-lang/ku_ir.orth:
175 * fc-lang/ps_af.orth:
176 * fc-lang/ps_pk.orth:
177 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
178 (Afghan and Pakistani).
180 Updated Urdu orthography with real data.
182 2003-12-11 Carl Worth <cworth@east.isi.edu>
184 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
187 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
189 (all-local): Remove excessive whitespace.
191 * autogen.sh: Add 'set -e' to abort when any program fails,
192 (avoids printing of 'now type make' after configure aborts).
194 2003-11-17 Eric Christopherson <rakko@charter.net>
196 reviewed by: Keith Packard <keithp@keithp.com>
199 * fontconfig/fcfreetype.h:
201 Switch to FreeType 2.1.7 style includes. Bug #150.
203 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
205 * fc-list/fc-list.sgml: Add some example usages.
207 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
210 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
213 2003-10-27 Keith Packard <keith@keithp.com>
216 * fontconfig/fontconfig.h:
217 Update to version 2.2.92
219 2003-10-27 Keith Packard <keithp@keithp.com>
224 * fc-cache/Makefile.am:
225 * fc-glyphname/Makefile.am:
226 * fc-lang/Makefile.am:
227 * fc-list/Makefile.am:
228 * fc-match/Makefile.am:
231 Yet more cleanups to finish getting 'make distcheck' working
232 This has been tested to ensure that it even works from a _build
235 2003-10-26 Keith Packard <keithp@keithp.com>
239 * fc-cache/Makefile.am:
240 * fc-glyphname/Makefile.am:
241 * fc-lang/Makefile.am:
242 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
243 * fc-list/Makefile.am:
244 * fc-match/Makefile.am:
245 Attempts to fix 'make distcheck' work. Things are
246 progressing pretty well, but there are still failures
247 long into the process dealing with docs (as always).
249 The big changes here are mostly to make $(srcdir) != "."
250 work correctly, fixing the docbook related sections and
251 fc-lang were particularily tricky. Docbook refuses to load
252 system entities from anywhere other than where the original .sgml
253 file was located, so no luck looking in "." for the
254 configure-generated version.sgml and confdir.sgml files.
256 fc-lang needed help finding .orth files; added a -d option
257 to set the directory as the least evil of many options.
259 Now to go use a faster machine and try and wring out the last
262 2003-10-26 Keith Packard <keithp@keithp.com>
266 2003-10-26 Keith Packard <keithp@keithp.com>
269 Include confdir.sgml.in in EXTRA_DIST
271 2003-10-09 Josselin Mouette <joss@debian.org>
273 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
274 * fc-list/fc-list.sgml fc-list/Makefile.am:
275 Replace fc-cache and fc-list manpages with more detailed, SGML
278 2003-09-23 Owen Taylor <otaylor@redhat.com>
280 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
281 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
282 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
285 2003-09-23 Owen Taylor <otaylor@redhat.com>
287 * fc-lang/ka.orth: Remove Georgian capitals, they
288 aren't used for normal writing. (Bug #116)
290 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
292 * doc/fontconfig-devel.sgml:
293 * doc/fontconfig-user.sgml:
294 * fontconfig/fontconfig.h:
296 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
297 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
299 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
300 monospace and dual-width fonts, allow roughly a 3% variance in the
303 2003-08-31 Manish Singh <yosh@gimp.org>
305 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
308 2003-08-15 Carl Worth <cworth@isi.edu>
310 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
311 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
313 * src/fcpat.c (FcValueListEntDestroy): New function to support
314 FcFini memory cleanup. Some statistics are not kept in
316 (FcValueListFreeze): Move hashTable outside this function so it
317 can be accessed by FcValueListThawAll.
318 (FcValueListThawAll): New function complements FcValueListFreeze.
319 (FcPatternBaseFreeze): Move hashTable outside this function so it
320 can be accessed by FcPatternBaseThawAll.
321 (FcPatternBaseThawAll): New function complements
323 (FcPatternThawAll): New function complements FcPatternFreeze.
325 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
327 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
328 allocated FcCharLeafEnt "blocks" so they can be freed later.
329 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
330 can be accessed by FcCharSetThawAllLeaf.
331 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
332 (FcCharSetFreezeBase): Move hashTable outside this function so it
333 can be accessed by FcCharSetThawAll.
334 (FcCharSetThawAll): New function complements FcCharSetFreeze.
336 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
337 (FcConfigDestroy): Fic leak of FcBlanks.
339 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
340 (main): Add call to FcFini when finished.
342 * fc-glyphname/fc-glyphname.c: Mark several local functions as
343 static. Add prototypes.
345 * doc/fcinit.fncs: Add documentation for FcFini function.
347 * doc/edit-sgml.c: Mark several local functions as static. Add
350 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
352 2003-06-15 Tor Lillqvist <tml@iki.fi>
354 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
355 before comparing (needed on Windows).
357 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
359 2003-06-13 Tor Lillqvist <tml@iki.fi>
361 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
364 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
365 WINDOWSFONTDIR token.
367 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
368 end, not to confuse libtool, which expects the EXPORTS line to be
369 the first. Add FcConfigEnableHome.
371 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
372 built as a DLL on Win32.
374 2003-06-09 Keith Packard <keithp@keithp.com>
378 2003-06-09 Keith Packard <keithp@keithp.com>
380 * Optimization in FcLangSetIndex was broken, occasionally
381 returning a pointer to the wrong location on miss
383 * Add fc-match to test font matching from the command line.
385 2003-05-31 Keith Packard <keithp@keithp.com>
387 * (Bug 85) add support for culmus fonts
388 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
389 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
391 2003-05-28 James Su <suzhe@turbolinux.com.cn>
393 * Fix "contains" op for strings and langsets.
395 2003-05-17 Keith Packard <keithp@keithp.com>
397 * Fix build error with BDF prop local. Free langset after query
399 2003-05-14 Keith Packard <keithp@keithp.com>
401 * Extract spacing from XLFD atom
403 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
405 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
408 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
410 2003-05-12 Keith Packard <keithp@keithp.com>
412 * Use FcIsWidth to share code
414 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
415 misclassifying some Han fonts as monospaced.
417 2003-05-07 Keith Packard <keithp@keithp.com>
419 * Add filename-based accept/reject to ammend available fonts.
421 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
422 older FreeType releases.
424 2003-05-06 Keith Packard <keithp@keithp.com>
426 * Remove 0b82 and Tamil numbers from tamil
427 orthography (Jungshik Shin <jshin@mailaps.org>)
429 2003-05-04 Keith Packard <keithp@keithp.com>
431 + Map glyph names in fonts with adobe custom encoding to unicode
433 2003-05-02 Keith Packard <keithp@keithp.com>
435 * Add FC_WEIGHT_BOOK as weight 75
437 2003-04-30 Keith Packard <keithp@keithp.com>
439 * Typo in bitstream foundry name
441 2003-04-24 Keith Packard <keithp@keithp.com>
443 * Eliminate italic_angle check for PS fonts
445 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
447 * Getting closer to fixing /etc/fonts hard-coding.
449 2003-04-22 Keith Packard <keithp@keithp.com>
451 * Update autogen.sh to work with newer automake versions
452 * Handle pattern elements moving during multiple edits
454 2003-04-23 James Henstridge <james@daa.com.au>
456 * doc/fontconfig-devel.sgml: close the <para> element.
458 * doc/fcpattern.fncs: close the <para> element.
460 * doc/func.sgml: close the <refsynopsisdiv> element.
462 2003-04-22 Keith Packard <keithp@keithp.com
464 * Update autogen.sh to work with newer automake versions
465 * Handle pattern elements moving during multiple edits
467 2003-04-17 Colin Walters <walters@debian.org>
469 + Remove some unused variables, and initialize some other ones so
472 2003-04-16 Keith Packard <keithp@keithp.com>
476 2003-04-16 Keith Packard <keithp@keithp.com>
478 + add BDF property fetching support for foundry
479 (from Juliusz Chroboczek)
480 + add BDF property fetching support for width
482 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
484 + Implemented foundry generation for Type 1 and TrueType
486 2003-04-11 Gerard Escalante <g2@magestudios.net>
488 + Retrieve information from Type1 FontInfo dictionaries
490 2003-04-07 Colin Walters <walters@verbum.org>
492 + src/Makefile.am: Fix dummy makefile target names when
493 MS_LIB_AVAILABLE isn't set.
495 2003-03-22 Tor Lillqvist <tml@iki.fi>
499 + On Windows with gcc (a.k.a. mingw) build as a DLL.
501 + We don't want to hardcode the fonts.conf file location in the
502 DLL, so we look up the DLL location at run-time in a DllMain()
503 function. The fonts.conf location is deduced from that.
505 + The colon can't be used as path separator on Windows,
506 semicolon is used instead. File path components can be separated
507 with either slash or backslash. Absolute paths can also begin
510 + Add internal function FcStrLastSlash that strrchr's the last
511 slash, or backslash on Windows.
513 + There is no link() on Windows. For atomicity checks, mkdir a
514 lock directory instead.
516 + In addition to HOME, also look for USERPROFILE.
518 + Recognize the special font directory token WINDOWSFONTDIR, to
519 use the system's font directory.
521 + Remove the fontconfig-def.cpp that was obsolete. Add
522 fontconfig.def(.in), without internal functions.
524 + Add a fontconfig-zip(.in) script, used to build a binary
527 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
528 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
529 to main package and man3/* to devel package
531 + Added missing defattr(-, root, root) to main RPM package
533 + Added HTML and text development documentation to -devel subpackage
535 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
536 + Added back the configure macro options --disable-docs, otherwise
537 fontconfig installs docs into /usr/share/doc/fontconfig (with no
538 version number) unconditionally, causing RPM to fail the build due
539 to _unpackaged_files_terminate_build. We pick up the pregenerated
540 docs with %doc already.
542 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
543 + Removed commented out rpm macro define at top of spec file,
544 replacing it with a simple explanation, since rpm macros are
545 expanded by rpm even in comments.
547 + Changed /usr/bin to _bindir in BuildRequires lines
549 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
551 + Reorganized file manifest lists
553 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
555 + fontconfig.spec.in: Improvements from Red Hat spec file.
557 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
559 + docs/*.sgml: SGML fixes.
561 Sat Mar 1 17:28:53 PST 2003 keithp
562 + Ok, so the ChangeLog is a bit out of date
564 + Lots of bugs fixed; most are in bugzilla, the
565 biggest problems were in cache management where
566 Owen discovered the library would lose badly when
567 combining fonts-cache and ~/.fonts-cache data
569 + Converted from autoconf to automake. This after
570 getting patches accepted into libtool to allow
571 the '-version-number' argument which lets
572 packages set version numbers explicitly rather
573 than the roundabout libtool way
575 + Converted documentation to SGML using the docbook
576 DTD. Now .txt and .html documents are installed
577 in /usr/share/doc/fontconfig and there's no
578 man page. Perhaps a man version can be written
581 Sat Aug 31 15:21:22 PDT 2002 keithp
582 + Xrender and Xft had several bugs related to
583 rendering manually placed or poly-face text
585 + Added more complete memory tracing in fontconfig
586 Checked with (patched) mozilla and found no leaks
588 + Updated Latin orthographies by comparing those from
589 evertype.com with those from eki.ee. Tried to make
590 sensible choices, including chars that occured in both
591 and leaving some optional chars out that occured only
594 Mon Aug 26 16:33:04 PDT 2002 keithp
595 + Owen discovered that FcLangSetHasLang wasn't actually
596 checking the language set.
598 Mon Aug 26 13:37:23 PDT 2002 keithp
599 + Append a version number to cache filenames
601 Thu Aug 22 11:36:18 PDT 2002 keithp
603 + Add "contains" and "not_contains" operators and elements to
606 + Changed semantics of eq operator for LangSets to check for
607 FcLangEqual so that any match will do
609 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
610 of FcValueEqual to check for identical values when inserting into
611 the results. This broke when the above semantic change was made,
612 now it uses FcValueEqual which is "more correct" in any case.
614 Thu Aug 22 00:32:29 PDT 2002 keithp
616 + Reimplement FC_LANG as new datatype. Lists of strings
617 was consuming over a megabyte of memory for 401 fonts.
619 + Freeze patterns loaded from cache files. This shares
620 common value lists and common patterns which saves
623 + Change the denotation of 'constant' charsets to use special
624 ref value instead of separate boolean.
626 + Clean up leak tracing stuff, found several unannoted alloc/free
629 Tue Aug 20 16:17:37 PDT 2002 keithp
631 + Fix memory leak when parsing matrices from XML
633 Mon Aug 19 11:57:27 PDT 2002 keithp
635 + Fix autoconf files to pass FONTCONFIG_PATH on
636 compile line so that ${prefix} gets substituted
639 + Use getc_unlocked/putc_unlocked on systems that
640 provide them to avoid damage done to stdio by posix
642 + Eliminate FC_PATTERN and FcTypePattern in favor of
643 an extended api for FcConfigSubstitute which takes
644 both the font and the pattern.
646 + Add 'sans serif' alias for 'sans-serif' as some apps
647 can't handle hyphens in family names
649 + Eliminate pretense of support for libxml2
651 + Comment origins of Han orthographies
653 Tue Jul 30 18:37:09 PDT 2002 keithp
655 + Add binding property to edit element so that strong
656 binding values may be inserted by the config file.
657 The default remains weak.
659 Sun 28 Jul 04:16:55 PDT 2002 keithp
661 + Tagged release candidate 1 in the CVS tree and
662 placed fcpackage.rc1.tar.gz for distribution
664 Thu Aug 1 08:55:08 PDT 2002 keithp
666 + Fixed autoconf builds to always specify install
667 target files (for BSD). Also fixed to
668 define FONTCONFIG_PATH in config.h so that
669 nonstandard installs will actually work.