Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve problem with the anchor #23

Open
Chewawi opened this issue Jan 2, 2023 · 0 comments
Open

Solve problem with the anchor #23

Chewawi opened this issue Jan 2, 2023 · 0 comments

Comments

@Chewawi
Copy link

Chewawi commented Jan 2, 2023

I have a code with some texts, in all of them the emojis work but in one that has an anchor it does not work.

Here is my code:

w, h = Pilmoji(base).getsize(f"{d['rank']}", font(65), spacing=2, emoji_scale_factor=1.15)
        base = text(base, (1162 - w, 65), "Rank: ", font(55), colour="white", stroke_fill="black")
        base = text(base, (1322, 100), f"{txt if txt_c == txt else f'{txt_c}...'}", font(65), colour=color, stroke_fill="black", anchor="rm", pos=(-30, -30))

IMG_20230102_195442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant