all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Miles Bader <miles@gnu.org>
Cc: monnier@cs.yale.edu, emacs-devel@gnu.org
Subject: Re: font-related hanging / general brokenness
Date: Thu, 19 Jun 2008 14:35:25 +0900	[thread overview]
Message-ID: <E1K9Cnt-0004J6-IV@etlken.m17n.org> (raw)
In-Reply-To: <buoy752avoo.fsf@dhapc248.dev.necel.com> (message from Miles Bader on Thu, 19 Jun 2008 13:35:35 +0900)

In article <buoy752avoo.fsf@dhapc248.dev.necel.com>, Miles Bader <miles.bader@necel.com> writes:

> However the font-selection brokenness described in my previous is still
> present to some degree:

>    (set-face-attribute 'default nil :family "Dejavu Sans Mono")

> fails, but:

I can't reproduce it.

After starting Emacs, please do:

  ESC : (setq font-log nil) RET
  ESC : (set-face-attribute 'default nil :family "Dejavu Sans Mono")
  M-x font-show-log RET

and show me the result.

>    (set-face-attribute 'default nil :family "Dejavu Sans Mono" :foundry "dejavu")

> works, but uses the ugly non-antialiased verison of dejavu-sans-mono.

>    (set-face-attribute 'default nil :family "Dejavu Sans Mono" :foundry "unknown")

> also works, and uses the anti-aliased version of dejavu-sans-mono.

It seems that you can use that font only via X font-backend.

> BTW, one possible way to make :foundry work better might be to be _very_
> relaxed about matching with it:  First try matching including the face's
> :foundry, and if that returns "no match", then try matching agains with
> :foundy "*".

The current code is doing that already (see
font_find_for_lface in font.c).  So, I think the reason why
(set-face-attribute 'default nil :family "Dejavu Sans Mono")
doesn't work for you is in the different place.

---
Kenichi Handa
handa@ni.aist.go.jp






  parent reply	other threads:[~2008-06-19  5:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <buobq1ycd5c.fsf@dhapc248.dev.necel.com>
2008-06-19  4:35 ` font-related hanging / general brokenness Miles Bader
2008-06-19  4:52   ` Miles Bader
2008-06-19  5:35   ` Kenichi Handa [this message]
2008-06-19  5:41     ` Miles Bader
2008-06-19  5:55       ` Miles Bader
2008-06-19  6:17         ` Kenichi Handa
2008-06-19  6:10       ` Kenichi Handa
2008-06-19  6:14         ` Miles Bader
2008-06-19  6:19           ` Kenichi Handa
2008-06-19  6:26             ` Miles Bader
2008-06-19  6:44               ` Kenichi Handa
2008-06-19  6:58                 ` Miles Bader
2008-06-19  7:44                   ` Kenichi Handa
2008-06-19  7:28                 ` Miles Bader
2008-06-19 14:23   ` Stefan Monnier
2008-06-19  4:59 ` Kenichi Handa
2008-06-19 21:49   ` Stefan Monnier
2008-06-20  5:05     ` Miles Bader
2008-06-20 14:00       ` Stefan Monnier
2008-06-22  7:48         ` Miles Bader
2008-06-23  3:05           ` Stefan Monnier
2008-06-23  4:35             ` 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=E1K9Cnt-0004J6-IV@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=monnier@cs.yale.edu \
    /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.