projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c3a47
)
(layout_glyphs): Fix handling left_padding of
author
handa
<handa>
Fri, 3 Feb 2006 06:14:10 +0000
(06:14 +0000)
committer
handa
<handa>
Fri, 3 Feb 2006 06:14:10 +0000
(06:14 +0000)
composition's base.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
0d1d48b
..
67079db
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-719,6
+719,12
@@
layout_glyphs (MFrame *frame, MGlyphString *gstring, int from, int to,
base[i].pos = begin;
base[i].to = end;
}
+ if (base->left_padding && lbearing < 0)
+ {
+ base->xoff -= lbearing;
+ base->width -= lbearing;
+ lbearing = 0;
+ }
}
g_physical_ascent = MAX (g_physical_ascent, base->ascent);