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

From: Michael Heerdegen <[email-masked]>
Date: Thu, 09 Jul 2015 13:01:58 +0200

Eli Zaretskii <[email-masked]> 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.