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

center align in pillow draw.text() #13

Open
kaybhutani opened this issue Nov 30, 2019 · 8 comments · May be fixed by #17
Open

center align in pillow draw.text() #13

kaybhutani opened this issue Nov 30, 2019 · 8 comments · May be fixed by #17

Comments

@kaybhutani
Copy link
Owner

Currently, the text starts from the x,y coordinates provided to the right side. We need to see if there is a way to make that center align so that the passed coordinates lie in the center of text

@raajtilaksarma
Copy link

Can i work on this? Also this project was listed in KWOC? Can you add a tag?

@kaybhutani
Copy link
Owner Author

Yes, go ahead.

@kaybhutani
Copy link
Owner Author

@raajtilaksarma wherever the Draggable box is placed, the text prints on the image taking it's left and top coordinates. That is it starts printing from that point to the right.
I want to add an option so that wherever the box is placed, it's center should be center of text too. Just like center align in any text editor works

@raajtilaksarma raajtilaksarma linked a pull request Dec 6, 2019 that will close this issue
@raajtilaksarma
Copy link

Please review this PR and check the alignment if it better. Also can you add the KWOC tag? :)

@kaybhutani
Copy link
Owner Author

KWOC tag to the issues?
Btw I am creating a new WIP branch, can you make your PR to that branch?
And let's have a chat in the channel, need to clear few things

@raajtilaksarma
Copy link

In that case, please review that PR.

@raajtilaksarma
Copy link

You are supposed to add KWOC to the Issues and PRs i guess. Your project was listed in the KWOC 2019 projects page. Anyway I had made another pull request to https://github.com/kbhutani0001/Certify/tree/text-center-align branch. You can merge it into your WIP branch.
And review it.

@raajtilaksarma
Copy link

https://t.me/certify0001 channel not opening

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

Successfully merging a pull request may close this issue.

2 participants