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