all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Taylor Venable <taylor@metasyntax.net>
To: emacs-devel@gnu.org
Subject: Continuing Font Problems: Some XFT fonts not using XFT engine?
Date: Wed, 15 Apr 2009 16:11:22 -0400	[thread overview]
Message-ID: <20090415201122.GA28776@metasyntax.net> (raw)

Continuing with the font weirdness I've been seeing:

I can set XFT fonts like "DejaVu Sans Mono" for the 'default' face and
it looks great.  However, when I set 'variable-pitch' to use "DejaVu
Sans" or "DejaVu Serif" the XFT engine is not used.  To summarise:

    (set-face-attribute 'variable-pitch nil :font "DejaVu Sans")
       >> hover over something to get a tooltip, see that it's all
          blocky and not anti-aliased

What's weird is that sometimes after trying to use different fonts for
the variable-pitch face, it will start using anti-aliasing again and
then everything works.  I cannot reproduce when this occurs, and it
doesn't seem correlated with the font choice.

My Emacs version is: GNU Emacs 23.0.92.1 (i386-unknown-openbsd4.5,
GTK+ Version 2.14.7) of 2009-04-13 on lionel.metasyntax.net

Fontconfig version is 2.4.2 with XFT 2.1.12 (version numbers taken
from pkg-config output).

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/

foldr = lambda f, i, l: (len(l) == 1 and [f(l[0], i)] or
                         [f(l[0], foldr(f, i, l[1:]))])[0]




             reply	other threads:[~2009-04-15 20:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 20:11 Taylor Venable [this message]
2009-04-15 22:42 ` Continuing Font Problems: Some XFT fonts not using XFT engine? Miles Bader
2009-04-16  0:40   ` Jason Rumney
2009-04-16  1:10     ` Taylor Venable
2009-04-16  2:50     ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090415201122.GA28776@metasyntax.net \
    --to=taylor@metasyntax.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.