It is currently 07 Mar 2021, 12:37
| ||||
| ||||
|
|

Custom Font Lighting Effects GT Style for Gimp 2.10

- skinnyhouse
- View:
|Posts
- Topic Posts: 3/9 | Posts: 1589
- Joined: 06 Aug 2018, 14:49
- Cash on hand: 62,572.67 GLP
- Gender: Guy
- Location: England
- GIMP Version: 2.10.X
- Custom Font Tools
- Custom Font Character Paths
- x 420
- x 817
Custom Font Lighting Effects GT Style for Gimp 2.10
The zipped folder also contains a test file resource (Env_Map_Test_Square.xcf) which contains some pattern layers gathered from various sources and just four simple custom font characters.
Here is a copy of this help guide in pdf format:
The filter was originally inspired by some of Alan's custom fonts, here on GimpLearn, that feature strong highlights - for example his custom font #381.
This Gimp 2.10 plug-in uses the Gimp Lighting Plug-in to apply a range of effects to all the characters in a custom font file.
It broadly follows the techniques employed by GnuTux in his Environment Mapped Text tutorial on GimpChat in 2013.
http://gimpchat.com/viewtopic.php?f=23& ... 17df8732e3
Unfortunately, as Graechan bemoaned way back in 2010, the Lighting plug-in does not work as it should in non-interactive mode i.e. when used from within a script, and so I have had to be creative and use additional mode methods to apply a patterned layer for the light effects to work with.
In lighting plug-in terms, this patterned or textured layer is used as an environment map but, unlike the real filter, it requires an alpha channel to work properly; it will still work without an alpha channel but it will not produce very good results. If you are not sure if the layer has an alpha channel, it will be displayed in bold text in the layer stack if it does not have one.
To see the filter work, open up an existing custom font file (or use the supplied test file which has only four characters in). The custom font can be plain or decorative – since the plug-in will initially use the outlined shape of each character as its base. If you use your own font add a patterned layer – preferably one bigger than the image height and width – to your image layer stack and click on ‘OK’.
The filter dialog is a large one and if your screen resolution is less than 1080 px high you will probably have to make use of some sort of solution to add a scroll bar to the dialog. Search Gimpchat for an answer to this problem or follow the link here:
http://gimpchat.com/viewtopic.php?f=9&t=13714
I have tried hard to shorten the 24 option dialog but sadly the plug-in won hands down. Below are example outputs using the default options. Just drag the texture/pattern layer you want the filter to use to the top of the other patterned layers in the layer dock and click ‘OK’. 'Master Bump with alpha copy' pattern result 'Plain Orange' result 'envmap_red.jpg copy' pattern result 'Gold_Sparkle' pattern result A quick look at the workflow of the filter may help to explain some of options from the dialog.
After checking that a suitable layer exists to use as the environment layer the filter makes a copy of that layer... ...and then attempts to centre it.
If an appropriate option (dialog nos 16 - 18) is checked it will distort this pseudo environment layer with the selected Gimp plug-in. The Apply lens filter is selected by default with a refraction index of 2.0. but you could also introduce some distortion using the Polar coords filter option. Then the filter creates a filled version of the character on a white background (represented by the rectangle below) in the chosen shade of grey (dialog # 10)... ...before adding some of the blur (dialog # 14)… ...and a bump-mapped version of the environment layer (dialog # 11)... ...before applying a final blur. This is now the temporary character bump-map layer that the lighting plug-in can use to create its magic – shown below with a yellow light taken from the foreground colour (dialog # 1). The next step is to attempt to try and remove any artifacts created during the bump-map and lighting process using the selective gaussian blur filter (dialog # 20).
Then the environment layer is added and applied to the bump-map layer using the chosen mode (dialog # 19). Be aware that the new, default modes are used only if the old mode is set to ‘Normal’. When this process is completed, the filter moves on to the next character in the custom font file.
At the end of that, the filter adds one extra layer named legend as a summary of all the dialog options used in text form. I got fed up trying to remember which options and values I had used to produce a certain effect. I have posted the rest of the guide in the Tutorials section of GimpLearn. Best of luck!
-
Wallace
- View:
|Posts
- Topic Posts: 2/9 | Posts: 897
- Joined: 11 Oct 2016, 21:24
- Cash on hand: 7,435.99 GLP
- Bank: 8,335,035.62 GLP
- Gender: Guy
- Location: Arizona USA
- GIMP Version: 2.8.18
- My YouTube Channel
- My deviantart Account
- x 1603
- x 309
You'r Custom Font Tool, has come a long way and evolved into a spectacular tool.
Have you given any thought, to contacting the GIMP Developers about it?
To possibly have the tool included, within some future GIMP update?
Have you given any thought, to contacting the GIMP Developers about it?
To possibly have the tool included, within some future GIMP update?

- skinnyhouse
- View:
|Posts
- Topic Posts: 3/9 | Posts: 1589
- Joined: 06 Aug 2018, 14:49
- Cash on hand: 62,572.67 GLP
- Gender: Guy
- Location: England
- GIMP Version: 2.10.X
- Custom Font Tools
- Custom Font Character Paths
- x 420
- x 817
Thanks for your vote of confidence Wallace - very much appreciated.
The trouble is that there is no real innovation in what I have done with the font tools - it is basically putting together lots of simple steps or actions to speed up the CF making process using tools/plug-ins that already exist in Gimp.
The trouble is that there is no real innovation in what I have done with the font tools - it is basically putting together lots of simple steps or actions to speed up the CF making process using tools/plug-ins that already exist in Gimp.
-
Wallace
- View:
|Posts
- Topic Posts: 2/9 | Posts: 897
- Joined: 11 Oct 2016, 21:24
- Cash on hand: 7,435.99 GLP
- Bank: 8,335,035.62 GLP
- Gender: Guy
- Location: Arizona USA
- GIMP Version: 2.8.18
- My YouTube Channel
- My deviantart Account
- x 1603
- x 309
I understand what you're saying.skinnyhouse wrote: ↑13 May 2019, 06:34Thanks for your vote of confidence Wallace - very much appreciated.
The trouble is that there is no real innovation in what I have done with the font tools - it is basically putting together lots of simple steps or actions to speed up the CF making process using tools/plug-ins that already exist in Gimp.
However, it would make a nice alternative font tool,
which users can build upon.
If offered as a permanent feature within GIMP.

I can agree with you, Wallace. Skinnyhouse has developed a beautiful system for the fonts and continues to add and improve features. I do think the developers have formulated their priorities and it will take a long time to get it a permanent feature. In the meantime, if we continue to use it and keep it visible, it will continue. Anyone know how to do a PR campaign!



Hi Skinnyhouse,
About:
Where is this text file for consultation? In which folder?
Most current version of Custom_Font_Lighting_Effects_GT_Style_005.py - Available in the post:
Custom Font Tools R13 With Guide.zip
viewtopic.php?p=23952#p23952
About:
"At the end of that, the filter adds one extra layer named legend as a summary of all the dialog options used in text form"
Where is this text file for consultation? In which folder?
Most current version of Custom_Font_Lighting_Effects_GT_Style_005.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
-
gimpturkey
- View:
|Posts
- Topic Posts: 2/9 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
skinnyhouse wrote: ↑11 May 2019, 16:20LE-stuff.zip
The zipped folder contains the Lighting Effects GT Style plug-in which needs to be placed in your user plug-in folder. The filter itself can be accessed from Filters>>Custom Font Tools>>Custom Font Lighting Effects GT Style v0.01...
The zipped folder also contains a test file resource (Env_Map_Test_Square.xcf) which contains some pattern layers gathered from various sources and just four simple custom font characters.
Here is a copy of this help guide in pdf format:
Custom Font Lighting Effects GT Style Filter Help.pdf
The filter was originally inspired by some of Alan's custom fonts, here on GimpLearn, that feature strong highlights - for example his custom font #381.
This Gimp 2.10 plug-in uses the Gimp Lighting Plug-in to apply a range of effects to all the characters in a custom font file.
It broadly follows the techniques employed by GnuTux in his Environment Mapped Text tutorial on GimpChat in 2013.
http://gimpchat.com/viewtopic.php?f=23& ... 17df8732e3
Unfortunately, as Graechan bemoaned way back in 2010, the Lighting plug-in does not work as it should in non-interactive mode i.e. when used from within a script, and so I have had to be creative and use additional mode methods to apply a patterned layer for the light effects to work with.
In lighting plug-in terms, this patterned or textured layer is used as an environment map but, unlike the real filter, it requires an alpha channel to work properly; it will still work without an alpha channel but it will not produce very good results. If you are not sure if the layer has an alpha channel, it will be displayed in bold text in the layer stack if it does not have one.
To see the filter work, open up an existing custom font file (or use the supplied test file which has only four characters in). The custom font can be plain or decorative – since the plug-in will initially use the outlined shape of each character as its base. If you use your own font add a patterned layer – preferably one bigger than the image height and width – to your image layer stack and click on ‘OK’.
The filter dialog is a large one and if your screen resolution is less than 1080 px high you will probably have to make use of some sort of solution to add a scroll bar to the dialog. Search Gimpchat for an answer to this problem or follow the link here:
http://gimpchat.com/viewtopic.php?f=9&t=13714
I have tried hard to shorten the 24 option dialog but sadly the plug-in won hands down.
01_dialog.png
Below are example outputs using the default options. Just drag the texture/pattern layer you want the filter to use to the top of the other patterned layers in the layer dock and click ‘OK’.
02_layer_dock.png
'Master Bump with alpha copy' pattern result
03_eg1.png
'Plain Orange' result
04_eg2.png
'envmap_red.jpg copy' pattern result
05_eg3.png
'Gold_Sparkle' pattern result
06_eg4.png
A quick look at the workflow of the filter may help to explain some of options from the dialog.
After checking that a suitable layer exists to use as the environment layer the filter makes a copy of that layer...
07_env_layer.png
...and then attempts to centre it.
If an appropriate option (dialog nos 16 - 18) is checked it will distort this pseudo environment layer with the selected Gimp plug-in. The Apply lens filter is selected by default with a refraction index of 2.0. but you could also introduce some distortion using the Polar coords filter option.
09_env_layer_deformed.png
Then the filter creates a filled version of the character on a white background (represented by the rectangle below) in the chosen shade of grey (dialog # 10)...
10_grey_fill.png
...before adding some of the blur (dialog # 14)…
11_grey_blur.png
...and a bump-mapped version of the environment layer (dialog # 11)...
12_grey_bumped.png
...before applying a final blur.
13_grey_final_blur.png
This is now the temporary character bump-map layer that the lighting plug-in can use to create its magic – shown below with a yellow light taken from the foreground colour (dialog # 1).
14_lighting.png
The next step is to attempt to try and remove any artifacts created during the bump-map and lighting process using the selective gaussian blur filter (dialog # 20).
Then the environment layer is added and applied to the bump-map layer using the chosen mode (dialog # 19). Be aware that the new, default modes are used only if the old mode is set to ‘Normal’.
15_apply_env.png
When this process is completed, the filter moves on to the next character in the custom font file.
At the end of that, the filter adds one extra layer named legend as a summary of all the dialog options used in text form. I got fed up trying to remember which options and values I had used to produce a certain effect.
16_legend.png
I have posted the rest of the guide in the Tutorials section of GimpLearn. Best of luck!
Last edited by gimpturkey on 03 Feb 2021, 17:39, edited 3 times in total.
GIMP Learn rocks...
- skinnyhouse
- View:
|Posts
- Topic Posts: 3/9 | Posts: 1589
- Joined: 06 Aug 2018, 14:49
- Cash on hand: 62,572.67 GLP
- Gender: Guy
- Location: England
- GIMP Version: 2.10.X
- Custom Font Tools
- Custom Font Character Paths
- x 420
- x 817
Krikor:
Just seen post #6:
The Lighting Effects filter creates a text layer as part of the custom font file - as the last layer - for you to examine, ignore or discard (as you see fit).
Just seen post #6:
The Lighting Effects filter creates a text layer as part of the custom font file - as the last layer - for you to examine, ignore or discard (as you see fit).
-
gimpturkey
- View:
|Posts
- Topic Posts: 2/9 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
| ||||
| ||||
|
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Quick Guide to Creating Plant/Foliage Style Characters with Custom Font Single Path Stroker
by skinnyhouse » 15 May 2020, 16:46 » in GIMP Tutorials - 1 Replies
- 2908 Views
-
Last post by skinnyhouse
17 May 2020, 06:45
-
-
-
Custom Font Perspex Effects for Gimp 2.10
by skinnyhouse » 03 Jun 2020, 11:50 » in GIMP Python Fu Scripts/Plug-ins - 5 Replies
- 3875 Views
-
Last post by skinnyhouse
13 Jun 2020, 19:21
-
-
-
Update to Custom Font Metallic Effects to 0.06 for Gimp 2.10.20
by skinnyhouse » 17 Jun 2020, 14:42 » in GIMP Python Fu Scripts/Plug-ins - 1 Replies
- 1922 Views
-
Last post by mahvin
17 Jun 2020, 22:54
-
-
-
Update to Custom Font Facemaker to Version 0.03 for Gimp 2.10
by skinnyhouse » 01 Apr 2020, 12:26 » in GIMP Python Fu Scripts/Plug-ins - 0 Replies
- 2622 Views
-
Last post by skinnyhouse
01 Apr 2020, 12:26
-
-
-
Custom Font Paragrapher for Gimp 2.10 Initial Release
by skinnyhouse » 06 Apr 2020, 09:15 » in GIMP Python Fu Scripts/Plug-ins - 10 Replies
- 5809 Views
-
Last post by skinnyhouse
09 Apr 2020, 19:38
-
-
-
Custom Font Paragrapher for Gimp 2.10 Version 002
by skinnyhouse » 10 Apr 2020, 09:59 » in GIMP Python Fu Scripts/Plug-ins - 2 Replies
- 2874 Views
-
Last post by skinnyhouse
12 Apr 2020, 08:37
-
-
-
Custom Font Paragrapher for Gimp 2.10 Version 003
by skinnyhouse » 12 Apr 2020, 09:41 » in GIMP Python Fu Scripts/Plug-ins - 5 Replies
- 4322 Views
-
Last post by skinnyhouse
14 Apr 2020, 12:41
-
Who is online
Users browsing this forum: No registered users and 23 guests