-
Notifications
You must be signed in to change notification settings - Fork 128
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
Words still cut out of the picture #14
Comments
Looks like a valid fix to a valid bug (that I seem to have introduced) indeed. You should probably suggest the edit as a proper pull request. |
Thanks for the hint and fix. |
kernc
added a commit
to kernc/PyTagCloud
that referenced
this issue
Apr 30, 2013
Fixes issue atizo#14
Submitted. |
aeby
pushed a commit
that referenced
this issue
Apr 30, 2013
PR for issue #14: Words still cut out of the picture
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kudos,
Using PyTagCloud to amend my CV with relevant keywords, I found words still get offset out of the image.
While @konstantint's issue #12 helps considerably, I experienced truncation until I replaced https://github.com/atizo/PyTagCloud/blob/master/pytagcloud/__init__.py#L355
image_surface = Surface((sizeRect.w, sizeRect.h), SRCALPHA, 32)
with
image_surface = Surface((sizeRect.w + 2*TAG_CLOUD_PADDING, sizeRect.h + 2*TAG_CLOUD_PADDING), SRCALPHA, 32)
Not sure if this is a fix, though, but it helped in my case.
The text was updated successfully, but these errors were encountered: