From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: Recent changes incorrectly calculate font size within daemon mode Date: Wed, 29 Aug 2018 13:05:54 +0200 Message-ID: <87k1o9zb3h.fsf@wavexx.thregr.org> References: <87wos94ga3.fsf@wavexx.thregr.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535540674 17181 195.159.176.226 (29 Aug 2018 11:04:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 11:04:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Paul Eggert To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 29 13:04:29 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fuyGy-0004Ln-AD for ged-emacs-devel@m.gmane.org; Wed, 29 Aug 2018 13:04:28 +0200 Original-Received: from localhost ([::1]:42382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuyJ4-0004bt-MI for ged-emacs-devel@m.gmane.org; Wed, 29 Aug 2018 07:06:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuyIE-0004bo-Km for emacs-devel@gnu.org; Wed, 29 Aug 2018 07:05:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuyIB-000613-EO for emacs-devel@gnu.org; Wed, 29 Aug 2018 07:05:46 -0400 Original-Received: from [195.159.176.226] (port=43708 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fuyIB-00060c-6N for emacs-devel@gnu.org; Wed, 29 Aug 2018 07:05:43 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fuyG3-0003Ae-0F for emacs-devel@gnu.org; Wed, 29 Aug 2018 13:03:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:p7RkrOqekd21+/M0dl4uQMFO75M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229049 Archived-At: On Wed, Aug 29 2018, Yuri D'Elia wrote: > - if I start emacs normally, all is good > - if I start it through emacsclient -c, the screen DPI is not correctly > calculated. It looks like my fontconfig/Xres DPI settings are ignored. > > This change must have been introduced in one of the commits in master in > the last week at most, however I don't see anything pointing to > fontconfig/daemon mode changes. I bisected this down until this commit which introduced the regression: d77d01d22902acdc45c2c7059de4f1b158ab5806 (bignum stuff), which does mention a few changes to frame parameters. Maybe those changes are not handles when a frame is created from a daemon instance?