mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Use Courier font for kneeboard
This commit is contained in:
parent
199467f31b
commit
2ce63abf04
@ -73,16 +73,16 @@ class KneeboardPageWriter:
|
|||||||
# probably do), we'll need to split some of this information off into a
|
# probably do), we'll need to split some of this information off into a
|
||||||
# second page.
|
# second page.
|
||||||
self.title_font = ImageFont.truetype(
|
self.title_font = ImageFont.truetype(
|
||||||
"arial.ttf", 32, layout_engine=ImageFont.LAYOUT_BASIC
|
"courbd.ttf", 32, layout_engine=ImageFont.LAYOUT_BASIC
|
||||||
)
|
)
|
||||||
self.heading_font = ImageFont.truetype(
|
self.heading_font = ImageFont.truetype(
|
||||||
"arial.ttf", 24, layout_engine=ImageFont.LAYOUT_BASIC
|
"courbd.ttf", 24, layout_engine=ImageFont.LAYOUT_BASIC
|
||||||
)
|
)
|
||||||
self.content_font = ImageFont.truetype(
|
self.content_font = ImageFont.truetype(
|
||||||
"arial.ttf", 16, layout_engine=ImageFont.LAYOUT_BASIC
|
"cour.ttf", 16, layout_engine=ImageFont.LAYOUT_BASIC
|
||||||
)
|
)
|
||||||
self.table_font = ImageFont.truetype(
|
self.table_font = ImageFont.truetype(
|
||||||
"resources/fonts/Inconsolata.otf", 20, layout_engine=ImageFont.LAYOUT_BASIC
|
"cour.ttf", 20, layout_engine=ImageFont.LAYOUT_BASIC
|
||||||
)
|
)
|
||||||
self.draw = ImageDraw.Draw(self.image)
|
self.draw = ImageDraw.Draw(self.image)
|
||||||
self.page_margin = page_margin
|
self.page_margin = page_margin
|
||||||
@ -338,7 +338,7 @@ class BriefingPage(KneeboardPage):
|
|||||||
self.start_time = start_time
|
self.start_time = start_time
|
||||||
self.dark_kneeboard = dark_kneeboard
|
self.dark_kneeboard = dark_kneeboard
|
||||||
self.flight_plan_font = ImageFont.truetype(
|
self.flight_plan_font = ImageFont.truetype(
|
||||||
"resources/fonts/Inconsolata.otf",
|
"cour.ttf",
|
||||||
16,
|
16,
|
||||||
layout_engine=ImageFont.LAYOUT_BASIC,
|
layout_engine=ImageFont.LAYOUT_BASIC,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user