Move more code around
[profile/ivi/org.tizen.video-player.git] / src / hb-ot-layout-gpos-private.hh
index b726f77..6e1757a 100644 (file)
@@ -1507,6 +1507,7 @@ struct GPOS : GSUBGPOS
                               hb_mask_t     mask) const
   { return get_lookup (lookup_index).apply_string (font, buffer, mask); }
 
+  static inline void position_start (hb_buffer_t *buffer);
   static inline void position_finish (hb_buffer_t *buffer);
 
   inline bool sanitize (hb_sanitize_context_t *c) {
@@ -1565,6 +1566,12 @@ fix_mark_attachment (hb_glyph_position_t *pos, unsigned int i, hb_direction_t di
 }
 
 void
+GPOS::position_start (hb_buffer_t *buffer)
+{
+  buffer->clear_positions ();
+}
+
+void
 GPOS::position_finish (hb_buffer_t *buffer)
 {
   unsigned int len;