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:
ab49f54
)
(xft_render): Pay attention to members left_padding and
author
handa
<handa>
Mon, 26 Jul 2004 11:38:15 +0000
(11:38 +0000)
committer
handa
<handa>
Mon, 26 Jul 2004 11:38:15 +0000
(11:38 +0000)
right_padding of MGlyph.
src/m17n-X.c
patch
|
blob
|
history
diff --git
a/src/m17n-X.c
b/src/m17n-X.c
index
ef46273
..
36b317b
100644
(file)
--- a/
src/m17n-X.c
+++ b/
src/m17n-X.c
@@
-977,7
+977,7
@@
xft_render (MDrawWindow win, int x, int y,
glyphs = alloca (sizeof (FT_UInt) * (to - from));
for (last_x = x, nglyphs = 0, g = from; g < to; x += g++->width)
{
- if (g->xoff == 0 && g->yoff == 0)
+ if (g->xoff == 0 && g->yoff == 0 && !g->left_padding && !g->right_padding)
glyphs[nglyphs++] = g->code;
else
{