aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-19 15:45:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-19 15:45:21 +0000
commit9029478e8c73915f6abb2eabe3f06411aa2537c8 (patch)
treebc2ecd1f5d102cd232a8009a0859d7a20b8ccd03 /font.h
parentrender: don't 're-calculate fg unnecessarily (diff)
font: tentative support for BGR, V-RGB and V-BGR
Diffstat (limited to 'font.h')
-rw-r--r--font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/font.h b/font.h
index 97c3ec5f..594ae6ec 100644
--- a/font.h
+++ b/font.h
@@ -39,6 +39,7 @@ struct font {
int render_flags;
FT_LcdFilter lcd_filter;
double pixel_size_fixup; /* Scale factor - should only be used with ARGB32 glyphs */
+ bool bgr; /* True for FC_RGBA_BGR and FC_RGBA_VBGR */
struct {
int position;