mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
features: add feature_graphemes()
Returns true if we’re compiled with grapheme shaping support, false otherwise.
This commit is contained in:
parent
cf101ea300
commit
4ea7c5b63f
1 changed files with 9 additions and 0 deletions
|
|
@ -19,3 +19,12 @@ static inline bool feature_pgo(void)
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline bool feature_graphemes(void)
|
||||||
|
{
|
||||||
|
#if defined(FOOT_GRAPHEME_CLUSTERING) && FOOT_GRAPHEME_CLUSTERING
|
||||||
|
return true;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue