Monkey patch in draw_text to save us some trouble (and avoid loading imagemagick stuff unless we really need it).
This commit is contained in:
parent
1ac3851065
commit
105be2c5fd
2 changed files with 8 additions and 12 deletions
|
@ -85,12 +85,9 @@ class Concat(dcc.doom_base.Wad):
|
|||
)
|
||||
mapstring = v.name[-6:-4]
|
||||
text = self._config["map_names"][f"map{mapstring}"]
|
||||
dcc.text.draw_text(
|
||||
self.draw_text(
|
||||
img,
|
||||
f"MAP{mapstring}: {text}",
|
||||
self.thumbnail_font,
|
||||
self.thumbnail_text_fill,
|
||||
self.thumbnail_text_stroke,
|
||||
font_size=120
|
||||
)
|
||||
img.trim(reset_coords=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue