unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: VanL <van@scratch.space>
To: help-gnu-emacs@gnu.org
Subject: 26.3, 28; Set Default Font... CMU Typewriter Text
Date: Fri, 24 Jan 2020 20:43:12 +1100	[thread overview]
Message-ID: <m2wo9hkx5b.fsf@scratch.space> (raw)


Hello,

I am unable to set the default font to CMU Typewriter Text.  The
menu-bar-options list this font as available.  My .Xresources has

  Emacs.FontBackend: ftcrhb,x

The messages buffer lists "set-face-attribute: Font not available:"

┌────
│ ;; GNU Emacs 26.3 (build 1, i386-unknown-openbsd, 
│ ;;                          GTK+ Version 3.24.12)
│ ;;  of 2019-10-11
│ set-face-attribute: Font not available: #<font-spec xft nil 
│ CMU\ Typewriter\ Text nil nil semi-bold normal nil 10.0 nil nil nil 
│ ((:name . "CMU Typewriter Text"))>
│ 
│ ;; GNU Emacs 28.0.50 (build 2, armv7l-unknown-linux-gnueabihf, 
│ ;;                             GTK+ Version 3.24.5)
│ ;;  of 2020-01-05
│ set-face-attribute: Font not available: #<font-spec nil nil 
│ CMU\ Typewriter\ Text nil nil semi-bold normal nil 10.0 nil nil nil nil>
└────

The font was installed from

  https://www.checkmyworking.com/cm-web-fonts/Computer%20Modern.zip

The font is recognised by

  % fc-list | grep -i cmu

showing 

  # openbsd
  /usr/local/share/fonts/cmu/cmuntt.ttf: CMU Typewriter Text:style=Regular

  # linux
  /usr/share/fonts/truetype/cmu/cmuntt.ttf: CMU Typewriter Text:style=Regular

What's missing?

-- VL




             reply	other threads:[~2020-01-24  9:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24  9:43 VanL [this message]
2020-01-25  6:10 ` 26.3, 28; Set Default Font... CMU Typewriter Text VanL
2020-01-26 20:04   ` Robert Pluim
2020-01-27 13:08     ` VanL
2020-01-27 14:24       ` Robert Pluim
2020-01-27 15:31         ` VanL
2020-01-27 15:59           ` Robert Pluim
2020-01-27 17:50             ` VanL
2020-01-27 18:02               ` Eli Zaretskii
2020-01-27 18:55                 ` VanL
2020-01-27 19:07                   ` Eli Zaretskii
2020-02-12 10:32                     ` VanL
2020-02-16  2:23                       ` VanL

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=m2wo9hkx5b.fsf@scratch.space \
    --to=van@scratch.space \
    --cc=help-gnu-emacs@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.
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).