aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-22 19:10:53 +0200
committerMattias Andrée <maandree@kth.se>2022-07-22 19:10:53 +0200
commit01349b9ef6fefeb73aa3883e6d31d61da04884eb (patch)
tree95c1aa21ad6842354009225c0c329ae4e0185845
parentDoc libfonts_antialiasing (diff)
downloadlibfonts-01349b9ef6fefeb73aa3883e6d31d61da04884eb.tar.gz
libfonts-01349b9ef6fefeb73aa3883e6d31d61da04884eb.tar.bz2
libfonts-01349b9ef6fefeb73aa3883e6d31d61da04884eb.tar.xz
Add LIBFONTS_ANTIALIASING_GREYSCALE_FORCED
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libfonts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libfonts.h b/libfonts.h
index 741c4f5..2d8e94d 100644
--- a/libfonts.h
+++ b/libfonts.h
@@ -26,6 +26,12 @@ enum libfonts_antialiasing {
LIBFONTS_ANTIALIASING_GREYSCALE,
/**
+ * Use greyscale-antialiasing regardless
+ * of other settings
+ */
+ LIBFONTS_ANTIALIASING_GREYSCALE_FORCED,
+
+ /**
* Use subpixel rendering
*/
LIBFONTS_ANTIALIASING_SUBPIXEL,