Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5753e4da
Commit
5753e4da
authored
Jun 11, 2009
by
Kenichi Handa
Browse files
(x_get_glyph_overhangs): Fix calculation of right
overhang for the static composition case.
parent
a431c5f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
src/ChangeLog
src/ChangeLog
+8
-0
src/xdisp.c
src/xdisp.c
+3
-3
No files found.
src/ChangeLog
View file @
5753e4da
2009-06-11 Kenichi Handa <handa@m17n.org>
* xdisp.c (x_get_glyph_overhangs): Fix calculation of right
overhang for the static composition case.
2009-06-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* xdisp.c (x_get_glyph_overhangs): Fix calculation of right
overhang for the automatic composition case.
* xterm.c (x_compute_glyph_string_overhangs): Handle the automatic
composition case.
...
...
src/xdisp.c
View file @
5753e4da
...
...
@@ -19913,10 +19913,10 @@ x_get_glyph_overhangs (glyph, f, left, right)
{
struct composition *cmp = composition_table[glyph->u.cmp.id];
if (cmp->rbearing
-
cmp->pixel_width)
if (cmp->rbearing
>
cmp->pixel_width)
*right = cmp->rbearing - cmp->pixel_width;
if (cmp->lbearing < 0)
;
*left = - cmp->lbearing;
if (cmp->lbearing < 0)
*left = - cmp->lbearing;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment