Commit Graph

6 Commits (main)

Author SHA1 Message Date
Mike FABIAN 188ffcf08c Use Python3 explicitly 2019-07-17 10:35:02 +02:00
Doug Felt f1da3bc656 Tell generate name data tool to skip Flags as well as Misc.
Formerly Flags were not a separate group and skipping Misc skipped them
as well...
2018-08-09 18:49:55 -07:00
cclauss 4607d55e4c Modernize Python 2 code to get ready for Python 3 2017-09-14 22:18:24 +02:00
Doug Felt faba60f158 Provide option to skip groups when generating emoji name data.
In particular, default to skipping Misc.  These images don't display
well (white/transparent, so disappear against white) and are of
limited interest.
2017-05-25 11:12:05 -07:00
Doug Felt 4685eb2cc8 Let user control error limit parameter in generate_emoji_name_data.
The alias/unicode data is ahead of the current image data, which means
a lot of images appear to be 'missing' when generating names for the
current data set.  Make it possible to set/ignore the limit on the
number of missing images before an exception is thrown.
2017-05-17 10:08:49 -07:00
Doug Felt 8a26752e49 Move emoji name tool from nototools to here, and change a bit.
The emoji name tool is used to generate titles of emoji images in
pages on the get/noto web site, and group them into related sets.

The original emoji name tool in nototools was based on various
informal emoji name data files plus additional tweaks.  Now there
is a standard source of this data and it is parsed by unicode_data
in nototools.  So we start with that data.

The name data from there is designed for Unicode use and it not
quite appropriate for titles in this format.  This tool tweaked
those names.  This operates in much the same way, except the names
are a bit different when coming from the unicode_data source
and so require somewhat different tweaks.

The emoji alias data/code resides in noto-emoji, but the client for
this tool is in nototools, so it's a bit unclear where to put this.
To avoid circular dependencies, formerly we duplicated some flag
aliasing information in the nototools version.  Now we're trying
the opposite approach, putting the tool in noto-emoji instead...
2017-05-16 11:34:44 -07:00