From: Protesilaos Stavrou <info@protesilaos.com>
To: Pankaj Jangid <pankaj@codeisgreat.org>, Eli Zaretskii <eliz@gnu.org>
Cc: 48714@debbugs.gnu.org
Subject: bug#48714: 28.0.50; Inconsistent font after theme modus-operandi upgrade
Date: Fri, 28 May 2021 18:49:55 +0300 [thread overview]
Message-ID: <87lf7y3ljw.fsf@protesilaos.com> (raw)
In-Reply-To: <m2lf7zezt1.fsf@codeisgreat.org>
On 2021-05-28, 19:16 +0530, Pankaj Jangid <pankaj@codeisgreat.org> wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> If I comment-out the above lines in init file and then ‘M-x load-theme
>>> RET modus-operandi RET’ after the startup, I get the view as in
>>> ‘emacs_2.png’.
>>>
>>> Notice the font difference. And this difference is causing problems in
>>> other areas. Like Gnus group buffer; the lines are not aligned properly.
>>
>> I don't understand: these 2 are defcustoms. If you don't like their
>> effects, just leave them at their default values.
>
> I think I was not clear enough.
>
> Basically, I get different font width margin etc. based on when I am
> loading the theme. If I load the theme from init, I get ‘emacs_1.png’
> and if I load the theme using ‘M-x load-theme RET modus-operandi RET’,
> then I get the view ‘emacs_2.png’. In both the scenarios I am talking
> about the same theme i.e. modus-operandi. I really like this theme. That
> is why I am a bit concerned.
>
> Look at the mode-line to see the differences.
>
> CCing Protesilaos.
The problem here seems to be with the 'italic' face. It appears that
something in your init is setting that to a different font family either
by assigning the ':family' property or by ':inherit variable-pitch'.
Can you load the theme the problematic way and try:
M-x describe-symbol RET italic RET
The Help buffer should show something like this:
Documentation:
Basic italic face.
Defined in ‘faces.el’.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: italic
Foreground: unspecified
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: unspecified
Inherit: unspecified
Also, what happens after the problematic loading if you re-load the
theme? Does that affect the fonts or not?
Lastly, did you upgrade between recent versions, say, 1.3.0 to the
current 1.4.0?
--
Protesilaos Stavrou
https://protesilaos.com
next prev parent reply other threads:[~2021-05-28 15:49 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 [this message]
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
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=87lf7y3ljw.fsf@protesilaos.com \
--to=info@protesilaos.com \
--cc=48714@debbugs.gnu.org \
--cc=eliz@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).