unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Jed Brown <jed@59A2.org>
Cc: 5413@debbugs.gnu.org, 5413-done@debbugs.gnu.org
Subject: bug#5413: 23.1.91; Incorrect font sizes and weights
Date: Tue, 19 Jan 2010 16:53:01 +0100	[thread overview]
Message-ID: <4B55D55D.8090606@swipnet.se> (raw)
In-Reply-To: <87fx6285fs.fsf@59A2.org>

Jed Brown skrev:
> On Tue, 19 Jan 2010 16:02:30 +0100, Jan Djärv <jan.h.d@swipnet.se> wrote:
>> What system are you rinning (i.e. Gnome, KDE, other?)?
> 
> Archlinux with Xmonad/Gnome, I thought building --without-gconf might
> help, but it didn't (although I didn't do a full rebuild so perhaps I
> still have stale gconf stuff).

The GConf stuff is only for reading the desktop monospace font if you choose 
to use that in Emacs (you must customize font-use-system-font).

> 
>> % xrdb -query|grep Xft
> 
> Nothing.
> 
>> % xdpyinfo|grep resolution
> 
>   resolution:    96x96 dots per inch
> 
>> Get a new version from the trunk and get the value of the lisp variable 
>> xft-settings (C-h v xft-settings).
> 
> "Antialias: 1, Hinting: 1, RGBA: 1, LCDFilter: 0, Hintstyle: 3, DPI: 120.000000"
> 
> Setting the Xft.dpi resource does not change this DPI setting.

The dpi is read from the XSETTINGS mechanism, so they override any X resources.

> 
>> It is not the weight, it is the hinting.  Emacs uses the values from the 
>> desktop settings if available, or the fontconfig defaults otherwise.
> 
> Okay, I changed the settings in Gnome's font rendering details panel and
> now I get what I wanted
> 
> "Antialias: 1, Hinting: 1, RGBA: 1, LCDFilter: 0, Hintstyle: 1, DPI: 96.000000"
> 
> and the fonts look good again with the expected 'DejaVu Sans Mono-10'.
> 

Good!

	Jan D.








  reply	other threads:[~2010-01-19 15:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 18:53 bug#5413: 23.1.91; Incorrect font sizes and weights Jed Brown
2010-01-19 15:02 ` Jan Djärv
2010-01-19 15:44   ` Jed Brown
2010-01-19 15:53     ` Jan Djärv [this message]
2010-01-19 15:54 ` bug#5413: marked as done (23.1.91; Incorrect font sizes and weights) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4B55D55D.8090606@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=5413-done@debbugs.gnu.org \
    --cc=5413@debbugs.gnu.org \
    --cc=jed@59A2.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).