Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    GD::Text 0.86

    Download button

    No screenshots available
    Downloads: 384  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Martien Verbruggen | More programs
    Perl Artistic License / FREE
    October 3rd, 2006, 06:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    GD::Text description

    A Perl module with text utilities for use with GD.

    GD::Text is a Perl module with text utilities for use with GD.

    SYNOPSIS

    use GD;
    use GD::Text;

    my $gd_text = GD::Text->new() or die GD::Text::error();
    $gd_text->set_font('funny.ttf', 12) or die $gd_text->error;
    $gd_text->set_font(gdTinyFont);
    $gd_text->set_font(GD::Font::Tiny);
    ...
    $gd_text->set_text($string);
    my ($w, $h) = $gd_text->get('width', 'height');

    if ($gd_text->is_ttf)
    {
    ...
    }
    Or alternatively
    my $gd_text = GD::Text->new(
    text => 'Some text',
    font => 'funny.ttf',
    ptsize => 14,
    );


    This module provides a font-independent way of dealing with text in GD, for use with the GD::Text::* modules and GD::Graph.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    text utilities | GD text utilities | Perl module | GD::Text | text | utilities

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM