[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing that a font is installed

From: Sébastien Vauban
Subject: Re: Testing that a font is installed
Date: Tue, 26 Feb 2008 14:22:51 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

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

    GNU Emacs (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

> 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!


Sébastien Vauban

reply via email to

[Prev in Thread] Current Thread [Next in Thread]