diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2022-04-22 21:18:09 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2022-04-25 17:08:07 +0930 |
commit | 4815949d2fd9053c5550de71c2f296005a4aa22d (patch) | |
tree | eb76515c991892c65fc0c326b3e0d16620a67bca /src/cairo-scaled-font-private.h | |
parent | cdcb67ef87790ab01c4f32a432f6bd47df0434e5 (diff) | |
download | cairo-4815949d2fd9053c5550de71c2f296005a4aa22d.tar.gz |
Fix the scaled_glyph_init color glyph logic
and split _cairo_user_scaled_glyph_init() into multiple functions.
Update user-font test to test changing foreground text color.
Diffstat (limited to 'src/cairo-scaled-font-private.h')
-rw-r--r-- | src/cairo-scaled-font-private.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cairo-scaled-font-private.h b/src/cairo-scaled-font-private.h index 3b2fe586d..7a19f2539 100644 --- a/src/cairo-scaled-font-private.h +++ b/src/cairo-scaled-font-private.h @@ -151,11 +151,10 @@ struct _cairo_scaled_glyph { /* TRUE if the color_surface required the foreground_color to render. */ unsigned uses_foreground_color : 1; - /* TRUE if this is not a color glyph, FALSE if is a color glyph or unknown. */ - unsigned not_color_glyph : 1; + /* TRUE if color_glyph specifies if glyph is color or non color, FALSE if glyph color type unknown. */ + unsigned color_glyph_set : 1; - /* TRUE if recording_surface is a color glyph */ - unsigned recording_is_color : 1; + unsigned color_glyph : 1; }; struct _cairo_scaled_glyph_private { |