all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rpluim@gmail.com,  emacs-devel@gnu.org
Subject: Re: master a739cab6637 2/2: ; * doc/lispref/display.texi (Image Descriptors): Insert missing text.
Date: Fri, 07 Jun 2024 16:50:55 +0800	[thread overview]
Message-ID: <s54tti5t9u8.fsf@yahoo.com> (raw)
In-Reply-To: <86plstfepb.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Jun 2024 09:29:36 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> So this means at least on Windows, where the default font's width is
> 8, the image will never be scaled in "emacs -Q", am I right?
>
> I think on macOS the default width is 7, so the same will happen there
> as well?
>
> What is the default width of the font on GNU/Linux?

8, though all this is only true when there is no display scale
configured, even on MS-Windows, correct?  This code isn't supposed to
activate when the display density isn't so high as to require font
scaling, and in the other case the default font width will be scaled
beyond 10 pixels.

> And finally, can you tell more about how the scale factor is computed
> "based on the font's pixel size"?  Or point me to the code which does
> that?  I think some of that should be in the manual, to give the users
> some idea of what will happen.

See line 2699 of image.c.



  reply	other threads:[~2024-06-07  8:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <171740380294.31568.538114951586755322@vcs2.savannah.gnu.org>
     [not found] ` <20240603083643.B2E29C009F4@vcs2.savannah.gnu.org>
2024-06-03 11:27   ` master a739cab6637 2/2: ; * doc/lispref/display.texi (Image Descriptors): Insert missing text Robert Pluim
2024-06-06 12:01     ` Eli Zaretskii
2024-06-06 13:18       ` Po Lu
2024-06-06 13:39         ` Eli Zaretskii
2024-06-06 13:58           ` Po Lu
2024-06-06 14:04             ` Robert Pluim
2024-06-06 15:08             ` Eli Zaretskii
2024-06-07  0:14               ` Po Lu
2024-06-07  6:29                 ` Eli Zaretskii
2024-06-07  8:50                   ` Po Lu [this message]
2024-06-08 13:20                     ` Eli Zaretskii
2024-06-08 13:28                       ` 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

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

  git send-email \
    --in-reply-to=s54tti5t9u8.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.