fantasque-sans/Scripts
Aaron Shang c8fbf13b96 Build: fix range error for missing module 'past'
On systems without `future`, there would issues with missing `past`.

        from past.builtins import xrange
    ModuleNotFoundError: No module named 'past'

Installing `future` like `pip install future` can help, but it bothers.

Changing `xrange` to `range` can be OK since python3 has no `xrange`
anymore, while both 2 and 3 can have `range`.

The performance impact with python2 should be minor.

Tested OK on latest Debian bullseye/bookworm, Ubuntu jammy, and
Archlinux, with python2 linked to 2.7.18, or 2.7.3, while python linked
to 3.10.8, 3.10.6, or 3.9.2.
2022-12-02 17:41:54 +08:00
..
build.py Add a variant with a larger line height 2017-07-12 20:39:32 +02:00
features.py Make build scripts compatible with Python 3 2021-02-07 19:20:40 +01:00
fontbuilder.py Build: fix range error for missing module 'past' 2022-12-02 17:41:54 +08:00
generate-css-decl Stop making EOTs 2019-11-16 16:59:06 +00:00
generate-font-variants Update the build system to bake in the non-looped k 2017-07-10 18:52:39 +02:00
generate-other-formats Stop making EOTs 2019-11-16 16:59:06 +00:00
validate-font WIP Remove overlaps and fix problems 2018-07-22 22:31:08 +01:00
zip-all-variants Update the build system to bake in the non-looped k 2017-07-10 18:52:39 +02:00