gimp images with text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'm trying to migrate a suite of legacy code running gimp 1.2 on Redhat to a
Debian platform and gimp 2.4 .

I am starting gimp with
/usr/bin/gimp --no-interface --console-messages --verbose --batch
'(extension-perl-server 1 0 0)'

The old perl code probably needs updating, but at the moment it calls
text_get_extents like so:

  return Gimp::text_get_extents(undef, $text, $size, PIXELS, $foundry, $font,
$weight, $slant, 'normal', '*', '*', '*');

There seem to be a couple of problems. 
When the $text contains anything other than [a-z], [A-Z], [0-9],
gimp_text_get_extents fails, saying it was called with an invalid argument.

Also, when the code does create an image with text, I'm not convinced gimp is
using the font I'm requesting.

Any help much appreciated.


-- 
Luke R. (via www.gimpusers.com)
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux