It is currently Wed Jul 24, 2024 12:25 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 9:07 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
ofnuts wrote:
If you have Python (Filters/Render/Clouds/Fog should be there) and the plugin is installed properly it shoud show up. If you are on OSX or Linux, don't forget to make it executable.


I have fog and all my other python filters work fine. I'm using Windows XP.


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 9:14 am  (#22) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
In you plug-in folder, right click on your text along path and click properties, click permissions tab and where it says execute put a tick beside allow executing file as a program. Not sure if you have to do that in windows but in Linux you do.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 9:25 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I tried properties and had to unblock a security measure but still can't find this menu.


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 10:18 am  (#24) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
erisian, when you right click on your path and create a path with your circle or rectangle tool, right click it and on the bottom of the drop down do you see this:

Image

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 10:23 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
No I don't- sorry Molly!


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 10:57 am  (#26) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
ofnuts wrote:
lylejk wrote:
Getting an error and it might be the way I'm trying to use it ofnuts. I created a circular path and then ran your python script and I get these error messages. :)
You get this one if you don't enter a font name. I have to make that default to a font which is valid everywhere (ie Windows/OSX/Linux). Suggestions?



Use something like:

pdb.gimp_fonts_get_list("sans")[1][0]


...which will return the text name of the first font with "sans" in it.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 11:29 am  (#27) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
RobA wrote:
ofnuts wrote:
lylejk wrote:
Getting an error and it might be the way I'm trying to use it ofnuts. I created a circular path and then ran your python script and I get these error messages. :)
You get this one if you don't enter a font name. I have to make that default to a font which is valid everywhere (ie Windows/OSX/Linux). Suggestions?



Use something like:

pdb.gimp_fonts_get_list("sans")[1][0]


...which will return the text name of the first font with "sans" in it.

-Rob A>
Good idea...

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 11:32 am  (#28) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
molly wrote:
This is what I did and when I click OK, it doesn't work. no errors, no nothing. I also tried it with no's instead of yes's to the box
Image

Hmm. No path produced? No error message (have the message console?)?

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 12:20 pm  (#29) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
nope, tried it again and nothing happens. all the plug-ins are in and everything shows in the path dialog, this is a real bummer.

Image

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 1:00 pm  (#30) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Molly are you using 2.7 or 2.6 ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 2:08 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 123
The script works for me only with python 2.6.No matter what version of Gimp :noiseblower
Image

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 2:21 pm  (#32) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
pogogogo wrote:
The script works for me only with python 2.6.No matter what version of Gimp

What does it say on python 2.7?

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 2:27 pm  (#33) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I am using Gimp-2.6.12 in Linux Fedora 16

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 2:53 pm  (#34) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Is there anyone using Windows that can make the script work?

Otherwise can one try to change line 28 to:
debug=False

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 2:55 pm  (#35) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
molly wrote:
I am using Gimp-2.6.12 in Linux Fedora 16

Can you start Gimp from a terminal session, and see if you get any messages in the terminal session when the script runs?

I can try but I never did that before so someone will have to tell me how to do it. I have only been using Fedora a couple of months so still learning.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 2:56 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 123
ofnuts wrote:
What does it say on python 2.7?

Image
The same error in xubuntu GIMP 2.6.12 and 2.8-RC1
Gimp 2.8 on Windows 7 with python 2.7 is the same problem.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:03 pm  (#37) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
pogogogo wrote:
ofnuts wrote:
What does it say on python 2.7?

Image
The same error in xubuntu GIMP 2.6.12 and 2.8-RC1
Gimp 2.8 on Windows 7 with python 2.7 is the same problem.

Since you are on Linux, can you try same after starting Gimp from a terminal session? Messages in the terminal may be a bit more complete and may help pinpointing the problem.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:14 pm  (#38) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
RobA wrote:
pdb.gimp_fonts_get_list("sans")[1][0]


...which will return the text name of the first font with "sans" in it.
Doesn't seem to work in this case, the PDB (or wire_read channel) isn't initialized yet at registration time.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:27 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 123
I have a message.
Image

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 4:02 pm  (#40) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
pogogogo wrote:
I have a message.

Very strange. The second message come from the destructor of the Text object. So the text object has been created. But the workimage is created in its initializer, so it should be there. Unless the problem is indeed when creating this image. Can you try to change the line:
self.workImage=gimp.Image(fontSize*4, fontSize*4, RGB)

to
self.workImage=gimp.Image(int(fontSize*4),int(fontSize*4), RGB)

_________________
Image


Top
Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) ofn-text-path-selection

14

No new posts Aligning Text on a Circle Path

2

No new posts Attachment(s) No scrollomg interface for text logo bend path

7

No new posts Attachment(s) i struggle with the option to copy the path - the path where a file i

3

No new posts Attachment(s) Bend Text-Logo as helper Ofn-bend-path

75



* Login  



Powered by phpBB3 © phpBB Group