GIMP Chat
http://gimpchat.com/

MrQ BoxText
http://gimpchat.com/viewtopic.php?f=9&t=19519
Page 1 of 3

Author:  MareroQ [ Thu Jul 29, 2021 10:06 am ]
Post subject:  MrQ BoxText

I wanted to write a plugin that has more options than FreeType... :roll:

What came out of this fun with the code - you can check here:
https://www.gimpscripts.net/2021/07/boxtext-ver10.html
The functions grouped in the TEXT and Transformations tabs are important.
Other tabs can be changed/added/removed on request. :hehe

Attachments:
Example MBT-2.jpg
Example MBT-2.jpg [ 192.9 KiB | Viewed 4376 times ]
Example MBT-1.jpg
Example MBT-1.jpg [ 173.47 KiB | Viewed 4376 times ]

Author:  rich2005 [ Thu Jul 29, 2021 1:14 pm ]
Post subject:  Re: MrQ BoxText Ver.1

That is going to be an interesting plugin.

A couple of initial thoughts, without going onto the transformations ....
You default pattern is Metal Grit -1 AFAIK not a regular pattern and if not installed gives an error message.
The leading emoji in the default text might worry some users. Only shows here if an emoji font is installed - not guaranteed. I put in notocoloremoji.ttf
https://i.imgur.com/ZSftUjK.jpg

Author:  PixLab [ Thu Jul 29, 2021 9:24 pm ]
Post subject:  Re: MrQ BoxText Ver.1

rich2005 wrote:

Indeed I don't have this font...

Author:  MareroQ [ Fri Jul 30, 2021 12:47 am ]
Post subject:  Re: MrQ BoxText Ver.1

Hi Rich.

Thanks for trying and comments.
Corrected.

Author:  PixLab [ Fri Jul 30, 2021 1:54 am ]
Post subject:  Re: MrQ BoxText Ver.1

Add border (in px) is not working see screenshot => no border

Limiting letter spacing to -100 (up to 100 BTW) does not allow to invert the letters in the text, nor putting letter on top of each other to make some "strange" letters (look at my avatar), nor being able of adding space above 100 pixels on a "normal" sized image (6kx4k) will not produce the desired effect if we need to have bigger spacing..
In all case the result is not what is expected, letter spacing at -100 will produce only letters "glued" together, instead of what is in the preview
Preview at -100 letters are grouped
Attachment:
screenshot_20210730-143655.png
screenshot_20210730-143655.png [ 79.9 KiB | Viewed 4249 times ]


result are setting above, only one thing is line spacing 100 (positive 100), but result different from preview
Attachment:
screenshot_20210730-144640.png
screenshot_20210730-144640.png [ 230.12 KiB | Viewed 4249 times ]


Limiting line spacing... > same problems as above with a font size of 500 .... see screenshot....

Attachment:
screenshot_20210730-145134.png
screenshot_20210730-145134.png [ 93.1 KiB | Viewed 4249 times ]


result all at negative 100
Image

My "recommendation": do not limit letter spacing, nor line spacing... at all
If people wants to put 1078 quintilliards pixels in negative they should be able to do so... This reminds me the "Save for the Web" limitation, it was first at 2048 (AFAIK), then as a quick patch some one did put "2048*2", but quickly a lot of people were searching for "unli", so someone just remove the "2048*2 "and did put 10000, but still, it's a hard cap.... = useless for pano > https://github.com/auris/gimp-save-for- ... 9e0c9164a5

image is from unsplash original size is +>6000x+>4000
https://unsplash.com/photos/vigdQSTCkVU

Image

In the hope that it will help you, BTW very nice looking plug in and very intuitive :bigthup :coolthup

Author:  racer-x [ Fri Jul 30, 2021 4:59 am ]
Post subject:  Re: MrQ BoxText Ver.1

Great plugin, thanks..

Attachment:
text-box.jpg
text-box.jpg [ 155.17 KiB | Viewed 4227 times ]

Author:  rich2005 [ Fri Jul 30, 2021 5:22 am ]
Post subject:  Re: MrQ BoxText Ver.1

A bit more trial and error ;) Needs plenty experimentation.

Attachment:
MRQ.jpg
MRQ.jpg [ 154.34 KiB | Viewed 4221 times ]


I see you added a revamped Follow Path plugin on gimpscripts as well. Works fine, (the flags). The preview is on a dark blue background. Is that intentional or is it my installation ?

In case anyone wonders. the background is B&P's WordArt plugin.

Author:  MareroQ [ Fri Jul 30, 2021 9:28 am ]
Post subject:  Re: MrQ BoxText Ver.1

Thanks for all the feedback.

About preview:
Python image preview wasn't designed for everything.
Cli 345 - author of the fu_preview engine warns:

..."Limitations:
only for transform (not creative) plugins that don't add new layers"...


I'm just trying to get around this by manipulating the layer's visibility. :ninja

@Patrice.
I increased the range from 100 to 5000.
Image

@Rich.
About follow path.
Now the appearance of the preview depends on the selected theme.
As I like the dark theme - blue (the default) seemed appropriate.
This can be changed by editing line 1022.
The look of the older version did not change with the theme.

Attachments:
FP.jpg
FP.jpg [ 168.19 KiB | Viewed 4174 times ]

