Define header sizes as constants

This commit is contained in:
Veronica Berglyd Olsen
2024-05-21 18:02:01 +02:00
parent 8ac0440bb3
commit aadad6aa8c
3 changed files with 16 additions and 10 deletions
+1
View File
@@ -99,6 +99,7 @@ class nwHeaders:
H_VALID = ("H0", "H1", "H2", "H3", "H4")
H_LEVEL = {"H0": 0, "H1": 1, "H2": 2, "H3": 3, "H4": 4}
H_SIZES = {0: 1.00, 1: 2.00, 2: 1.75, 3: 1.50, 4: 1.25}
class nwFiles: