It is currently 27 May 2020, 21:11

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

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 Paragrapher for Gimp 2.10 Initial Release

Share your Python Fu Scripts/plug-ins for GIMP here
skinnyhouse
Script Coder

Custom Font Paragrapher for Gimp 2.10 Initial Release

Post#1 by skinnyhouse » 06 Apr 2020, 09:15


Custom_Font_Paragrapher_001.py
(68.78 KiB) Downloaded 24 times
Custom Font Paragrapher (as requested by Pat625)

This filter is a simple tool which can be used to place lines of custom font text into an image (page). Font size, line spacing and margins can be adjusted to your needs. Should the text exceed the size of the initial image, the height of the image will automatically be extended to fit the number of lines.

The user can then decide whether to keep the new image size or use undo and adjust the size of the text to maintain the original image size.

Dialog_V001.jpg
Dialog_V001.jpg (41.03 KiB) Viewed 660 times

There is an option to add and colour a background layer using the current foreground or background colours but I presume that users will actually wish to add their own image background. The example below uses an image courtesy of LoggaWiggler on Pixabay.

Daffs.jpg
Daffs.jpg (165.09 KiB) Viewed 660 times

The custom font text is output as separate layers so that they can be justified or have other filters, such as a drop shadow, applied.

DaffsCentredDropped.jpg
DaffsCentredDropped.jpg (166.76 KiB) Viewed 660 times
3

Pat625
Tutorial Creator

Post#2 by Pat625 » 06 Apr 2020, 20:14


Oh, Skinnyhouse, I love what you have done! Thank you so much. I'm using iPad now. Will try this as soon as I can.
1

skinnyhouse
Script Coder

Post#3 by skinnyhouse » 06 Apr 2020, 21:34


Looking forward to your first play Pat...
0

Pat625
Tutorial Creator

Post#4 by Pat625 » 06 Apr 2020, 22:26


I really feel stupid, but I can not get it to work!. If I only put a few words, it will run. If I type a paragraph, it will not. It stops, with errors about "string index"and group. I hope it is a simple mistake by me and not my Gimp or computer. Cannot get the Gimp versions to do many things on my computer right now.
Annotation 2020-04-06 170157.png
Annotation 2020-04-06 170157.png (108.52 KiB) Viewed 631 times
Capture.JPG
Capture.JPG (22.47 KiB) Viewed 631 times
0

Issabella
Script Tester

Post#5 by Issabella » 07 Apr 2020, 06:25


Thank you so much Skinnyhouse for this new gift for all of us. I find it very easy to use and the results are really great.
This new tool will make the writing of texts much easier for the user. :gimp_clap:
No problem using or running it. :happy_purple:
Attachments
CustomFontParagrapher_Skinnyhouse_Issa.jpg
CustomFontParagrapher_Skinnyhouse_Issa.jpg (283.65 KiB) Viewed 622 times
Issabella

Don’t be afraid to start over. It’s a new chance to rebuild what you want.
1

skinnyhouse
Script Coder

Post#6 by skinnyhouse » 07 Apr 2020, 06:52


Hi Pat!

How frustrating for you - all the anticipation and then nothing but error message torment.

I am still running Gimp 2.10.12 for my day-to-day Gimping (waiting for Gimp 2.10.18 to update and fix the bugs) - but I also tested out the plug-in on SamJ's Portable version (which actually shows up as 2.10.19 in the help>>about Gimp version number) and itruns without errors.

So it looks like a version problem.

Perhaps Issabella can confirm which version of Gimp she uses.
0

skinnyhouse
Script Coder

Post#7 by skinnyhouse » 07 Apr 2020, 06:57


Issa: Lovely texture and text.

Today is the 250th anniversary of Wordsworth's birth - so a good day to celebrate some of his best words.
0

Issabella
Script Tester

Post#8 by Issabella » 07 Apr 2020, 09:10


Thank you so much Skinnyhouse for your comment on my outcome. You are the author of this to be possible.
Pat, I'm sorry for your problems. I really cannot help much because I am using a very old version.
I never find time to switch to a new version because I always have problems afterward. I hate having problems with Gimp and losing the effects I like the most. I'm using Gimp 2.10.6 Portable 64bits from Samj.
Perhaps you keep previous versions and you can use it on them.
Issabella

Don’t be afraid to start over. It’s a new chance to rebuild what you want.
0

RJKD
Tutorial Creator

Post#9 by RJKD » 08 Apr 2020, 14:10


Thankyou so much skinnyhouse, this take the whole venture to a new level, so grateful man.
0

skinnyhouse
Script Coder

Post#10 by skinnyhouse » 08 Apr 2020, 15:16


Thank you RJKD - Pat had the idea - to be honest it was too obvious for me to think of. Stay safe.
0


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
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 22 guests