perl-fu-round-sel does not work in script-fu?

2000-06-13 Thread Thomas Stolt

Hi UserList
===

Here is a question I posted to the newsgroup, but no response yet.  I hope, I have 
more luck here.  I am working on Solaris 2.7 and managed to compile the whole bunch to 
get Gimp 1.1.23 working, but now...

...I am stuck.  Below, you find a short script, nothing difficult or special,  just a 
beginners effort.  There is a layer beeing created, all selected (square selection of 
the image), then I tried to round the selection, but it just does not work.  I do not 
get an error message, the selection is just still rectangle.  The strange about this 
is: when I do it manually, it works!!!
  
 Any ideas?
  
 Thanks in advance!
 Thomas
 
 (define (script-fu-text-box inText inFont inFontSize inTextColor) (let* (
 (theImageWidth 100)
 (theImageHeight 30)
 (theImage (car (gimp-image-new theImageWidth theImageHeight RGB))) 
(gimp-image-add-layer theImage theLayer1 0)
 (gimp-drawable-fill theLayer1 WHITE-IMAGE-FILL)
 (gimp-selection-all theImage)
 (perl-fu-round-sel 1 theImage theLayer1 1)
 (gimp-display-new theImage)
 (gimp-image-clean-all theImage)
 )
 )
 (script-fu-register
 "script-fu-text-box"  ;func name 
"Toolbox/Xtns/Script-Fu/Text/Text Box"  ;menu pos "Creates a simple text box, 
sized to fit around the
 user's Choice of text,font, font size, and
 color."
 "Michael Terry";author
 "copyright 1997, Michael Terry";copyright notice "October 27, 1997"   
 ;date created
 "";Image type that the script works on
 SF-VALUE "Text:" "\"Text Box\"";a text variable SF-VALUE "Font:" 
"\"Charter\"";a text variable SF-VALUE "Font size:" "45";a text 
variable
 SF-COLOR "Color:" '(0 0 0);color variable )
-
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




Re: Can you please help me?

2000-06-13 Thread Ben Frantzdale

The gimp website is created with the Gimp, of course :-) The gimp is a
nice image manipulation program for unix, linux and even (to some
extent) windows.

I'd imagine the HTML for the page was done with vi or emacs but I wouldn't
know.


--Ben

On Mon, 12 Jun 2000 [EMAIL PROTECTED] wrote:

 Hello,
 I've visited your website Gimp. Can you kindly tell me what you make it 
 up with? What software... for example? Thanks very very mcuh!!
 
 Annie
 2000/6/12
 




Re: GDynText is broken ?!?!

2000-06-13 Thread [EMAIL PROTECTED]


you knocked on the right door. i faced this problem before. its a
problem with your LC_NUMERIC global variable. the only way to work
around this bug si to set this variable to C.
example do this:

LC_NUMERIC=C ; gimp 

it should work. if it does not work, try to unset the LC_ALL
variable.

unset LC_ALL; LC_NUMERIC=C ; gimp 

it should woork.

On Mon, 12 Jun 2000, Thomas Kleindienst wrote:

 Would be too easy
 
 No... it seems to be a font problem... 
 the border seems to be way too small... 
 (font size given was 50 pixels)
 result: a border with a height of about 3-5 pixels ?
 ???
 
  check if you are not using the same color as the background.
  
  On Mon, 12 Jun 2000, Thomas Kleindienst wrote:
  
   WAH ! 
   I am using GIMP 1.1.18 right now.. 
   It seems, that GDynText is broken ! 
   
   A new layer is being created... I type in my text ... press OK ... and then 
   
   the dynamic text is invisible... only the border is being displayed ...
   
   please help ! I need this GDynText-feature !
   
   Thanks
   
   T.K.
   
  
  
  s@m
 


s@m




Re: GDynText is broken ?!?!

2000-06-13 Thread Uwe Koloska

You wrote on Mon, 12 Jun 2000:
WAH ! 
I am using GIMP 1.1.18 right now.. 
It seems, that GDynText is broken ! 

A new layer is being created... I type in my text ... press OK ... and then 

the dynamic text is invisible... only the border is being displayed ...

There is a small rectangle ...

This is a known bug of gdyntext.  Please upgrade to the newest gimp
(1.1.23) or start it with
LC_NUMERIC=C gimp

gdyntext uses the locale (de in your case) for numeric data and confuses
the plug-in protocol.

Yours
Uwe Koloska

-- 
mailto:[EMAIL PROTECTED]
http://rcswww.urz.tu-dresden.de/~koloska/
----
right now the web page is in german only
but this will change as time goes by ;-)