projects
/
m17n
/
m17n-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(mfont__ft_drive_otf): Fix previous change.
[m17n/m17n-lib.git]
/
src
/
font-ft.c
diff --git
a/src/font-ft.c
b/src/font-ft.c
index
f40d383
..
426bc4f
100644
(file)
--- a/
src/font-ft.c
+++ b/
src/font-ft.c
@@
-1106,7
+1106,12
@@
mfont__ft_drive_otf (MGlyphString *gstring, int from, int to,
/* Not yet supported. */
break;
}
- prev = g;
+ if (g->GlyphClass == OTF_GlyphClass0)
+ base = mark = g;
+ else if (g->GlyphClass == OTF_GlyphMark)
+ mark = g;
+ else
+ base = g;
}
}
return to;