unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: Emacs Development <Emacs-devel@gnu.org>
Subject: Re: Recent changes incorrectly calculate font size within daemon mode
Date: Thu, 30 Aug 2018 10:21:20 -0700	[thread overview]
Message-ID: <67a0314a-2b6f-3e85-a4f0-f98bd2254495@cs.ucla.edu> (raw)
In-Reply-To: <87zhx3j3xj.fsf@wavexx.thregr.org>

Yuri D'Elia wrote:
> On Thu, Aug 30 2018, Paul Eggert wrote:
>> Quite possibly, yes. What platform are you running on? And can you tell
>> me exactly how you set fontconfig/Xres? I am having trouble reproducing
>> the problem.
> 
> This is on debian unstable, X11 lucid build (--without-gsettings
> --with-x-toolkit=lucid).
> 
> After looking at my config, I think the only part that matters is this:
> 
> $ xrdb -q | grep dpi
> Xft.dpi:        95
> 
> DPI values are also set explicitly via xrandr --output [all outputs]
> --dpi 95 to be consistent, but AFAIK emacs always ignored xrandr values.
> 
> Other settings are correctly applied, so it's the font scaling which has
> some issues when emacs is started via --daemon (both
> --fg-daemon/--bg-daemon result in the same behavior).
> 

I'm not seeing the problem on my Ubuntu 18.04 desktop. I configured Emacs master 
this way:

./configure --enable-gcc-warnings --without-gsettings --with-x-toolkit=lucid

And I ran it this way:

src/emacs -Q --fg-daemon
lib-src/emacsclient -c

I also tried --fg-daemon and couldn't reproduce it that way either.

What is your native screen resolution and how are you setting your font scaling 
factor? I used gnome-tweaks to set my font scaling factor to 1.30. My xrdb 
output says:

$ xrdb -q | grep dpi
Xft.dpi:	124.7998046875

My native screen resolution is 1920x1200 and my native Xft.dpi is 96.



  reply	other threads:[~2018-08-30 17:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 10:29 Recent changes incorrectly calculate font size within daemon mode Yuri D'Elia
2018-08-29 11:05 ` Yuri D'Elia
2018-08-30 14:28   ` Paul Eggert
2018-08-30 14:59     ` Yuri D'Elia
2018-08-30 17:21       ` Paul Eggert [this message]
2018-08-30 17:43         ` Yuri D'Elia
2018-08-29 16:26 ` Michael Heerdegen
2018-08-30 14:39   ` Paul Eggert
2018-08-30 16:35     ` Michael Heerdegen
2018-08-30 17:27       ` Paul Eggert
2018-08-30 17:33         ` Michael Heerdegen
2018-08-30 19:07           ` Michael Heerdegen
2018-08-30 21:30             ` Paul Eggert
2018-08-30 21:51               ` Michael Heerdegen
2018-08-30 22:05               ` Yuri D'Elia
2018-08-31 17:31       ` Stefan Monnier
2018-08-31 19:45         ` Michael Heerdegen
2018-08-30 16:55     ` Drew Adams

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=67a0314a-2b6f-3e85-a4f0-f98bd2254495@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=Emacs-devel@gnu.org \
    --cc=wavexx@thregr.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).