Skip to content

Commit

Permalink
code format and some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Mar 16, 2024
1 parent 08e668a commit 2f4fb92
Show file tree
Hide file tree
Showing 6 changed files with 388 additions and 495 deletions.
89 changes: 44 additions & 45 deletions Kernkraft.glyphsPlugin/Contents/Resources/Customizables.py
@@ -1,54 +1,53 @@
##
## Customizable Data for the Kernkraft Script
## written by Mark Froemberg ( markfroemberg.com )
## @Mark2Mark
## at Carrois Apostrophe ( www.carrois.com )
##
## +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
## Customizable Data for the Kernkraft Script
## written by Mark Froemberg (markfroemberg.com)
## @Mark2Mark
## at Carrois Apostrophe (www.carrois.com)
##
## First entry is a list of 2 items: Category and its SubCategory
## These will be excluded from the kerning output by default.
## Second entry is a dictionary with the uneditable(!) key `Exceptions` that takes a (empty) list of all exceptions.
## These `exceptions` will be passed through even if the subcategory is filtered out.
## +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
##
## +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

## First entry is a list of 2 items: Category and its SubCategory
## These will be excluded from the kerning output by default.
## Second entry is a dictionary with the uneditable(!) key `Exceptions` that takes a (empty) list of all exceptions.
## These `exceptions` will be passed through even if the subcategory is filtered out.
##
## +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


excludedSubCategories = [
[ [ "Letter", "Ligature" ], { "Exceptions" : [] } ],
[ [ "Letter", "Smallcaps" ], { "Exceptions" : [] } ],
[ [ "Letter", "Superscript" ], { "Exceptions" : [] } ],
[["Letter", "Ligature"], {"Exceptions": []}],
[["Letter", "Smallcaps"], {"Exceptions": []}],
[["Letter", "Superscript"], {"Exceptions": []}],

[ [ "Number", "Other" ], { "Exceptions" : [
"zeroinferior",
"oneinferior",
"twoinferior",
"threeinferior",
"fourinferior",
"fiveinferior",
"sixinferior",
"seveninferior",
"eightinferior",
"nineinferior",
]} ],
[["Number", "Other"], {"Exceptions": [
"zeroinferior",
"oneinferior",
"twoinferior",
"threeinferior",
"fourinferior",
"fiveinferior",
"sixinferior",
"seveninferior",
"eightinferior",
"nineinferior",
]}],

[ [ "Symbol", "Arrow" ], { "Exceptions" : [] } ],
[ [ "Symbol", "Geometry" ], { "Exceptions" : [] } ],
[ [ "Symbol", "Other" ], { "Exceptions" : [
"ampersand",
"at",
"trademark",
"lozenge",
"paragraph",
"section",
"registered",
"degree",
"bar",
"brokenbar",
"dagger",
"daggerdbl",
"numero",
"estimated",
]} ],
[["Symbol", "Arrow"], {"Exceptions": []}],
[["Symbol", "Geometry"], {"Exceptions": []}],
[["Symbol", "Other"], {"Exceptions": [
"ampersand",
"at",
"trademark",
"lozenge",
"paragraph",
"section",
"registered",
"degree",
"bar",
"brokenbar",
"dagger",
"daggerdbl",
"numero",
"estimated",
]}],
]

0 comments on commit 2f4fb92

Please sign in to comment.