Bug 538044 (examples, fonty.py, from)
Summary: | fonty.py from pygame examples don't work | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Łukasz Posadowski <mail> | ||||
Component: | SDL_ttf | Assignee: | Thomas Janssen <thomasj> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 12 | CC: | chris.stone, dev, hdegoede, thomasj | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | SDL_ttf-2.0.10-1.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-23 22:02:53 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Łukasz Posadowski
2009-11-17 12:09:48 UTC
So I finnaly go step by step with fonty.py example and got it: font.set_underline(1) This is the problem. If I change to: font.set_underline(0) all works fine. I belive that are other ways to make underline, but it's official example and should work. I have confirmation, that on Windows problem doesn't exist. I'm wating for people with other Linux distros however. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This is actually bug in SDL_ttf. It can be reproduced by rendering some text with big font size (usually more than 50pt, that depends on used font). Code which renders underline overwrites the memory if height of underline is bigger than 2 pixels. I'm attaching patch which fixes this bug. Created attachment 438425 [details]
Fixes crash with big fonts
I'm sorry. My bad. Update to 2.0.10, which fixes that one is on the way. Sorry sorry, i overlooked that update. SDL_ttf-2.0.10-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/SDL_ttf-2.0.10-1.fc14 SDL_ttf-2.0.10-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/SDL_ttf-2.0.10-1.fc13 SDL_ttf-2.0.10-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/SDL_ttf-2.0.10-1.fc12 SDL_ttf-2.0.10-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update SDL_ttf'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/SDL_ttf-2.0.10-1.fc14 Yeah - problem is solved. Thanks for your work. SDL_ttf-2.0.10-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. SDL_ttf-2.0.10-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. SDL_ttf-2.0.10-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. colorhug-client-0.2.0-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/colorhug-client-0.2.0-1.fc19 python-astroid-1.3.6-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/python-astroid-1.3.6-3.fc22 reposurgeon-3.28-1.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/reposurgeon-3.28-1.fc23 reposurgeon-3.28-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/reposurgeon-3.28-1.fc22 reposurgeon-3.28-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/reposurgeon-3.28-1.el7 |