unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Protesilaos Stavrou <info@protesilaos.com>, Eli Zaretskii <eliz@gnu.org>
Cc: 46971@debbugs.gnu.org
Subject: bug#46971: 28.0.50; Fontifications in Info buffers break alignment in @multitable
Date: Tue, 5 Oct 2021 20:43:45 -0400	[thread overview]
Message-ID: <CADwFkmnZ9GdU+AQ2P6NATvpUu9cak_nNYsj+rhY40i-BvK9abw@mail.gmail.com> (raw)
In-Reply-To: <877dewqb1z.fsf@protesilaos.com>

Protesilaos Stavrou <info@protesilaos.com> writes:

> The reason you are getting two distinct fonts is because the
> 'Info-quoted' face is inheriting from 'fixed-pitch'.
>
> Does the alignment get fixed if you make fixed-pitch use the same font
> as the default?  Such as with this:
>
>     (set-face-attribute 'fixed-pitch nil
>                         :family (face-attribute 'default :family)
>                         :height (face-attribute 'default :height))

Interesting!  Yes, that fixes the issue here.





  reply	other threads:[~2021-10-06  0:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06 17:16 bug#46971: 28.0.50; Fontifications in Info buffers break alignment in @multitable Eli Zaretskii
2021-09-26 14:34 ` Stefan Kangas
2021-10-02  4:56   ` Protesilaos Stavrou
2021-10-06  0:43     ` Stefan Kangas [this message]
2021-10-06  4:14       ` Protesilaos Stavrou
2021-10-06 12:34         ` Eli Zaretskii
2021-10-06 13:53 ` bug#46971: 28.0.60; [PATCH] Disable modus-themes font mixing by default (bug#46971) Protesilaos Stavrou

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=CADwFkmnZ9GdU+AQ2P6NATvpUu9cak_nNYsj+rhY40i-BvK9abw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=46971@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=info@protesilaos.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 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).