Commit Graph

9 Commits (main)

Author SHA1 Message Date
Doug Felt 3ae82ce23d 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.
2017-04-27 15:06:55 -07:00
Doug Felt 46418225ff Quiet warning caused by const argument to basename.
The cases in which this warning is legitimate are failing cases
for us anyway, so just cast away const to silence this warning.
2017-04-27 15:02:41 -07:00
Doug Felt 2a0df56cae Replace missing include patch that was dropped when merging with upstream.
Our copy of waveflag.c uses basename and so needs the header.
2017-01-26 17:52:06 -08:00
Doug Felt 46562661a4 Update waveflag.c from upstream.
Also, we call this a bit differently than upstream so have a slight change.
Add comment to highlight this more.

the
2017-01-26 14:22:56 -08:00
Doug Felt 41fa8181f5 Update for new waveflag semantics.
Previously our copy of waveflag took just an input and output filename.
Upstream takes a prefix and one or more input filenames, and concatenates
the prefix to the input filename as the output.

The makefile is changed to pass a prefix and the input filename, instead
of the input filename and the output filename as it formerly did.

Unfortunately for us, our inputs have a directory prefix since they're
not in the current directory, and we don't want this prefix in the output
file path.  So we tweak our copy of waveflag.c to call basename on the
input file path before we append it to the prefix.

We also make the tool a little less noisy by putting more printfs
under the debug flag.
2016-10-07 14:31:12 -07:00
Doug Felt 741f8b92c9 Update waveflag.c to upstream version.
Also updates LDFLAGS to match upstream.
2016-10-07 14:21:32 -07:00
dougfelt 53c1b584fa Restore ability of waveflag to generate other size flags. (#63)
When waveflag.c was forked from behdad's repo one of the changes that
was made effectively removed the ability to generate different sizes
of flags, despite leaving the SIZE value in the source.  Recently we
needed to generate waved flags at a different power-of-two size, and
found it no longer functioned as the original.  These changes restore
that while leaving the other changes in this forked version (mostly
formatting changes) intact.
2016-08-15 14:05:54 -07:00
Roozbeh Pournader 085b3b2841 Add flags for 200+ regions.
This change also reorganized how the NotoColorEmoji font is created.
2014-08-12 19:28:00 -07:00
Roozbeh Pournader 0810eacb07 Add flag waver and make rules for 64px PNGs. 2014-07-31 11:19:11 -07:00