From: Kenichi Handa <handa@m17n.org>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: Automatic composition case is missing in x_compute_glyph_string_overhangs
Date: Thu, 11 Jun 2009 11:35:40 +0900 [thread overview]
Message-ID: <E1MEa8i-0004df-Qa@etlken> (raw)
In-Reply-To: <wlprdbbkgv.wl%mituharu@math.s.chiba-u.ac.jp> (message from YAMAMOTO Mitsuharu on Thu, 11 Jun 2009 10:57:52 +0900)
In article <wlprdbbkgv.wl%mituharu@math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:
> Thanks. Could you also check if the following change is correct?
Yes, I committed it too.
---
Kenichi Handa
handa@m17n.org
> Index: src/xdisp.c
> ===================================================================
> RCS file: /sources/emacs/emacs/src/xdisp.c,v
> retrieving revision 1.1283
> diff -c -p -r1.1283 xdisp.c
> *** src/xdisp.c 10 Jun 2009 14:15:50 -0000 1.1283
> --- src/xdisp.c 11 Jun 2009 01:51:24 -0000
> *************** x_get_glyph_overhangs (glyph, f, left, r
> *** 19926,19932 ****
> composition_gstring_width (gstring, glyph->u.cmp.from,
> glyph->u.cmp.to + 1, &metrics);
> if (metrics.rbearing > metrics.width)
> ! *right = metrics.rbearing;
> if (metrics.lbearing < 0)
> *left = - metrics.lbearing;
> }
> --- 19926,19932 ----
> composition_gstring_width (gstring, glyph->u.cmp.from,
> glyph->u.cmp.to + 1, &metrics);
> if (metrics.rbearing > metrics.width)
> ! *right = metrics.rbearing - metrics.width;
> if (metrics.lbearing < 0)
> *left = - metrics.lbearing;
> }
prev parent reply other threads:[~2009-06-11 2:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 0:30 Automatic composition case is missing in x_compute_glyph_string_overhangs YAMAMOTO Mitsuharu
2009-06-11 1:26 ` Kenichi Handa
2009-06-11 1:57 ` YAMAMOTO Mitsuharu
2009-06-11 2:35 ` Kenichi Handa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MEa8i-0004df-Qa@etlken \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.