diff --git a/Monocraft.ttf b/Monocraft.ttf index 19598a1..c5ac74b 100644 Binary files a/Monocraft.ttf and b/Monocraft.ttf differ diff --git a/src/characters.json b/src/characters.json index 2650832..ac65b20 100644 --- a/src/characters.json +++ b/src/characters.json @@ -1837,7 +1837,7 @@ "name": "latin_capital_letter_a_with_ring_above", "codepoint": 197, "reference": 65, - "diacritic": "ring", + "diacritic": "ring_above", "diacriticSpace": 0 }, { @@ -2140,7 +2140,7 @@ "name": "latin_small_letter_a_with_ring_above", "codepoint": 229, "reference": 97, - "diacritic": "ring", + "diacritic": "ring_above", "diacriticSpace": 1 }, { @@ -2472,7 +2472,7 @@ "name": "latin_capital_letter_o_with_double_acute", "codepoint": 336, "reference": 79, - "diacritic": "doubleAcute", + "diacritic": "double_acute", "diacriticSpace": 1 }, { @@ -2480,7 +2480,7 @@ "name": "latin_small_letter_o_with_double_acute", "codepoint": 337, "reference": 111, - "diacritic": "doubleAcute", + "diacritic": "double_acute", "diacriticSpace": 1 }, { @@ -2499,12 +2499,20 @@ "diacritic": "circumflex", "diacriticSpace": 1 }, + { + "character": "Ů", + "name": "latin_capital_letter_u_with_ring_above", + "codepoint": 366, + "reference": 85, + "diacritic": "ring_above", + "diacriticSpace": 0 + }, { "character": "Ű", "name": "latin_capital_letter_u_with_double_acute", "codepoint": 368, "reference": 85, - "diacritic": "doubleAcute", + "diacritic": "double_acute", "diacriticSpace": 1 }, { @@ -2512,7 +2520,7 @@ "name": "latin_small_letter_u_with_double_acute", "codepoint": 369, "reference": 117, - "diacritic": "doubleAcute", + "diacritic": "double_acute", "diacriticSpace": 1 }, { diff --git a/src/diacritics.json b/src/diacritics.json index 29a839e..f72c55a 100644 --- a/src/diacritics.json +++ b/src/diacritics.json @@ -30,14 +30,14 @@ [0, 1, 0, 1, 0] ] }, - "ring": { + "ring_above": { "pixels": [ [0, 0, 1, 0, 0], [0, 1, 0, 1, 0], [0, 0, 1, 0, 0] ] }, - "doubleAcute": { + "double_acute": { "pixels": [ [0, 1, 0, 0, 1], [1, 0, 0, 1, 0] @@ -48,5 +48,16 @@ [0, 1, 0, 0, 1], [0, 0, 1, 1, 0] ] + }, + "macron": { + "pixels": [ + [0, 1, 1, 1, 0] + ] + }, + "caron": { + "pixels": [ + [0, 1, 0, 1, 0], + [0, 0, 1, 0, 0] + ] } } \ No newline at end of file diff --git a/src/generate_diacritics.py b/src/generate_diacritics.py index 90a6efb..ea61951 100644 --- a/src/generate_diacritics.py +++ b/src/generate_diacritics.py @@ -27,7 +27,7 @@ def generateDiacritics(characters, diacritics): continue # Get the diacritic name splitOnWith = line.split("WITH") - diacritic = splitOnWith[1].split(';')[0].strip().lower() + diacritic = splitOnWith[1].split(';')[0].strip().lower().replace(" ", "_") name = splitOnWith[0].split(';')[1].strip().lower().replace(" ", "_") newName = name + "_with_" + diacritic if not diacritic in diacriticsByCodepoint or not name in charactersByName or newName in charactersByName: