emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 371c4f642a 1/2: Add new commands to zoom emojis


From: Arash Esbati
Subject: Re: master 371c4f642a 1/2: Add new commands to zoom emojis
Date: Thu, 07 Jul 2022 11:42:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Arash Esbati <arash@gnu.org> writes:

> Thanks, that works.  Now I have this in my .emacs and 'C-x 8 e +' works
> as expected:
>
>     (set-fontset-font t 'emoji
>                       (font-spec :family   "Segoe UI Emoji"
>                                  :registry "iso10646-1")
>                       nil 'prepend)
>
>     (add-to-list 'face-font-rescale-alist
>                  '("Segoe UI Emoji" . 0.93)
>                  t)

Following up myself, I'm facing a strange behavior with the code above
in combination with:

    (setq inhibit-splash-screen t)

I started Emacs with a minimal .emacs like this:

--8<---------------cut here---------------start------------->8---
;;;                                 -*- lexical-binding: t; -*-

(set-fontset-font t 'emoji
                  (font-spec :family   "Segoe UI Emoji"
                             :registry "iso10646-1")
                  nil 'prepend)

(add-to-list 'face-font-rescale-alist
             '("Segoe UI Emoji" . 0.93))

(setq inhibit-splash-screen t)

(custom-set-faces
 '(default ((t (:family "Source Code Pro Medium" :foundry "outline" :slant 
normal :weight medium :height 90 :width normal)))))
--8<---------------cut here---------------end--------------->8---

Then I hit 'C-x 5 2' and the new frame is opened with Arial and not with
Source Code Pro like this:

PNG image

If I comment out either the face-font-rescale-alist or the
inhibit-splash-screen part, the new frame pops up with Source Code Pro.

Am I missing something?

Best, Arash

reply via email to

[Prev in Thread] Current Thread [Next in Thread]