Change-Id: I92c9d23b76c174f47057a75fa071e19aa23a7676
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
IsNewParagraph( character ) );
}
+bool HasLigatureMustBreak( Script script )
+{
+ return ( ( LATIN == script ) ||
+ ( ARABIC == script ) );
+}
+
} // namespace TextAbstraction
} // namespace Dali
*/
DALI_IMPORT_API bool IsCommonScript( Character character );
+/**
+ * @brief Whether the script contains ligatures that must be 'broken' for selection or cursor position.
+ *
+ * i.e The latin script has the 'ff' or 'fi' ligatures that need to be broken to position the cursor
+ * between the two characters. Equally the arabic script has the 'ﻻ' ligature that needs to be broken.
+ *
+ * @param[in] script The script.
+ *
+ * @return @e true if the script has ligatures that must be 'broken'.
+ */
+DALI_IMPORT_API bool HasLigatureMustBreak( Script script );
} // namespace TextAbstraction
} // namespace Dali