-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
[why] The config files are called `config.json` while the contents is INI-like. The usual extension would be `.cfg`. [how] We use `.cfg` already for the shell variable configuration. Combine both config file variants into one (real) cfg file, that is directly read by the font-patcher and no shell variables files are used anymore. This needs some rewrite in gotta-patch-em to get the quoting right. To make this simpler we remove the `--debug 1` option from the variable and insert it directly (as it is applied always anyhow). Signed-off-by: Fini Jastrow <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# These config files are read by the font-patcher | ||
# They are INI style files, but some keys have JSON values | ||
[Config] | ||
commandline: --removeligatures --makegroups 2 | ||
[Subtables] | ||
ligatures: [ | ||
"'dlig' Discretionary Ligatures lookup 9 subtable", | ||
"'dlig' Discretionary Ligatures lookup 11 subtable", | ||
"'dlig' Discretionary Ligatures lookup 12 contextual 0" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 2" | ||
[Config] | ||
commandline: --makegroups 2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--has-no-italic" | ||
[Config] | ||
commandline: --has-no-italic |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--xavgcharwidth 500" | ||
[Config] | ||
commandline: --xavgcharwidth 500 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--ext ttf" | ||
[Config] | ||
commandline: --ext ttf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--has-no-italic" | ||
[Config] | ||
commandline: --has-no-italic |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config_has_powerline=1 | ||
config_patch_flags="--makegroups 2" | ||
[Config] | ||
commandline: --makegroups 2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config_has_powerline=1 | ||
config_patch_flags="--makegroups 2" | ||
[Config] | ||
commandline: --makegroups 2 |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config_has_powerline=1 | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config_has_powerline=1 | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config_has_powerline=1 | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Config] | ||
commandline: --removeligatures | ||
[Subtables] | ||
ligatures: [ | ||
"'liga' Standard Ligatures in Latin lookup 6 subtable", | ||
"'liga' Standard Ligatures in Latin lookup 5 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 2" | ||
[Config] | ||
commandline: --makegroups 2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--name filename --makegroups 5" | ||
[Config] | ||
commandline: --name filename --makegroups 5 |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--ext ttf --variable-width-glyphs" | ||
[Config] | ||
commandline: --ext ttf --variable-width-glyphs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Config] | ||
commandline: --removeligatures --makegroups 5 | ||
[Subtables] | ||
ligatures: [ | ||
"Ligature Substitution lookup 15 subtable", | ||
"Ligature Substitution lookup 14 subtable", | ||
"Ligature Substitution lookup 13 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Config] | ||
commandline: --removeligatures --makegroups 5 | ||
[Subtables] | ||
ligatures: [ | ||
"'liga' Standard Ligatures lookup 41 subtable", | ||
"Ligature Substitution lookup 15 subtable", | ||
"Ligature Substitution lookup 14 subtable", | ||
"Ligature Substitution lookup 13 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 5" | ||
[Config] | ||
commandline: --makegroups 5 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Config] | ||
commandline: --removeligatures | ||
[Subtables] | ||
ligatures: [ | ||
"Ligature Substitution lookup 8 subtable", | ||
"Ligature Substitution lookup 7 subtable", | ||
"'liga' Standard Ligature lookup 7 subtable", | ||
"'liga' Standard Ligature lookup 4 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Config] | ||
commandline: --removeligatures --makegroups 2 | ||
[Subtables] | ||
ligatures: [ | ||
"Ligature Substitution lookup 23 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Config] | ||
commandline: --removeligatures --makegroups 2 | ||
[Subtables] | ||
ligatures: [ | ||
"Ligature Substitution lookup 20 subtable", | ||
"'liga' Standard Ligatures in Latin lookup 18 subtable" ] |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 3" | ||
[Config] | ||
commandline: --makegroups 3 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config_has_powerline=1 | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Config] | ||
commandline: --removeligatures | ||
[Subtables] | ||
ligatures: [ | ||
"'liga' Standard Ligatures in Latin lookup 9 subtable", | ||
"'liga' Standard Ligatures in Latin lookup 8 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
config_patch_flags="--makegroups 2" | ||
[Config] | ||
commandline: --removeligatures --makegroups 2 | ||
[Subtables] | ||
ligatures: [ | ||
"'liga' Standard Ligatures in Latin lookup 20 subtable", | ||
"'liga' Standard Ligatures in Greek lookup 21 subtable", | ||
"'liga' Standard Ligatures in Cyrillic lookup 22 subtable" ] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 2" | ||
[Config] | ||
commandline: --makegroups 2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 5" | ||
[Config] | ||
commandline: --makegroups 5 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config_patch_flags="--makegroups 4" | ||
[Config] | ||
commandline: --makegroups 4 |