bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21012: 25.0.50; eww: last char of a line sometimes not fully visible


From: Michael Heerdegen
Subject: bug#21012: 25.0.50; eww: last char of a line sometimes not fully visible
Date: Thu, 09 Jul 2015 13:01:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> > > Do you understand why the value of frame-fringe-width is multiplied by
> > > 2?
> > 
> > I guess because the window is assumed to have two fringes.
>
> But frame-fringe-width returns the sum of them both, doesn't it?

Mmh, then it just doesn't make sense.


> > Note that in the shr-use-fonts -> t case, COLUMN is in pixels.
> > 
> >   (/ column (frame-char-width))
> > 
> > is IMO an estimated value of "real" columns to advance.
>
> No, it's the value in pixels expressed in frame's canonical character
> width.

That doesn't sound right to me.  COLUMN is in pixels, (frame-char-width)
is in pixels, too.  The quotient can't be in pixels.  Its unit is just a
number (of characters).

Note that shr-vertical-motion doesn't receive a column number as
argument, despite its name.


Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]