1 2004-12-04 Keith Packard <keithp@keithp.com>
4 Move existing fonts.conf to fonts.conf.bak
10 * doc/fontconfig-devel.sgml:
11 * doc/fontconfig-user.sgml:
13 Document new selectfont elements
16 Switch to UTF-8 in comment
18 * fontconfig/fontconfig.h:
20 Add fullname, and family/style/fullname language entries
22 * src/fccache.c: (FcCacheFontSetAdd):
23 * src/fcdir.c: (FcFileScanConfig):
24 Respect selectfont/*/glob
27 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
28 (FcConfigCompareValue), (FcConfigPatternsAdd),
29 (FcConfigPatternsMatch), (FcConfigAcceptFont):
30 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
31 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
32 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
33 Add support for selectfont
35 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
36 (FcStringInPatternElement), (FcFreeTypeQuery):
37 Add multi-lingual family/style/fullname support
39 * src/fclist.c: (FcListPatternMatchAny):
40 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
42 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
44 Add new FcPatternRemove/FcPatternAppend.
45 FcObjectStaticName stores computed pattern element names which
46 are required to be static.
48 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
53 Remove spurious / after $(DESTDIR)
55 2004-06-30 Keith Packard <keithp@keithp.com>
59 * fontconfig/fontconfig.h:
62 2004-06-30 Keith Packard <keithp@keithp.com>
64 Provided by: Lubos Lunak <l.lunak@suse.cz>
66 * src/fccfg.c: (FcConfigUptoDate):
67 However FcConfigUptoDate() doesn't seem to work. See the attached
68 patch. First there's an obvious misplaced parenthesis making it
69 return always false, and second, even this call fails to detect font
70 changes (e.g. adding a new font to
71 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
72 well. The problem seems to be triggered by my fonts.conf specifying
73 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
74 doesn't include subdirs, unlike config->fontDirs.
76 2004-06-03 Keith Packard <keithp@keithp.com>
78 * fontconfig/fontconfig.h:
79 Remove comma at end of FcResult enum definition.
81 2004-05-29 Keith Packard <keithp@keithp.com>
84 Add steps to md5sum release
86 2004-05-29 Keith Packard <keithp@keithp.com>
90 * fontconfig/fontconfig.h:
93 2004-05-29 Keith Packard <keithp@keithp.com>
95 * fontconfig/fontconfig.h:
96 * src/fcmatch.c: (FcFontSetMatch):
97 Add FcResultOutOfMemory to provide an accurate error when
98 FcFontSetMatch fails in this way
101 Make #warning about lacking various FreeType features indicate
102 which version those features appeared so users know how to
103 fix the problem (Thanks to Anton Tropashko)
105 2004-05-05 Keith Packard <keithp@keithp.com>
107 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
108 Replace MIN/MAX/ABS macros which happen to have come
109 from FreeType with fontconfig-specific ones (FC_*)
111 2004-04-23 Keith Packard <keithp@keithp.com>
114 Extend release preparation instructions to include
115 notification and distribution steps
117 2004-04-23 Keith Packard <keithp@keithp.com>
121 * fontconfig/fontconfig.h:
122 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
124 2004-04-23 Keith Packard <keithp@keithp.com>
127 Ignore a few more autotool files
129 2004-04-14 Keith Packard <keithp@keithp.com>
132 Add instructions for doing a release
134 * fontconfig.spec.in:
135 clean up .spec file; perhaps this will be useful to somebody...
139 * fontconfig/fontconfig.h:
143 Make 'scanopen' static so GCC doesn't whine about lacking prototype
145 * fc-glyphname/Makefile.am:
146 * fc-lang/Makefile.am:
147 * fc-list/Makefile.am:
148 * fc-match/Makefile.am:
150 Add WARN_CFLAGS to pass -W flags for GCC systems
152 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
153 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
154 Change various char types around to match across
156 Fixed bug in using available_sizes[i].height which
157 is in pixels, not 64ths of a pixel.
159 2004-03-06 Keith Packard <keithp@keithp.com>
161 * src/fcfreetype.c: (FcFreeTypeQuery):
162 Force FC_FOUNDRY and FC_WIDTH to always be set so that
163 matches looking for explicit values prefer exact matches
165 2004-03-02 Keith Packard <keithp@keithp.com>
167 Supplied by: mfabian@suse.de (Mike FABIAN)
169 * src/fcfreetype.c: (FcFreeTypeQuery):
170 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
171 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
173 2004-02-21 Manish Singh <yosh@gimp.org>
175 * fc-glyphname/fc-glyphname.c: (main):
176 Cast strlen to int for printf, so we're 64-bit clean.
178 2004-02-11 Keith Packard <keithp@keithp.com>
181 * src/fcfreetype.c: (FcGetPixelSize):
182 Ok, so I messed up the test for y_ppem. Let's see if I
183 got it right this time.
185 2004-02-10 Keith Packard <keithp@keithp.com>
188 * src/fcfreetype.c: (FcGetPixelSize):
189 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
190 FT_Bitmap_Size record. Add a configure.in test for this
191 and change the code accordingly (using height instead).
193 2004-02-06 Keith Packard <keithp@keithp.com>
196 Add Low Saxon orthography
197 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
199 * src/fccfg.c: (FcConfigNewestFile):
200 Oops. Left 'newest.set' unset, which would miscompute
203 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
204 (FcFreeTypeCheckGlyph):
205 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
206 font properties (which report the wrong value in current FreeType)
208 Don't attempt to check for empty glyphs in non-scalable fonts; they
211 2004-02-01 Tor Lillqvist <tml@iki.fi>
213 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
214 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
215 cache if config->cache is NULL, which happens if FcConfigHome() is
216 NULL. Guard against that by using the temp folder in that case.
218 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
220 * fc-lang/az_ir.orth:
221 * fc-lang/ku_ir.orth:
222 * fc-lang/ps_af.orth:
223 * fc-lang/ps_pk.orth:
224 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
225 (Afghan and Pakistani).
227 Updated Urdu orthography with real data.
229 2003-12-11 Carl Worth <cworth@east.isi.edu>
231 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
234 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
236 (all-local): Remove excessive whitespace.
238 * autogen.sh: Add 'set -e' to abort when any program fails,
239 (avoids printing of 'now type make' after configure aborts).
241 2003-11-17 Eric Christopherson <rakko@charter.net>
243 reviewed by: Keith Packard <keithp@keithp.com>
246 * fontconfig/fcfreetype.h:
248 Switch to FreeType 2.1.7 style includes. Bug #150.
250 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
252 * fc-list/fc-list.sgml: Add some example usages.
254 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
257 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
260 2003-10-27 Keith Packard <keith@keithp.com>
263 * fontconfig/fontconfig.h:
264 Update to version 2.2.92
266 2003-10-27 Keith Packard <keithp@keithp.com>
271 * fc-cache/Makefile.am:
272 * fc-glyphname/Makefile.am:
273 * fc-lang/Makefile.am:
274 * fc-list/Makefile.am:
275 * fc-match/Makefile.am:
278 Yet more cleanups to finish getting 'make distcheck' working
279 This has been tested to ensure that it even works from a _build
282 2003-10-26 Keith Packard <keithp@keithp.com>
286 * fc-cache/Makefile.am:
287 * fc-glyphname/Makefile.am:
288 * fc-lang/Makefile.am:
289 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
290 * fc-list/Makefile.am:
291 * fc-match/Makefile.am:
292 Attempts to fix 'make distcheck' work. Things are
293 progressing pretty well, but there are still failures
294 long into the process dealing with docs (as always).
296 The big changes here are mostly to make $(srcdir) != "."
297 work correctly, fixing the docbook related sections and
298 fc-lang were particularily tricky. Docbook refuses to load
299 system entities from anywhere other than where the original .sgml
300 file was located, so no luck looking in "." for the
301 configure-generated version.sgml and confdir.sgml files.
303 fc-lang needed help finding .orth files; added a -d option
304 to set the directory as the least evil of many options.
306 Now to go use a faster machine and try and wring out the last
309 2003-10-26 Keith Packard <keithp@keithp.com>
313 2003-10-26 Keith Packard <keithp@keithp.com>
316 Include confdir.sgml.in in EXTRA_DIST
318 2003-10-09 Josselin Mouette <joss@debian.org>
320 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
321 * fc-list/fc-list.sgml fc-list/Makefile.am:
322 Replace fc-cache and fc-list manpages with more detailed, SGML
325 2003-09-23 Owen Taylor <otaylor@redhat.com>
327 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
328 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
329 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
332 2003-09-23 Owen Taylor <otaylor@redhat.com>
334 * fc-lang/ka.orth: Remove Georgian capitals, they
335 aren't used for normal writing. (Bug #116)
337 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
339 * doc/fontconfig-devel.sgml:
340 * doc/fontconfig-user.sgml:
341 * fontconfig/fontconfig.h:
343 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
344 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
346 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
347 monospace and dual-width fonts, allow roughly a 3% variance in the
350 2003-08-31 Manish Singh <yosh@gimp.org>
352 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
355 2003-08-15 Carl Worth <cworth@isi.edu>
357 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
358 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
360 * src/fcpat.c (FcValueListEntDestroy): New function to support
361 FcFini memory cleanup. Some statistics are not kept in
363 (FcValueListFreeze): Move hashTable outside this function so it
364 can be accessed by FcValueListThawAll.
365 (FcValueListThawAll): New function complements FcValueListFreeze.
366 (FcPatternBaseFreeze): Move hashTable outside this function so it
367 can be accessed by FcPatternBaseThawAll.
368 (FcPatternBaseThawAll): New function complements
370 (FcPatternThawAll): New function complements FcPatternFreeze.
372 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
374 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
375 allocated FcCharLeafEnt "blocks" so they can be freed later.
376 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
377 can be accessed by FcCharSetThawAllLeaf.
378 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
379 (FcCharSetFreezeBase): Move hashTable outside this function so it
380 can be accessed by FcCharSetThawAll.
381 (FcCharSetThawAll): New function complements FcCharSetFreeze.
383 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
384 (FcConfigDestroy): Fic leak of FcBlanks.
386 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
387 (main): Add call to FcFini when finished.
389 * fc-glyphname/fc-glyphname.c: Mark several local functions as
390 static. Add prototypes.
392 * doc/fcinit.fncs: Add documentation for FcFini function.
394 * doc/edit-sgml.c: Mark several local functions as static. Add
397 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
399 2003-06-15 Tor Lillqvist <tml@iki.fi>
401 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
402 before comparing (needed on Windows).
404 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
406 2003-06-13 Tor Lillqvist <tml@iki.fi>
408 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
411 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
412 WINDOWSFONTDIR token.
414 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
415 end, not to confuse libtool, which expects the EXPORTS line to be
416 the first. Add FcConfigEnableHome.
418 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
419 built as a DLL on Win32.
421 2003-06-09 Keith Packard <keithp@keithp.com>
425 2003-06-09 Keith Packard <keithp@keithp.com>
427 * Optimization in FcLangSetIndex was broken, occasionally
428 returning a pointer to the wrong location on miss
430 * Add fc-match to test font matching from the command line.
432 2003-05-31 Keith Packard <keithp@keithp.com>
434 * (Bug 85) add support for culmus fonts
435 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
436 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
438 2003-05-28 James Su <suzhe@turbolinux.com.cn>
440 * Fix "contains" op for strings and langsets.
442 2003-05-17 Keith Packard <keithp@keithp.com>
444 * Fix build error with BDF prop local. Free langset after query
446 2003-05-14 Keith Packard <keithp@keithp.com>
448 * Extract spacing from XLFD atom
450 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
452 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
455 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
457 2003-05-12 Keith Packard <keithp@keithp.com>
459 * Use FcIsWidth to share code
461 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
462 misclassifying some Han fonts as monospaced.
464 2003-05-07 Keith Packard <keithp@keithp.com>
466 * Add filename-based accept/reject to ammend available fonts.
468 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
469 older FreeType releases.
471 2003-05-06 Keith Packard <keithp@keithp.com>
473 * Remove 0b82 and Tamil numbers from tamil
474 orthography (Jungshik Shin <jshin@mailaps.org>)
476 2003-05-04 Keith Packard <keithp@keithp.com>
478 + Map glyph names in fonts with adobe custom encoding to unicode
480 2003-05-02 Keith Packard <keithp@keithp.com>
482 * Add FC_WEIGHT_BOOK as weight 75
484 2003-04-30 Keith Packard <keithp@keithp.com>
486 * Typo in bitstream foundry name
488 2003-04-24 Keith Packard <keithp@keithp.com>
490 * Eliminate italic_angle check for PS fonts
492 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
494 * Getting closer to fixing /etc/fonts hard-coding.
496 2003-04-22 Keith Packard <keithp@keithp.com>
498 * Update autogen.sh to work with newer automake versions
499 * Handle pattern elements moving during multiple edits
501 2003-04-23 James Henstridge <james@daa.com.au>
503 * doc/fontconfig-devel.sgml: close the <para> element.
505 * doc/fcpattern.fncs: close the <para> element.
507 * doc/func.sgml: close the <refsynopsisdiv> element.
509 2003-04-22 Keith Packard <keithp@keithp.com
511 * Update autogen.sh to work with newer automake versions
512 * Handle pattern elements moving during multiple edits
514 2003-04-17 Colin Walters <walters@debian.org>
516 + Remove some unused variables, and initialize some other ones so
519 2003-04-16 Keith Packard <keithp@keithp.com>
523 2003-04-16 Keith Packard <keithp@keithp.com>
525 + add BDF property fetching support for foundry
526 (from Juliusz Chroboczek)
527 + add BDF property fetching support for width
529 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
531 + Implemented foundry generation for Type 1 and TrueType
533 2003-04-11 Gerard Escalante <g2@magestudios.net>
535 + Retrieve information from Type1 FontInfo dictionaries
537 2003-04-07 Colin Walters <walters@verbum.org>
539 + src/Makefile.am: Fix dummy makefile target names when
540 MS_LIB_AVAILABLE isn't set.
542 2003-03-22 Tor Lillqvist <tml@iki.fi>
546 + On Windows with gcc (a.k.a. mingw) build as a DLL.
548 + We don't want to hardcode the fonts.conf file location in the
549 DLL, so we look up the DLL location at run-time in a DllMain()
550 function. The fonts.conf location is deduced from that.
552 + The colon can't be used as path separator on Windows,
553 semicolon is used instead. File path components can be separated
554 with either slash or backslash. Absolute paths can also begin
557 + Add internal function FcStrLastSlash that strrchr's the last
558 slash, or backslash on Windows.
560 + There is no link() on Windows. For atomicity checks, mkdir a
561 lock directory instead.
563 + In addition to HOME, also look for USERPROFILE.
565 + Recognize the special font directory token WINDOWSFONTDIR, to
566 use the system's font directory.
568 + Remove the fontconfig-def.cpp that was obsolete. Add
569 fontconfig.def(.in), without internal functions.
571 + Add a fontconfig-zip(.in) script, used to build a binary
574 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
575 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
576 to main package and man3/* to devel package
578 + Added missing defattr(-, root, root) to main RPM package
580 + Added HTML and text development documentation to -devel subpackage
582 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
583 + Added back the configure macro options --disable-docs, otherwise
584 fontconfig installs docs into /usr/share/doc/fontconfig (with no
585 version number) unconditionally, causing RPM to fail the build due
586 to _unpackaged_files_terminate_build. We pick up the pregenerated
587 docs with %doc already.
589 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
590 + Removed commented out rpm macro define at top of spec file,
591 replacing it with a simple explanation, since rpm macros are
592 expanded by rpm even in comments.
594 + Changed /usr/bin to _bindir in BuildRequires lines
596 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
598 + Reorganized file manifest lists
600 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
602 + fontconfig.spec.in: Improvements from Red Hat spec file.
604 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
606 + docs/*.sgml: SGML fixes.
608 Sat Mar 1 17:28:53 PST 2003 keithp
609 + Ok, so the ChangeLog is a bit out of date
611 + Lots of bugs fixed; most are in bugzilla, the
612 biggest problems were in cache management where
613 Owen discovered the library would lose badly when
614 combining fonts-cache and ~/.fonts-cache data
616 + Converted from autoconf to automake. This after
617 getting patches accepted into libtool to allow
618 the '-version-number' argument which lets
619 packages set version numbers explicitly rather
620 than the roundabout libtool way
622 + Converted documentation to SGML using the docbook
623 DTD. Now .txt and .html documents are installed
624 in /usr/share/doc/fontconfig and there's no
625 man page. Perhaps a man version can be written
628 Sat Aug 31 15:21:22 PDT 2002 keithp
629 + Xrender and Xft had several bugs related to
630 rendering manually placed or poly-face text
632 + Added more complete memory tracing in fontconfig
633 Checked with (patched) mozilla and found no leaks
635 + Updated Latin orthographies by comparing those from
636 evertype.com with those from eki.ee. Tried to make
637 sensible choices, including chars that occured in both
638 and leaving some optional chars out that occured only
641 Mon Aug 26 16:33:04 PDT 2002 keithp
642 + Owen discovered that FcLangSetHasLang wasn't actually
643 checking the language set.
645 Mon Aug 26 13:37:23 PDT 2002 keithp
646 + Append a version number to cache filenames
648 Thu Aug 22 11:36:18 PDT 2002 keithp
650 + Add "contains" and "not_contains" operators and elements to
653 + Changed semantics of eq operator for LangSets to check for
654 FcLangEqual so that any match will do
656 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
657 of FcValueEqual to check for identical values when inserting into
658 the results. This broke when the above semantic change was made,
659 now it uses FcValueEqual which is "more correct" in any case.
661 Thu Aug 22 00:32:29 PDT 2002 keithp
663 + Reimplement FC_LANG as new datatype. Lists of strings
664 was consuming over a megabyte of memory for 401 fonts.
666 + Freeze patterns loaded from cache files. This shares
667 common value lists and common patterns which saves
670 + Change the denotation of 'constant' charsets to use special
671 ref value instead of separate boolean.
673 + Clean up leak tracing stuff, found several unannoted alloc/free
676 Tue Aug 20 16:17:37 PDT 2002 keithp
678 + Fix memory leak when parsing matrices from XML
680 Mon Aug 19 11:57:27 PDT 2002 keithp
682 + Fix autoconf files to pass FONTCONFIG_PATH on
683 compile line so that ${prefix} gets substituted
686 + Use getc_unlocked/putc_unlocked on systems that
687 provide them to avoid damage done to stdio by posix
689 + Eliminate FC_PATTERN and FcTypePattern in favor of
690 an extended api for FcConfigSubstitute which takes
691 both the font and the pattern.
693 + Add 'sans serif' alias for 'sans-serif' as some apps
694 can't handle hyphens in family names
696 + Eliminate pretense of support for libxml2
698 + Comment origins of Han orthographies
700 Tue Jul 30 18:37:09 PDT 2002 keithp
702 + Add binding property to edit element so that strong
703 binding values may be inserted by the config file.
704 The default remains weak.
706 Sun 28 Jul 04:16:55 PDT 2002 keithp
708 + Tagged release candidate 1 in the CVS tree and
709 placed fcpackage.rc1.tar.gz for distribution
711 Thu Aug 1 08:55:08 PDT 2002 keithp
713 + Fixed autoconf builds to always specify install
714 target files (for BSD). Also fixed to
715 define FONTCONFIG_PATH in config.h so that
716 nonstandard installs will actually work.