14
0
mirror of https://github.com/belluzj/fantasque-sans.git synced 2024-12-22 23:41:30 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
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
Dario Gjorgjevski
6f32679e61
Make build scripts compatible with Python 3 2021-02-07 19:20:40 +01:00
John Mager
5c088fcf68 Skip generating ignores for certain ligatures.
- Logic ripped from FiraCode, not currently applicable to Fantasque
 Sans

 - Some potential ligatures ( <*>, <$> ), can be arbitrarily extended
 while still making sense: ( <<<$>>>, etc). Standard 'ignore' rules will
 prevent this from displaying, so we can skip those for certain
 ligatures.
2020-06-21 15:00:57 -04:00
John Mager
7506577e37 Protects some sequences for being ligaturized 2020-06-21 15:00:57 -04:00
John Mager
2508b90ce9 Fixes bug in potentially cyclic ligatures
* fixes issue #133
2020-06-21 15:00:57 -04:00
John Mager
bb0e4dc3af Allows hardcoding sequences to ignore ligatures
- Certain operator combinations - especially those involving equals
 signs - look wrong when some of them form ligatures.

 - All current rules from FiraCode were ported over, but many are
 currently irrelevant for this font. Those are commented out of the
 file.

 - Fixes issue #118
2020-06-21 15:00:57 -04:00
John Mager
824cd6a9f8 Added support for longer ligatures
- Breaking out the ligature substitution rules like this also allows for
 easy logical extensions, to handle edge cases as FiraCode does.
2020-06-21 15:00:45 -04:00
Jany Belluz
ce0925cf8c Stop making EOTs 2019-11-16 16:59:06 +00:00
Jany Belluz
9976f53dff Use TTFs as base for web fonts 2019-11-16 15:49:32 +00:00
Jany Belluz
1dd5dbc74a WIP Remove overlaps and fix problems 2018-07-22 22:31:08 +01:00
Jany Belluz
ecb649a229 Add ligatures with overlaps 2018-07-22 20:11:44 +01:00
Jany Belluz
82c5e7d0fc Add a variant with a larger line height
As proposed in https://github.com/belluzj/fantasque-sans/issues/23\#issuecomment-58776550
2017-07-12 20:39:32 +02:00
Jany Belluz
6a568c63f6 Add no-loop k also in italics 2017-07-12 20:15:48 +02:00
Jany Belluz
b6abec986f Update the build system to bake in the non-looped k 2017-07-10 18:52:39 +02:00