Commit Graph

66 Commits (170bcdad0e8e0e08a564149981aa3c534485acd0)

Author SHA1 Message Date
Doug Felt 170bcdad0e comment out some print lines used for debugging 2015-11-13 17:34:15 -08:00
Doug Felt 927b066b3a update template to version 1.23 2015-11-13 17:32:41 -08:00
Doug Felt d9e320acb5 updates to support tr51 emoji sequences 2015-11-05 11:15:15 -08:00
Doug Felt 7206289643 Merge remote-tracking branch 'upstream/master' 2015-11-04 09:51:48 -08:00
Doug Felt 0f227e7834 wip - update emoji tooling to support tr51 sequences 2015-11-03 18:40:19 -08:00
dougfelt a258889451 Merge pull request #22 from dougfelt/master
Change Makefile to be smarter about dependencies.
2015-10-15 10:52:49 -07:00
Doug Felt deff1a6545 Reintroduce check for missing binary, using a different method.
Another way to do this is to create a target, but when I tried that
it reintroduced the dependency analysis problem-- rules with this
dependency always triggered. Of course I might have missed something
subtle.  Both the target approach and this approach come from
http://stackoverflow.com/questions/5618615/check-if-a-program-exists-from-a-makefile)

This always runs, but unless you're just running clean you'd always want to
perform this check, so I think that's ok.
2015-10-14 17:43:18 -07:00
Doug Felt 4a90607d2d Remove VS_ADDER as a dependency since it is not local 2015-10-14 17:26:44 -07:00
Doug Felt 43a7990b6a Change Makefile to be smarter about dependencies.
This reverts some changes in commit b257b6647d that were causing build
issues.  Those changes quoted the path to pngquant in order to deal
with spaces in the path, but as a side effect that prevented
build-dependency analysis (gnu 3.81 on ubuntu) from recognizing that
the .png files didn't need to be built, and so rebuilt them every
time, which takes several minutes.  Apparently make doesn't like
quotes-- strings passed to the shell are fine, but things make itself
processes (like names of targets) are treated literally.

Since the path to pngquant is (now, anyway) a local subpath of the
current directory that has no spaces, it should be ok to use the
subpath and not bother to quote.

Another change replaces two dependencies on flag-symlinks with a
dependency on PNG128_FLAGS, for the same reason: after flag-symlinks
executed it was not recognized as being up to date and so the rules
with these dependencies always executed.
2015-10-14 17:18:29 -07:00
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