Commit Graph

574 Commits (7de262169bcf0e8c758a652e70af045a027fe978)

Author SHA1 Message Date
Doug Felt 5628587386 Update SVG images for unicode 11.
These were generated from source, then svg_cleaner was run on
them, and then scour_svg was run on those.

As with the png update there are a lot of small modifications that
don't represent real changes in the images.  This version of scour is
0.37 which might account for some deltas over the previous versions,
or perhaps svg_cleaner accounted for some of these.

Note that two of these images (1f314, 1f318) fail to display properly
on Chrome, Firefox and MacOS finder, though they do display properly
in Adobe Illustrator (go figure).  A later commit will patch these.
2018-08-09 17:40:01 -07:00
Doug Felt 89c6545e63 Update svg tooling.
Tweaked svg_cleaner a bit to remove display none, add option to
strip whitespace.  Stripping viewBox was too aggressive, two of our
emoji have non-default viewBox values, so emit it when x or y
are not zero.

Added script to invoke scour (now must be part of installation).
2018-08-09 17:29:34 -07:00
Doug Felt b1246768db Update png images for unicode 11.
These were regenerated from source and most have rather imperceptable
differences, only a few are genuine modifications.
2018-08-09 16:50:11 -07:00
Doug Felt b515e64801 Update list of changed images. 2018-08-09 08:48:37 -07:00
Doug Felt f817fcb3e9 Update for emoji beta.
Remove another alias for which we now have a separate image, and
update version number.
2018-07-06 15:32:24 -07:00
Doug Felt e571d53e02 Some tooling updates for android u11.
Note this does not change image files.

- modify emoji_builder so we can use a flag to control whether to use
  big or small glyph metrics.  android has legacy tooling that expects
  small metrics.  we leave the default in emoji_builder to use big metrics
  but in the makefile default the flag we pass to request small metrics.
  eventually this should shake out to big metrics.
- support more flags by default (not all yet).  Note we omit some in the
  Makefile that we use aliases for-- we don't need their images.
- add aliases for some new flags
- remove new flags from 'unknown flag aliases' list
- unalias some emoji we will have custom images for
- bump version number
- add annnotations file for u11 new and changed emoji
2018-05-09 20:13:57 -07:00
dougfelt 352632eb19
Merge pull request #217 from frankslin/master
Reduce sizes of SVG files by running python-scour CLI.
2018-05-03 11:32:14 -07:00
Frank Lin 43f47be940 Reduce SVG file sizes by running python-scour CLI with the following command.
$ scour --strip-xml-prolog --enable-viewboxing --enable-id-stripping \
  --enable-comment-stripping --shorten-ids --no-line-breaks --strip-xml-space \
  -i <infile> -o <outfile>

scour version: 0.36
2018-05-03 00:28:06 -07:00
dougfelt b73feb8bc5
Merge pull request #213 from dougfelt/pistol_change
Pistol change
2018-04-24 14:36:41 -07:00
Doug Felt 0447355ade Update font for pistol change. 2018-04-24 14:34:53 -07:00
Doug Felt 1af77618da Merge branch 'master' into pistol_change 2018-04-24 11:56:33 -07:00
dougfelt 1a9fb3cd76
Merge pull request #210 from dougfelt/emoji_check_update
Update check_emoji_sequences.
2018-04-16 18:27:36 -07:00
Doug Felt 5bec5cce2c Update check_emoji_sequences.
- use existing utilities in nototools/unicode_data, add_aliases
- add check that file names do not use presentation selectors
- include tags in valid cps that can appear in a sequence
- add check for valid tag sequences (for subregion flags)
- separate out check that no source for an alias is present (we
  expect to alias this so should not have an image with that name)
- filter data by age (somewhat), provide command line flag, remove
  hard-coded unicode 9.0 value
- separate coverage check (for when data is partial), provide
  command line flag and don't run by default
- provide command line flag to exclude subdirs by name when collecting
  images
- refactor output so each error has a consistent initial text indicating
  the check where the error was found, make output a tad less verbose
2018-04-16 18:25:58 -07:00
dougfelt 0f71505502
Merge pull request #209 from dougfelt/master
Remove duplicate images for 'people with bunny ears partying'.
2018-04-16 17:55:37 -07:00
Doug Felt eee736963f Remove duplicate images for 'people with bunny ears partying'.
The non-gender-specific sequence is aliased to a gender-specific one,
and the image is a duplicate.  Aliasing handles the non-gender-specific
case.
2018-04-16 17:52:28 -07:00
dougfelt da6d773342
Merge pull request #208 from dougfelt/new_emoji
Add aliases for superhero/villain non-gendered sequences.
2018-04-16 17:22:23 -07:00
Doug Felt a69b45779d Add aliases for superhero/villan genderless sequences.
Maps them to the female gendered ones.
2018-04-11 11:16:26 -07:00
Doug Felt cf666e6382 Modify pistol emoji images. 2018-03-07 17:51:59 -08:00
dougfelt 153e1d4c02
Merge pull request #194 from dougfelt/flag_update
Update fontRevision, fix git commit id.
2018-01-02 13:09:40 -08:00
Doug Felt bf11224498 Update fontRevision, fix git commmit id.
Previously forgot to update fontRevision when updating the name table
version string.  Also, the commit date/id was created before the
actual pushed commits, so were not correct.  This fixes that.

