It is currently Thu May 23, 2013 2:37 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 11  Next
Author Message
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 5:37 pm  (#41) 
Online
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 6975
ofnuts wrote:
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
 Profile  
 

 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 5:51 pm  (#42) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 86
ofnuts wrote:
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:
Code:
self.workImage=gimp.Image(fontSize*4, fontSize*4, RGB)

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


After changing everything is 2xOK! :hi5
It works in ubuntu and windows too.
Many thanks for all of your scripts. :tyspin

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 6:06 pm  (#43) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9012
Location: "Looking for my eraser" =P
ofnuts wrote:
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:
Code:
self.workImage=gimp.Image(fontSize*4, fontSize*4, RGB)

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


This works for Gimp-2.7 versions. :) :bigthup

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 6:16 pm  (#44) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
OK, updated Sourceforge with version 0.1...

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 6:25 pm  (#45) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9012
Location: "Looking for my eraser" =P
Thanks Ofnuts! Great script. :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 6:58 pm  (#46) 
Online
Global Moderator
User avatar

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


Yours is perfect pogogogo

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Tue Apr 10, 2012 8:13 am  (#47) 
Online
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 6975
I deleted the 0.0 plug-in after playing with it for days and I am now trying the 0.1 from source forge.
So far, this is as far as I got with it. In the paths dialog, every letter is on a different layer and some of them are faded and unreadable. I don't know what I am doing wrong.
Would someone who is having good luck, like pogogogo...anyone do a screen shot of the text-along-path screen so I can see what settings you used.
Also, how do I stroke the path with a color if they are all on different layers?
Thanks in advance.

Image

_________________
Image


Top
 Profile  
 

 Post subject: Re: Text along path
PostPosted: Tue Apr 10, 2012 8:54 am  (#48) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
molly wrote:
I deleted the 0.0 plug-in after playing with it for days and I am now trying the 0.1 from source forge.
So far, this is as far as I got with it. In the paths dialog, every letter is on a different layer and some of them are faded and unreadable. I don't know what I am doing wrong.
Would someone who is having good luck, like pogogogo...anyone do a screen shot of the text-along-path screen so I can see what settings you used.
Also, how do I stroke the path with a color if they are all on different layers?
Thanks in advance.

Image

You must have used "Yes" to "Keep character paths" (as well as to "Keep upright"). This isn't necessary, a complete path for the whole string is always produced (it should be at the bottom of your paths list...). Actually, since you haven't clicked on the eye icons on the paths in the paths list, what you see there is the "master" path.

The "faint" characters may be due to overlapping paths with previous attempts

There is an option to leave individual character paths in because it can be useful at times (want to use different colors, or fix selections where characters overlap).

Start with the defaults (besides text/font, which are mandatory))...

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Tue Apr 10, 2012 10:03 am  (#49) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 3105
Location: UK
Ofnuts - Golden Spiral, path-mirror and path-spread all show up in my plugin browser, this is the only one that doesn't. Is there anything at all that you did with those that you forgot with this one? Could it have anything to do with my insistence on sticking to 2.6.11?

_________________
Image




Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Tue Apr 10, 2012 10:20 am  (#50) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
Erisian wrote:
Ofnuts - Golden Spiral, path-mirror and path-spread all show up in my plugin browser, this is the only one that doesn't. Is there anything at all that you did with those that you forgot with this one? Could it have anything to do with my insistence on sticking to 2.6.11?

It is displays fine in both my python-fu and script-fu browsers. If it doesn't show up on your setup it is likely because it didn't register properly due to som execution/syntax error, but then this normally produces messages visible if you start gimp with gimp-console. Did you at least upgrade to version 0.1?

You can check that the file didn't get damaged by starting a command prompt, navigating to your plugin directory, and run (assuming your python interpreter has a "python" executable of course):
Code:
python text-along-path.py

This should answer something like:
Code:
Traceback (most recent call last):
  File "text-along-path.py", line 28, in <module>
    from gimpfu import *
ImportError: No module named gimpfu

This error is normal, "gimpfu" in only defined when running as a Gimp plugin, but the Gimpfu module is loaded only after the file has been parsed and found to not contain any syntax errors. So if it shows up the file is clean.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 11  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot], molly and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group