From 335573a628ed6ff20640c881935e0648a4819c1a Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sat, 25 Jun 2022 15:59:42 +0100 Subject: Add option to disable font hinting. Also improve text on non-hidpi screens. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 120e7c2..3844bbd 100644 --- a/src/main.c +++ b/src/main.c @@ -589,6 +589,7 @@ static void usage() " --hide-cursor Hide the cursor.\n" " --horizontal List results horizontally.\n" " --history Sort results by number of usages.\n" +" --hint-font Perform font hinting.\n" ); } @@ -626,6 +627,7 @@ static void parse_args(struct tofi *tofi, int argc, char *argv[]) {"horizontal", required_argument, NULL, 0}, {"hide-cursor", required_argument, NULL, 0}, {"history", required_argument, NULL, 0}, + {"hint-font", required_argument, NULL, 0}, {NULL, 0, NULL, 0} }; const char *short_options = ":hc:"; -- cgit v1.2.3