GNU bug report logs -
#12364
24.2.50; wrong overhang display for gstring compositions
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Sep 2012 13:01:10 +0900
with message-id <wly5khrywp.wl%mituharu <at> math.s.chiba-u.ac.jp>
and subject line Re: bug#12364: 24.2.50; wrong overhang display for gstring compositions
has caused the debbugs.gnu.org bug report #12364,
regarding 24.2.50; wrong overhang display for gstring compositions
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
12364: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12364
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Steps to Reproduce:
1. $ emacs -Q &
2. evaluate (set-fontset-font t 'arabic (font-spec :family "arial" :size 30))
3. C-u C-\ arabic RET
4. u S u
At this moment, the two grapheme clusters look connected.
5. C-b C-p
Now the two grapheme clusters look unconnected.
See also the "u-S-u" example in the first screenshot in
http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg00178.html .
I think at least the two occurrences of the following line in xdisp.c
are wrong.
int first = (s->first_glyph - glyphs) + (s->cmp ? 1 : s->nchars);
The value of s->cmp seems to be NULL for the "gstring" cases.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
In GNU Emacs 24.2.50.1 (x86_64-apple-darwin12.1.0, X toolkit, Xaw3d scroll bars)
of 2012-09-06 on YAMAMOTO-no-iMac.local
Bzr revision: 109895 yamaoka <at> jpl.org-20120905224543-v2x5qiqin2b83lnv
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
Configured using:
`configure '--enable-checking' '--with-jpeg=no' '--with-gif=no'
'--with-tiff=no' 'CFLAGS=-g3''
Important settings:
value of $LANG: ja_JP.UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
[Message part 3 (message/rfc822, inline)]
>>>>> On Fri, 07 Sep 2012 17:47:23 +0900, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> said:
> I tried making a fix. The change for xterm.c is so the box cursor can
> invert the left overhang of the succeeding glyph.
I've just installed the patch.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
This bug report was last modified 12 years and 308 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.