unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Sébastien Vauban" <zthjwsqqafhv@spammotel.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Testing that a font is installed
Date: Tue, 26 Feb 2008 14:22:51 +0100	[thread overview]
Message-ID: <87d4qj26ok.fsf@mundaneum.com> (raw)
In-Reply-To: 82397149-bd4b-4c13-8c94-18c7bf835335@p43g2000hsc.googlegroups.com

Hi Jason,

>>         ,----[ *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.

I'm using Emacs from the Ubuntu package provided by Alexandre
Vassalotti (see http://peadrop.com/blog/2007/01/06/pretty-emacs/):

    GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0)
    of 2007-12-30 on iridium


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

It *works*, yes.


> As for XP, you appear not to be using the new font backend
> there.

I'm using the EmacsW32 binary provided by OurComments.org.


> If you use the CVS version and configure with
> --enable-font-backend ...

It seems that is not yet supported by EmacsW32. In fact, the
latest Emacs binary available on their site is quite old:

    GNU Emacs 22.0.990.1 (i386-mingw-nt5.1.2600) of 2007-05-23
    on LENNART-69DE564 (patched)


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

As soon as the Windows binary gets updated (with the new font
backend), I'll try your advice.

Thank you very much!

Seb

-- 
Sébastien Vauban


      reply	other threads:[~2008-02-26 13:22 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
2008-02-26 13:22       ` Sébastien Vauban [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=87d4qj26ok.fsf@mundaneum.com \
    --to=zthjwsqqafhv@spammotel.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.
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).