Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Random Font Text Script Rel5.2 [Improved GUI Options]

Tue Jul 22, 2014 9:50 pm

Written by myself and GnuTux for a request made by K1TesseraEna

This script will create text with each letter having a different font. Options include user configurable font size, choice of text output options, choice of filter for random font selection, background pattern, random rotation of each letter, bumpmap, letter outline, curl, locked text color and font, bumpmap, chisel and inner shadow effects and text layer merging. The download includes some nice paper patterns. If you place them in your patterns folder, paper_4 will become your default pattern.

Image
Image
Image

Image
Image
Image
Menu Location Script-Fu/Logos/Random Font Text

; Rel 0.02 - Added Palette selection or (random RGB color choice) for color Choice; option for rotation threshold, option to bumbmap letters

; Rel 0.03 - Added 'Random color from random palette' to color choices, moved cornercurl back to toggle
; Added bumpmap, chisel and 'inner shadow' to 'Text Effects'
; Added the options to lock the font and color

; Rel 0.04 - Added Text output options

; Rel 0.05 - Added Text 0n cubes option{THIS OPTION REQUIRES GMIC}, option to square the text layers and option to add an individual Bkg color to layers

; Rel 0.5.1 - Improved rendering(thanks to David at Gmic)

; Rel 0.5.2 - Improved GUI, and added font name to layers if Text Output Options = Each Character On Separate Layer

Script is available from GimpScripts Random Font Text



Note!:

Included in the download are some nice paper patterns of which if loaded paper-4 will become your default bkg-pattern otherwise it will be set to crinkled paper

tmp

Tue Jul 22, 2014 10:01 pm

Graechan The Grand Wizard strikes again :) :) :)

Re: Random Font text Script

Tue Jul 22, 2014 10:02 pm

I hope I put everything in the right spot. I put the script in the script folder and the paper patterns in the pattern folder.
Used the gradient border to jazz it up a bit.
Image

Re: Random Font text Script

Tue Jul 22, 2014 10:05 pm

Yes that's right 2-ton

Re: Random Font text Script

Tue Jul 22, 2014 11:21 pm

Graechan, you've done a terrific job even though it was a lot of skepticism
about some gimp PDB technicalities. At some point I doubted it was even possible at all.
Thank you!
I have a Q for you. Is it possible to sample font colors from a specific color palette?

Re: Random Font text Script

Tue Jul 22, 2014 11:24 pm

Image

Re: Random Font Text Script

Tue Jul 22, 2014 11:49 pm

K1TesseraEna yes of course that's possible, actually my Rel2 version does just that :twisted:

Re: Random Font Text Script

Wed Jul 23, 2014 1:23 am

Image

Looking good, Graechan! :hi5

Re: Random Font Text Script

Wed Jul 23, 2014 1:58 am

GnuTux your having fun with effects on the different letters, no bugs detected yet thank goodness,
but my palette widget failed :gaah

Re: Random Font Text Script

Wed Jul 23, 2014 2:01 am

It would be cool to have an option to select RGB color via random number between 0 and 255. :bigthup

Code:
(set! R (random 256))
(set! G (random 256))
(set! B (random 256))

Re: Random Font Text Script

Wed Jul 23, 2014 2:35 am

Now that Random works better, thanks to your code I could try it as it would be less likely to return so many grays
(set! random-color '((random 256) (random 256) (random 256)))
resulted in this
Image

Re: Random Font Text Script

Wed Jul 23, 2014 2:42 am

Yes. Looks good. Maybe you could also have upper and lower constraints set by the user.

Re: Random Font Text Script

Wed Jul 23, 2014 3:07 am

GnuTux could you put the code in the script and send it to me in a PM as it looks good

Re: Random Font Text Script

Wed Jul 23, 2014 4:16 am

I can only find rel 1 on gimp script. You said there was a rel 2?
I have downloaded and installed rel 1 twice and still cannot find it in my gimp. Have done all the refreshing, restarting etc.

Re: Random Font Text Script

Wed Jul 23, 2014 5:36 am

Tux, I don't know how you got your letters all different textures. I downloaded Rel 1 and none of the options work except when I leave it at the default. When I click bold, curls, it comes out blank.
Here is what I get so far. Where is this Rel 2 I saw mentioned?
Image
Merged and stroked
Image
Only works on these settings, I tried the others and it comes out blank. rebooted several times and still only works on default. I couldn't find Rel2, just Rel-1.
Image

Re: Random Font Text Script

Wed Jul 23, 2014 5:51 am

sallyanne wrote:I can only find rel 1 on gimp script. You said there was a rel 2?
I have downloaded and installed rel 1 twice and still cannot find it in my gimp. Have done all the refreshing, restarting etc.

Did you look near the top of logos Sallyanne.
Image

Re: Random Font Text Script

Wed Jul 23, 2014 5:56 am

Image

Re: Random Font Text Script

Wed Jul 23, 2014 6:39 am

molly wrote:
sallyanne wrote:I can only find rel 1 on gimp script. You said there was a rel 2?
I have downloaded and installed rel 1 twice and still cannot find it in my gimp. Have done all the refreshing, restarting etc.

Did you look near the top of logos Sallyanne.
[ Image ]

Thanx Molly. No I didn't, I only looked at the alphabetical list.

Re: Random Font Text Script

Wed Jul 23, 2014 6:55 am

:oops: I did the same thing, that is why I asked. I then went to help > plug-in-browser and typed in the script name and sure enough it was there so then I looked up near the top. :oops: :oops:

Re: Random Font Text Script

Wed Jul 23, 2014 7:14 am

:)
Post a reply