Author:  PixLab [ Fri Jul 30, 2021 9:35 pm ]
Post subject:  Re: MrQ BoxText Ver.1

MareroQ wrote:
Thanks for all the feedback.

About preview:
Python image preview wasn't designed for everything.
Cli 345 - author of the fu_preview engine warns:

..."Limitations:
only for transform (not creative) plugins that don't add new layers"...


I'm just trying to get around this by manipulating the layer's visibility. :ninja

@Patrice.
I increased the range from 100 to 5000.
[ Image ]

@Rich.
About follow path.
Now the appearance of the preview depends on the selected theme.
As I like the dark theme - blue (the default) seemed appropriate.
This can be changed by editing line 1022.
The look of the older version did not change with the theme.


Yes! great job, it's working nicely. Also the result is the same as preview :clap :bigthup
I will play with the other tabs in the coming days, I'll keep you updated
:tyspin very nice plugin

Author:  MareroQ [ Fri Jun 17, 2022 2:51 pm ]
Post subject:  Re: MrQ BoxText

While waiting for a new version plugin Faux3D by Skinnyhouse I added 3D text extrusion effect as per PixLab tutorial.
Thanks to Patrice.
Version 3.0 available on gimpscripts.net here.

Attachments:
BTV3.jpg
BTV3.jpg [ 151.6 KiB | Viewed 1251 times ]

Author:  Skinnyhouse [ Fri Jun 17, 2022 3:49 pm ]
Post subject:  Re: MrQ BoxText

Looks good MareroQ. :bigthup

I am currently fixing the addition of kerning information to the lettering and then it's adding a tabbed version and good to go!

Author:  PixLab [ Sat Jun 18, 2022 12:54 am ]
Post subject:  Re: MrQ BoxText

Wow, and I was wondering that I speak too much in this little tuto and people might not like it :mrgreen:
I'm very glad that it gives you the idea to script it :tyspin

It works awesomely on your BoxText, it's gorgeous :clap

Image

Author:  MareroQ [ Sat Jun 18, 2022 1:36 am ]
Post subject:  Re: MrQ BoxText

@Skinnyhouse
From the samples You provided, I am convinced that it will be the best tool for 3D text. I am waiting impatiently.

@Patrice
It should always be like that when it comes to a good tutorial. :jumpclap
With such a good source, it takes less time to write code (where I'm a bit interested) than reading the tutorial and executing it the first time.
Maybe contrariness: ..."No script, no G'MIC, no plugin of any kind."... :bluesad

Author:  PixLab [ Sat Jun 18, 2022 9:25 pm ]
Post subject:  Re: MrQ BoxText

MareroQ wrote:
Maybe contrariness: ..."No script, no G'MIC, no plugin of any kind."... :bluesad


I can understand what you mean, I just tried to put good keywords for SEO purpose and shows visitors they can do it with native GIMP tools, I'll try to do it better next time. ;)
Thank you very much for your kind words.

Author:  MareroQ [ Tue Jun 21, 2022 4:40 am ]
Post subject:  Re: MrQ BoxText

In Ver.4.1 I tried the second method of getting the pseudo 3D effect - motion blur this time.

Attachments:
GSN-V4.jpg
GSN-V4.jpg [ 129.09 KiB | Viewed 807 times ]

Author:  PixLab [ Tue Jul 12, 2022 3:36 am ]
Post subject:  Re: MrQ BoxText

@MareroQ, version 5 latest does not work anymore (I think starting version 4 but not sure) on my system :bawl
It does work on the ferrero appimage GIMP 2.10.25, though, but not on my distro GIMP 2.10.32
it's the only python script which is not showing up (Filters/Text), on the other hands heal tools, @Ofnuts' python-scripts and so are just fine.

I'm on MX Linux 21.1 , I use the more than excellent appimage from @Tas_mania to have python/mathmap as a loader for GIMP 2.10.32 if it can help

Author:  mackenzieh [ Tue Jul 12, 2022 1:07 pm ]
Post subject:  Re: MrQ BoxText

just curious, is the new version 3.0 that is listed here or is it 5.3, which is on gimpscripts.net?

Author:  Rod [ Tue Jul 12, 2022 6:13 pm ]
Post subject:  Re: MrQ BoxText

mackenzieh wrote:
just curious, is the new version 3.0 that is listed here or is it 5.3, which is on gimpscripts.net?

It is the newest version. :gimp

Author:  PixLab [ Tue Jul 12, 2022 8:50 pm ]
Post subject:  Re: MrQ BoxText

mackenzieh wrote:
just curious, is the new version 3.0 that is listed here or is it 5.3, which is on gimpscripts.net?


On gimpscript.net you can download only the latest version

Author:  Tas_mania [ Wed Jul 13, 2022 5:14 am ]
Post subject:  Re: MrQ BoxText

Hi PixLab - I tested MrQ BoxText on my MX LInux and it was missing some libs. I repacked and uploaded it to HERE.

MrQ's latest BoxText plugin from gimpscripts works with 'gimp-python2-fuse-overlay-launcher-mx-linux21-1.AppImage'
You will notice it's slightly bigger :) but has the same filename.

Page 1 of 3 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/