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:
fc0b95e
)
(xft_render): Check adjusted flag of glyphs.
author
handa
<handa>
Tue, 20 Nov 2007 02:52:14 +0000
(
02:52
+0000)
committer
handa
<handa>
Tue, 20 Nov 2007 02:52:14 +0000
(
02:52
+0000)
src/m17n-X.c
patch
|
blob
|
history
diff --git
a/src/m17n-X.c
b/src/m17n-X.c
index
0af354d
..
acb0904
100644
(file)
--- a/
src/m17n-X.c
+++ b/
src/m17n-X.c
@@
-1311,7
+1311,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++->g.xadv)
{
- if (g->g.xoff == 0 && g->g.yoff == 0 && !g->left_padding && !g->right_padding)
+ if (! g->g.adjusted && !g->left_padding && !g->right_padding)
glyphs[nglyphs++] = g->g.code;
else
{