|
@@ -103,7 +103,7 @@ class ClassicSongSlide(SongSlide):
|
|
draw.fill_color = Color(const.TEXT_COLOR)
|
|
draw.fill_color = Color(const.TEXT_COLOR)
|
|
draw.text_interline_spacing = const.INTERLINE_SPACING
|
|
draw.text_interline_spacing = const.INTERLINE_SPACING
|
|
draw.font_size = font_size
|
|
draw.font_size = font_size
|
|
- draw.font = const.FONT
|
|
|
|
|
|
+ draw.font = const.FONT_PATH
|
|
draw.text(0, font_size, slide_text)
|
|
draw.text(0, font_size, slide_text)
|
|
with Image(
|
|
with Image(
|
|
width=const.WIDTH,
|
|
width=const.WIDTH,
|
|
@@ -125,16 +125,16 @@ class ClassicSongSlide(SongSlide):
|
|
with Drawing() as draw:
|
|
with Drawing() as draw:
|
|
draw.fill_color = Color(const.TEXT_COLOR)
|
|
draw.fill_color = Color(const.TEXT_COLOR)
|
|
draw.font_size = const.INFODISPLAY_FONT_SIZE
|
|
draw.font_size = const.INFODISPLAY_FONT_SIZE
|
|
- draw.font = const.FONT
|
|
|
|
|
|
+ draw.font = const.FONT_PATH
|
|
for current_index, item in enumerate(structure):
|
|
for current_index, item in enumerate(structure):
|
|
if current_index == index:
|
|
if current_index == index:
|
|
- draw.font = const.BOLD_FONT
|
|
|
|
|
|
+ draw.font = const.BOLD_FONT_PATH
|
|
draw.text(
|
|
draw.text(
|
|
current_index * const.INFODISPLAY_ITEM_WIDTH,
|
|
current_index * const.INFODISPLAY_ITEM_WIDTH,
|
|
const.INFODISPLAY_FONT_SIZE,
|
|
const.INFODISPLAY_FONT_SIZE,
|
|
item,
|
|
item,
|
|
)
|
|
)
|
|
- draw.font = const.FONT
|
|
|
|
|
|
+ draw.font = const.FONT_PATH
|
|
else:
|
|
else:
|
|
draw.text(
|
|
draw.text(
|
|
current_index * const.INFODISPLAY_ITEM_WIDTH,
|
|
current_index * const.INFODISPLAY_ITEM_WIDTH,
|