Re: SDL::TTFont troubles

[email protected] (Guillaume Cottenceau)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
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.