all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonrumney@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Testing that a font is installed
Date: Tue, 26 Feb 2008 03:05:57 -0800 (PST)	[thread overview]
Message-ID: <82397149-bd4b-4c13-8c94-18c7bf835335@p43g2000hsc.googlegroups.com> (raw)
In-Reply-To: 87zlto0z3e.fsf@mundaneum.com

On 26 Feb, 10:52, Sébastien Vauban <zthjwsqqa...@spammotel.com> wrote:

>         ,----[ *Help* ]
>         | name (opened by): consolas:pixelsize=17:foundry=microsoft:weight=medium:slant=r:width=normal
>         |        full name: consolas:pixelsize=17:foundry=microsoft:weight=medium:slant=r:width=normal
>         |             size:  9
>         |           height: 20
>         |  baseline-offset:  0
>         | relative-compose:  0
>         `----

It looks like you are using CVS emacs with the new font backend.
Currently, some of the old functions that deal with fonts are still
not using the new font backend, which is why (x-family-fonts
"Consolas") gives nil. I'd suggest using the functions of the new font
backend instead.

(list-fonts (font-spec :family "Consolas"))

As for XP, you appear not to be using the new font backend there. If
you use the CVS version and configure with --enable-font-backend, the
results will be consistent and you will be able to use "Consolas-8" on
both platforms and get rid of the ugly (if  running-ms-windows...)



  reply	other threads:[~2008-02-26 11:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 11:30 Testing that a font is installed Sébastien Vauban
2008-02-26  4:14 ` Kevin Rodgers
     [not found] ` <mailman.7945.1203999281.18990.help-gnu-emacs@gnu.org>
2008-02-26 10:52   ` Sébastien Vauban
2008-02-26 11:05     ` Jason Rumney [this message]
2008-02-26 13:22       ` Sébastien Vauban

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=82397149-bd4b-4c13-8c94-18c7bf835335@p43g2000hsc.googlegroups.com \
    --to=jasonrumney@gmail.com \
    --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.
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.