- use existing utilities in nototools/unicode_data, add_aliases
- add check that file names do not use presentation selectors
- include tags in valid cps that can appear in a sequence
- add check for valid tag sequences (for subregion flags)
- separate out check that no source for an alias is present (we
expect to alias this so should not have an image with that name)
- filter data by age (somewhat), provide command line flag, remove
hard-coded unicode 9.0 value
- separate coverage check (for when data is partial), provide
command line flag and don't run by default
- provide command line flag to exclude subdirs by name when collecting
images
- refactor output so each error has a consistent initial text indicating
the check where the error was found, make output a tad less verbose
Previously forgot to update fontRevision when updating the name table
version string. Also, the commit date/id was created before the
actual pushed commits, so were not correct. This fixes that.
The version string remains at 2.004 and now the fontRevision matches.
This updates the svg, png, and html resources from behdad/region-flags.
It also updates the LICENSE (COPYING) and README.md files from there.
Formerly our copy contained only a few subregion flags, but this change
adds them all from upstream.
Also formerly we explicitly used symlinks in our data for flags that
are the same as other country flags. Now however we just use the
upstream data. Note that the emoji_aliases.txt file will still
cause the font to only have one copy of these.
Note this also deletes the copy of IC.png that somehow had found its
way into the region-flags directory.
Use big glyph metrics to support vertical text rendering
Clients who want to identify sequences in text that have image files
would like to use the file names to identify these sequences, and
would like to identify canonical sequences using this method.
Add an option to the add_aliases tool to also create aliases using
the canonical names where they differ from the file names.
Our file naming omits the emoji presentation selector character, so
the image files by default do not include it. This provides a means
to restore that.
A previous commit intended to remove the old PNGS and just leave the
new ones, but neglected to add the new ones resulting in the deletion
of all the PNGs. Um... oops.
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.
In some places `build_svg_dir()` the variable is `flag_dir` (singular) and in others `flags_dir` (plural). Settled on plural everywhere to match the function parameter name.