st-custom/patches/font-features.diff

20 lines
466 B
Diff
Raw Normal View History

--- a/hb.c
+++ b/hb.c
@@ -27,7 +27,15 @@ static HbFontMatch *hbfontcache = NULL;
* e. g.
* FEATURE('c', 'a', 'l', 't'), FEATURE('d', 'l', 'i', 'g')
*/
-hb_feature_t features[] = { 0 };
+hb_feature_t features[] = {
+ FEATURE('c','v','0','2'),
+ FEATURE('c','v','1','6'),
+ FEATURE('s','s','0','2'),
+ FEATURE('s','s','0','3'),
+ FEATURE('s','s','0','7'),
+ FEATURE('s','s','0','8'),
+ FEATURE('s','s','0','9'),
+};
void
hbunloadfonts()