unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width.
       [not found] ` <20191020125521.DD32B20BBC@vcs0.savannah.gnu.org>
@ 2019-10-21 15:13   ` Robert Pluim
  2019-10-21 15:42     ` Juanma Barranquero
  2019-10-21 16:23     ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Pluim @ 2019-10-21 15:13 UTC (permalink / raw)
  To: emacs-devel; +Cc: Juanma Barranquero

>>>>> On Sun, 20 Oct 2019 08:55:21 -0400 (EDT), lekktu@gmail.com (Juanma Barranquero) said:

    Juanma> branch: master
    Juanma> commit f480484cae173e64a81a9698693fc89569471126
    Juanma> Author: Juanma Barranquero <lekktu@gmail.com>
    Juanma> Commit: Juanma Barranquero <lekktu@gmail.com>

    Juanma>     * doc/lispref/display.texi (Low-Level Font): Describe max-width.
    Juanma> ---
    Juanma>  doc/lispref/display.texi | 3 +++
    Juanma>  1 file changed, 3 insertions(+)

    Juanma> diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
    Juanma> index f35b11f..82d9f1d 100644
    Juanma> --- a/doc/lispref/display.texi
    Juanma> +++ b/doc/lispref/display.texi
    Juanma> @@ -3821,6 +3821,9 @@ upward.
    Juanma>  @itemx default-ascent
    Juanma>  Numbers controlling how to compose characters.
 
    Juanma> +@item max-width
    Juanma> +The maximum advance width of the font.
    Juanma> +

How is this distinct from the 'retreat' width of the font?

More seriously, Iʼm assuming this is the maximum width of a character
in the font, in which case we should say so.

Robert



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width.
  2019-10-21 15:13   ` master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width Robert Pluim
@ 2019-10-21 15:42     ` Juanma Barranquero
  2019-10-21 16:24       ` Robert Pluim
  2019-10-21 16:23     ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2019-10-21 15:42 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

On Mon, Oct 21, 2019 at 5:13 PM Robert Pluim <rpluim@gmail.com> wrote:

> How is this distinct from the 'retreat' width of the font?

I don't know that the "retreat" width of the font is.

> More seriously, Iʼm assuming this is the maximum width of a character
> in the font, in which case we should say so.

That's the same definition for max-with given a bit later when describing
query-font's result. I just copied it for font-info.

[-- Attachment #2: Type: text/html, Size: 606 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width.
  2019-10-21 15:13   ` master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width Robert Pluim
  2019-10-21 15:42     ` Juanma Barranquero
@ 2019-10-21 16:23     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2019-10-21 16:23 UTC (permalink / raw)
  To: Robert Pluim; +Cc: lekktu, emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Date: Mon, 21 Oct 2019 17:13:20 +0200
> Cc: Juanma Barranquero <lekktu@gmail.com>
> 
>     Juanma> +@item max-width
>     Juanma> +The maximum advance width of the font.
>     Juanma> +
> 
> How is this distinct from the 'retreat' width of the font?

A font never retreats.

> More seriously, Iʼm assuming this is the maximum width of a character
> in the font, in which case we should say so.

No, it's the maximum, over all the characters of the font, of the
number if pixels to advance after drawing a character.  It could be
different from the character width when there are overlaps.

I'm not sure we should go into such details here, because describing
the fundamentals of digital typography is well out of scope of this
manual.  People should look elsewhere for the detailed information
about this.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width.
  2019-10-21 15:42     ` Juanma Barranquero
@ 2019-10-21 16:24       ` Robert Pluim
  2019-10-21 16:31         ` Juanma Barranquero
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2019-10-21 16:24 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Emacs developers

>>>>> On Mon, 21 Oct 2019 17:42:16 +0200, Juanma Barranquero <lekktu@gmail.com> said:

    Juanma> On Mon, Oct 21, 2019 at 5:13 PM Robert Pluim <rpluim@gmail.com> wrote:
    >> How is this distinct from the 'retreat' width of the font?

    Juanma> I don't know that the "retreat" width of the font is.

That was meant as a joke. Never mind.

    >> More seriously, Iʼm assuming this is the maximum width of a character
    >> in the font, in which case we should say so.

    Juanma> That's the same definition for max-with given a bit later when describing
    Juanma> query-font's result. I just copied it for font-info.

OK, I guess thatʼs all we have to go on then.

Robert



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width.
  2019-10-21 16:24       ` Robert Pluim
@ 2019-10-21 16:31         ` Juanma Barranquero
  0 siblings, 0 replies; 5+ messages in thread
From: Juanma Barranquero @ 2019-10-21 16:31 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

On Mon, Oct 21, 2019 at 6:24 PM Robert Pluim <rpluim@gmail.com> wrote:

> That was meant as a joke. Never mind.

Oh. Advance. Retreat. Got it (finally!). Sorry for being dense.

[-- Attachment #2: Type: text/html, Size: 284 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-21 16:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191020125520.13523.93103@vcs0.savannah.gnu.org>
     [not found] ` <20191020125521.DD32B20BBC@vcs0.savannah.gnu.org>
2019-10-21 15:13   ` master f480484: * doc/lispref/display.texi (Low-Level Font): Describe max-width Robert Pluim
2019-10-21 15:42     ` Juanma Barranquero
2019-10-21 16:24       ` Robert Pluim
2019-10-21 16:31         ` Juanma Barranquero
2019-10-21 16:23     ` Eli Zaretskii

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).