It is currently 29 May 2022, 12:46

• Featuring Members' Images •
Could be related to 'Custom Font Character Path Stroker'
tim
skinnyhouse
skinnyhouse
Pat625
skinnyhouse

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Custom Font Character Path Stroker

Share your Python Fu Scripts/plug-ins for GIMP here
skinnyhouse
Script Coder
5th Place
2515 Post(s)

Custom Font Character Path Stroker

Post#1 by skinnyhouse » 22 Mar 2019, 13:32


Custom_Font_Character_Paths_V004.py #
(23.06 KiB) Downloaded 223 times
This custom font tool comes with a machine health warning. It works by stroking a path a number of times of smaller widths in different shades from the current foreground and background colours. The number and width of the paths selected determine the length of time your machine will need to process the result in Gimp. As usual I recommend that you experiment with a small number of characters and begin with smaller path widths (say 10 pixels wide) and using a smaller number of paths to get a feel for the filter.

It evolved from two simple plug-ins that I used to create a ‘glowing’ line effect when making background textures (which partly explains why this is the first released version). One of the filters painted lines of different colour and increasingly smaller widths along the same path while the other blurred lines along a path to produce a simple glowing effect.

The filter dialog:
dialog.jpg
dialog.jpg # (120.31 KiB) Viewed 6870 times Thumbnail

Option 1: Maximum Path Width
This obviously sets the width of the stroked path, but it also dictates how many colours to use as the path is stroked. The smallest maximum path width is set at 6 pixels.

Option 2: Use gradient colours when stroking path
When set to ‘Yes’ the filter will use colours from the currently selected gradient to stroke the path.

Option 3: Stroke outline with current brush
When set to ‘Yes’ the filter will use the currently selected brush (and brush options) to paint along each path. The brush size is set to the maximum path width for this option.

Option 4: Clear original layers
If you want to retain the current character, behind the path effect, set this option to ‘No’.


Option 5: Number of paths to create
The filter will attempt to stroke the number of repeated paths requested in this option – this depends on how much room is available to shrink subsequent paths within the character.

Option 6: Distance between paths
Sets the distance in pixels between any repeated paths – otherwise the paths would obviously just be stroked on top of existing paths.

Option 7: Path width modifier
Set this option to increase or decrease the widths of subsequent path repetitions.

Option 8: Shrink distance modifier
Set this option to increase or decrease the distance between subsequent path repetitions.

Option 9: Glow dispersal
Another option to slow down processing. Uses gaussian blur to create a simple glow effect when set in the range 1 – 500.

Option 10: Constrain glow within character
Prevents the glow from leaking out beyond the outer boundaries of the original characters when set to ‘Yes’. When using the glow to radiate out from the character you will need to allow for more room (in terms of the margins) when creating the original character layers to avoid and ugly clipped effect.

Option 11: Take glow from BG colour
Use this option to choose between a foreground or background colour for the glow effect.

Examples with dialog settings:
CP-Stroker-Eg1-Small-ABC.jpg
CP-Stroker-Eg1-Small-ABC.jpg # (93.31 KiB) Viewed 6870 times Thumbnail
Fig 1: Light and dark blue colours with 3 paths set at 20 pixel distance
CP-Stroker-Eg1-Glow-Small-ABC.jpg
CP-Stroker-Eg1-Glow-Small-ABC.jpg # (92.53 KiB) Viewed 6870 times Thumbnail
Fig 2: Glow added to Fig 1
CP-Stroker-Eg2-Small-ABC.jpg
CP-Stroker-Eg2-Small-ABC.jpg # (105.76 KiB) Viewed 6870 times Thumbnail
Fig 3: 3 paths at 50 pixel distance
CP-Stroker-Eg3-Small-ABC.jpg
CP-Stroker-Eg3-Small-ABC.jpg # (91.88 KiB) Viewed 6870 times Thumbnail
Fig 4: 2 paths with 50 pixel width and 50 pixel distance
CP-Stroker-Eg4-Small-ABC.jpg
CP-Stroker-Eg4-Small-ABC.jpg # (114 KiB) Viewed 6870 times Thumbnail
Fig 5: Original character layers retained
CP-Stroker-Eg5-Small-ABC.jpg
CP-Stroker-Eg5-Small-ABC.jpg # (116.17 KiB) Viewed 6870 times Thumbnail
Fig 6: Path width modifier set to decrease width of subsequent paths
CP-Stroker-Eg6-Small-ABC.jpg
CP-Stroker-Eg6-Small-ABC.jpg # (128.51 KiB) Viewed 6870 times Thumbnail
Fig 7: Currently selected brush used to stroke paths from Fig 6
CP-Stroker-Eg7-Small-ABC.jpg
CP-Stroker-Eg7-Small-ABC.jpg # (111.22 KiB) Viewed 6870 times Thumbnail
Fig 8: Colours taken from a metallic gradient used to stroke paths from Fig 6
CP-Stroker-Eg7Glow-Small-ABC.jpg
CP-Stroker-Eg7Glow-Small-ABC.jpg # (109.22 KiB) Viewed 6870 times Thumbnail
Fig 9: Glow added to Fig 8 paths
CP-Stroker-Eg8Glow-Constrained-Small-ABC.jpg
CP-Stroker-Eg8Glow-Constrained-Small-ABC.jpg # (54.42 KiB) Viewed 6870 times Thumbnail
Fig 10: Constrained glow added to a simple outline
CP-Stroker-Eg8Glow-Constrained-Not-Small-ABC.jpg
CP-Stroker-Eg8Glow-Constrained-Not-Small-ABC.jpg # (41.53 KiB) Viewed 6870 times Thumbnail
Fig 11: Unconstrained glow added

All this as PDF:
Path Stroker Help.pdf #
(2.08 MiB) Downloaded 243 times

Pat625
Tutorial Creator
2nd Place
4529 Post(s)

Post#2 by Pat625 » 23 Mar 2019, 02:13


Oh Skinnyhouse! I cannot keep up with all that is going on! Thank you again for another lovely tool to help us. I need time to go over all of it, then maybe I can use it.

skinnyhouse
Script Coder
5th Place
2515 Post(s)

Post#3 by skinnyhouse » 23 Mar 2019, 12:07


I think I'll take that as a compliment Pat.

Alan
Forum Member
4th Place
3039 Post(s)

Post#4 by Alan » 23 Mar 2019, 12:20


Excellent tools for fonts, Skinnyhouse. :gimp_clap:
Thank you so much.

skinnyhouse
Script Coder
5th Place
2515 Post(s)

Post#5 by skinnyhouse » 23 Mar 2019, 14:06


You're welcome Alan.

Pat625
Tutorial Creator
2nd Place
4529 Post(s)

Post#6 by Pat625 » 24 Mar 2019, 07:16


Skinnyhouse, that was definitely a compliment. Sorry for stating it so poorly! You have acquired so much expertise regarding coding and making fonts work with all the bells and whistles that I get dizzy thinking about it!

skinnyhouse
Script Coder
5th Place
2515 Post(s)

Post#7 by skinnyhouse » 24 Mar 2019, 09:27


Of course I knew that Pat - only ribbing you - and thank you again for all your encouragement.

Krikor
Forum Member
14th Place
1016 Post(s)

Post#8 by Krikor » 03 Feb 2021, 00:10


Most current version of Custom_Font_Character_Paths_V007.py
► Available in the post:
Custom Font Tools R13 With Guide.zip
viewtopic.php?p=23952#p23952
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 13 guests