[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18789: 24.4; Can't resize frame pixelwise on w32, causing partial co
From: |
Eli Zaretskii |
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@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.