all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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 19:48:11 +0200	[thread overview]
Message-ID: <83d0d6liuc.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0STJumjFgNzcHM-u9A89MUh66JK2R0r45k5URuR_AYjp9w@mail.gmail.com> (message from Juanma Barranquero on Mon, 2 Dec 2019 18:28:32 +0100)

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Mon, 2 Dec 2019 18:28:32 +0100
> Cc: rpluim@gmail.com, ola.nilsson@gmail.com, 38442@debbugs.gnu.org
> 
> > 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.
> 
> But the font-backend's list on Windows defaults to (harfbuzz gdi), so that's
> not surprising. Could Emacs automatically choose uniscribe, too, for some font,
> with the current default configuration, or would the user be forced to add
> uniscribe to the frame's font-backend list?

The uniscribe backend will not be used unless Emacs is started with it
being in the list of backends to register.

> If the user has a font that needs uniscribe, and they *have* to add uniscribe
> to font-backend in default-frame-alist or via set-frame-parameter or whatever,
> then there's a (likely uncommon) use case and I think it makes at least a bit
> of sense to save font-backend with the frame and restore it afterwards.

Every font that can use Uniscribe can also use HarfBuzz.  So this is
not a problem, and users have no reason to wish to use Uniscribe when
they restore their sessions.

Moreover, unless Emacs is started with Uniscribe (via the -xrm
command-line switch, or via the Registry), it will be unable to use
Uniscribe even if we tell it via the frameset.





  reply	other threads:[~2019-12-02 17:48 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
2019-12-02 17:28                 ` Juanma Barranquero
2019-12-02 17:48                   ` Eli Zaretskii [this message]
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=83d0d6liuc.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.