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]:
|
def gegl_graph(height: int, width: int, text: str) -> typing.List[str]:
|
||||||
graph = f"""
|
graph = f"""
|
||||||
gegl:text
|
gegl:text
|
||||||
string={text}
|
string={text}
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
color=white
|
color=white
|
||||||
font=Heavitas
|
font=Heavitas
|
||||||
size=150
|
size=150
|
||||||
alignment=1
|
alignment=1
|
||||||
vertical-alignment=1
|
vertical-alignment=1
|
||||||
gegl:dropshadow
|
gegl:dropshadow
|
||||||
x=0
|
x=0
|
||||||
y=0
|
y=0
|
||||||
color=black
|
color=black
|
||||||
opacity=1
|
opacity=1
|
||||||
grow-radius=4
|
grow-radius=4
|
||||||
radius=0
|
radius=0
|
||||||
gegl:long-shadow
|
gegl:long-shadow
|
||||||
angle=90
|
angle=90
|
||||||
color=black
|
color=black
|
||||||
length=20
|
length=20
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return re.sub("\s\s+", "\n", graph).strip().splitlines()
|
return re.sub("\s\s+", "\n", graph).strip().splitlines()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue