(mfont__ft_drive_otf): Fix previous change.
authorhanda <handa>
Thu, 5 Aug 2004 08:34:27 +0000 (08:34 +0000)
committerhanda <handa>
Thu, 5 Aug 2004 08:34:27 +0000 (08:34 +0000)
src/font-ft.c

index f40d383..426bc4f 100644 (file)
@@ -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;