marseymoji/third_party/color_emoji
Doug Felt 616ed3a600 Rewrite add_glyphs, use alias table.
This is a rewrite of add_glyphs in third_party/color_emoji.  The
primary motivation was to move special aliasing rules out of that
code and use an external aliases file instead.  This new version
is a bit more thorough about aliasing, and hopefully a little
easier to read.

The new add_glyphs takes its parameters using keywords, so
the invocation in the Makefile changed (as well as the path to
the tool).

emoji_aliases.txt was extended to add the flag aliases that were
formerly defined in the old add_glyphs code.

add_aliases was modified so the name of the alias file could be
passed in as a parameter to the main utility function that reads
the alias mapping from the file.

The new code expects all glyphs used by the template GSUB tables
to be named in the GlyphOrder table, but doesn't require the cmap
and hmtx table to be fleshed out.  The new code fleshes these out
when it processes the sequences to add.  As a result the cmap and
hmtx tables in the template were truncated.

The new code also sorts the GlyphOrder table when it extends/rebuilds
it.
2017-02-21 10:15:08 -08:00
..
LICENSE Move emoji-specific third-party and scripts into color_emoji/ 2015-06-05 10:58:41 -07:00
README Move emoji-specific third-party and scripts into color_emoji/ 2015-06-05 10:58:41 -07:00
README.third_party Move emoji-specific third-party and scripts into color_emoji/ 2015-06-05 10:58:41 -07:00
emoji_builder.py Use delete_from_cmap from nototools in emoji_builder. 2016-04-04 13:59:59 -07:00
png.py Python is not always installed as /usr/bin/python 2015-06-19 22:01:52 +02:00

README

This project consists of the following bits and pieces:

  * A proposed specification to add support for embedded color image
    glyphs in OpenType fonts,

  * A tool called emoji_builder.py, to embed a set of PNG images into
    an existing font,

  * Two sets of sample PNG images for ASCII characters and sample
    scripts to build them into test fonts: FruityGirl and Funkster.

  * Scripts to build a real color emoji font out of the Open Source
    PhantomOpenEmoji images.