all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org, Kenichi Handa <handa@m17n.org>
Subject: Re: Parsing of fontconfig font names and other font related stuff.
Date: Wed, 08 Jul 2009 16:29:21 +0200	[thread overview]
Message-ID: <4A54AD41.4020103@swipnet.se> (raw)
In-Reply-To: <877hyj9tob.fsf@catnip.gol.com>

Miles Bader skrev:
> Kenichi Handa <handa@m17n.org> writes:
>>> The fast but kind of ugly way would be to add the defaults from 
>>> XftDefaultSubstitute to the name if it is an fcname and Xft is present.
>> shouldn't the DPI value from GConf be reflected to (struct
>> x_display_info).resy or (struct frame).resy?
> 
> You'd think, but IIRC, Gnome just fucks this up.
> 
> [I think it's a "policy" fuckup rather than a technical one.]
> 

The argument I've seen is that selecting font sizes isn't a linear operation 
(i.e. proportional to dpi), but an angular one (i.e. depends on the size of 
the screen and the distance to the screen).  So for example laptop users sit 
closer to the screen and don't want fonts to be so much bigger as implied by 
the dpi difference.  Another one is that DPI is kind of fuzzy anyway, for 
example for projectors.

I think a good compromize for an Emacs that uses Xft, is just to check if 
Xft.dpi is in the Xdefaults, and if it is, just use it.  Which is what 
Handa-san suggested.

	Jan D.




  reply	other threads:[~2009-07-08 14:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07 18:57 Parsing of fontconfig font names and other font related stuff Jan Djärv
2009-07-08  0:55 ` Kenichi Handa
2009-07-08  8:36   ` Jan Djärv
2009-07-08 11:27     ` Jason Rumney
2009-07-08 11:34       ` Kenichi Handa
2009-07-08 12:01       ` Jason Rumney
2009-07-08 12:09     ` Jan Djärv
2009-07-08 12:36       ` Kenichi Handa
2009-07-08 13:43         ` Miles Bader
2009-07-08 14:29           ` Jan Djärv [this message]
2009-07-08 22:54             ` Miles Bader
2009-07-08 14:07         ` Jan Djärv
2009-07-08  7:12 ` Yavor Doganov
2009-07-08  8:56   ` Jan Djärv
2009-07-08 10:01     ` Yavor Doganov
2009-07-08 11:42       ` Jan Djärv
2009-07-08 13:12         ` Yavor Doganov
2009-07-14 14:55     ` Jan Djärv

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=4A54AD41.4020103@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=miles@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.