GD::Text

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

GD::Text Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Martien Verbruggen
  • Publisher web site:
  • http://search.cpan.org/~bwarfield/GDGraph-1.44/Graph/Data.pm

GD::Text Tags


GD::Text Description

GD::Text is 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. Requirements: · Perl


GD::Text Related Software