my $gd = new GD::Image; @bounds = $gd->stringFT(...);