Indent.
This commit is contained in:
parent
66c23c9f19
commit
8522703997
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue