Hi,
when compiling on Fedora 10 I hit the typo - it is now fixed in XFT-lib
and it does not provide backward compatibility with the typo:(
libXft-devel-2.1.13-1.fc10.i386
libXft-2.1.13-1.fc10.i386
So I have a simple patch but seems some configure magic is be needed to make
it work with old and new versions alike.
Btw compiling against xft is pretty essential in Fedora, the distribution does
install so few bitmapped fonts by default that finding a configuration that would
display more than the most basic font set with bitmapped fonts is practically
impossible.
Furthermore displaying accented characters had weird issues if xemacs tried to
combine several bitmapped fonts making it completely unusable. Double width was
allocated for some of the chars but somehow the calculation was completely off so
the character was displayed in the wrong place overwriting something else.
Xft otoh works very nicely appart of the known bug that it apparently does not
figure out the vertical spacing of characters completely right (lowest pixels
of very tall chars sometimes stripped).
Richard
--- xemacs-21.5.28/src/font-mgr.c.rz 2009-04-27 17:56:54.000000000 +0200
+++ xemacs-21.5.28/src/font-mgr.c 2009-04-27 17:57:17.000000000 +0200
@@ -909,7 +909,7 @@
(config))
{
CHECK_FCCONFIG (config);
- return make_int (FcConfigGetRescanInverval (XFCCONFIG_PTR (config)));
+ return make_int (FcConfigGetRescanInterval (XFCCONFIG_PTR (config)));
}
/* The misspelling in the fontconfig function name accurately corresponds to
@@ -923,7 +923,7 @@
{
CHECK_FCCONFIG (config);
CHECK_INT (rescan_interval);
- if (FcConfigSetRescanInverval (XFCCONFIG_PTR (config),
+ if (FcConfigSetRescanInterval (XFCCONFIG_PTR (config),
XINT (rescan_interval)) == FcFalse)
signal_error (Qio_error, "FcConfigSetRescanInverval barfed",
intern ("fc-config-set-rescan-interval"));
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta