;) какое там из меня профи?..
пример. вот смотрите:
#!/usr/bin/perl -w
use strict;
use GD;
my $font="./data/StayPuft.ttf"; #ваш файл с пиксельным шрифтом
my $im = newFromPng GD::Image(\'/i/lin.png\'); #путь к картинке вашей линейки
my ($white)=$im->colorAllocate(255,255,255);
my ($red)=$im->colorAllocate(242,49,29);
$im->interlaced(\'true\');
my $clr=$white;
$im->stringFT($clr,$font,12,0,10,20,1);
$im->stringFT($clr,$font,12,0,25,24,2);
$im->stringFT($clr,$font,12,0,35,15,3);
$im->stringFT($clr,$font,12,0,45,19,4);
$im->stringFT($clr,$font,12,0,55,29,5);
$im->stringFT($clr,$font,12,0,65,15,6);
print "Content-type: image/png\\n\\n";
binmode STDOUT;
print $im->png;
exit;
=comment
теперь о ($clr,$font,12,0,65,15,6);
fgcolor Color index to draw the string in
fontname A path to the TrueType (.ttf) font file or a font pattern.
ptsize The desired point size (may be fractional)
angle The rotation angle, in radians (positive values rotate counter clockwise)
x,y X and Y coordinates to start drawing the string
string The string itself
=cut