font: tentative support for BGR, V-RGB and V-BGR

This commit is contained in:
Daniel Eklöf 2019-08-19 17:45:21 +02:00
parent d84b485202
commit 9029478e8c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 23 additions and 7 deletions

1
font.h
View file

@ -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;