Skip to content

Commit 18fa868

Browse files
committed
Simpify latin3_terminus_14_bold.py
1 parent 47bad39 commit 18fa868

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

latin3_terminus_14_bold.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,14 @@ def get_latin3_font() -> Image.Image:
2525
# Patch needed, cause some chars out of they boxes
2626
# Terminus 14 patch
2727
fg.set_padding(0, 0)
28-
fg.set_position(0, 15)
29-
fg.draw_char("≡")
30-
fg.set_position(5, 1)
31-
fg.draw_char("§")
32-
fg.set_position(5, 15)
33-
fg.draw_char("§")
34-
fg.set_position(14, 5)
35-
fg.draw_char("^")
36-
fg.set_position(14, 7)
37-
fg.draw_char("~")
28+
fg.redraw_characters("≡§^~")
3829

30+
# Encoding-specific patches
3931
fg.set_padding(0, 1)
4032
fg.redraw_characters("`")
4133

4234
fg.set_padding(0, 0)
43-
fg.redraw_characters("§°²³")
35+
fg.redraw_characters("°²³")
4436

4537
fg.set_padding(0, 1)
4638
fg.redraw_characters("´Ĥ¨ĞŻĴĥÀÁÂÄĊĈÈÉÊËÌÍÎÏÑÒÓÔĠÖĜÙÚÛÜŬŜ˙")

0 commit comments

Comments
 (0)