Commit Graph

7 Commits (main)

Author SHA1 Message Date
Mike FABIAN 188ffcf08c Use Python3 explicitly 2019-07-17 10:35:02 +02:00
cclauss 4607d55e4c Modernize Python 2 code to get ready for Python 3 2017-09-14 22:18:24 +02:00
cclauss a40f35525f Add collect_glyphstr_file_pairs(verbosity=1) param
Currently `verbosity` is an undefined name and line 201 will raise a `NameError` when executed.  The only other place in this repo where `verbosity` is defined is as a function parameter to [do_generate_test_html()](5e1808fbbe/generate_test_html.py (L28)) with a default value of `verbosity=1`.

Someone who really understands the functioning of this code should __carefully review this change before merging it__.  My sense is that this approach is better than raising a NameError but perhaps I am all wet.
2017-08-26 20:44:39 +02:00
Doug Felt 83978272f5 Update svg emoji tools.
- Reformat lines to 80 columns.

- Use logging instead of verbose/quiet other options.

- A few miscellaneous small fixes/tweaks to parameters.  Removed some
  file-path-relative stuff that assumed old directory structure.

This uses some new fns in nototools.tool_utils, see nototools#220.
2016-04-12 17:07:27 -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
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