emacs-devel
[Top][All Lists]
Advanced

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

Re: Lucid toolkit and antialiased fonts


From: Jan Djärv
Subject: Re: Lucid toolkit and antialiased fonts
Date: Fri, 04 Mar 2011 17:46:32 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.14) Gecko/20110207 Thunderbird/3.1.8

It is backward compatible. If you specify XLFD names you probably wan't the old fonts that pre-dates anti-aliased fonts. For the text you have the option to specify font backend, but the font code in Emacs is not well suitable for other things than faces (i.e. Lisp_Objects), and Lucid doesn't use faces.

It would be nice if we could specify font by customizing the menu face, but specifying a font for a face isn't trivial (simple names doesn't work), and I can't see how to specify aa or non-aa there.

        Jan D.


Ulrich Mueller skrev 2011-03-04 11.29:
Hi,

with Emacs from BZR trunk (configured with --with-x-toolkit=athena
--with-xft), I can specify fonts by their fontconfig name:

     Emacs.font: Droid Sans-10
     Emacs.pane.menubar.font: Droid Sans-10

This will give me antialiased fonts both for text and in the menubar.

However, if I specify the font by its XLFD name instead:

     Emacs.font: -*-droid sans-medium-r-normal--*-100-*-*-p-*-iso10646-1
     Emacs.pane.menubar.font: -*-droid 
sans-medium-r-normal--*-100-*-*-p-*-iso10646-1

then the text font is antialiased but the font in the menubar is not.

Why?

Ulrich



reply via email to

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