1
Fork 0
This commit is contained in:
Bauke 2022-09-25 15:24:51 +02:00
parent 66c23c9f19
commit 8522703997
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 21 additions and 21 deletions

View File

@ -97,27 +97,27 @@ def create_parser() -> argparse.ArgumentParser:
def gegl_graph(height: int, width: int, text: str) -> typing.List[str]:
graph = f"""
gegl:text
string={text}
width={width}
height={height}
color=white
font=Heavitas
size=150
alignment=1
vertical-alignment=1
gegl:dropshadow
x=0
y=0
color=black
opacity=1
grow-radius=4
radius=0
gegl:long-shadow
angle=90
color=black
length=20
"""
gegl:text
string={text}
width={width}
height={height}
color=white
font=Heavitas
size=150
alignment=1
vertical-alignment=1
gegl:dropshadow
x=0
y=0
color=black
opacity=1
grow-radius=4
radius=0
gegl:long-shadow
angle=90
color=black
length=20
"""
return re.sub("\s\s+", "\n", graph).strip().splitlines()