* Lucid toolkit and antialiased fonts
@ 2011-03-04 10:29 Ulrich Mueller
2011-03-04 16:46 ` Jan Djärv
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Mueller @ 2011-03-04 10:29 UTC (permalink / raw)
To: emacs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Lucid toolkit and antialiased fonts
2011-03-04 10:29 Lucid toolkit and antialiased fonts Ulrich Mueller
@ 2011-03-04 16:46 ` Jan Djärv
0 siblings, 0 replies; 2+ messages in thread
From: Jan Djärv @ 2011-03-04 16:46 UTC (permalink / raw)
To: Ulrich Mueller; +Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-04 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 10:29 Lucid toolkit and antialiased fonts Ulrich Mueller
2011-03-04 16:46 ` Jan Djärv
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.