unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 26.3, 28; Set Default Font... CMU Typewriter Text
@ 2020-01-24  9:43 VanL
  2020-01-25  6:10 ` VanL
  0 siblings, 1 reply; 13+ messages in thread
From: VanL @ 2020-01-24  9:43 UTC (permalink / raw)
  To: help-gnu-emacs


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




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-02-16  2:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-24  9:43 26.3, 28; Set Default Font... CMU Typewriter Text VanL
2020-01-25  6:10 ` 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

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).