Re: SDL::TTFont troubles

[email protected] (Kartik Thakore)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Hi Scott,
Guillaume is right SDL_ttf is not exactly usable in the legacy code.  
However the SDL_ttf code is beginning to stabalize in the redesign  
branch on github. Acme++. SDL pango will be in our redesign branch.

If you would like to still try the cpan version join us on #sdl  
irc.perl.org . We will try to make it work :)

Kartik Thakore

On 26-Oct-09, at 11:48 AM, Guillaume Cottenceau <[email protected]>  
wrote:

> On Mon, Oct 26, 2009 at 4:31 PM, Scott Elcomb <[email protected]>  
> wrote:
>> Hi all,
>>
>> This is my first post on this list, so take it easy on me k?  ;-)
>>
>>
>> Anyway, I updated my SDL Perl install (and dependencies) last night;
>> everything save SDL::TTFont seems to working great...
>>
>> Whenever I try to create an SDL::TTFont object, for example with:
>>  my $title = new SDL::TTFont(-name => "./Vera.ttf", -size => 18);
>>
>> my app dies and I get this error:
>>  TTF error at TTFSizeText:
>>  TTF error
>
> That may not be a direct answer to your problem, but in my SDL-based
> program I have found that SDL_ttf was a too limited approach: it
> cannot use directly system fonts, and it is not enough i18n aware
> (doesn't render properly right to left languages and languages needing
> ligatures); and IIRC it is even not able to word wrap. As a
> consequence, I now happily use SDL_Pango (even if that project is
> dead, it works more or less properly)..
>
> HTH
>
> -- 
> Guillaume Cottenceau - http://zarb.org/~gc/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.