mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-07 15:27:59 +00:00
Equally lighten and darken flags.
Apply patch from upstream 9c4f5f11802c 'Adjust shadow to equally darken and lighten'. The waved flags were noticeably darker than the source image, for example the blue of the Russian flag was too dark.
This commit is contained in:
parent
46418225ff
commit
3ae82ce23d
1 changed files with 4 additions and 4 deletions
|
@ -98,10 +98,10 @@ wave_mesh_create (double aspect, int alpha)
|
||||||
|
|
||||||
if (alpha)
|
if (alpha)
|
||||||
{
|
{
|
||||||
cairo_mesh_pattern_set_corner_color_rgba(pattern, 0, 0, 0, 0, 0);
|
cairo_mesh_pattern_set_corner_color_rgba(pattern, 0, 1, 1, 1, .5);
|
||||||
cairo_mesh_pattern_set_corner_color_rgba(pattern, 1, 0, 0, 0, .5);
|
cairo_mesh_pattern_set_corner_color_rgba(pattern, 1,.5,.5,.5, .5);
|
||||||
cairo_mesh_pattern_set_corner_color_rgba(pattern, 2, 0, 0, 0, 1);
|
cairo_mesh_pattern_set_corner_color_rgba(pattern, 2, 0, 0, 0, .5);
|
||||||
cairo_mesh_pattern_set_corner_color_rgba(pattern, 3, 0, 0, 0, .5);
|
cairo_mesh_pattern_set_corner_color_rgba(pattern, 3,.5,.5,.5, .5);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue