Commit Graph

275 Commits (d97777d183d32c11796bd79ebbb75c7fe925dcb4)

Author SHA1 Message Date
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
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 0810eacb07 Add flag waver and make rules for 64px PNGs. 2014-07-31 11:19:11 -07:00
Roozbeh Pournader 21ff6eef23 Rename image files to all lowercase. 2014-07-09 23:48:00 -07:00
Roozbeh Pournader ec0ef72f6d Make color emoji use character sequences instead of PUA.
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.
2014-07-09 23:24:42 -07:00
Roozbeh Pournader 428e2914fa Rename variables in Makefile. 2014-07-09 21:04:19 -07:00
Roozbeh Pournader c7ae0b5128 Add U+303D PART ALTERNATION MARK to the color emoji font. 2014-07-09 00:24:32 -07:00
Roozbeh Pournader 99cb625705 Add the sources of the color emoji font. 2014-07-09 00:21:11 -07:00