| Summary: | TTF_RenderText_Solid | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | mko <mko.93> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | CC: | mko.93 |
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
|
Description
mko
2006-09-23 16:32:08 UTC
This is a known bug in FreeType and is fixed in their CVS. Reference; http://www.mail-archive.com/freetype@nongnu.org/msg00802.html As a workaround, building SDL_ttf with v2.1.10 or earlier may solve the problem. if it helps at all:
SDL_Color color={0,0,0};
SDL_Surface *text_surface;
text_surface=TTF_RenderText_Solid(font,"Hello World!",color);
printf("Error: %s\n", TTF_GetError());
returns
Error: Failed loading DPMSDisable: /usr/lib/libX11.so.6: undefined symbol: DPMSDisable
but I guess we just have to live with it not working until FreeType has another release and it is picked up by most distros :(
(Not an SDL bug, resolving bug entry.) --ryan. |