[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode char
From: |
Lars Ingebrigtsen |
Subject: |
bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters |
Date: |
Sun, 17 Nov 2019 18:58:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Sounds like a bug in the autoconfig stuff.
>
> Yes.
The logic is a bit confused.
if test "x${with_xft}" != "xno"; then
EMACS_CHECK_MODULES([XFT], [xft >= 0.13.0], [], [HAVE_XFT=no])
[...]
if test "$HAVE_XFT" != "yes"; then
dnl For the "Does Emacs use" message at the end.
HAVE_XFT=no
HAVE_FREETYPE=no
else
dnl Strict linkers fail with
dnl ftfont.o: undefined reference to symbol 'FT_New_Face'
dnl if -lfreetype is not specified.
dnl The following is needed to set FREETYPE_LIBS.
EMACS_CHECK_MODULES([FREETYPE], [freetype2])
test "$HAVE_FREETYPE" = "no" && AC_MSG_ERROR(libxft requires libfreetype)
fi
fi # $HAVE_CAIRO != yes
So if somebody says explicitly --without-xft, then HAVE_XFT won't be
"yes", and we set HAVE_FREETYPE to "no" without checking. And harfbuzz
depends on HAVE_FREETYPE being "yes", so harfbuzz depends on xft being
available, too.
Is this correct behaviour?
In addition, I think the configure script should fail if you say
--with-harfbuzz and harfbuzz isn't available.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Lars Ingebrigtsen, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Vladimir Panteleev, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Eli Zaretskii, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Lars Ingebrigtsen, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Eli Zaretskii, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Lars Ingebrigtsen, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters,
Lars Ingebrigtsen <=
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Eli Zaretskii, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Lars Ingebrigtsen, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Robert Pluim, 2019/11/17
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Lars Ingebrigtsen, 2019/11/18
- bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters, Lars Ingebrigtsen, 2019/11/17