From d676ddf8bfe8197a1d9adbad577156ab70dcd47e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 3 Nov 2002 21:16:35 +0000 Subject: [PATCH] stop using the Xft Utf8 functions. They break the non-english locales. --- CHANGELOG | 4 ++++ configure.in | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index dc9486da..85e43cf2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,10 @@ Changelog for Openbox: 2.2.1: * Fix bug with mutltibyte fonts being really tiny. (Ben Jansens) + * Stop using Utf8 drawing routines for Xft. These (Ben Jansens) + don't work at all for high-ascii letters, which are + used in the non-english locales. + * Fix menu redraw bug when dragging them off-screen or (Scott Moynes) under other menus, with Xft fonts. diff --git a/configure.in b/configure.in index 9b83fe50..b3becdf6 100644 --- a/configure.in +++ b/configure.in @@ -137,7 +137,7 @@ fi dnl Check for Xft extension support and proper library files. XFT="" -XFT_UTF8="" +dnl XFT_UTF8="" AC_MSG_CHECKING([whether to build support for the Xft extension]) AC_ARG_ENABLE( xft, [ --enable-xft enable support of the Xft extension [default=yes]]) @@ -156,9 +156,10 @@ if test "$enableval" = "yes"; then LIBS="$LIBS -lXft" dnl Check for utf8 support in the Xft library - AC_CHECK_LIB(Xft, XftDrawStringUtf8, - XFT_UTF8="yes", - ), + dnl AC_CHECK_LIB(Xft, XftDrawStringUtf8, + dnl XFT_UTF8="yes", + dnl), + , AC_MSG_RESULT([no]) ) @@ -169,9 +170,9 @@ else fi if test "$XFT" = "yes"; then AC_DEFINE(XFT,1,[Enable support of the Xft extension]) - if test "$XFT_UTF8" = "yes"; then - AC_DEFINE(XFT_UTF8,1,[Support for Utf8 text in the Xft extension]) - fi + dnl if test "$XFT_UTF8" = "yes"; then + dnl AC_DEFINE(XFT_UTF8,1,[Support for Utf8 text in the Xft extension]) + dnl fi fi dnl Check for ordered 8bpp dithering -- 2.34.1