From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: rpluim@gmail.com, ola.nilsson@gmail.com, 38442@debbugs.gnu.org
Subject: bug#38442: 27.0.50; segmentation fault switching to cairo
Date: Mon, 02 Dec 2019 18:09:36 +0200 [thread overview]
Message-ID: <83r21mlnen.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0SQ=UU97xs6MixHv8qEK1QWwtzUpC7YyOsP7UmDhW_BOnQ@mail.gmail.com> (message from Juanma Barranquero on Mon, 2 Dec 2019 13:57:42 +0100)
> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Mon, 2 Dec 2019 13:57:42 +0100
> Cc: Robert Pluim <rpluim@gmail.com>, ola.nilsson@gmail.com, 38442@debbugs.gnu.org
>
> > If the frame's font requires that, the new session will use that same backend anyway.
>
> Is that so? I thought there could be problems with some fonts that Emacs wouldn't know to
> solve. Or do you mean that the user will have set the font backend in default-frame-alist?
We may be mis-communicating.
The way Emacs works, when it needs to find a font for a character, it
loops over all the available font backends, trying to find a font that
works with some backend and can display the character. The first font
of the first backend that succeeds stops the loop.
In most cases, the first (default) backend in the list finds a
suitable font, but some fonts can only be used with specific backends,
so they force Emacs to choose that backend. An example is a the *.fon
bitmapped fonts on MS-Windows, which will force the GDI backend.
So now, if the frameset being restored specifies a font that cannot be
used with the default backend, Emacs will have to use the backend
which can handle that font. If such a backend is available, Emacs
will be able to use the font, otherwise it won't. But the same will
happen if we don't require a specific font backend at all, right?
So I don't see a reason to restore the backend from the desktop file.
next prev parent reply other threads:[~2019-12-02 16:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-30 23:03 bug#38442: 27.0.50; segmentation fault switching to cairo Ola Nilsson
2019-12-01 3:38 ` Eli Zaretskii
2019-12-01 17:28 ` Eli Zaretskii
2019-12-01 23:55 ` Juanma Barranquero
2019-12-02 7:54 ` Robert Pluim
2019-12-02 8:08 ` Juanma Barranquero
2019-12-02 8:36 ` Eli Zaretskii
2019-12-02 12:57 ` Juanma Barranquero
2019-12-02 16:09 ` Eli Zaretskii [this message]
2019-12-02 17:28 ` Juanma Barranquero
2019-12-02 17:48 ` Eli Zaretskii
2019-12-02 18:08 ` Juanma Barranquero
2019-12-02 18:21 ` Juanma Barranquero
2019-12-02 20:27 ` Eli Zaretskii
2019-12-02 20:36 ` Juanma Barranquero
2019-12-04 20:32 ` Ola Nilsson
2019-12-05 3:30 ` Eli Zaretskii
2019-12-02 20:26 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r21mlnen.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=38442@debbugs.gnu.org \
--cc=lekktu@gmail.com \
--cc=ola.nilsson@gmail.com \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.