aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--foot-features.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/foot-features.h b/foot-features.h
index ae00c564..cdc8056f 100644
--- a/foot-features.h
+++ b/foot-features.h
@@ -19,3 +19,12 @@ static inline bool feature_pgo(void)
return false;
#endif
}
+
+static inline bool feature_graphemes(void)
+{
+#if defined(FOOT_GRAPHEME_CLUSTERING) && FOOT_GRAPHEME_CLUSTERING
+ return true;
+#else
+ return false;
+#endif
+}