unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: emacs-devel@gnu.org
Subject: Display scaling?
Date: Wed, 26 Jan 2022 14:55:59 +0800	[thread overview]
Message-ID: <877danm1ds.fsf@yahoo.com> (raw)
In-Reply-To: 877danm1ds.fsf.ref@yahoo.com

Right now, the PGTK and NS ports apply a so-called "device scale", which
means that all drawing operations have an integral scale applied when
the user asks for it (for example, when he has a HiDPI monitor.)

The X and (presumably) W32 ports, however, only scale text on such
monitors, which means things that aren't text (such as the fringes and
boxes) are often displayed too tiny to be legible.

I think it would be nice to have such scaling on the other ports as
well.  We could probably apply the frame's display scale to the width of
its boxes when a face is being realized, and apply the scale to the the
fringe and its bitmaps as well.

It would be opt-in behaviour, of course.

WDYT?



       reply	other threads:[~2022-01-26  6:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <877danm1ds.fsf.ref@yahoo.com>
2022-01-26  6:55 ` Po Lu [this message]
2022-01-26  8:38   ` Display scaling? Eric S Fraga
2022-01-26 12:57   ` Eli Zaretskii
2022-01-26 13:17     ` Po Lu
2022-01-26 13:33       ` Eli Zaretskii
2022-01-26 13:36         ` Po Lu
2022-01-26 14:50           ` Eli Zaretskii
2022-01-27  0:57             ` Po Lu
2022-01-27  6:29               ` Eli Zaretskii
2022-01-27  6:42                 ` Po Lu
2022-01-27 10:51                   ` Po Lu
2022-01-27 11:02                     ` Eli Zaretskii
2022-01-27 11:08                       ` Po Lu
2022-01-27 11:22                         ` Eli Zaretskii
2022-01-27 11:35                           ` Po Lu
2022-01-26 13:16   ` Lars Ingebrigtsen
2022-01-26 13:37     ` Po Lu
2022-01-31 15:13   ` Dmitry Gutov
2022-02-01  1:05     ` Po Lu

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=877danm1ds.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@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 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).