feature: add a feature flag (for --version) for fractional scaling

This commit is contained in:
Daniel Eklöf 2023-06-26 18:00:01 +02:00
parent 27a92b1158
commit 9db92bd942
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 15 additions and 2 deletions

View file

@ -37,3 +37,12 @@ static inline bool feature_graphemes(void)
return false;
#endif
}
static inline bool feature_fractional_scaling(void)
{
#if defined(HAVE_FRACTIONAL_SCALE)
return true;
#else
return false;
#endif
}