Commit Graph

9 Commits (53c1b584faa62871972a3902831c8afd691a407b)

Author SHA1 Message Date
Doug Felt 2232f4df82 Show codepoints for sequences in generate emoji html tool.
It used to be difficult to find a sequence since the codepoints weren't
provided, just the images.  This provides the codepoint list as
the 'name' of the sequence.

This also makes some other changes:
- the python template system doesn't like keyword names that have have
  hyphens, so rename font-face-style to fontFaceStyle to get around this.
  Thought this had been fixed earlier, but apparently it didn't end up in
  a pushed commit.
- no longer insert emoji variation selector after some characters.
  This was done to see what difference it made in browser behavior, but
  we think now that browsers should be able to handle these sequences
  without the selectors present.
- use a flag to pass name of output html file, rather than taking it as
  a direct arg.  other flags take multiple args, and if the html file
  name comes after one of those, it gets swallowed by the other flag,
  so it has to come first.  This lets you put the file name anywhere
  in the parameter list, the flag acts as a delimiter.
2016-07-14 13:32:40 -07:00
Doug Felt 7c719f9166 Update emoji html generation tool to show images rendered by font.
Images are shown in LTR and RTL contexts.  Chrome currently doesn't
correctly render some emoji sequences, in part this is because it is
using Unicode 8 property data.  At any rate, these are known Chrome
issues.
2016-07-11 14:53:58 -07:00
Doug Felt 5fd46ab136 Add limit option to generate_emoji_html.
By default the tool uses all sequences that appear in any of the image
sets. To make it easier to see just the changes between a smaller
set of images and a large one, this lets you limit the sequences
to just those in the first set being compared.
2016-04-15 15:07:58 -07:00
Doug Felt 8b2596d76a Generate file references relative to destination of output file.
Formerly, we wrote the file paths as given on the command line, the
assumption being that the output file was in the cwd and the paths
to the directories would be correct.

However if we want to generate the output file somewhere other than
the cwd the generated image paths don't work.  This takes the location
of the output file into account and either generates relative paths
if the files are under the output file directory, or absolute paths
otherwise.
2016-04-15 15:00:32 -07:00
Doug Felt 59e04933c0 Tweak emoji html to display images against darker color. 2016-04-14 17:40:13 -07:00
Doug Felt ae1b8331ee Tweaks to emoji build tools to deal with odds and ends. 2016-04-05 13:28:40 -07:00
Doug Felt 2a6be68841 fixes for review 2016-03-16 16:48:39 -07:00
Doug Felt 7239961d93 fix add/append mixup 2016-03-16 15:17:00 -07:00
Doug Felt a9b8e7f8e0 Add tool that generates an html file comparing emoji images.
This uses nototools to get unicode names.  It relies on new
api in nototools.unicode_data to get data/names of proposed emoji
that are not currently approved and so not in the standard data
files.
2016-01-29 14:38:07 -08:00