It is currently 06 May 2021, 12:19

• 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

Prepare Text Plug-in not working - SOLVED

GIMP or GIMP LEARN forum related Questions
Krikor
Forum Member

Prepare Text Plug-in not working - SOLVED

Post#1 by Krikor » 08 Feb 2021, 03:08


Gimp 2.10.21 Samj's Portable - Win 10
Plug-in - Prepare Text Into Selection Plug-in
Error: GIMP Warning
Plug-in 'Prepare Text Into Selection' left image undo in inconsistent state, closing open undo groups.


I installed version 2 of this plug-in.
I created a layer with text, always giving Enter at the end of each line.
There is an image on the bottom layer that serves as a template for the dispersion of the text.
I created a selection path, just to facilitate future selections.
I followed the recommended procedure:
1-Have your block of text on a text layer that you would like to fit into a selection.
2-Make your selection (you might want to save this selection as a path so you can later select it again to run the Filled Text Selection Plug-in).
3-Have the text layer active with selection active.
4-Run Plug-in (Python-Fu / Prepare Text Into Selection).
5-Wait for it to finish. Progress bar will update letting you know how far it's coming along.
6-The result is a text layer that has the optimal fontsize and proper (hard) line breaks to be then be used with the Filled Text Selection Plug-in.

But nothing happens unless the window appears warning of the error as shown in the image below.
PrepareTextPlug-in.png
Krikor - Prepare Text Into Selection not working
PrepareTextPlug-in.png # (159.52 KiB) Viewed 793 times (Thumbnail | Recognize | Sq Tile)
Tim, could you please check if I'm missing something or if my version of Gimp is the reason for this problem?

I think I'm doing everything right, but maybe I'm making mistakes at some point.

Thank you.

EDIT:
Running the 'Filled Text Selection' Plug-in alone (without the Prepare Text Into Selection Plug-in) is also not working.
PrepareTextPlug-in02.png
Krikor - FilledTextSelection not working
PrepareTextPlug-in02.png # (74.72 KiB) Viewed 791 times (Thumbnail | Recognize | Sq Tile)
Last edited by Krikor on 08 Feb 2021, 05:25, edited 1 time in total.
"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

Krikor
Forum Member

Post#2 by Krikor » 08 Feb 2021, 05:24


After insisting on using other texts with other selections and verifying that in some situations everything worked correctly and in others not, he concluded that the problem was in the way the text was being created.

After many frustrating attempts I finally got the desired result. :yes:
PrepareTextPlug-in03.png
Krikor - Plug-ins ok
PrepareTextPlug-in03.png # (177.67 KiB) Viewed 788 times (Thumbnail | Recognize | Sq Tile)

For those who want to solve a good puzzle, in the attachment I leave the .XCF file.
The challenge is simple, apply the Prepare Text Into Selection and Filled Text Selection plugins in this .xcf
:cool:
Attachments
PrepareTextPlug-in03.xcf #
Krikor - Challenger: apply the plugins in this .xcf
(345.45 KiB) Downloaded 26 times
"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 8 guests