Hi Michalis,
This mailing list does not allow attachments. Please email it
directly to me.
btw, can you tell me which system/OS you have tested the latest beta on?
Dominique.
Michalis Kamburelis wrote:
> Hi,
>
> I stumbled upon this problem when compiling Joseph's GearHead. It's a
> general problem (in sdl_ttf library, actually in freetype used by
> sdl_ttf), so I thought that I'll inform the list about it. Someone may
> also want to apply attached patch to sdl_ttf.pas to CVS, although the
> patch allows you only to (quite brutally and not really perfectly)
> workaround the problem.
>
> The error manifests as TTF_RenderGlyph_Solid returning nil (error) and
> error message (in SDL_Error) is "Failed loading DPMSDisable:
> /usr/lib/libX11.so.6: undefined symbol: DPMSDisable". If you don't check
> for error results from TTF_RenderGlyph_Solid and SDL_BlitSurface in your
> code, then you may miss this error, and the only indication of the error
> will be that some text is simply not rendered.
>
> It's a known bug in freetype. See
> [http://lists.libsdl.org/pipermail/sdl-libsdl.org/2007-March/060459.html].
> The error message suggests that it's Unix-specific, and the link above
> says it's fixed in newer freetype versions But people may still use for
> some time buggy versions --- I'm sitting on Debian testing, which is
> fairly often updated, and have this bug.
>
> The attached patch to sdl_ttf.pas allows you to easily turn on the
> workaround of the problem. TTF_RenderGlyph_Solid will then be done by
> TTF_RenderGlyph_Shaded call with black background. (I told you it's a
> brutal workaround, right ? 
>
> Hope this helps someone,
>
> Michalis
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
.