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

On Thu, Aug 30 2018, Paul Eggert wrote:
> 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:

I have no clue what gnome-tweaks does in detail, so cannot say anything
specific about it, but I went on debugging further on the init side.

I noticed I also call 'set-face-attribute during init.el:

  (set-face-attribute 'default :nil "DejaVu Sans" :height 150)

By doing an eval after creating the first frame, the font size is
correctly calculated. So it seems that something isn't set early enough
compared to before.



  reply	other threads:[~2018-08-30 17:43 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
2018-08-30 17:43         ` Yuri D'Elia [this message]
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=87y3cniwd7.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=Emacs-devel@gnu.org \
    --cc=eggert@cs.ucla.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 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).