Commit Graph

22 Commits (0d603f5af52f14d948adbfcebd67a87d06c9393f)

Author SHA1 Message Date
Doug Felt 98fe0a9ed4 Update Noto Color Emoji font to 1.39.
This fixes the skin tones of the light/medium light male cook emoji,
which had been swapped.
2017-05-18 17:52:21 -07:00
Doug Felt 040f82bb2b Update version. 2017-04-23 20:31:11 -07:00
Doug Felt 3a39580522 Add vhea/vmtx to NotoColorEmoji.
The vertical advance is a little over the horizontal lineheight.

Fixes noto-emoji#94.
2017-02-22 18:13:06 -08:00
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
Doug Felt a62c0be851 Add GSUB substitutions to provide unknown flag for pairs of RIS.
A current issue in Harfbuzz requires that you not perform a delete
on index 1 before running a lookup on index 0.
2017-02-15 16:33:03 -08:00
Doug Felt 58097d9d4c Generate reversed GSUB sequences for subregion flags too.
Since subregion flag sequences consist of BN and ON they can be
impacted by bidi, and once again we have the problem that these are
processed in visual order so we need GSUB rules such that we can
handle them in either direction.  All subregion flag sequences
contain U+E007F, so we use that as a trigger for adding the
reversed sequence.

We also need to handle emitting the missing flag glyph for the
reversed sequences.

And we also want to strip out tag glyphs when the context is reversed.
This means the chaining context should include 'E007F' as well.
2017-02-15 16:21:55 -08:00
Doug Felt d270ecad99 Generate unknown flag for unrecognized subregion emoji sequences.
Instead of writing code to build the additional lookups needed for
subregion missing flag handling, this adds a GSUB table to the
template and lets add_glyphs do its normal thing to the first
GSUB lookup.
2017-02-15 16:21:55 -08:00
Doug Felt 53f860f2e2 Update copyright language in templates.
"All Rights Reserved." is not meaningful and can be confusing, so it
was removed.

The SVG template was updated to the current OFL copyright language.
2016-09-27 11:26:22 -07:00
Doug Felt e16b39e492 Bump version, specify additional chars in varsel cmap.
The additional variation chars option makes it easier to build prototype
versions of the emoji font.
2016-07-13 11:36:25 -07:00
Doug Felt a5ff5e034d Update two emoji and bump version.
This aligns the face colors of 1f47f and 1f608.
2016-06-30 13:57:35 -07:00
Doug Felt b73ae61a77 Fix a few emoji to improve visibility against light/dark gray backgrounds.
Also updates revision number.
2016-06-16 10:39:32 -07:00
Doug Felt 71187500d7 Update emoji images to latest versions.
- adds remaining Unicode 9 emoji.
- updates template to new version number.
- emoji_ufe82b.png is now a symlink to unknown_flag.png
2016-05-20 14:00:48 -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 9f6837da4b Revert NotoColorEmoji ascent/descent to previous values.
Note, this leaves the linegap at zero.  Bumps the version to 1.25.
2016-01-28 13:58:21 -08:00
Doug Felt fc0ab7f36d Update NotoColorEmoji template so that it passes lint, bump version.
- fix ascent/descent in hhea and os/2 to match noto UI expectations,
  zero linegap, clear useTypoMetrics bit, set weight to regular (400).
- add missing entries to name table, update revision
- map U+0000 to null glyph (not .notdef)

In addition, this tweaks the Makefile in some small ways:
- quiet zopflipng output somewhat (listen to your cpu fan to know
  that something's happening) :-)
- make flag-symlinks target an order-only dependency (it was triggering
  quantize+compress even when images hadn't changed)
- add comment about how to bypass make bug if multithread hangs
2015-11-30 17:49:52 -08:00
Doug Felt 927b066b3a update template to version 1.23 2015-11-13 17:32:41 -08:00
Doug Felt 0f227e7834 wip - update emoji tooling to support tr51 sequences 2015-11-03 18:40:19 -08:00
Doug Felt e607a37b0d update template for OFL license 2015-09-29 11:32:33 -07:00
Roozbeh Pournader 2c7bdf1a32 [color_emoji] Update newer emoji asssets to larger size.
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.
2014-12-19 12:39:50 -08:00
Roozbeh Pournader 4654a37dd2 Pass Noto Color Emoji bitmaps through pngquant. 2014-09-17 19:31:16 -07:00
Roozbeh Pournader 085b3b2841 Add flags for 200+ regions.
This change also reorganized how the NotoColorEmoji font is created.
2014-08-12 19:28:00 -07:00
Roozbeh Pournader 99cb625705 Add the sources of the color emoji font. 2014-07-09 00:21:11 -07:00