1
0
forked from me/IronOS

Make indentation consistent in font_tables.py

Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
This commit is contained in:
Devnol
2021-11-20 19:10:59 +02:00
parent ac769c109a
commit 9e6783c1d5

View File

@@ -325,6 +325,7 @@ def get_font_map_latin_extended() -> Dict[str, bytes]:
}
return font
def get_font_map_greek() -> Dict[str, bytes]:
font = {
# U+0370..U+03FF Greek and Coptic
@@ -385,10 +386,10 @@ def get_font_map_greek() -> Dict[str, bytes]:
"ό": b"\x00\x80\xC0\xE0\x60\x6C\x6E\x66\xE0\xC0\x80\x00\x00\x0F\x1F\x38\x30\x30\x30\x30\x38\x1F\x0F\x00",
"ύ": b"\x00\xE0\xE0\x00\x00\x0C\x0E\x06\xE0\xE0\x00\x00\x00\x0F\x1F\x38\x30\x30\x30\x38\x1F\x0F\x00\x00",
"ώ": b"\x00\xC0\xE0\x00\x00\x18\x1C\x0C\x00\xE0\xC0\x00\x00\x0F\x1F\x38\x38\x1E\x1E\x38\x38\x1F\x0F\x00",
}
return font
def get_font_map_cyrillic() -> Dict[str, bytes]:
font = {
# U+0400..U+04FF Cyrillic
@@ -494,7 +495,6 @@ def get_font_map_cyrillic() -> Dict[str, bytes]:
return font
def get_small_font_map_ascii_basic() -> Dict[str, bytes]:
font = {
# U+0000..U+007F Basic Latin
@@ -813,6 +813,7 @@ def get_small_font_map_latin_extended() -> Dict[str, bytes]:
}
return font
def get_small_font_map_greek() -> Dict[str, bytes]:
font = {
# U+0370..U+03FF Greek and Coptic
@@ -876,6 +877,7 @@ def get_small_font_map_greek() -> Dict[str, bytes]:
}
return font
def get_small_font_map_cyrillic() -> Dict[str, bytes]:
font = {
# U+0400..U+04FF Cyrillic
@@ -980,6 +982,7 @@ def get_small_font_map_cyrillic() -> Dict[str, bytes]:
}
return font
NAME_ASCII_BASIC: Final = "ascii_basic"
NAME_LATIN_EXTENDED: Final = "latin_extended"
NAME_CYRILLIC: Final = "cyrillic"