SDL::TTFont troubles

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

Doesn't seem to matter which .ttf file I use, or what size I specify.
Every call to SDL::TTFont->new fails.  I see in BUGS
(http://github.com/kthakore/SDL_perl/blob/master/BUGS) that there is a
known issue related to UTF-8 and SDL::TTFont::width, however AFAIK I'm
not using UTF-8.

Any suggestions would be most appreciated.


One other item... The SDL::TTFont pod's synopsis looks like:
 $font = new TTFont -name => "Utopia.ttf", -size => 18;

I suspect that should be: new SDL::TTFont

Cheers!
-- 
  Scott Elcomb
  http://www.psema4.com/   @psema4

  Member of the Pirate Party of Canada
  http://www.pirateparty.ca/
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.