emacs-devel
[Top][All Lists]
Advanced

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

Re: Lost antialias?


From: Stefan Monnier
Subject: Re: Lost antialias?
Date: Fri, 20 Jun 2008 22:12:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> (defface fixed-pitch
>   '((t :family "Monospace"))
>   "The basic fixed-pitch face."
>   :group 'basic-faces)

> (defcustom face-font-family-alternatives
>   '(("Monospace" "DejaVu Sans Mono" [WINDOWS AND MAC FONTS]  "fixed")
>     ....))

> What font should we use for variable-pitch?  Bitstream Vera Sans?

I'd put "Sans-Serif" first, so as to re-use fontconfig's default.
Similarly for fixed-pitch (not sure if that's "mono" or "monospace" or
what).

>> Maybe it would be also useful to support something like web-browsers
>> use, where you could specify a "family" of "Dejavu Sans,Helvetica,Sans",
>> and it would split the list at the commas and use the first one it could
>> find.

We can already do exactly that with an additional indirection through
face-font-family-alternatives, and indeed that's exactly what we do for
fixed-pitch and variable-pitch.


        Stefan




reply via email to

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