It is currently Fri Apr 26, 2024 8:13 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Text along path
PostPosted: Tue Oct 03, 2017 8:24 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1990
Location: East Midlands of England
My twopenny-worth:

I was recently mulling over adapting my script to use all fonts and not just my own joined-up fonts - although this seems to go against the original reason writing the script in the first place.

I am interested in hearing Dinasset's purpose behind using a script such as the one he has in mind. Is it to use the repeating text as a decorative device? Or is it to provide a background effect for one of his many other filters? As others have pointed out, the abrupt changes in paths around most objects lead to severe deformations - stretching and compressing the paths. Any compensating filters would have a serious amount of work to do to avoid unpleasant looking side-effects.

My attempts at keeping the integrity of the letter shapes led me down the route of creating a layer for each separate letter and then (optionally) merging the layers together.

Here are some of the results using Gimp 2.9.7 - Partha's portable version - with a long text string around an oak leaf.

First image: Gimp's own Path to Text with my Italic Variations font at 60pt. You can clearly see the deformations.

Attachment:
TAP_defaultsettings.jpg
TAP_defaultsettings.jpg [ 657.96 KiB | Viewed 1368 times ]


Second image: My script with default settings at the same size. Letter shapes show less deformations and the text finishes at the end of the path - but not a satisfactory outcome.

Attachment:
TAP_JoinedUpDefaults.jpg
TAP_JoinedUpDefaults.jpg [ 539.29 KiB | Viewed 1368 times ]


Third image: With the smallest amount of extra space between individual letters. Better or worse - I can't tell!

Attachment:
TAP_JoinedUpExtraSpacing.jpg
TAP_JoinedUpExtraSpacing.jpg [ 540.81 KiB | Viewed 1368 times ]


Conclusion: Same as everybody else - a lot of manual work/tweaking involved in creating a pleasant effect it seems.

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Paragrapher v.1.4
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Text along path
PostPosted: Tue Oct 03, 2017 9:15 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
As written in the initial request, the idea is to use "text along path" not only for paths with very limited length but also for long or very long paths by "repeating" the input string.
Initially I was thinking about the contour of an object but after Ofnuts' comment on the bad results which can come out from non smoothed transitions (you confirm), I'm now more of the idea of using created paths around or inside the object.

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Tue Oct 03, 2017 10:27 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
The one thing that has always gotten me was when one stubborn letter, usually in the middle of a sentence, would face the opposite direction.

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Text along path
PostPosted: Wed Oct 04, 2017 7:55 am  (#14) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
OK, got something working, just have to do some more testing and write the doc before publishing.

Attachment:
TextAlongPath-repeated.png
TextAlongPath-repeated.png [ 54.44 KiB | Viewed 1336 times ]

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Wed Oct 04, 2017 8:33 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Wonderful, thanks a lot Ofnuts !

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Sat Oct 07, 2017 3:23 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1990
Location: East Midlands of England
Playing with my next version - to see if repeat along path will work.
Seems to be do-able - in some form at least.

"Hello " entered into the text box and set to auto-repeat.

Attachment:
Hello.png
Hello.png [ 187.22 KiB | Viewed 1280 times ]

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Paragrapher v.1.4
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Text along path
PostPosted: Sat Oct 07, 2017 6:48 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
The devils is in the details.. how to deal with the kerning when you splice the character string to itself, for instance.

I also uncovered a Gimp shortcoming that was already at play in the older version, but is more visible in the newer version where the likeliness of small characters is higher. Fixed now, but I took me several hours to figure out.

Image

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 8:26 am  (#18) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Attachment:
Announce.png
Announce.png [ 86.07 KiB | Viewed 1187 times ]

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 8:34 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Fantastic, Ofnuts.
Thanks a lot.

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 8:57 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
First quick and simple example of use.
Attachment:
Sunflower_repeated text.jpg
Sunflower_repeated text.jpg [ 251.33 KiB | Viewed 1185 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 10:52 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
I noticed that if you draw 2 paths, then merge them, the text goes only along one (in my case the innermost).
Is it wanted ?
It was just a try...
Drawn a rectangle select, then to path.
Drawn an inner ellipse select, then to path.
Merged the 2 paths, run the filter, got the text on the inner ellipse path.

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 12:18 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
Thank you, Ofnuts.


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 12:31 pm  (#23) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
dinasset wrote:
I noticed that if you draw 2 paths, then merge them, the text goes only along one (in my case the innermost).
Is it wanted ?
It was just a try...
Drawn a rectangle select, then to path.
Drawn an inner ellipse select, then to path.
Merged the 2 paths, run the filter, got the text on the inner ellipse path.


See "Path" in the Usage notes in the doc in the ZIP.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Sun Oct 15, 2017 12:42 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
I see.
Thanks.

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Tue Oct 17, 2017 5:11 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
Thanks for the new version.

My first surprise (though great features):
Lateral wiggle, Vertical wiggle, Tilt wiggle only random?
In particular, Tilt wiggle should be available as a new option - right-to-left text (not inverted) and frequently searched options from top-to-bottom.
This add-on does not require much coding (I changed it for my own needs) - but it can be very useful for many users.


Attachments:
OfnTxtoPh.png
OfnTxtoPh.png [ 602.7 KiB | Viewed 1748 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Text along path
PostPosted: Tue Oct 17, 2017 7:02 am  (#26) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
MareroQ wrote:
Thanks for the new version.

My first surprise (though great features):
Lateral wiggle, Vertical wiggle, Tilt wiggle only random?
In particular, Tilt wiggle should be available as a new option - right-to-left text (not inverted) and frequently searched options from top-to-bottom.
This add-on does not require much coding (I changed it for my own needs) - but it can be very useful for many users.


Superficially, yes, but the devil is in the details(*).

If you reverse the characters (Stunfo) the kerning is on the wrong side. If you need this you can just as well provide the reversed text and reverse the path direction.

For vertical text the script computes a position using the character width, so if you make the text vertical this position is likely wrong. There is also no easy way to tell the actual height of a character... So vertical text implemented the quick-and-dirty way will only work with all-uppercase text (hoping for no diacritics over the letters) and a fixed width font (otherwise, letters such as "I" will be squeezed vertically). IMHO vertical text implemented properly is another (quite different) script.

(*) about three quarters of the code is caring about the details...

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Tue Oct 24, 2017 7:38 am  (#27) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
dinasset wrote:
I noticed that if you draw 2 paths, then merge them, the text goes only along one (in my case the innermost).
Is it wanted ?
It was just a try...
Drawn a rectangle select, then to path.
Drawn an inner ellipse select, then to path.
Merged the 2 paths, run the filter, got the text on the inner ellipse path.


This is being fixed

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Tue Oct 24, 2017 7:42 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Good news !

_________________
"Where am I ?"


Top
 Post subject: Re: Text along path
PostPosted: Fri Oct 27, 2017 12:46 pm  (#29) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Fixed, so you can, now use it also for animations:

Image


Yes, this is a python written in python written in python.

_________________
Image


Top
 Post subject: Re: Text along path
PostPosted: Fri Oct 27, 2017 1:09 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
Image

Nifty..


Top
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  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