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

Ability to draw words with no spacing at all between letters/characters/symbols #16

Closed
cjnolet opened this issue Jan 26, 2017 · 4 comments

Comments

@cjnolet
Copy link

cjnolet commented Jan 26, 2017

I've dug into this problem now a few times and it appears to be non-trivial and a product of drawing each letter separately with pygame. I hope there's a way around this, however.

@ankush-me
Copy link
Owner

This can be easily done: the x-coordinate (or horizontal location) of characters are decided here (and here). You can make this distance however small you like.

@cjnolet
Copy link
Author

cjnolet commented Jan 26, 2017 via email

@ankush-me
Copy link
Owner

You could have a <1 proportion of the character width:
x += p * ch_bounds.width, with p < 1 and something similar for render_curved.

@cjnolet
Copy link
Author

cjnolet commented Jan 28, 2017 via email

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

2 participants