Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Nov 30, 2024
1 parent e177880 commit 8547f2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install fonts
run: |
sudo apt install fonts-noto-color-emoji
sudo apt install fonts-noto-color-emoji libgl1-mesa-glx libgl1-mesa-dri
sudo mkdir /usr/share/fonts/myfonts
sudo cp main/resources/fonts/* /usr/share/fonts/myfonts/
fc-cache -fv
Expand Down
5 changes: 3 additions & 2 deletions memes/operator_generator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ def operator_generator(images: list[BuildImage], texts: list[str], args):
frame.draw_text(
(120, 0, 620, 100),
f"{name},你的干员信息如下:",
fontsize=80,
max_fontsize=80,
min_fontsize=30,
fill="white",
stroke_fill="black",
stroke_ratio=0.1,
weight="bold",
font_style="bold",
allow_wrap=True,
lines_align="center",
)
Expand Down

0 comments on commit 8547f2e

Please sign in to comment.