Commit Graph

2 Commits (0d603f5af52f14d948adbfcebd67a87d06c9393f)

Author SHA1 Message Date
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