Commit Graph

67 Commits (e7ac893b3315181f51710de3ba16704ec95e3f51)

Author SHA1 Message Date
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
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 3d1173340a Change Makefile to also build the variation selector cmap. 2015-10-13 18:27:24 -07:00
Khaled Hosny 1140041c2b Further speed up make
Similar to cee85f422b.
2015-07-07 11:51:37 +02: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
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
Khaled Hosny e58a66978a Fix build
Fix the paths after repo split.
2015-06-19 22:01:26 +02: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 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 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 99cb625705 Add the sources of the color emoji font. 2014-07-09 00:21:11 -07:00