Keith Packard [Wed, 30 Jun 2004 18:41:52 +0000 (18:41 +0000)]
Provided by: Lubos Lunak <l.lunak@suse.cz>
However FcConfigUptoDate() doesn't seem to work. See the attached patch.
First there's an obvious misplaced parenthesis making it return always
false, and second, even this call fails to detect font changes (e.g.
adding a new font to /usr/X11R6/lib/X11/fonts/truetype). The patch
should fix that as well. The problem seems to be triggered by my
fonts.conf specifying only /usr/X11R6/lib/X11/fonts , and therefore
config->configDirs doesn't include subdirs, unlike config->fontDirs.
Keith Packard [Sat, 29 May 2004 19:32:41 +0000 (19:32 +0000)]
Add FcResultOutOfMemory to provide an accurate error when FcFontSetMatch
fails in this way
Make #warning about lacking various FreeType features indicate which
version those features appeared so users know how to fix the problem
(Thanks to Anton Tropashko)
Keith Packard [Wed, 14 Apr 2004 18:08:41 +0000 (18:08 +0000)]
Add instructions for doing a release
clean up .spec file; perhaps this will be useful to somebody...
Update to 2.2.93
Make 'scanopen' static so GCC doesn't whine about lacking prototype
Add WARN_CFLAGS to pass -W flags for GCC systems
Change various char types around to match across function calls. Fixed bug
in using available_sizes[i].height which is in pixels, not 64ths of a
pixel.
Keith Packard [Tue, 10 Feb 2004 18:38:58 +0000 (18:38 +0000)]
Pre-2.1.5 versions of FreeType didn't include y_ppem in the FT_Bitmap_Size
record. Add a configure.in test for this and change the code
accordingly (using height instead).
Keith Packard [Sat, 7 Feb 2004 07:13:48 +0000 (07:13 +0000)]
Add Low Saxon orthography (Kenneth Rohde Christiansen <kenneth@gnu.org>)
Oops. Left 'newest.set' unset, which would miscompute the newest file
Add FcGetPixelSize to extract correct pixel size from bdf/pcf font
properties (which report the wrong value in current FreeType)
Don't attempt to check for empty glyphs in non-scalable fonts; they have no
outlines...
Tor Lillqvist [Sun, 1 Feb 2004 19:32:36 +0000 (19:32 +0000)]
fontconfig, at least as used by GIMP and/or PangoFT2 on Windows, crashes
when trying to save the cache if config->cache is NULL, which happens
if FcConfigHome() is NULL. Guard against that by using the temp folder
in that case.
Carl Worth [Thu, 11 Dec 2003 19:30:07 +0000 (19:30 +0000)]
Move man_MANS into the 'if USEDOCBOOK' block.
Move man_MANS into the 'if USEDOCBOOK' block. (all-local): Remove excessive
whitespace.
Add 'set -e' to abort when any program fails, (avoids printing of 'now type
make' after configure aborts).
Keith Packard [Mon, 27 Oct 2003 06:30:29 +0000 (06:30 +0000)]
Attempts to fix 'make distcheck' work. Things are progressing pretty well,
but there are still failures long into the process dealing with docs
(as always).
The big changes here are mostly to make $(srcdir) != "." work correctly,
fixing the docbook related sections and fc-lang were particularily
tricky. Docbook refuses to load system entities from anywhere other
than where the original .sgml file was located, so no luck looking in
"." for the configure-generated version.sgml and confdir.sgml files.
fc-lang needed help finding .orth files; added a -d option to set the
directory as the least evil of many options.
Now to go use a faster machine and try and wring out the last issues.
Add new spacing value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
When checking for monospace and dual-width fonts, allow roughly a 3%
variance in the advances.
Keith Packard [Sun, 20 Jul 2003 16:06:18 +0000 (16:06 +0000)]
Implement new semantics for Contains and LISTING:
LISTING requires that the font Contain all of the pattern values, where
Contain is redefined for strings to mean precise matching (so that
Courier 10 Pitch doesn't list Courier fonts)
"Contains" for lang means both langs have the same language and either the
same country or one is missing the country
Tor Lillqvist [Fri, 13 Jun 2003 22:43:28 +0000 (22:43 +0000)]
Add share/doc directory. Add Fc*.3 man pages.
Set FC_DEFAULT_FONTS on Win32 to the WINDOWSFONTDIR token.
Move the LIBRARY and VERSION lines to the end, not to confuse libtool,
which expects the EXPORTS line to be the first. Add FcConfigEnableHome.
Keith Packard [Wed, 23 Apr 2003 04:05:58 +0000 (04:05 +0000)]
Use CONFDIR instead of SYSCONFDIR/fonts in manual. Use awk to strip
trailing newline instead of leaving CVS file without a newline (which
will break at some point)