31adb247e5
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.
19 lines
888 B
Plaintext
19 lines
888 B
Plaintext
# Name: longer pipe symbol
|
|
|
|
sub bar by bar.cv30;
|
|
sub bar_bar.liga by bar_bar.liga.cv30;
|
|
sub bar_bar_bar.liga by bar_bar_bar.liga.cv30;
|
|
sub bar_bar_equal_middle.seq by bar_bar_equal_middle.seq.cv30;
|
|
sub bar_equal_middle.seq by bar_equal_middle.seq.cv30;
|
|
sub bar_bar_equal_end.seq by bar_bar_equal_end.seq.cv30;
|
|
sub bar_bar_equal_start.seq by bar_bar_equal_start.seq.cv30;
|
|
sub bar_bar_hyphen_middle.seq by bar_bar_hyphen_middle.seq.cv30;
|
|
sub bar_hyphen_middle.seq by bar_hyphen_middle.seq.cv30;
|
|
sub bar_bar_hyphen_end.seq by bar_bar_hyphen_end.seq.cv30;
|
|
sub bar_bar_hyphen_start.seq by bar_bar_hyphen_start.seq.cv30;
|
|
sub bar_equal_end.seq by bar_equal_end.seq.cv30;
|
|
sub bar_equal_start.seq by bar_equal_start.seq.cv30;
|
|
sub bar_hyphen_end.seq by bar_hyphen_end.seq.cv30;
|
|
sub bar_hyphen_start.seq by bar_hyphen_start.seq.cv30;
|
|
sub bar_underscore_middle.seq by bar_underscore_middle.seq.cv30;
|