GNU bug report logs - #18789
24.4; Can't resize frame pixelwise on w32, causing partial columns when using non-standard font

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Wed, 22 Oct 2014 09:04:01 UTC

Severity: normal

Found in version 24.4

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 18789 <at> debbugs.gnu.org, andlind <at> gmail.com
Subject: bug#18789: 24.4; Can't resize frame pixelwise on w32, causing partial columns when	using non-standard font
Date: Wed, 22 Oct 2014 17:59:34 +0300
> Date: Wed, 22 Oct 2014 15:43:01 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> 
>  >      emacs -q
>  >
>  >      Switch to *scratch*: C-x b RET
>  >
>  >      Evaluate:
>  >      (set-default-font
>  >        (create-fontset-from-ascii-font
>  >         "-raster-Terminal-bold-r-normal-normal-8-60-96-96-c-*-ms-oemlatin"))
>  >
>  >      Split the window using: C-x 3
>  >
>  >      Insert a long line: C-u 37 x
>  >
>  >      Here, the cursor is at the end of the line in the left window, it is
>  > rendered in the right fringe. (OK)
>  >
>  >      Go to the other window: C-x o
>  >
>  >      Place the cursor at the end: C-x >
>  >
>  >      Here, the cursor is visible in the partially visible column. (NOT OK)
> 
> Sorry.  Such problems can't be avoided, even without fringes and scroll
> bars, when the window size is not a multiple of the size of the default
> font.

Moreover, the frame size after evaluating the
create-fontset-from-ascii-font form is odd, so "C-x 3" cannot possibly
create 2 windows of the same width.  And that is what you see: one
window has one pixel more in its width, so we show the corresponding
part of the cursor.  I don't see anything wrong with that.




This bug report was last modified 10 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.