Commit Graph

9 Commits (28678e5217772e128d2ee6f0683b099f7541c194)

Author SHA1 Message Date
rsheeter 28678e5217 Capture changes to fix fontchain_lint on top of master log 2020-03-16 22:52:46 -07:00
Cosimo Lupo 7d501b5819
Merge remote-tracking branch 'origin/master' into python3-port 2019-10-21 15:42:11 +01:00
Roel Nieskens 06ce521969 Simplify rtl sequence code
Co-authored-by: Cosimo Lupo <clupo@google.com>
2019-10-16 20:09:34 +02:00
Roel Nieskens ac638130b3 Fix rtl sequences ending with fitzpatrick modifier
When sequence ends with skintone modifier, it would remain at
the end.

Example:

Input:   [128105, 127995, 8205, 129309, 8205, 128104, 127996]
Output:  [128104, 8205, 129309, 8205, 127995, 128105, 127996]
2019-10-03 09:10:59 +02:00
Mike FABIAN 188ffcf08c Use Python3 explicitly 2019-07-17 10:35:02 +02:00
Mike FABIAN a9ca546689 Make it work both with Python2 and Python3 2019-07-17 10:34:07 +02:00
Doug Felt bb5c080aeb Make sure to initialize lookup table even if LookupType is set. 2017-03-02 10:53:48 -08: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