On Wed, Sep 20, 2006 at 12:15:26AM +0200, Nicolas MAUFRAIS wrote:
> Hello,
> 
> I made a script-fu script, in which I write some text, using this
> syntax:
> 
>  (set! text-float (car (gimp-text-fontname img texteblanc 66 448
>  text_to_write 0 1 34 0 "FleurishScript Ultra-Light")))
> 
> Photo is a variable :
> SF-VALUE    "text_to_write" "")
> 
> However, that does not work. I get the following error :
> 
> ERROR: Invalid type for argument 5 to gimp_text_fontname
> 
> Is there a way to print a variable with gimp_text_fontname?
> 
> Thank you!
> Nicolas.

I changed
SF-VALUE    "text_to_write" "")
to
SF-STRING    "text_to_write" "")

But I still get the same error... :-/

Nicolas.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to