GNU bug report logs - #28236
'configure --with-cairo' causes 'emacs -font' to fail

Previous Next

Package: emacs;

Reported by: andrei.elkin <at> pp.inet.fi

Date: Fri, 25 Aug 2017 20:00:02 UTC

Severity: normal

Tags: help

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 28236 <at> debbugs.gnu.org (full text, mbox):

From: Ari Roponen <ari.roponen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 28236 <at> debbugs.gnu.org, andrei.elkin <at> pp.inet.fi,
 Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#28236: 'configure --with-cairo' causes 'emacs -font' to fail
Date: Wed, 12 Dec 2018 14:03:48 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Dmitry Gutov <dgutov <at> yandex.ru>
>> Date: Tue, 11 Dec 2018 03:50:06 +0200
>> 
>> On 25.08.2017 22:57, andrei.elkin <at> pp.inet.fi wrote:
>> >    bash# src/emacs -Q -font 7x14
>> >    => Font ‘7x14’ is not defined
>> 
>> FWIW, I can confirm with the latest emacs-26 and master.
>
> Thanks for trying.  AFAIU, this is an important user-level feature, so
> we should try fixing it if we want to enable Cairo by default.
>

I can get the same result also without Cairo:
    emacs-26.1 --xrm "Emacs.fontBackend: xft" -q -font 7x14

When I copy the font where fontconfig can see it:
    cp /usr/share/X11/fonts/misc/7x14.pcf.gz ~/.local/share/fonts/
    fc-cache -vf
I see this:
    fc-list | grep 7x14
=>  /home/arirop/.local/share/fonts/7x14.pcf.gz: Fixed:style=Regular

After that, using "-font Fixed" seems to work.




This bug report was last modified 6 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.