 |
| GimpChat Member |
 |
Joined: Aug 08, 2016 Posts: 2830 Location: East Midlands of England
|
This is a major update to my plugin to emulate joined-up writing: The filter now places the joined-up text onto the current path as a non-text layer. Where there is no path the text will be presented as an editable text layer.
Attachment:
JoinedUpV2.zip [122.28 KiB]
Downloaded 256 times
The filter dialog box provides the following options:
Joined-up fonts
Font size
Text colour
Multi-line Text entry: Although this is a multi-line box, the text is converted to a single line by the filter. Sometimes it is easier to view the text when it is split up into sections.
Text size step change: This can be positive or negative to increase or decrease the font size as the text follows the line of the path. Set at zero, it will behave the same way as Gimp's own 'Text along path' option.
Change size with spaces: An option to change the step size after each space character; as opposed to the default option of changing step size after each character.
Compensate for changes in curved paths: This option attempts to keep the joined-up characters as joined as possible (obviously there are limits since the greater the curves along the path the greater the deformation along the path). This is a bit iffy since the maths to do it properly is way beyond me - but I have tried - and occasionally it fails spectacularly!
Compensation multiplier: Works with the above option to boost the compensating effect - use higher amounts for stronger curves in paths.
Adjust spacing between characters: This option increases or decreases an equal amount of spacing adjustment between characters as opposed to using a proportional adjustment.
Retain layers: Option to retain the individual layers created by the filter.
Retain paths: Option to retain the individual character paths created by the filter.
Alternative letter options: As in previous filter versions.
There is no longer an option to set the position of the text within the image since this no longer makes any sense.
This filter uses parts of code taken from Ofnuts 'Text along path' and Trandoductin's 'Custom font on path'. Without their code I would not have been able to attempt this filter. I am endebted to their work.
I have updated two of the fonts after discovering minor discrepencies in the joining ligatures for one or two characters and I have included all the necessary fonts in the zip file for the sake of completedness.
The example images below have had no additional filters applied to them. The path used was a 5 coil spiral made with Arakne's Path Shape Creator filter. Image from Wikipedia Commons - Words by Lennon and McCartney.
Attachment:
RustyAngelsSet1b.jpg [ 889.98 KiB | Viewed 4903 times ]
Attachment:
RustyAngelsSet2b.jpg [ 526.35 KiB | Viewed 4903 times ]
Link to post detailing JAZZON's solutions for scrolling py script user interface:viewtopic.php?f=9&t=13714
_________________
 "Let no one steal your dreams." Paul Cookson
Custom Font Links 2.10 Tools Character Paths White Bases
|
|