all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: 19889@debbugs.gnu.org
Subject: bug#19889: tex-verbatim face: don't specify :family?
Date: Wed, 18 Feb 2015 20:55:00 -0500	[thread overview]
Message-ID: <jwvfva2u0va.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <7kk2zfjaly.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 18 Feb 2015 14:14:17 -0500")

> So presumably the problem is that it picks an x font rather than an xft one.
> See attached image for how it looks clunky in info.

Yes, that's the usual cause for blocky fonts.

> Firefox just uses "Monospace" font.

When/where?

> Gnome-terminal has "use the system fixed-with font".

How's that relevant for tex-verbatim or Info-quoted?

> IIUC, fc-match tells me that monspace == DejaVu Sans Mono.

For tex-verbatim, it shouldn't just be monospaced, but should look
somewhat like TeX's verbatim font (i.e. old typewriter style, i.e. courier).

For Info-quoted, it's not indispensable that it looks like courier, but
it should look different from the default font (by default).  IIUC the
default font nowadays is a monospaced sans-serif font, so I chose
a monospaced font with serif.

> I know little about fonts, but it seems suboptimal to me to try and
> specify a family for a handful of faces, since it's impossible to
> predict how it will look in conjunction with the user's other fonts.

I think we should define a `fixed-width-with-serif' face and inherit
from that, to make the intention clear.


        Stefan





  reply	other threads:[~2015-02-19  1:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-17 20:39 bug#19889: tex-verbatim face: don't specify :family? Glenn Morris
2015-02-18  3:44 ` Stefan Monnier
2015-02-18  7:40   ` Glenn Morris
2015-02-18 14:35     ` Stefan Monnier
2015-02-18 19:14       ` Glenn Morris
2015-02-19  1:55         ` Stefan Monnier [this message]
2015-02-19  2:21           ` Glenn Morris
2015-02-18 20:51 ` Mark Oteiza
2015-02-18 20:53   ` Mark Oteiza
  -- strict thread matches above, loose matches on Subject: below --
2015-12-18 18:25 bug#22207: emacs-25 mishandles info code text on Fedora 23 Paul Eggert
2016-05-05 20:48 ` Paul Eggert
2016-05-05 21:29   ` Glenn Morris
2016-05-06  6:37     ` bug#19889: " Eli Zaretskii
2016-05-06 16:02       ` bug#19889: tex-verbatim face: don't specify :family? Glenn Morris

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=jwvfva2u0va.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=19889@debbugs.gnu.org \
    --cc=rgm@gnu.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 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.