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@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to