Commit Graph

307 Commits (a69b45779db4ccb36a451e68c5773dc94d999770)

Author SHA1 Message Date
dougfelt 9419c23480 Merge pull request #21 from dougfelt/master
Add tool and data to generate format 14 cmap.
2015-10-14 17:15:53 -07:00
Doug Felt bbfb0c22ee fix missing rename 2015-10-14 17:10:34 -07:00
Doug Felt 6bd9cc4a9b Remove format 14 cmap tool and ucd data, and update Makefile
The tool and data was moved to nototools.

Makefile now needs to invoke the tool as a script, rather than passing
it to python, since the tool is no longer local.  Running setup.py in
nototools will make the script accessible.  Setup (apparently) copies
the script to /usr/local/bin and it is not automatically updated when
nototools changes, still need to figure out how to address this.
2015-10-14 16:56:44 -07:00
Doug Felt e3d3569fdb rename tool to use "vs" instead of "varsel" 2015-10-14 11:39:39 -07:00
Doug Felt 3d1173340a Change Makefile to also build the variation selector cmap. 2015-10-13 18:27:24 -07:00
Doug Felt 5aad55c383 Add tool and data to generate format 14 cmap.
emoji-data and the code to process it might be useful, but it not
actually used by the tool at present.

The tool currently assumes that all emoji glyphs mapped by the default
cmap share the same presentation.
2015-10-13 18:16:04 -07:00
dougfelt d9c46f652e Merge pull request #18 from dougfelt/master
fix add_glyphs to use absolute path when extending sys.path
2015-09-29 16:41:55 -07:00
Doug Felt 3f36ea9b16 fix for review 2015-09-29 12:46:17 -07:00
Doug Felt baad14e5aa fix add_glyphs to use absolute path when extending sys.path 2015-09-29 11:34:28 -07:00
dougfelt 1aa7485efb Merge pull request #17 from dougfelt/master
update template for OFL license
2015-09-29 11:33:10 -07:00
Doug Felt e607a37b0d update template for OFL license 2015-09-29 11:32:33 -07:00
dougfelt 1a90e7d776 Merge pull request #16 from dougfelt/master
Change license to OFL
2015-09-29 09:10:09 -07:00
Doug Felt 4d3b32cf92 Merge remote-tracking branch 'upstream/master' 2015-09-25 14:29:25 -07:00
Doug Felt 84304adbf5 Update README and add OFL License. Also add Noto splash image. 2015-09-25 14:17:46 -07:00
Doug Felt bcc46ef8b8 Update fonts to OFL and bump version number.
changed
  NotoEmoji-Regular.ttf
    version: 1.03 vs 1.04
    size: 441468 vs 442048 (580 bytes bigger)
    tables: changed name(+578)
2015-09-25 14:08:43 -07:00
Doug Felt 0cf487e721 move font(s) into separate subdir 2015-09-25 14:07:48 -07:00
dougfelt ffd7cfd0c8 Merge pull request #14 from dougfelt/master
cleanup
2015-08-17 16:24:51 -07:00
Doug Felt 3104fd6c5c Merge branch 'master' of https://github.com/dougfelt/noto-emoji 2015-08-17 16:22:35 -07:00
Doug Felt 0a111eb452 update/add link to corporate agreement, per guidelines 2015-08-17 16:21:46 -07:00
dougfelt 4a7426fdd5 Create README.md 2015-08-17 14:53:17 -07:00
Doug Felt cb5390bd74 add contributor agreement text 2015-08-17 14:47:01 -07:00
Doug Felt 0fc81be8d8 Revert "add NL flag svg"
This reverts commit a664ab20a4.
2015-08-17 14:44:05 -07:00
dougfelt 88a8f58885 Merge pull request #13 from dougfelt/master
add NL flag svg
2015-08-13 11:03:20 -07:00
Doug Felt a664ab20a4 add NL flag svg 2015-08-13 11:00:28 -07:00
Behdad Esfahbod cba9c62262 Merge pull request #10 from khaledhosny/master
Further speed up make
2015-07-08 08:46:02 +01:00
Khaled Hosny 1140041c2b Further speed up make
Similar to cee85f422b.
2015-07-07 11:51:37 +02:00
Behdad Esfahbod e2cb07c427 Merge pull request #6 from davispuh/patch-1
Quote $PNGQUANTDIR and $PNGQUANT
2015-06-24 15:24:29 -07:00
Dāvis b257b6647d Quote $PNGQUANTDIR and $PNGQUANT
Quoting is necessary so that can build from path which contains spaces
2015-06-24 12:31:51 +03:00
Behdad Esfahbod 8839dc42e1 Merge pull request #5 from khaledhosny/speedup-make
Speed up make by calling flag_glyph_name.py once
2015-06-20 17:59:10 -07:00
Khaled Hosny cee85f422b Speed up make by calling flag_glyph_name.py once
This script takes ~1 second for startup, so calling it repeatedly for
each flag slows the Makefile considerably, and unnecessarily since it
can be called for all the flags at once.

Now make clean takes about 1.2s, instead of 3m45s.
2015-06-20 01:50:25 +02:00
Behdad Esfahbod 76da1e514d Merge pull request #4 from khaledhosny/master
Fix build
2015-06-19 13:16:14 -07:00
Khaled Hosny 0955c3cddc Python is not always installed as /usr/bin/python 2015-06-19 22:01:52 +02:00
Khaled Hosny e58a66978a Fix build
Fix the paths after repo split.
2015-06-19 22:01:26 +02:00
Behdad Esfahbod f7abf9645c Add AUTHORS / CONTRIBUTORS / LICENSE 2015-06-05 12:51:13 -07:00
Behdad Esfahbod 7434dc0a56 Move NotoEmoji to color_emoji 2015-06-05 11:00:00 -07:00
Behdad Esfahbod 1242c91dbf Move emoji-specific third-party and scripts into color_emoji/
In prep for repo split.
2015-06-05 10:58:41 -07:00
Doug Felt 6254dd6602 respond to comments on r1a10391d3f73 2015-02-26 19:10:30 -08:00
Doug Felt 1a9a94525b Support generation of SVG glyphs using region-flags data.
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.
2015-02-26 15:01:30 -08:00
Doug Felt 2b86a0ed69 fix comments on r165a2895058c 2015-02-20 17:07:41 -08:00
Doug Felt 69913fd3fc Move the new files out of third_party/color_emoji and into color_emoji. The
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.
2015-02-20 14:58:34 -08:00
Doug Felt d66b41255a Merge font and html test file generation, plus tweaks.
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.
2015-02-20 13:52:38 -08: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 12b143c0dd [color_emoji] Update PNGs to latest bitmaps in Android Lollipop.
SVGs to come later.
2014-11-09 11:27:37 -08:00
Behdad Esfahbod bf295c4580 [color_emoji/svg] Cleanup largest offenders
Part of
Bug: https://code.google.com/p/noto/issues/detail?id=130
2014-10-06 19:45:00 -07:00
Roozbeh Pournader 4654a37dd2 Pass Noto Color Emoji bitmaps through pngquant. 2014-09-17 19:31:16 -07:00
Roozbeh Pournader 459d1cd472 Reverting Behdad's changes to the color Emoji Makefile.
They sped things up, but also broke the build. Will reconsider when
had time to analyse the issue.
2014-09-14 17:04:18 -07:00
Behdad Esfahbod 2d181916d8 [color_emoji] Speed up Makefile
It was running flag_glyph_name.py for each flag every time you ran make,
loading fonttools Python library each time; was taking over ten seconds!
2014-08-18 18:39:23 -04:00
Roozbeh Pournader e2d9f72ae9 Add variable to color emoji Makefile for ten old flags only. 2014-08-14 12:02:14 -07:00
Roozbeh Pournader 617db977dd Add source SVGs for emoji images. 2014-08-14 11:54:26 -07:00
Roozbeh Pournader 1dc7b487ea Slight size reduction in emoji source images. 2014-08-13 21:35:23 -07:00