unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: Pankaj Jangid <pankaj@codeisgreat.org>
Cc: 48714@debbugs.gnu.org
Subject: bug#48714: 28.0.50; Inconsistent font after theme modus-operandi upgrade
Date: Sat, 29 May 2021 10:56:53 +0300	[thread overview]
Message-ID: <877djinfay.fsf@protesilaos.com> (raw)
In-Reply-To: <m24kem56n2.fsf@codeisgreat.org>

On 2021-05-29, 13:11 +0530, Pankaj Jangid <pankaj@codeisgreat.org> wrote:

> Protesilaos Stavrou <info@protesilaos.com> writes:
>
>> Does this happen with emacs -Q as well?
>
> Hmm... I created a test.el with just this:
>
> --8<---------------cut here---------------start------------->8---
> (when (window-system)
>   (custom-set-variables
>    '(modus-themes-slanted-constructs t)
>    '(modus-themes-bold-constructs nil))
>   (load-theme 'modus-operandi))
> --8<---------------cut here---------------end--------------->8---
>
> And it is working perfectly fine with ‘emacs -Q -l test.el’. So there
> must be something in my init which is interfering with the theme.

It has to be something with your fontsets.  Or, it might be that a font
family on your system is missing some variant like italics and thus
falls back to another typeface.

> I have tried various things. But I need more time to isolate the
> cause. Couple of things that made a difference:
>
> 1. (setenv "LANG" "en_US.UTF-8")
> 2. Following in my init:
>
> --8<---------------cut here---------------start------------->8---
> (cond
>  ((eq system-type 'gnu/linux)
>   ;; On Debian, do this
>   ;; sudo apt-get install fonts-noto
>   (set-fontset-font t 'devanagari "Noto"))
>  ((eq system-type 'darwin)
>   ;; (set-fontset-font t 'devanagari "ITF Devanagari")
>   (set-fontset-font t 'devanagari "Kohinoor Devanagari")))
> --8<---------------cut here---------------end--------------->8---
>
> Commenting out above two settings also changed the looks. But it was
> still not perfect. I’ll dig more and report.

Sure, please do.

-- 
Protesilaos Stavrou
https://protesilaos.com

  reply	other threads:[~2021-05-29  7:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28 12:43 bug#48714: 28.0.50; Inconsistent font after theme modus-operandi upgrade Pankaj Jangid
2021-05-28 12:55 ` Eli Zaretskii
2021-05-28 13:46   ` Pankaj Jangid
2021-05-28 14:06     ` Eli Zaretskii
2021-05-28 15:49     ` Protesilaos Stavrou
2021-05-29  3:35       ` Pankaj Jangid
2021-05-29  6:57         ` Protesilaos Stavrou
2021-05-29  7:41           ` Pankaj Jangid
2021-05-29  7:56             ` Protesilaos Stavrou [this message]
2021-05-29  9:00             ` Eli Zaretskii
2021-05-29 10:18               ` Pankaj Jangid
2021-05-29 11:54                 ` Protesilaos Stavrou
2021-05-29 12:14                   ` Pankaj Jangid
2022-07-15 11:21                     ` Lars Ingebrigtsen
2022-07-16  3:00                       ` Pankaj Jangid
2022-07-16 10:38                         ` Lars Ingebrigtsen
2022-07-17  5:27                         ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877djinfay.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=48714@debbugs.gnu.org \
    --cc=pankaj@codeisgreat.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).