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:
9af6986
)
(layout_glyphs): Call mfont__ft_drive_gpos.
author
handa
<handa>
Tue, 13 Jul 2004 01:40:03 +0000
(
01:40
+0000)
committer
handa
<handa>
Tue, 13 Jul 2004 01:40:03 +0000
(
01:40
+0000)
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
05b6f24
..
a4123b7
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-510,6
+510,20
@@
layout_glyphs (MFrame *frame, MGlyphString *gstring, int from, int to)
mfont__get_metric (gstring, from, to);
+#ifdef HAVE_OTF
+ while (g < last_g)
+ {
+ MGlyph *base = g++;
+
+ if (base->otf_cmd)
+ {
+ while (g < last_g && base->otf_cmd == g->otf_cmd) g++;
+ mfont__ft_drive_gpos (gstring, GLYPH_INDEX (base), GLYPH_INDEX (g));
+ }
+ }
+ g = MGLYPH (from);
+#endif
+
while (g < last_g)
{
MGlyph *base = g++;