emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic composition case is missing in x_compute_glyph_string_over


From: Kenichi Handa
Subject: Re: Automatic composition case is missing in x_compute_glyph_string_overhangs
Date: Thu, 11 Jun 2009 11:35:40 +0900

In article <address@hidden>, YAMAMOTO Mitsuharu <address@hidden> writes:

> Thanks.  Could you also check if the following change is correct?

Yes, I committed it too.

---
Kenichi Handa
address@hidden

> 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;
>       }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]