unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: mspring@employees.org (Max Spring)
Subject: Re: Unable to use custom font in 21.2.1
Date: 17 Dec 2002 21:51:39 -0800	[thread overview]
Message-ID: <177c13f5.0212172151.5de5be72@posting.google.com> (raw)
In-Reply-To: 5l3coyeyrn.fsf@rum.cs.yale.edu

Here are more details:  I've installed a fixpoint font

   $ cd /usr/X11R6/lib/X11/fonts/misc/
   $ ls sepps-10x18-os2.*
   sepps-10x18-os2.pcf.gz
   $ xlsfonts sepps-10x18-os2
   sepps-10x18-os2
   $ egrep sepps-10x18-os2 fonts.dir
   sepps-10x18-os2.pcf.gz sepps-10x18-os2
   $ xlsfonts -l 10x20
   DIR  MIN  MAX EXIST DFLT PROP ASC DESC NAME
   -->    0  255  some    0   22  16    4 10x20
   -->    0  255  some    0   22  16    4 10x20
   $ xlsfonts -l sepps-10x18-os2
   DIR  MIN  MAX EXIST DFLT PROP ASC DESC NAME
   -->    0  255   all   32    8  14    4 sepps-10x18-os2
   -->    0  255   all   32    8  14    4 sepps-10x18-os2

When I eval 

   (set-default-font "sepps-08x18-os2")

the font which gets actually displayed is a Courier font with probably an 8x18
character size.  Whereas if I eval

   (set-default-font "10x20")

I see the proper 10x20 fixpoint displayed.

A further aspect: With Emacs 20.7 I didn't have this problem.  My fixpoint
font gets displayed as expected.

-Max


"Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote in message news:<5l3coyeyrn.fsf@rum.cs.yale.edu>...
> >>>>> "Max" == Max Spring <mspring@employees.org> writes:
> > I have my own fixed-width fonts, installed in
> > /usr/X11R6/lib/X11/fonts/misc.  They work fine in XTerm, etc.
> > When I try to bring up one of these fonts with 'set-default-font', a
> > scalable font is used instead of my own.  On the other hand, a
> > 'set-default-font 10x20' works as expected.
> > It used to work with previous versions of Emacs.
> > What am I missing?
> 
> I don't know what you're missing, but I know your message is
> missing details.
> 
> 
>         Stefan

      reply	other threads:[~2002-12-18  5:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-15 19:14 Unable to use custom font in 21.2.1 Max Spring
2002-12-16 10:08 ` Kai Großjohann
2002-12-16 16:04 ` Stefan Monnier <foo@acm.com>
2002-12-18  5:51   ` Max Spring [this message]

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=177c13f5.0212172151.5de5be72@posting.google.com \
    --to=mspring@employees.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).