collect_emoji_svg takes the region-flags data in third_party
and copies/renames it into a target dir, then overlays this with
the data in noto/color_emoji/svg (which also has a few flags in
it).
generate_test_html changes the html to make room for the flag glyphs,
which are a lot wider. It also adds a flag so we can skip regenerating
the .ttx file in case we want to muck with it directly and regenerate
the .woff from that.
svg_builder has a number of changes needed to deal with the much
more varied svg in the region_flags data. See comments in the file
for some of the changes that needed to be made. Some of these
changes are provisional pending clarification of the spec, which
doesn't provide enough guidance.
svg_cleaner is changed slightly to strip width and height, this step
now happens after extract this information from svg in svg_builder,
instead of before.
third_party subdir is for forks/clones of external projects. The svg code
isn't a modification to that project, but an addition to the font-building
code in noto/color_emoji.
This also fixes a slight bug in the html generation, which set the default
large glyph image but forgot to set the hex version of the text below it.
This generates the font and the html test file in one go, so that we
can be assured of using the same set of glyphs in both. This also adds
the template file used to generate the SVG font.
Other tweaks:
- Adds additional parameters (include, exclude) to file selection. This
was useful when debugging. Other parameter tweaks as well.
- Changes format of html file to flow text, show information on hover.
This is better than the old table layout.
- Changes transform of SVG to put it at top of ascent, rather than top of
EM square. Text selection uses ascent+descent, and the SVG was higher
than the selection.
- Adds a little more status output controlled by the verbosity flag.
- Quiets the ttx output on reading/writing, also controlled by verbosity.
The new emoji assets (in sync with Android Lollipop) were slightly
smaller in size. Replacing with a corrected size.
Also update the font version to sync with Android again.
The bitmap emoji tools are extended to create GSUB rules for character
sequences. The images are renamed to code the character sequence in their
filenames. New images are created for ASCII digits and number sign. A new
script is added to add cmaps to the files for backward compatibility.