mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -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;
|
||||
#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