The version string remains at 2.004 and now the fontRevision matches.
2018-01-02 12:59:19 -08:00
dougfelt 77002c46c9
Merge pull request #193 from dougfelt/flag_update
Flag update
2018-01-02 12:38:15 -08:00
Doug Felt 8bd8a303c3 Rebuild NotoColorEmoji with latest changes for flags, metrics.
Version is 2.004.
2018-01-02 12:35:42 -08:00
Doug Felt 9d977df32c Update region-flags from upstream.
This updates the svg, png, and html resources from behdad/region-flags.
It also updates the LICENSE (COPYING) and README.md files from there.

Formerly our copy contained only a few subregion flags, but this change
adds them all from upstream.

Also formerly we explicitly used symlinks in our data for flags that
are the same as other country flags.  Now however we just use the
upstream data.  Note that the emoji_aliases.txt file will still
cause the font to only have one copy of these.

Note this also deletes the copy of IC.png that somehow had found its
way into the region-flags directory.

Use big glyph metrics to support vertical text rendering
2018-01-02 12:35:41 -08:00
dougfelt 09d8fd121a
Merge pull request #192 from yuki-takeichi/big-glyph-metrics
Use big glyph metrics to support vertical text rendering
2017-12-16 09:25:17 -08:00
Yuki Takeichi a9d16062fb Use big glyph metrics to support vertical text rendering 2017-12-15 22:41:33 +09:00
dougfelt bc7410a106
Merge pull request #184 from mavit/dimensions
Make it easier to assemble images of other sizes
2017-12-06 15:53:15 -08:00
Peter Oliver f88164ac0a Make it easier to assemble images of other sizes
Until https://github.com/googlei18n/noto-emoji/issues/9 arrives, this will make it slightly more convenient to use this `Makefile` to build Twemoji, which uses 72 Ă— 72 pixel PNGs.
2017-11-17 16:09:53 +00:00
dougfelt 55d3ba1d6b
Merge pull request #176 from klaas/master
Spelling of macOS
2017-10-31 09:41:36 -07:00
dougfelt d2d13b30a6
Merge pull request #181 from dougfelt/hamburger_fix
Fixes for hamburger, beer, and cheese.
2017-10-31 09:38:59 -07:00
Doug Felt ef89179e7d Other related fixes for hamburger etc.
Adds cleaned svg resources, the updated template, and the rebuilt font.
2017-10-30 13:23:07 -07:00
Doug Felt a5efe6ca61 Fix hamburger, beer, and cheese emoji.
Some things just can't wait.
2017-10-30 10:49:35 -07:00
dougfelt 11275b5a2e
Merge pull request #180 from dougfelt/master
Update readme with note about Python 2 and wide builds.
2017-10-30 09:29:59 -07:00
Doug Felt 75e66a4a73 Update readme with note about Python 2 and wide builds. 2017-10-30 09:29:24 -07:00
Klaas ef5cc99436 Spelling of macOS 2017-10-22 15:50:23 +02:00
dougfelt c5fa000e00 Merge pull request #173 from dougfelt/alias_canonical
Update add_aliases tool to generate canonical names.
2017-10-09 16:39:29 -07:00
Doug Felt 512d629dcb Update add_aliases tool to generate canonical names.
Clients who want to identify sequences in text that have image files
would like to use the file names to identify these sequences, and
would like to identify canonical sequences using this method.
Add an option to the add_aliases tool to also create aliases using
the canonical names where they differ from the file names.

Our file naming omits the emoji presentation selector character, so
the image files by default do not include it.  This provides a means
to restore that.
2017-10-09 11:40:52 -07:00
Miguel Sousa 69952d1fd8 Fix tables version number to match published spec (#66) 2017-10-07 12:15:24 +02:00
dougfelt 411334c8e6 Merge pull request #170 from dougfelt/master
Fix name of alias file.
2017-09-20 11:32:08 -07:00
Doug Felt dd0eeba3cb Fix name of alias file. 2017-09-20 11:31:17 -07:00
dougfelt d5ac67b140 Merge pull request #169 from dougfelt/master
Update readme noting update to emoji design.
2017-09-20 10:07:57 -07:00
Doug Felt 7a30f099ad Update readme noting update to emoji design.
Also added sections on the emoji font assets and the b/w emoji font,
since this information is not widely known.
2017-09-20 10:05:31 -07:00
dougfelt ce8e6f114f Merge pull request #167 from dougfelt/master
Fix typo.
2017-09-15 11:26:02 -07:00
Doug Felt 9e8ca395a1 Fix typo. 2017-09-15 11:25:19 -07:00
dougfelt 6197b23cda Merge pull request #166 from Upgrade-to-Python3/modernize-python2-code
Modernize Python 2 code to get ready for Python 3
2017-09-15 09:03:34 -07:00
cclauss 4607d55e4c Modernize Python 2 code to get ready for Python 3 2017-09-14 22:18:24 +02:00
dougfelt 7159f45c58 Merge pull request #165 from dougfelt/emoji_svg_fixes
Fixed svgs to remove embedded raster data.
2017-09-13 13:20:25 -07:00
Doug Felt b4967d8f84 Fixed svgs to remove embedded raster data.
Fixes were applied to upstream .ai files and the svg regenerated.
2017-09-13 13:17:45 -07:00
dougfelt a4ddd5b44f Merge pull request #159 from cclauss/patch-2
Add collect_glyphstr_file_pairs(verbosity=1) param
2017-08-27 12:53:40 -07:00
dougfelt d97777d183 Merge pull request #162 from dougfelt/master
Regenerate emoji font with fixed PNGs.
2017-08-27 12:25:47 -07:00
Doug Felt 474505eeaf Regenerate emoji font with fixed PNGs.
The previous release of the font used some incorrect sequences due to
the presence of old png image data in the sources.
2017-08-27 12:23:43 -07:00