[Top][All Lists]

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

Re: Testing that a font is installed

From: Jason Rumney
Subject: Re: Testing that a font is installed
Date: Tue, 26 Feb 2008 03:05:57 -0800 (PST)
User-agent: G2/1.0

On 26 Feb, 10:52, Sébastien Vauban <address@hidden> 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 via email to

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