Enable applying GSUB/GPOS features in multiple segments
[profile/ivi/org.tizen.video-player.git] / src / hb-private.hh
index d749267..1cf11bc 100644 (file)
@@ -304,6 +304,11 @@ struct hb_prealloced_array_t {
     qsort (array, len, sizeof (Type), (hb_compare_func_t) Type::cmp);
   }
 
+  inline void sort (unsigned int start, unsigned int end)
+  {
+    qsort (array + start, end - start, sizeof (Type), (hb_compare_func_t) Type::cmp);
+  }
+
   template <typename T>
   inline Type *bsearch (T *key)
   {