1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-07-04 16:06:26 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
Nikita Prokopov
d80b0f07f1 Fixed building on the latest fontmake 2022-03-15 18:11:40 +01:00
Nikita Prokopov
390c41cc94 Fixed build.sh to work on macOS, regen glyphs from *.fea 2022-03-15 15:51:00 +01:00
Fabian Preuß
31adb247e5 feat: allow hardcoding of features via arguments to build script
All features that were not already in their own files were pulled out of
FiraCode.glyphs into individual files. There is no way I will write
a parser for the glyphs file to do that at runtime. The build script
will then read the code in these feature files and appends it to the
`calt` property inside the glyphs file. Features to be baked in can be
given to build.sh as a comma separated list with the `-f / --features`
flag.

To more easily generate multiple font versions with different features
baked in, there are flags `-n / --family-name` for build.sh that will
allow users to set a custom family name for the font. The special value
"features" will append the feature list to the font name. The family
name is exported and used by the other build scripts as a directory to
separate different font versions. The filenames were not changed, the
directory name is enough separation.

The flag `-g / --generate-glyphs-only` will cause the script to exit
after the custom glyphs file has been created without actually building
the font. The custom .glyphs file will be saved as
`${family_name}.glyphs`.

Via another flag, `-w / --weights`, a comma separated list of font
weights to be generated can be given to build.sh.

The README received a hint to the new capabilities.

Fixed a mixup of cv25 and cv32.

The .gitignore was adjusted to better deal with the new directories and
files.
2022-03-15 15:34:25 +01:00
Josh Soref
7b29086fd2 spelling: conjunction
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-02-06 16:27:48 -05:00
Nikita Prokopov
aa68c08f1c Moved .= into cv32 #670 2021-11-29 15:25:58 +01:00
Nikita Prokopov
c5047ac007 Fixed weird look of ::< ::> <:: >:: #1145 2021-04-18 00:50:55 +02:00
Nikita Prokopov
4d385a806c Simplified ss06 code 2020-10-26 13:10:54 +01:00
Nikita Prokopov
92eb35ffac Added numbersign_braceleft.liga.cv29 #{ 2020-10-11 21:04:14 +02:00
Nikita Prokopov
94450a374d Hexagonal * cv16 #708 #1134 2020-10-11 01:11:57 +02:00
Nikita Prokopov
00c09d322d Returned full ligatures for Fl Tl fi fj fl ft as ss10 2020-10-10 23:18:05 +02:00
Nikita Prokopov
89e0af072d C-style compound assignment >>= <<= ||= |= are not combined with equal sign by default. Old behavior is moved into ss09 (closes #974) 2020-10-10 22:30:01 +02:00
Nikita Prokopov
216c286f7a Fixed monospace property broken by adding threeemdash #1073 2020-06-10 22:20:11 +02:00
Nikita Prokopov
2a76d96b8d Added ss08 that adds gaps to == === != !== (closes #383) 2020-06-08 14:35:34 +02:00
Nikita Prokopov
267a6fd221 Added //= =// =//= (closes #816) 2020-06-08 01:53:13 +02:00
Nikita Prokopov
1471298321 Disable =/ because of conflicts with paths PATH=/... (closes #1056) 2020-06-07 23:49:39 +02:00
Nikita Prokopov
5eb4ec07b3 Vertically-aligned colons, greater/less signs (closes #980, closes #1061) 2020-06-05 22:32:32 +02:00
Nikita Prokopov
35d2418440 Fixed arrows next to lowercase letters (closes #1049 closes #1059) 2020-06-05 21:28:13 +02:00
Nikita Prokopov
cf2979c97b Numbersign sequences #1014 2020-05-15 16:16:30 +02:00
Nikita Prokopov
3e6f5d195d Fixed asciitilde-based arrows 2020-05-15 03:59:45 +02:00
Nikita Prokopov
524a28629b Catching bugs 2020-05-15 03:51:54 +02:00
Nikita Prokopov
c1c62fd720 Arbitrary length underscores 2020-05-14 15:46:47 +02:00
Nikita Prokopov
6bb26fc5fc Disalbed >=< =< |||, added slash_start.darw slash_middle.darw slahs_end.darw colon_middle.darw exclam_middle.darw 2020-05-14 00:21:31 +02:00
Nikita Prokopov
ace859529f Extracted other features and classes into separate files, fixed few ligatures conflicts with arrows 2020-05-13 22:52:46 +02:00
Nikita Prokopov
8cc5687a3a Equal-based arrows #346, substitute features from *.fea files 2020-05-13 01:42:49 +02:00