It is currently Wed Apr 24, 2024 4:44 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 408 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 21  Next
Author Message
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 9:55 am  (#41) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
oh I like this one, good for text animations also. Thank you trandoductin and MareroQ.


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 2:19 pm  (#42) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Is there some way to automate the process of creating the different letter.png layers.

For instance,
If I have a png image with transparency and 26 different characters on it.

Selecting each character and placing it on it's own layer and cropping it.
Can be very time consuming.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 2:38 pm  (#43) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2424
There is a compiled plugin guillotine_into_layers http://registry.gimp.org/node/19886

That would get you part of the way. I only have a linux version so maybe someone has a Windows binary.

Still have to name the layers though.

edit: You could try here http://www.geocities.jp/gimproject1/plu ... to-layers/ which I believe is the (long gone) one from samj. Do not know if 32 or 64 bit.

_________________
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 2:50 pm  (#44) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
rich2005 wrote:
There is a compiled plugin guillotine_into_layers http://registry.gimp.org/node/19886

That would get you part of the way. I only have a linux version so maybe someone has a Windows binary.

Still have to name the layers though.

That sound like it could work, but I was thinking of maybe an Alpha Selection of the original image.
Then a cut and past each selection to it's own layer.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 3:24 pm  (#45) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
There was some sprite extraction script thing where it would look at the alpha and consider it separation and would extract each continous shape out in to its own layers automatically but i forgot what it was called exactly.

_________________
TinT


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 3:42 pm  (#46) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
There was some sprite extraction script thing where it would look at the alpha and consider it separation and would extract each continous shape out in to its own layers automatically but i forgot what it was called exactly.

Yes,
I seem to recall something of the same,
but like you I also can't remember what it's called.
Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 4:13 pm  (#47) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Wallace wrote:
Yes,
I seem to recall something of the same,
but like you I also can't remember what it's called.
[ Image ]

I think i might have found it this link will take you there

_________________
TinT


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 4:24 pm  (#48) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
I think i might have found it this link will take you there

Yes the DivideTransBG.scm and also G'MIC Arrays & tiles>Extract objects will do it as well, but without cropping.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 5:27 pm  (#49) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
just scripted a copy of Custom_Font except this script takes layers named such as
element1.png
element2.png
element3.png
and then it asks for how many elements you have defined in this case 3.
and then it also asks for grid size to use (how far apart the elements are placed)
And then it tries to compose the characters using random element layers.
Except instead of composing your text it just composes the characters of your text on top of each other (which can then be used as an .xcf to run the custom_font.scm on).

Okay so I used MareroQ's script to generate all the characters in black (plus i also added some missing characters and the W and the w as those were missing in the default text).
Then I added 3 layers and named them
element1.png
element2.png
element3.png
then i ran this script
Attachment:
custom_font_composition.scm [10.17 KiB]
Downloaded 144 times

It's under Script-Fu/Create New/Custom Font Composition...
and I entered all the characters to be generated
It takes a while so I left the computer and let it run.
and came back
And I got my new image with layers on top of each other (If you chose the default merge layers) just Control-Z to undo and you'll get all the separate layers back.
Then I use this as my .xcf font file.
Now I can run custom_font.scm on it.
And the result is something like this.
Image

I ran custom_font_composition.scm on this .xcf (entering all characters)
Attachment:
RGBSpheresElements.xcf [437.79 KiB]
Downloaded 132 times


Then it generated this .xcf (that I can control-Z if merged layers) for me to run custom_font.scm on
Attachment:
RGBSpheres.xcf [5.38 MiB]
Downloaded 556 times

_________________
TinT


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:03 pm  (#50) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
How about adding Auto Crop All Layers to the Multiple Layer Actions?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:04 pm  (#51) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
To what script? custom_font.scm?
And what does that do i am not sure about auto cropping since i only ever use select then crop.

_________________
TinT


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:05 pm  (#52) 
Offline
GimpChat Member
User avatar

Joined: Mar 12, 2016
Posts: 198
Location: Illinois, USA
I haven't had much luck, mostly because I'm not sure what it wants me to do.
I had a specific font in mind from here illustratorg.deviantart.com/art/Steampunk-FONT-V3-298587681
It has all the letters in a transparent background but I get all different sizes when I cut them out and I'm concerned maybe the file size would be to large for a font, the download size is almost 21 MB.
Pipe Dream ?
What do you think ?

_________________
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:08 pm  (#53) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 4418
Location: Sydney Australia
And there was I wondering where my Ws had gone :hehe

_________________
Image

Respect should be offered freely but hard earned


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:49 pm  (#54) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
To what script? custom_font.scm?
And what does that do i am not sure about auto cropping since i only ever use select then crop.

No, I mean for Auto Crop All Layers to be added to the Multiple Layer Actions.scm.


SeriousTom wrote:
I haven't had much luck, mostly because I'm not sure what it wants me to do.
I had a specific font in mind from here illustratorg.deviantart.com/art/Steampunk-FONT-V3-298587681
It has all the letters in a transparent background but I get all different sizes when I cut them out and I'm concerned maybe the file size would be to large for a font, the download size is almost 21 MB.
Pipe Dream ?
What do you think ?

Look here... viewtopic.php?f=22&t=11158&p=150105&hilit=steampunk+font#p150001

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:55 pm  (#55) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
SeriousTom wrote:
I haven't had much luck, mostly because I'm not sure what it wants me to do.
I had a specific font in mind from here illustratorg.deviantart.com/art/Steampunk-FONT-V3-298587681
It has all the letters in a transparent background but I get all different sizes when I cut them out and I'm concerned maybe the file size would be to large for a font, the download size is almost 21 MB.
Pipe Dream ?
What do you think ?


For personal use only! by http://illustratorg.deviantart.com/art/ ... -298587681
I tried downloading but could not so i just used the image on deviant art it's decent quality.
(I used letter spacing 5 and line spacing of 10 here)
Image


Attachments:
PipeDream.xcf [953.26 KiB]
Downloaded 2178 times

_________________
TinT


Last edited by trandoductin on Sun May 08, 2016 7:00 pm, edited 1 time in total.
Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 6:59 pm  (#56) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
SeriousTom wrote:
I haven't had much luck, mostly because I'm not sure what it wants me to do.
I had a specific font in mind from here illustratorg.deviantart.com/art/Steampunk-FONT-V3-298587681
It has all the letters in a transparent background but I get all different sizes when I cut them out and I'm concerned maybe the file size would be to large for a font, the download size is almost 21 MB.
Pipe Dream ?
What do you think ?


For personal use only!
I tried downloading but could not so i just used the image on deviant art it's decent quality.
(I used letter spacing 5 and line spacing of 10 here)
[ Image ]

That font is already here on Gimp Chat... viewtopic.php?f=22&t=11158&p=150105&hilit=steampunk+font#p150001

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 7:01 pm  (#57) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
but don't you need photofont to use it? so linux people can't use it or am i completely wrong?
or are you talking about the font's copyright? i am confused.

_________________
TinT


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 7:02 pm  (#58) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
but don't you need photofont to use it? so linux people can't use it or am i completely wrong?
or are you talking about the font's copyright? i am confused.

Just download the font image for the GC page and use it.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 7:04 pm  (#59) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Wallace wrote:
Just download the font image for the GC page and use it.

That one looks like some letters are smaller than others

_________________
TinT


Top
 Post subject: Re: Custom Font script (spawned from Wallace's PhotoFont topic).
PostPosted: Sun May 08, 2016 7:09 pm  (#60) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
That one looks like some letters are smaller than others

They look good to me, just that the color is a bit different...
Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
Post new topic Reply to topic  [ 408 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 21  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) New Custom Font Tool - Custom Font Lighting Effects GT Style Filter

3

No new posts Attachment(s) custom font

8

No new posts Can this be used for Custom Font?

5

No new posts Attachment(s) Custom Font Tools Release 13

1

No new posts Attachment(s) Custom Font WordWall v.001 for Gimp 2.10

4



* Login  



Powered by phpBB3 © phpBB Group