mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-09 08:17:58 +00:00
commit
8f0a65b1ae
2 changed files with 12 additions and 7 deletions
|
@ -78,7 +78,7 @@
|
||||||
<head>
|
<head>
|
||||||
<!-- Most of this table will be recalculated by the compiler -->
|
<!-- Most of this table will be recalculated by the compiler -->
|
||||||
<tableVersion value="1.0"/>
|
<tableVersion value="1.0"/>
|
||||||
<fontRevision value="1.33"/>
|
<fontRevision value="1.37"/>
|
||||||
<checkSumAdjustment value="0x4d5a161a"/>
|
<checkSumAdjustment value="0x4d5a161a"/>
|
||||||
<magicNumber value="0x5f0f3cf5"/>
|
<magicNumber value="0x5f0f3cf5"/>
|
||||||
<flags value="00000000 00001011"/>
|
<flags value="00000000 00001011"/>
|
||||||
|
@ -246,7 +246,7 @@
|
||||||
Noto Color Emoji
|
Noto Color Emoji
|
||||||
</namerecord>
|
</namerecord>
|
||||||
<namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
|
<namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
|
||||||
Version 1.33
|
Version 1.37
|
||||||
</namerecord>
|
</namerecord>
|
||||||
<namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
|
<namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
|
||||||
NotoColorEmoji
|
NotoColorEmoji
|
||||||
|
|
15
waveflag.c
15
waveflag.c
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -409,7 +409,12 @@ wave_flag (const char *filename, const char *out_prefix)
|
||||||
*out = '\0';
|
*out = '\0';
|
||||||
strcat (out, out_prefix);
|
strcat (out, out_prefix);
|
||||||
// diff from upstream. we call this a bit differently, filename might not be in cwd.
|
// diff from upstream. we call this a bit differently, filename might not be in cwd.
|
||||||
strcat (out, basename(filename));
|
|
||||||
|
// basename wants a non-const argument. The problem here is paths that end in a
|
||||||
|
// slash, POSIX basename removes them while GNU just returns a pointer to that
|
||||||
|
// slash. Since this is supposed to be a filename such input is illegal for us.
|
||||||
|
// We're already not checking for overflow of the output buffer anyway...
|
||||||
|
strcat (out, basename((char *) filename));
|
||||||
|
|
||||||
cairo_surface_write_to_png (cairo_get_target (cr), out);
|
cairo_surface_write_to_png (cairo_get_target (cr), out);
|
||||||
cairo_destroy (cr);
|
cairo_destroy (cr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue