-
Notifications
You must be signed in to change notification settings - Fork 622
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
Comments
I tried messing witht hose values but didn't seem to be able to get at a
difference because making the value too small made the text overlap and
since the text sizes are all different, it was hard to reach a single value
that would work for every size text. I'll try playing around with this some
more to see if I can figure it out. It's also very possible that i"m doing
something drastically wrong! lol
…On Thu, Jan 26, 2017 at 6:00 PM, Ankush Gupta ***@***.***> wrote:
This can be easily done: the x-coordinate (or horizontal location) of
characters are decided here
<https://github.com/ankush-me/SynthText/blob/master/text_utils.py#L148>
(and here
<https://github.com/ankush-me/SynthText/blob/master/text_utils.py#L221>).
You can make this distance however small you like.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABL1YPcURazB38re0q1NlUMfJVGtFT2Qks5rWSWHgaJpZM4LvIal>
.
|
You could have a <1 proportion of the character width: |
I had tried this originally and it was hard to find a value that worked
with every siE text (for every character width). I'll keep trying.
…On Jan 26, 2017 6:36 PM, "Ankush Gupta" ***@***.***> wrote:
You could have a <1 proportion of the character width:
x += p * ch_bounds.width, with p < 1 and something similar for
render_curved.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABL1YBadxWciIK-5-1eVDpjv5tyYBUiHks5rWS3zgaJpZM4LvIal>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: